Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix(desktop): rebase with appload mirror and hash (#5351)
Shreyaseb8487fc826c
diff --git a/packages/hoppscotch-desktop/package.json b/packages/hoppscotch-desktop/package.jsonindex 32e649cd1..afe6fd673 100644--- a/packages/hoppscotch-desktop/package.json+++ b/packages/hoppscotch-desktop/package.json@@ -24,7 +24,7 @@"@fontsource-variable/roboto-mono": "5.2.6","@hoppscotch/common": "workspace:^","@hoppscotch/kernel": "workspace:^",- "@hoppscotch/plugin-appload": "github:CuriousCorrelation/tauri-plugin-appload#feat-desktop-appload-top-level-config",+ "@hoppscotch/plugin-appload": "github:CuriousCorrelation/tauri-plugin-appload#e05861959938b57479a1a81fa796735ebbd08c7c","@hoppscotch/ui": "0.2.5","@tauri-apps/api": "2.1.1","@tauri-apps/plugin-fs": "2.0.2",diff --git a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/package.json b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/package.jsonindex e93616bd1..f4ed9a998 100644--- a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/package.json+++ b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/package.json@@ -26,8 +26,8 @@},"devDependencies": {"@rollup/plugin-typescript": "^11.1.6",- "rollup": "^4.48.1",- "tslib": "^2.6.2",- "typescript": "5.9.2"+ "rollup": "^4.9.6",+ "typescript": "5.9.2",+ "tslib": "^2.6.2"}}diff --git a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/permissions/autogenerated/reference.md b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/permissions/autogenerated/reference.mdindex 0608d50a1..a62dce5cb 100644--- a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/permissions/autogenerated/reference.md+++ b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/permissions/autogenerated/reference.md@@ -7,6 +7,7 @@ Default permissions for AppLoad plugin- `allow-load`- `allow-download`- `allow-clear`+- `allow-close`- `allow-remove`## Permission Tablediff --git a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/permissions/schemas/schema.json b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/permissions/schemas/schema.jsonindex 97ddce3bd..4381a8e4a 100644--- a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/permissions/schemas/schema.json+++ b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/permissions/schemas/schema.json@@ -309,12 +309,14 @@{"description": "Enables the close command without any pre-configured scope.","type": "string",- "const": "allow-close"+ "const": "allow-close",+ "markdownDescription": "Enables the close command without any pre-configured scope."},{"description": "Denies the close command without any pre-configured scope.","type": "string",- "const": "deny-close"+ "const": "deny-close",+ "markdownDescription": "Denies the close command without any pre-configured scope."},{"description": "Enables the download command without any pre-configured scope.",@@ -365,10 +367,10 @@"markdownDescription": "Denies the remove command without any pre-configured scope."},{- "description": "Default permissions for AppLoad plugin\n#### This default permission set includes:\n\n- `allow-load`\n- `allow-download`\n- `allow-clear`\n- `allow-remove`",+ "description": "Default permissions for AppLoad plugin\n#### This default permission set includes:\n\n- `allow-load`\n- `allow-download`\n- `allow-clear`\n- `allow-close`\n- `allow-remove`","type": "string","const": "default",- "markdownDescription": "Default permissions for AppLoad plugin\n#### This default permission set includes:\n\n- `allow-load`\n- `allow-download`\n- `allow-clear`\n- `allow-remove`"+ "markdownDescription": "Default permissions for AppLoad plugin\n#### This default permission set includes:\n\n- `allow-load`\n- `allow-download`\n- `allow-clear`\n- `allow-close`\n- `allow-remove`"}]}diff --git a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/src/vendor/builder.rs b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/src/vendor/builder.rsdeleted file mode 100644index 54c614b65..000000000--- a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-appload/src/vendor/builder.rs+++ /dev/null@@ -1,34 +0,0 @@-use crate::Manifest;--use super::{Result, VendorConfig, VendorError};--#[derive(Default)]-pub struct VendorConfigBuilder {- bundle: Option<(Vec<u8>, Vec<u8>)>,-}--impl VendorConfigBuilder {- pub fn new() -> Self {- Self { bundle: None }- }-- pub fn bundle(mut self, bundle_bytes: Vec<u8>, manifest_bytes: &[u8]) -> Self {- self.bundle = Some((bundle_bytes, manifest_bytes.to_vec()));- self- }-- pub fn build(self) -> Result<VendorConfig> {- let bundle = self- .bundle- .map(|(bundle_bytes, manifest_bytes)| -> Result<_> {- let manifest: Manifest = serde_json::from_slice(&manifest_bytes).map_err(|e| {- VendorError::InvalidData(format!("Invalid manifest JSON: {}", e))- })?;-- Ok((bundle_bytes, manifest))- })- .transpose()?;-- Ok(VendorConfig { bundle })- }-}diff --git a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-relay/package.json b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-relay/package.jsonindex d2311af2f..f52ec2008 100644--- a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-relay/package.json+++ b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-relay/package.json@@ -26,8 +26,8 @@},"devDependencies": {"@rollup/plugin-typescript": "^11.1.6",- "rollup": "^4.48.1",- "tslib": "^2.6.2",- "typescript": "5.9.2"+ "rollup": "^4.9.6",+ "typescript": "5.9.2",+ "tslib": "^2.6.2"}}diff --git a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-relay/pnpm-lock.yaml b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-relay/pnpm-lock.yamlindex 9cd735038..a33fd01b9 100644--- a/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-relay/pnpm-lock.yaml+++ b/packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-relay/pnpm-lock.yaml@@ -9,12 +9,12 @@ importers:.:dependencies:'@tauri-apps/api':- specifier: ^2.0.0+ specifier: 2.1.1version: 2.1.1devDependencies:'@rollup/plugin-typescript':specifier: ^11.1.6rollup:specifier: ^4.9.6version: 4.27.4@@ -22,8 +22,8 @@ importers:specifier: ^2.6.2version: 2.8.1typescript:- specifier: ^5.8.3- version: 5.8.3+ specifier: 5.9.2+ version: 5.9.2packages:@@ -187,18 +187,18 @@ packages:resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}- resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==}+ resolution: {integrity: sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==}engines: {node: '>=14.17'}hasBin: truesnapshots:dependencies:'@rollup/pluginutils': 5.1.3([email protected])resolve: 1.22.8- typescript: 5.8.3+ typescript: 5.9.2optionalDependencies:rollup: 4.27.4tslib: 2.8.1@@ -322,4 +322,4 @@ snapshots:- [email protected]: {}+ [email protected]: {}diff --git a/packages/hoppscotch-desktop/src-tauri/Cargo.lock b/packages/hoppscotch-desktop/src-tauri/Cargo.lockindex a4da81b06..04504de56 100644--- a/packages/hoppscotch-desktop/src-tauri/Cargo.lock+++ b/packages/hoppscotch-desktop/src-tauri/Cargo.lock@@ -5448,7 +5448,7 @@ dependencies = [[[package]]name = "tauri-plugin-appload"version = "0.1.0"-source = "git+https://github.com/CuriousCorrelation/tauri-plugin-appload?branch=feat-desktop-appload-top-level-config#3d03f6c7b1726ecf179af2124e77a9742d600637"+source = "git+https://github.com/CuriousCorrelation/tauri-plugin-appload?rev=e05861959938b57479a1a81fa796735ebbd08c7c#e05861959938b57479a1a81fa796735ebbd08c7c"dependencies = ["base64 0.22.1","blake3",diff --git a/packages/hoppscotch-desktop/src-tauri/Cargo.toml b/packages/hoppscotch-desktop/src-tauri/Cargo.tomlindex 63904fcfa..de7a2ec8e 100644--- a/packages/hoppscotch-desktop/src-tauri/Cargo.toml+++ b/packages/hoppscotch-desktop/src-tauri/Cargo.toml@@ -29,7 +29,7 @@ tauri-plugin-store = "2.2.0"tauri-plugin-dialog = "2.2.0"tauri-plugin-fs = "2.2.0"tauri-plugin-deep-link = "2.2.0"-tauri-plugin-appload = { git = "https://github.com/CuriousCorrelation/tauri-plugin-appload", branch = "feat-desktop-appload-top-level-config" }+tauri-plugin-appload = { git = "https://github.com/CuriousCorrelation/tauri-plugin-appload", rev = "e05861959938b57479a1a81fa796735ebbd08c7c" }tauri-plugin-relay = { git = "https://github.com/CuriousCorrelation/tauri-plugin-relay", rev = "ff18f776ddeb53dbbdeaf97e1fabc30bdc57c158" }axum = "0.8.1"tower-http = { version = "0.6.2", features = ["cors"] }diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 574701f33..eb6b6bf9a 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -980,8 +980,8 @@ importers:specifier: workspace:^version: link:../hoppscotch-kernel'@hoppscotch/plugin-appload':- specifier: github:CuriousCorrelation/tauri-plugin-appload#feat-desktop-appload-top-level-config- version: '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/3d03f6c7b1726ecf179af2124e77a9742d600637'+ specifier: github:CuriousCorrelation/tauri-plugin-appload#e05861959938b57479a1a81fa796735ebbd08c7c+ version: '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/e05861959938b57479a1a81fa796735ebbd08c7c''@hoppscotch/ui':specifier: 0.2.5version: 0.2.5([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))@@ -1093,7 +1093,7 @@ importers:specifier: ^11.1.6rollup:- specifier: ^4.48.1+ specifier: ^4.9.6version: 4.48.1tslib:specifier: ^2.6.2@@ -1134,7 +1134,7 @@ importers:specifier: ^11.1.6rollup:- specifier: ^4.48.1+ specifier: ^4.9.6version: 4.48.1tslib:specifier: ^2.6.2@@ -1848,8 +1848,8 @@ packages:graphql:optional: true- '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/3d03f6c7b1726ecf179af2124e77a9742d600637':- resolution: {tarball: https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/3d03f6c7b1726ecf179af2124e77a9742d600637}+ '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/e05861959938b57479a1a81fa796735ebbd08c7c':+ resolution: {tarball: https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/e05861959938b57479a1a81fa796735ebbd08c7c}version: 0.1.0'@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/e8dbe06eabf947e5efaf07d2e573238ceb11a7b1':@@ -15537,7 +15537,7 @@ snapshots:optionalDependencies:graphql: 16.11.0- '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/3d03f6c7b1726ecf179af2124e77a9742d600637':+ '@CuriousCorrelation/plugin-appload@https://codeload.github.com/CuriousCorrelation/tauri-plugin-appload/tar.gz/e05861959938b57479a1a81fa796735ebbd08c7c':dependencies:'@tauri-apps/api': 2.1.1