github tauri-apps/tauri @tauri-apps/api-v2.0.0-rc.4
@tauri-apps/api v2.0.0-rc.4

latest releases: @tauri-apps/cli-v1.6.4, tauri-cli-v1.6.4, tauri-bundler-v1.7.2...
2 months ago

PNPM Audit

No known vulnerabilities found

[2.0.0-rc.4]

Enhancements

  • f81929e25 (#10799 by @lucasfernog) Added PermissionState, checkPermissions and requestPermissions base APIs to the core module, designed for plugin authors to extend.

Bug Fixes

PNPM Publish

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


> @tauri-apps/api@2.0.0-rc.4 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.4s�[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.7s�[22m�[39m
npm verbose cli /opt/hostedtoolcache/node/20.17.0/x64/bin/node /opt/hostedtoolcache/node/20.17.0/x64/bin/npm
npm info using npm@10.8.2
npm info using node@v20.17.0
npm silly config load:file:/opt/hostedtoolcache/node/20.17.0/x64/lib/node_modules/npm/npmrc
npm silly config load:file:/tmp/15f7ee50590f6c3bf1f80a45c8fbde17/.npmrc
npm silly config load:file:/home/runner/work/_temp/.npmrc
npm silly config load:file:/opt/hostedtoolcache/node/20.17.0/x64/etc/npmrc
npm verbose title npm publish tauri-apps-api-2.0.0-rc.4.tgz
npm verbose argv "publish" "--ignore-scripts" "tauri-apps-api-2.0.0-rc.4.tgz" "--access" "public" "--loglevel" "silly" "--tag" "next" "--no-git-checks"
npm verbose logfile logs-max:10 dir:/home/runner/.npm/_logs/2024-08-28T18_39_48_881Z-
npm verbose logfile /home/runner/.npm/_logs/2024-08-28T18_39_48_881Z-debug-0.log
npm verbose publish [ 'tauri-apps-api-2.0.0-rc.4.tgz' ]
npm silly logfile done cleaning log files
npm notice
npm notice 📦  @tauri-apps/api@2.0.0-rc.4
npm notice Tarball Contents
npm notice 76.4kB CHANGELOG.md
npm notice 10.2kB LICENSE_APACHE-2.0
npm notice 1.1kB LICENSE_MIT
npm notice 3.5kB README.md
npm notice 2.2kB app.cjs
npm notice 1.6kB app.d.ts
npm notice 2.0kB app.js
npm notice 8.8kB core.cjs
npm notice 5.4kB core.d.ts
npm notice 8.5kB core.js
npm notice 2.2kB dpi.cjs
npm notice 1.7kB dpi.d.ts
npm notice 2.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 817B index.d.ts
npm notice 669B index.js
npm notice 1.1kB menu.cjs
npm notice 455B menu.d.ts
npm notice 707B menu.js
npm notice 2.6kB menu/base.cjs
npm notice 471B menu/base.d.ts
npm notice 2.5kB 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 5.9kB menu/iconMenuItem.d.ts
npm notice 7.3kB menu/iconMenuItem.js
npm notice 6.3kB menu/menu.cjs
npm notice 4.1kB menu/menu.d.ts
npm notice 6.1kB 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 7.0kB menu/submenu.cjs
npm notice 4.3kB menu/submenu.d.ts
npm notice 6.8kB menu/submenu.js
npm notice 6.6kB mocks.cjs
npm notice 3.9kB mocks.d.ts
npm notice 6.5kB mocks.js
npm notice 1.7kB package.json
npm notice 20.2kB path.cjs
npm notice 15.2kB path.d.ts
npm notice 19.2kB path.js
npm notice 5.6kB tray.cjs
npm notice 8.4kB tray.d.ts
npm notice 5.5kB tray.js
npm notice 17.8kB webview.cjs
npm notice 14.6kB webview.d.ts
npm notice 17.6kB webview.js
npm notice 7.6kB webviewWindow.cjs
npm notice 4.3kB webviewWindow.d.ts
npm notice 7.4kB webviewWindow.js
npm notice 61.9kB window.cjs
npm notice 52.8kB window.d.ts
npm notice 61.1kB window.js
npm notice Tarball Details
npm notice name: @tauri-apps/api
npm notice version: 2.0.0-rc.4
npm notice filename: tauri-apps-api-2.0.0-rc.4.tgz
npm notice package size: 109.1 kB
npm notice unpacked size: 572.4 kB
npm notice shasum: 2b4c3493d86382981787c52006c6c9e5bf16bc08
npm notice integrity: sha512-UNiIhhKG08j4o[...]F5ypzyuyb8tyg==
npm notice total files: 67
npm notice
npm notice Publishing to https://registry.npmjs.org/ with tag next 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=125679356
npm http fetch PUT 200 https://registry.npmjs.org/@tauri-apps%2fapi 2381ms
+ @tauri-apps/api@2.0.0-rc.4
npm verbose cwd /tmp/15f7ee50590f6c3bf1f80a45c8fbde17
npm verbose os Linux 6.5.0-1025-azure
npm verbose node v20.17.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.