github tauri-apps/tauri @tauri-apps/api-v2.4.1
@tauri-apps/api v2.4.1

3 days ago

PNPM Audit

No known vulnerabilities found

[2.4.1]

Enhancements

  • dd1372833 (#13066 by @ahaoboy) Add a generic to emit and emitTo functions for the payload instead of the previously used type (unknown).

PNPM Publish

> @tauri-apps/api@2.4.1 npm-publish /home/runner/work/tauri/tauri/packages/api
> pnpm build && cd ./dist && pnpm publish --access public --loglevel silly --no-git-checks


> @tauri-apps/api@2.4.1 build /home/runner/work/tauri/tauri/packages/api
> rollup -c --configPlugin typescript

�[36m
�[1m./src/app.ts, ./src/core.ts, ./src/dpi.ts, ./src/event.ts, ./src/image.ts, ./src/index.ts, ./src/menu.ts, ./src/mocks.ts, ./src/path.ts, ./src/tray.ts, ./src/webview.ts, ./src/webviewWindow.ts, ./src/window.ts�[22m → �[1m./dist, ./dist�[22m...�[39m
�[32mcreated �[1m./dist, ./dist�[22m in �[1m1.6s�[22m�[39m
�[36m
�[1msrc/index.ts�[22m → �[1m../../crates/tauri/scripts/bundle.global.js�[22m...�[39m
�[32mcreated �[1m../../crates/tauri/scripts/bundle.global.js�[22m in �[1m1.9s�[22m�[39m
npm verbose cli /opt/hostedtoolcache/node/20.19.0/x64/bin/node /opt/hostedtoolcache/node/20.19.0/x64/bin/npm
npm info using npm@10.8.2
npm info using node@v20.19.0
npm silly config load:file:/opt/hostedtoolcache/node/20.19.0/x64/lib/node_modules/npm/npmrc
npm silly config load:file:/tmp/d1c2b5f0fc4957921faca86df134d25f/.npmrc
npm silly config load:file:/home/runner/work/_temp/.npmrc
npm silly config load:file:/opt/hostedtoolcache/node/20.19.0/x64/etc/npmrc
npm verbose title npm publish tauri-apps-api-2.4.1.tgz
npm verbose argv "publish" "--ignore-scripts" "tauri-apps-api-2.4.1.tgz" "--access" "public" "--loglevel" "silly" "--no-git-checks"
npm verbose logfile logs-max:10 dir:/home/runner/.npm/_logs/2025-04-01T17_21_18_329Z-
npm verbose logfile /home/runner/.npm/_logs/2025-04-01T17_21_18_329Z-debug-0.log
npm verbose publish [ 'tauri-apps-api-2.4.1.tgz' ]
npm silly logfile done cleaning log files
npm notice
npm notice 📦  @tauri-apps/api@2.4.1
npm notice Tarball Contents
npm notice 89.3kB CHANGELOG.md
npm notice 10.2kB LICENSE_APACHE-2.0
npm notice 1.1kB LICENSE_MIT
npm notice 3.5kB README.md
npm notice 4.1kB app.cjs
npm notice 3.6kB app.d.ts
npm notice 3.9kB app.js
npm notice 9.9kB core.cjs
npm notice 6.4kB core.d.ts
npm notice 9.5kB core.js
npm notice 10.3kB dpi.cjs
npm notice 8.1kB dpi.d.ts
npm notice 10.1kB dpi.js
npm notice 5.6kB event.cjs
npm notice 4.6kB event.d.ts
npm notice 5.6kB event.js
npm notice 2.2kB external/tslib/tslib.es6.cjs
npm notice 2.2kB external/tslib/tslib.es6.js
npm notice 3.0kB image.cjs
npm notice 2.2kB image.d.ts
npm notice 2.9kB image.js
npm notice 738B index.cjs
npm notice 1.2kB index.d.ts
npm notice 669B index.js
npm notice 1.1kB menu.cjs
npm notice 451B menu.d.ts
npm notice 717B menu.js
npm notice 3.6kB menu/base.cjs
npm notice 887B menu/base.d.ts
npm notice 3.6kB menu/base.js
npm notice 2.2kB menu/checkMenuItem.cjs
npm notice 1.5kB menu/checkMenuItem.d.ts
npm notice 2.2kB menu/checkMenuItem.js
npm notice 7.4kB menu/iconMenuItem.cjs
npm notice 6.2kB menu/iconMenuItem.d.ts
npm notice 7.3kB menu/iconMenuItem.js
npm notice 5.0kB menu/menu.cjs
npm notice 4.3kB menu/menu.d.ts
npm notice 4.9kB menu/menu.js
npm notice 1.7kB menu/menuItem.cjs
npm notice 1.3kB menu/menuItem.d.ts
npm notice 1.6kB menu/menuItem.js
npm notice 1.1kB menu/predefinedMenuItem.cjs
npm notice 2.6kB menu/predefinedMenuItem.d.ts
npm notice 1.1kB menu/predefinedMenuItem.js
npm notice 6.8kB menu/submenu.cjs
npm notice 4.5kB menu/submenu.d.ts
npm notice 6.7kB menu/submenu.js
npm notice 6.4kB mocks.cjs
npm notice 3.8kB mocks.d.ts
npm notice 6.3kB mocks.js
npm notice 1.8kB package.json
npm notice 21.7kB path.cjs
npm notice 16.7kB path.d.ts
npm notice 20.7kB path.js
npm notice 6.4kB tray.cjs
npm notice 8.0kB tray.d.ts
npm notice 6.4kB tray.js
npm notice 19.2kB webview.cjs
npm notice 19.2kB webview.d.ts
npm notice 19.0kB webview.js
npm notice 8.4kB webviewWindow.cjs
npm notice 4.9kB webviewWindow.d.ts
npm notice 8.3kB webviewWindow.js
npm notice 65.2kB window.cjs
npm notice 58.3kB window.d.ts
npm notice 64.3kB window.js
npm notice Tarball Details
npm notice name: @tauri-apps/api
npm notice version: 2.4.1
npm notice filename: tauri-apps-api-2.4.1.tgz
npm notice package size: 121.7 kB
npm notice unpacked size: 644.5 kB
npm notice shasum: 33b681a6fdb83f73fd8cb03bf94e71a5603ede1c
npm notice integrity: sha512-5sYwZCSJb6PBG[...]ZktuLhKvyEQYg==
npm notice total files: 67
npm notice
npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
npm notice publish Signed provenance statement with source and build information from GitHub Actions
npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=191079929
npm http fetch PUT 200 https://registry.npmjs.org/@tauri-apps%2fapi 2479ms
+ @tauri-apps/api@2.4.1
npm verbose cwd /tmp/d1c2b5f0fc4957921faca86df134d25f
npm verbose os Linux 6.8.0-1021-azure
npm verbose node v20.19.0
npm verbose npm  v10.8.2
npm verbose exit 0
npm info ok

Don't miss a new tauri release

NewReleases is sending notifications on new releases.