chore(deps): update to tauri alpha.20, @tauri-apps/api alpha.13 (#839)

* chore(deps): update to tauri alpha.20, @tauri-apps/api alpha.13

* fix lockfile
This commit is contained in:
Lucas Fernandes Nogueira
2023-12-19 19:18:05 -03:00
committed by GitHub
parent e5f979f91a
commit 2cf8faa3e1
69 changed files with 315 additions and 217 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
export class Authenticator {
async init(): Promise<void> {
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
export async function isEnabled(): Promise<boolean> {
return await invoke("plugin:autostart|is_enabled");
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
export type PermissionState = "granted" | "denied" | "prompt";
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
export enum BiometryType {
None = 0,
+1 -1
View File
@@ -27,6 +27,6 @@
"tslib": "2.6.0"
},
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -8,7 +8,7 @@
* @module
*/
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
/**
* @since 2.0.0
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -8,7 +8,7 @@
* @module
*/
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
type ClipResponse = Record<"plainText", { text: string }>;
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+2 -2
View File
@@ -10,11 +10,11 @@
"tauri": "tauri"
},
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12",
"@tauri-apps/api": "2.0.0-alpha.13",
"@tauri-apps/plugin-deep-link": "2.0.0-alpha.3"
},
"devDependencies": {
"@tauri-apps/cli": "2.0.0-alpha.18",
"@tauri-apps/cli": "2.0.0-alpha.20",
"internal-ip": "^8.0.0",
"typescript": "^5.2.2",
"vite": "^5.0.6"
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
import { UnlistenFn, listen } from "@tauri-apps/api/event";
export async function getCurrent(): Promise<string[] | null> {
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
interface FileResponse {
base64Data?: string;
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
window.alert = function (message: string) {
invoke("plugin:dialog|message", {
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -47,7 +47,7 @@
import { BaseDirectory } from "@tauri-apps/api/path";
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
interface Permissions {
/**
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -8,7 +8,7 @@
* @module
*/
import { invoke, Channel } from "@tauri-apps/api/primitives";
import { invoke, Channel } from "@tauri-apps/api/core";
export type ShortcutHandler = (shortcut: string) => void;
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -24,7 +24,7 @@
* @module
*/
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
/**
* Options to configure the Rust client used to make fetch requests
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -4,7 +4,7 @@
import { listen, UnlistenFn } from "@tauri-apps/api/event";
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
export type LogOptions = {
file?: string;
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
export const RTD_TEXT = [0x54]; // "T"
export const RTD_URI = [0x55]; // "U"
+1 -1
View File
@@ -27,6 +27,6 @@
"tslib": "2.6.0"
},
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -13,7 +13,7 @@ import {
invoke,
PluginListener,
addPluginListener,
} from "@tauri-apps/api/primitives";
} from "@tauri-apps/api/core";
/**
* Options to send a notification.
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
import type { Options } from "./index";
(function () {
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -8,7 +8,7 @@
* @module
*/
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
/** @ignore */
declare global {
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -3,7 +3,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
/**
* Well known window positions.
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -7,7 +7,7 @@
* @module
*/
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
/**
* Exits immediately with the given `exitCode`.
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -62,7 +62,7 @@
* @module
*/
import { invoke, Channel } from "@tauri-apps/api/primitives";
import { invoke, Channel } from "@tauri-apps/api/core";
/**
* @since 2.0.0
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
// open <a href="..."> links with the API
function openLinks() {
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
@@ -9,6 +9,6 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@tauri-apps/cli": "2.0.0-alpha.18"
"@tauri-apps/cli": "2.0.0-alpha.20"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
export interface QueryResult {
/** The number of rows affected by the query. */
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -4,7 +4,7 @@
import { listen, UnlistenFn } from "@tauri-apps/api/event";
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
interface ChangePayload<T> {
path: string;
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
type BytesDto = string | number[];
export type ClientPath =
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+2 -1
View File
@@ -434,10 +434,11 @@ impl Builder {
/// # Examples
///
/// ```rust
/// use tauri::Manager;
/// tauri::Builder::default()
/// .setup(|app| {
/// let salt_path = app
/// .path_resolver()
/// .path()
/// .app_local_data_dir()
/// .expect("could not resolve app local data path")
/// .join("salt.txt");
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke, Channel } from "@tauri-apps/api/primitives";
import { invoke, Channel } from "@tauri-apps/api/core";
/** Options used to check for updates */
interface CheckOptions {
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke, Channel } from "@tauri-apps/api/primitives";
import { invoke, Channel } from "@tauri-apps/api/core";
interface ProgressPayload {
progress: number;
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
@@ -13,7 +13,7 @@
"devDependencies": {
"@sveltejs/adapter-auto": "2.1.1",
"@sveltejs/kit": "1.27.7",
"@tauri-apps/cli": "2.0.0-alpha.18",
"@tauri-apps/cli": "2.0.0-alpha.20",
"svelte": "4.2.8",
"svelte-check": "3.6.2",
"typescript": "5.3.2",
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke, Channel } from "@tauri-apps/api/primitives";
import { invoke, Channel } from "@tauri-apps/api/core";
export interface ConnectionConfig {
writeBufferSize?: number;
+1 -1
View File
@@ -23,6 +23,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/primitives";
import { invoke } from "@tauri-apps/api/core";
import { WindowLabel, getCurrent } from "@tauri-apps/api/window";
export enum StateFlags {
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.12"
"@tauri-apps/api": "2.0.0-alpha.13"
}
}