mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
currently each script inlines what it needs from @tauri-apps/api, so type checks like `image instanceof Image` all fail
1.5 KiB
1.5 KiB
autostart, autostart-js, barcode-scanner, barcode-scanner-js, biometric, biometric-js, cli, cli-js, clipboard-manager, clipboard-manager-js, deep-link, deep-link-js, dialog, dialog-js, fs, fs-js, geolocation, geolocation-js, global-shortcut, global-shortcut-js, haptics, haptics-js, http, http-js, log, log-js, nfc, nfc-js, notification, notification-js, opener, opener-js, os, os-js, positioner, positioner-js, process, process-js, shell, shell-js, sql, sql-js, store, store-js, stronghold, stronghold-js, updater, updater-js, upload, upload-js, websocket, websocket-js, window-state, window-state-js
| autostart | autostart-js | barcode-scanner | barcode-scanner-js | biometric | biometric-js | cli | cli-js | clipboard-manager | clipboard-manager-js | deep-link | deep-link-js | dialog | dialog-js | fs | fs-js | geolocation | geolocation-js | global-shortcut | global-shortcut-js | haptics | haptics-js | http | http-js | log | log-js | nfc | nfc-js | notification | notification-js | opener | opener-js | os | os-js | positioner | positioner-js | process | process-js | shell | shell-js | sql | sql-js | store | store-js | stronghold | stronghold-js | updater | updater-js | upload | upload-js | websocket | websocket-js | window-state | window-state-js |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch | patch |
The plugin's global API script (used with app.withGlobalTauri) now resolves the core API from window.__TAURI__ instead of bundling its own copy of @tauri-apps/api. Values created with the core API are now accepted by plugin APIs in global mode (e.g. an Image from window.__TAURI__.image passed to clipboardManager.writeImage, which previously failed the instanceof check against the plugin's private copy), and the script is considerably smaller.