feat: update to tauri 2.0.0-alpha.9 (#372)

pull/376/head
Lucas Fernandes Nogueira 2 years ago committed by GitHub
parent 717ae67097
commit 3c9771e287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

35
Cargo.lock generated

@ -4959,8 +4959,9 @@ dependencies = [
[[package]] [[package]]
name = "tauri" name = "tauri"
version = "2.0.0-alpha.8" version = "2.0.0-alpha.9"
source = "git+https://github.com/tauri-apps/tauri?branch=next#8ce32e74b5573931c3bc81e8e893a6d3b9686b0e" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "695b6c1cdf861002bc2ea17a53cf0669e62da5def6ffcbff02fa00c7515d40b4"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bytes 1.4.0", "bytes 1.4.0",
@ -5009,8 +5010,9 @@ dependencies = [
[[package]] [[package]]
name = "tauri-build" name = "tauri-build"
version = "2.0.0-alpha.4" version = "2.0.0-alpha.5"
source = "git+https://github.com/tauri-apps/tauri?branch=next#8ce32e74b5573931c3bc81e8e893a6d3b9686b0e" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34a5b16abedfa53fdb6ad4c68c41612e097dbfac1c18390fe6e4ded18d9ec28d"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cargo_toml", "cargo_toml",
@ -5029,8 +5031,9 @@ dependencies = [
[[package]] [[package]]
name = "tauri-codegen" name = "tauri-codegen"
version = "2.0.0-alpha.4" version = "2.0.0-alpha.5"
source = "git+https://github.com/tauri-apps/tauri?branch=next#8ce32e74b5573931c3bc81e8e893a6d3b9686b0e" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62f03863ab7ecf1fea3a748c4a9ace7b0a6a2051b4ce10ae954ec546957fb529"
dependencies = [ dependencies = [
"base64 0.21.0", "base64 0.21.0",
"brotli", "brotli",
@ -5054,8 +5057,9 @@ dependencies = [
[[package]] [[package]]
name = "tauri-macros" name = "tauri-macros"
version = "2.0.0-alpha.4" version = "2.0.0-alpha.5"
source = "git+https://github.com/tauri-apps/tauri?branch=next#8ce32e74b5573931c3bc81e8e893a6d3b9686b0e" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74f9a2623fed6b5bc04f2e1344c88df6415617bd223599c60a4171630b63fb74"
dependencies = [ dependencies = [
"heck 0.4.1", "heck 0.4.1",
"proc-macro2", "proc-macro2",
@ -5437,8 +5441,9 @@ dependencies = [
[[package]] [[package]]
name = "tauri-runtime" name = "tauri-runtime"
version = "0.13.0-alpha.4" version = "0.13.0-alpha.5"
source = "git+https://github.com/tauri-apps/tauri?branch=next#8ce32e74b5573931c3bc81e8e893a6d3b9686b0e" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de05147581dd8cfdac638455029eb06c57fa64eb17eb03d5d7f229c571941cd9"
dependencies = [ dependencies = [
"gtk", "gtk",
"http", "http",
@ -5457,8 +5462,9 @@ dependencies = [
[[package]] [[package]]
name = "tauri-runtime-wry" name = "tauri-runtime-wry"
version = "0.13.0-alpha.4" version = "0.13.0-alpha.5"
source = "git+https://github.com/tauri-apps/tauri?branch=next#8ce32e74b5573931c3bc81e8e893a6d3b9686b0e" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7784048ef49a57ff32d55bf4ce89ec72fc97e3d4fdc68785d164b23965170e49"
dependencies = [ dependencies = [
"cocoa", "cocoa",
"gtk", "gtk",
@ -5477,8 +5483,9 @@ dependencies = [
[[package]] [[package]]
name = "tauri-utils" name = "tauri-utils"
version = "2.0.0-alpha.4" version = "2.0.0-alpha.5"
source = "git+https://github.com/tauri-apps/tauri?branch=next#8ce32e74b5573931c3bc81e8e893a6d3b9686b0e" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58eca5e3b6714c6bd87052182ebb7d5392d551f478f994878f136f49d4e6d640"
dependencies = [ dependencies = [
"aes-gcm 0.10.1", "aes-gcm 0.10.1",
"brotli", "brotli",

@ -5,8 +5,8 @@ resolver = "2"
[workspace.dependencies] [workspace.dependencies]
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
log = "0.4" log = "0.4"
tauri = { git = "https://github.com/tauri-apps/tauri", branch = "next" } tauri = "2.0.0-alpha.9"
tauri-build = { git = "https://github.com/tauri-apps/tauri", branch = "next" } tauri-build = "2.0.0-alpha.5"
serde_json = "1" serde_json = "1"
thiserror = "1" thiserror = "1"

@ -8,8 +8,7 @@
"serve": "vite preview" "serve": "vite preview"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "2.0.0-alpha.3", "@tauri-apps/api": "2.0.0-alpha.4",
"@tauri-apps/cli": "2.0.0-alpha.8",
"@zerodevx/svelte-json-view": "0.2.1", "@zerodevx/svelte-json-view": "0.2.1",
"@tauri-apps/plugin-app": "1.0.0", "@tauri-apps/plugin-app": "1.0.0",
"@tauri-apps/plugin-cli": "1.0.0", "@tauri-apps/plugin-cli": "1.0.0",
@ -29,6 +28,7 @@
"@iconify-json/codicon": "^1.1.10", "@iconify-json/codicon": "^1.1.10",
"@iconify-json/ph": "^1.1.1", "@iconify-json/ph": "^1.1.1",
"@sveltejs/vite-plugin-svelte": "^1.0.1", "@sveltejs/vite-plugin-svelte": "^1.0.1",
"@tauri-apps/cli": "2.0.0-alpha.9",
"internal-ip": "^7.0.0", "internal-ip": "^7.0.0",
"svelte": "^3.49.0", "svelte": "^3.49.0",
"unocss": "^0.39.3", "unocss": "^0.39.3",

@ -3,7 +3,7 @@
import { relaunch, exit } from "@tauri-apps/plugin-process"; import { relaunch, exit } from "@tauri-apps/plugin-process";
let version = "1.0.0"; let version = "1.0.0";
let tauriversion = "1.0.0"; let tauriVersion = "1.0.0";
let appName = "Unknown"; let appName = "Unknown";
getName().then((n) => { getName().then((n) => {

@ -27,6 +27,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -28,6 +28,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -27,6 +27,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -27,6 +27,6 @@
"tslib": "^2.4.1" "tslib": "^2.4.1"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -27,6 +27,6 @@
"tslib": "^2.4.1" "tslib": "^2.4.1"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -27,6 +27,6 @@
"tslib": "^2.4.1" "tslib": "^2.4.1"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -74,6 +74,7 @@
*/ */
import { invoke } from "@tauri-apps/api/tauri"; import { invoke } from "@tauri-apps/api/tauri";
import { BaseDirectory } from "@tauri-apps/api/path";
interface Permissions { interface Permissions {
/** /**
@ -182,37 +183,6 @@ interface BackendMetadata {
blocks: number | undefined; blocks: number | undefined;
} }
// TODO: pull BaseDirectory from @tauri-apps/api/path
/**
* @since 1.0.0
*/
enum BaseDirectory {
Audio = 1,
Cache,
Config,
Data,
LocalData,
Document,
Download,
Picture,
Public,
Video,
Resource,
Temp,
AppConfig,
AppData,
AppLocalData,
AppCache,
AppLog,
Desktop,
Executable,
Font,
Home,
Runtime,
Template,
}
/** /**
* @since 1.0.0 * @since 1.0.0
*/ */

@ -28,6 +28,6 @@
"tslib": "^2.4.1" "tslib": "^2.4.1"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -27,6 +27,6 @@
"tslib": "^2.4.1" "tslib": "^2.4.1"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -27,6 +27,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -28,6 +28,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -24,7 +24,11 @@
* @module * @module
*/ */
import { invoke, transformCallback } from "@tauri-apps/api/tauri"; import {
invoke,
PluginListener,
addPluginListener,
} from "@tauri-apps/api/tauri";
/** /**
* Options to send a notification. * Options to send a notification.
@ -551,59 +555,16 @@ async function channels(): Promise<Channel[]> {
return invoke("plugin:notification|getActive"); return invoke("plugin:notification|getActive");
} }
class EventChannel {
id: number;
unregisterFn: (channel: EventChannel) => Promise<void>;
constructor(
id: number,
unregisterFn: (channel: EventChannel) => Promise<void>
) {
this.id = id;
this.unregisterFn = unregisterFn;
}
toJSON(): string {
return `__CHANNEL__:${this.id}`;
}
async unregister(): Promise<void> {
return this.unregisterFn(this);
}
}
// TODO: use addPluginListener API on @tauri-apps/api/tauri 2.0.0-alpha.4
async function onNotificationReceived( async function onNotificationReceived(
cb: (notification: Options) => void cb: (notification: Options) => void
): Promise<EventChannel> { ): Promise<PluginListener> {
const channelId = transformCallback(cb); return addPluginListener("notification", "notification", cb);
const handler = new EventChannel(channelId, (channel) =>
invoke("plugin:notification|remove_listener", {
event: "notification",
channelId: channel.id,
})
);
return invoke("plugin:notification|register_listener", {
event: "notification",
handler,
}).then(() => handler);
} }
// TODO: use addPluginListener API on @tauri-apps/api/tauri 2.0.0-alpha.4
async function onAction( async function onAction(
cb: (notification: Options) => void cb: (notification: Options) => void
): Promise<EventChannel> { ): Promise<PluginListener> {
const channelId = transformCallback(cb); return addPluginListener("notification", "actionPerformed", cb);
const handler = new EventChannel(channelId, (channel) =>
invoke("plugin:notification|remove_listener", {
event: "actionPerformed",
channelId: channel.id,
})
);
return invoke("plugin:notification|register_listener", {
event: "actionPerformed",
handler,
}).then(() => handler);
} }
export type { export type {

@ -27,6 +27,6 @@
"tslib": "^2.4.1" "tslib": "^2.4.1"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -27,6 +27,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -28,6 +28,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -27,6 +27,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -27,6 +27,6 @@
"tslib": "^2.4.1" "tslib": "^2.4.1"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -8,7 +8,7 @@
}, },
"author": "", "author": "",
"license": "MIT", "license": "MIT",
"dependencies": { "devDependencies": {
"@tauri-apps/cli": "^2.0.0-alpha.8" "@tauri-apps/cli": "^2.0.0-alpha.9"
} }
} }

@ -28,6 +28,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -28,6 +28,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -28,6 +28,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -1,4 +1,4 @@
import { invoke, transformCallback } from "@tauri-apps/api/tauri"; import { invoke, Channel } from "@tauri-apps/api/tauri";
interface CheckOptions { interface CheckOptions {
/** /**
@ -23,34 +23,6 @@ interface UpdateResponse {
body?: string; body?: string;
} }
// TODO: use channel from @tauri-apps/api on v2
class Channel<T = unknown> {
id: number;
// @ts-expect-error field used by the IPC serializer
private readonly __TAURI_CHANNEL_MARKER__ = true;
#onmessage: (response: T) => void = () => {
// no-op
};
constructor() {
this.id = transformCallback((response: T) => {
this.#onmessage(response);
});
}
set onmessage(handler: (response: T) => void) {
this.#onmessage = handler;
}
get onmessage(): (response: T) => void {
return this.#onmessage;
}
toJSON(): string {
return `__CHANNEL__:${this.id}`;
}
}
type DownloadEvent = type DownloadEvent =
| { event: "Started"; data: { contentLength?: number } } | { event: "Started"; data: { contentLength?: number } }
| { event: "Progress"; data: { chunkLength: number } } | { event: "Progress"; data: { chunkLength: number } }

@ -27,6 +27,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -17,7 +17,6 @@ fn main() {
// It must be the last parameter used in the command line and must not contain any quotes, even if the path contains spaces. // It must be the last parameter used in the command line and must not contain any quotes, even if the path contains spaces.
// Only absolute paths are supported. // Only absolute paths are supported.
// NOTE: we only need this because this is an integration test and we don't want to install the app in the programs folder // NOTE: we only need this because this is an integration test and we don't want to install the app in the programs folder
// TODO mutate plugin config
updater = updater.installer_args(vec![format!( updater = updater.installer_args(vec![format!(
"/D={}", "/D={}",
tauri::utils::platform::current_exe() tauri::utils::platform::current_exe()

@ -1,4 +1,4 @@
import { invoke, transformCallback } from "@tauri-apps/api/tauri"; import { invoke, Channel } from "@tauri-apps/api/tauri";
interface ProgressPayload { interface ProgressPayload {
progress: number; progress: number;
@ -7,34 +7,6 @@ interface ProgressPayload {
type ProgressHandler = (progress: ProgressPayload) => void; type ProgressHandler = (progress: ProgressPayload) => void;
// TODO: use channel from @tauri-apps/api on v2
class Channel<T = unknown> {
id: number;
// @ts-expect-error field used by the IPC serializer
private readonly __TAURI_CHANNEL_MARKER__ = true;
#onmessage: (response: T) => void = () => {
// no-op
};
constructor() {
this.id = transformCallback((response: T) => {
this.#onmessage(response);
});
}
set onmessage(handler: (response: T) => void) {
this.#onmessage = handler;
}
get onmessage(): (response: T) => void {
return this.#onmessage;
}
toJSON(): string {
return `__CHANNEL__:${this.id}`;
}
}
async function upload( async function upload(
url: string, url: string,
filePath: string, filePath: string,

@ -28,6 +28,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -13,7 +13,7 @@
"devDependencies": { "devDependencies": {
"@sveltejs/adapter-auto": "^2.0.0", "@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.15.5", "@sveltejs/kit": "^1.15.5",
"@tauri-apps/cli": "^1.2.3", "@tauri-apps/cli": "2.0.0-alpha.9",
"svelte": "^3.58.0", "svelte": "^3.58.0",
"svelte-check": "^3.2.0", "svelte-check": "^3.2.0",
"tslib": "^2.5.0", "tslib": "^2.5.0",
@ -21,7 +21,6 @@
"vite": "^4.2.1" "vite": "^4.2.1"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/cli": "^2.0.0-alpha.8",
"@tauri-apps/plugin-websocket": "link:../../" "@tauri-apps/plugin-websocket": "link:../../"
}, },
"type": "module" "type": "module"

@ -27,6 +27,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -28,6 +28,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -27,6 +27,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

@ -56,11 +56,8 @@ importers:
examples/api: examples/api:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: 2.0.0-alpha.3 specifier: 2.0.0-alpha.4
version: 2.0.0-alpha.3 version: 2.0.0-alpha.4
'@tauri-apps/cli':
specifier: 2.0.0-alpha.8
version: 2.0.0-alpha.8
'@tauri-apps/plugin-app': '@tauri-apps/plugin-app':
specifier: 1.0.0 specifier: 1.0.0
version: link:../../plugins/app version: link:../../plugins/app
@ -113,6 +110,9 @@ importers:
'@sveltejs/vite-plugin-svelte': '@sveltejs/vite-plugin-svelte':
specifier: ^1.0.1 specifier: ^1.0.1
version: 1.0.1(svelte@3.55.1)(vite@3.0.9) version: 1.0.1(svelte@3.55.1)(vite@3.0.9)
'@tauri-apps/cli':
specifier: 2.0.0-alpha.9
version: 2.0.0-alpha.9
internal-ip: internal-ip:
specifier: ^7.0.0 specifier: ^7.0.0
version: 7.0.0 version: 7.0.0
@ -129,8 +129,8 @@ importers:
plugins/app: plugins/app:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -139,8 +139,8 @@ importers:
plugins/authenticator: plugins/authenticator:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -149,8 +149,8 @@ importers:
plugins/autostart: plugins/autostart:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -159,8 +159,8 @@ importers:
plugins/cli: plugins/cli:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.4.1 specifier: ^2.4.1
@ -169,8 +169,8 @@ importers:
plugins/clipboard: plugins/clipboard:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.4.1 specifier: ^2.4.1
@ -179,8 +179,8 @@ importers:
plugins/dialog: plugins/dialog:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.4.1 specifier: ^2.4.1
@ -189,8 +189,8 @@ importers:
plugins/fs: plugins/fs:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.4.1 specifier: ^2.4.1
@ -199,8 +199,8 @@ importers:
plugins/global-shortcut: plugins/global-shortcut:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.4.1 specifier: ^2.4.1
@ -209,8 +209,8 @@ importers:
plugins/http: plugins/http:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -219,8 +219,8 @@ importers:
plugins/log: plugins/log:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -229,8 +229,8 @@ importers:
plugins/notification: plugins/notification:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.4.1 specifier: ^2.4.1
@ -239,8 +239,8 @@ importers:
plugins/os: plugins/os:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -249,8 +249,8 @@ importers:
plugins/positioner: plugins/positioner:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -259,8 +259,8 @@ importers:
plugins/process: plugins/process:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -269,24 +269,24 @@ importers:
plugins/shell: plugins/shell:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.4.1 specifier: ^2.4.1
version: 2.4.1 version: 2.4.1
plugins/single-instance/examples/vanilla: plugins/single-instance/examples/vanilla:
dependencies: devDependencies:
'@tauri-apps/cli': '@tauri-apps/cli':
specifier: ^2.0.0-alpha.8 specifier: ^2.0.0-alpha.9
version: 2.0.0-alpha.8 version: 2.0.0-alpha.9
plugins/sql: plugins/sql:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -295,8 +295,8 @@ importers:
plugins/store: plugins/store:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -305,8 +305,8 @@ importers:
plugins/stronghold: plugins/stronghold:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -315,8 +315,8 @@ importers:
plugins/updater: plugins/updater:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -325,8 +325,8 @@ importers:
plugins/upload: plugins/upload:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -335,8 +335,8 @@ importers:
plugins/websocket: plugins/websocket:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -344,9 +344,6 @@ importers:
plugins/websocket/examples/svelte-app: plugins/websocket/examples/svelte-app:
dependencies: dependencies:
'@tauri-apps/cli':
specifier: ^2.0.0-alpha.8
version: 2.0.0-alpha.8
'@tauri-apps/plugin-websocket': '@tauri-apps/plugin-websocket':
specifier: link:../../ specifier: link:../../
version: link:../.. version: link:../..
@ -357,6 +354,9 @@ importers:
'@sveltejs/kit': '@sveltejs/kit':
specifier: ^1.15.5 specifier: ^1.15.5
version: 1.15.8(svelte@3.58.0)(vite@4.3.3) version: 1.15.8(svelte@3.58.0)(vite@4.3.3)
'@tauri-apps/cli':
specifier: 2.0.0-alpha.9
version: 2.0.0-alpha.9
svelte: svelte:
specifier: ^3.58.0 specifier: ^3.58.0
version: 3.58.0 version: 3.58.0
@ -376,8 +376,8 @@ importers:
plugins/window: plugins/window:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -386,8 +386,8 @@ importers:
plugins/window-state: plugins/window-state:
dependencies: dependencies:
'@tauri-apps/api': '@tauri-apps/api':
specifier: ^1.2.0 specifier: 2.0.0-alpha.4
version: 1.2.0 version: 2.0.0-alpha.4
devDependencies: devDependencies:
tslib: tslib:
specifier: ^2.5.0 specifier: ^2.5.0
@ -1043,112 +1043,107 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@tauri-apps/api@1.2.0: /@tauri-apps/api@2.0.0-alpha.4:
resolution: {integrity: sha512-lsI54KI6HGf7VImuf/T9pnoejfgkNoXveP14pVV7XarrQ46rOejIVJLFqHI9sRReJMGdh2YuCoI3cc/yCWCsrw==} resolution: {integrity: sha512-gWe5fFHbwFM+dmdDPtlDvVDVtoMneGRM+S8mECevWhKpXYxId0yxznE56YGAvPSJXC3vgsXw16mOmkTnEVKnaw==}
engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'} engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
dev: false dev: false
/@tauri-apps/api@2.0.0-alpha.3: /@tauri-apps/cli-darwin-arm64@2.0.0-alpha.9:
resolution: {integrity: sha512-F6seMDlcaxeCPy4gS0zJdp6Tet+0rd1qJi/fbKrOrhLM6Y5UtkiG1aSDnMPi+1udThSfadjhUwrLHINvfMCjzQ==} resolution: {integrity: sha512-h7AQY4MbHyy7CLANfoegJyaypKQ3fYPlBA3mnhtF+zntrMxVTv+HO9sgn98jGnwlOak8y0NPPKJ6gZFu5GYiNg==}
engines: {node: '>= 14.6.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
dev: false
/@tauri-apps/cli-darwin-arm64@2.0.0-alpha.8:
resolution: {integrity: sha512-ZF9nkkYCDiAEKZFwjEbuqTcFVp+DBgem3edKjsZDYPQpWg0VcZOSYr0o3/RPC81T1/FAy1lq478mkcMe0efvEw==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [darwin] os: [darwin]
requiresBuild: true requiresBuild: true
dev: false dev: true
optional: true optional: true
/@tauri-apps/cli-darwin-x64@2.0.0-alpha.8: /@tauri-apps/cli-darwin-x64@2.0.0-alpha.9:
resolution: {integrity: sha512-N5V+tbP3qeAoXrrTZXvaLIeEWKCq11tqXoNFTkIZNGNC5yQdNpZSX0LqFqzmxVR1SHiOymebvcUlx+ADIpuXGw==} resolution: {integrity: sha512-8RtvzZ4/1gZU8SvMaCygtjc9Q0bMnA0NuQKOMrehRfpvvy2gw/q8MMdw3WEawYGQHqEbr6YtNJmaR5wlsVk+IQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [darwin] os: [darwin]
requiresBuild: true requiresBuild: true
dev: false dev: true
optional: true optional: true
/@tauri-apps/cli-linux-arm-gnueabihf@2.0.0-alpha.8: /@tauri-apps/cli-linux-arm-gnueabihf@2.0.0-alpha.9:
resolution: {integrity: sha512-7LHfZA99ncMDUO/wCGMtrqmDHt1uEKZiNmuzPljWLUwVvbAn0pNWNygnvPNVLEOyav5NnZSGPqT1Zmn+L6Fpyg==} resolution: {integrity: sha512-nHAgFEJ2DXXEx96FLPnqZ9vfFGw7Hr2ZaY+xy28llXWljCOguWi8wdHv4OMnq0hbOkegVGplYPc4RSQ5uUia2Q==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: false dev: true
optional: true optional: true
/@tauri-apps/cli-linux-arm64-gnu@2.0.0-alpha.8: /@tauri-apps/cli-linux-arm64-gnu@2.0.0-alpha.9:
resolution: {integrity: sha512-imq2MdhWdREvL2sqbU26mzH9sgSvfNWP0uvCPvPxUhK157xqdtGw+Gqm00hwnhTuT5bOFlsUNfnG2U19k1qMpA==} resolution: {integrity: sha512-ETmUoTp+UgHypPpsq3OYwbcmX8MqjCGIUAzDHoVFpYuj2oqHw0ZaCx2lQPTnqW5G5L9X9VXhMAcRB8OBZG5KFw==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: false dev: true
optional: true optional: true
/@tauri-apps/cli-linux-arm64-musl@2.0.0-alpha.8: /@tauri-apps/cli-linux-arm64-musl@2.0.0-alpha.9:
resolution: {integrity: sha512-7hXEyvCosBHIN6ahkbFOI5JoyWZAulc0sYd3hWh9V/MBfU+LlPiapsJi6fdde0zew5nnzwcCtfEKkoR737tAig==} resolution: {integrity: sha512-S55E2u4LsQajoxkpYqd2skPEVG5hp+Mkhhnixfi+87q87n9iIvIqcH+4ejDXAPUrWNMsRKIWVURV2ZzivqK5Kw==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: false dev: true
optional: true optional: true
/@tauri-apps/cli-linux-x64-gnu@2.0.0-alpha.8: /@tauri-apps/cli-linux-x64-gnu@2.0.0-alpha.9:
resolution: {integrity: sha512-S9T/trKpXcLc7hVIv7xFrRBlaivHD/HLUz0nYAkI2izNGFmbP3QpkqQDdwpWN/fxneodNgI2/mDFC3NULClj+A==} resolution: {integrity: sha512-/0J5sJDu+cSrj67L4Q4FVANe1ffpsz3LZMQRkbWmT2ggd2Mxg8LZBtg7y5ysMfJg8xjKvymi+1mS2yU1B7/k9Q==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: false dev: true
optional: true optional: true
/@tauri-apps/cli-linux-x64-musl@2.0.0-alpha.8: /@tauri-apps/cli-linux-x64-musl@2.0.0-alpha.9:
resolution: {integrity: sha512-90mx6vSFNBbctaPaKhkH+um51gOoRJwLFOadOkklHS5Q6S6GjtSa1lmBEFyKUTAfFPtmiacuNYtoKx7nqm+z1Q==} resolution: {integrity: sha512-zjtf5H3c4amlBjIdDiQ3pmiMV/cmcPxaiH4KgyRD6NZXY9+gDk5dkzj3WAWegiD1ycz3bv5INO/tDxjk5ZSYlw==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: false dev: true
optional: true optional: true
/@tauri-apps/cli-win32-ia32-msvc@2.0.0-alpha.8: /@tauri-apps/cli-win32-ia32-msvc@2.0.0-alpha.9:
resolution: {integrity: sha512-VAMsLJYfp6iVI7oJ+uIkfe8DKPRMtWDiSEkfFqvDyFX0WMTQl23B0AzYyapVwZc+WkTkLuoMLpIWMQCgAoQWfQ==} resolution: {integrity: sha512-Hn0xDaEEMeXRzWCtew2MIYDky8hF+BOos0PP4qyCX14LfChpgSIT0aMYC8xbSfj9N9pwznhNBxgOtCADaTPWcg==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [ia32] cpu: [ia32]
os: [win32] os: [win32]
requiresBuild: true requiresBuild: true
dev: false dev: true
optional: true optional: true
/@tauri-apps/cli-win32-x64-msvc@2.0.0-alpha.8: /@tauri-apps/cli-win32-x64-msvc@2.0.0-alpha.9:
resolution: {integrity: sha512-zvWd13hRfRM0AEJJZ4t4CeB/cyru8hvbB6c+sxYDS9GPRWfHSH5dIeKoHhnMwP5fEOPZLN7VaeEP6tC88trD6g==} resolution: {integrity: sha512-541nR7UoasX/fnEWhC14H4Ppj17Aa1fbCyFb9+zmWjupVkEGf/yQFvdWRHdmCkgOdGuxPahR5hbOPh+jvaklFw==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
requiresBuild: true requiresBuild: true
dev: false dev: true
optional: true optional: true
/@tauri-apps/cli@2.0.0-alpha.8: /@tauri-apps/cli@2.0.0-alpha.9:
resolution: {integrity: sha512-cXt6pxh7oiV8Htz7eTPor7if4aN9f9emn10+5h2Y82YzST7I7wKXsrjuk0HIyzUiqiQjUgl3iT9gh791zgtI3w==} resolution: {integrity: sha512-roQNpFC3Ijni/c7TCkCpUg3gWKfxs1ftWSQJyCthqIPRM5J7I2vOfhcUXIZw9glrxDp5npyRW0xYyI7W/424uQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
hasBin: true hasBin: true
optionalDependencies: optionalDependencies:
'@tauri-apps/cli-darwin-arm64': 2.0.0-alpha.8 '@tauri-apps/cli-darwin-arm64': 2.0.0-alpha.9
'@tauri-apps/cli-darwin-x64': 2.0.0-alpha.8 '@tauri-apps/cli-darwin-x64': 2.0.0-alpha.9
'@tauri-apps/cli-linux-arm-gnueabihf': 2.0.0-alpha.8 '@tauri-apps/cli-linux-arm-gnueabihf': 2.0.0-alpha.9
'@tauri-apps/cli-linux-arm64-gnu': 2.0.0-alpha.8 '@tauri-apps/cli-linux-arm64-gnu': 2.0.0-alpha.9
'@tauri-apps/cli-linux-arm64-musl': 2.0.0-alpha.8 '@tauri-apps/cli-linux-arm64-musl': 2.0.0-alpha.9
'@tauri-apps/cli-linux-x64-gnu': 2.0.0-alpha.8 '@tauri-apps/cli-linux-x64-gnu': 2.0.0-alpha.9
'@tauri-apps/cli-linux-x64-musl': 2.0.0-alpha.8 '@tauri-apps/cli-linux-x64-musl': 2.0.0-alpha.9
'@tauri-apps/cli-win32-ia32-msvc': 2.0.0-alpha.8 '@tauri-apps/cli-win32-ia32-msvc': 2.0.0-alpha.9
'@tauri-apps/cli-win32-x64-msvc': 2.0.0-alpha.8 '@tauri-apps/cli-win32-x64-msvc': 2.0.0-alpha.9
dev: false dev: true
/@tauri-apps/toml@2.2.4: /@tauri-apps/toml@2.2.4:
resolution: {integrity: sha512-NJV/pdgJObDlDWi5+MTHZ2qyNvdL0dlHqQ72nzQYXWbW1LHMPXgCJYl0pLqL1XxxLtxtInYbtVCGVAcwhGxdkw==} resolution: {integrity: sha512-NJV/pdgJObDlDWi5+MTHZ2qyNvdL0dlHqQ72nzQYXWbW1LHMPXgCJYl0pLqL1XxxLtxtInYbtVCGVAcwhGxdkw==}

@ -27,6 +27,6 @@
"tslib": "^2.4.1" "tslib": "^2.4.1"
}, },
"dependencies": { "dependencies": {
"@tauri-apps/api": "^1.2.0" "@tauri-apps/api": "2.0.0-alpha.4"
} }
} }

Loading…
Cancel
Save