@haex-space/vault-sdk 2.3.15 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-ChH7wiuU.d.ts → client-BSdAg7D1.d.ts} +25 -95
- package/dist/{client-8eGxojZ1.d.mts → client-ClYpUDoI.d.mts} +25 -95
- package/dist/index.d.mts +75 -5
- package/dist/index.d.ts +75 -5
- package/dist/index.js +1090 -678
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1087 -678
- package/dist/index.mjs.map +1 -1
- package/dist/node.d.mts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +1024 -655
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +1024 -655
- package/dist/react.mjs.map +1 -1
- package/dist/runtime/nuxt.plugin.client.d.mts +2 -2
- package/dist/runtime/nuxt.plugin.client.d.ts +2 -2
- package/dist/runtime/nuxt.plugin.client.js +1033 -664
- package/dist/runtime/nuxt.plugin.client.js.map +1 -1
- package/dist/runtime/nuxt.plugin.client.mjs +1033 -664
- package/dist/runtime/nuxt.plugin.client.mjs.map +1 -1
- package/dist/svelte.d.mts +2 -2
- package/dist/svelte.d.ts +2 -2
- package/dist/svelte.js +1026 -657
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs +1026 -657
- package/dist/svelte.mjs.map +1 -1
- package/dist/{types-DBF83o_W.d.mts → types-CmPqOcLB.d.mts} +8 -8
- package/dist/{types-DBF83o_W.d.ts → types-CmPqOcLB.d.ts} +8 -8
- package/dist/vue.d.mts +2 -2
- package/dist/vue.d.ts +2 -2
- package/dist/vue.js +1024 -655
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +1024 -655
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -54,7 +54,12 @@ interface HaexHubRequest {
|
|
|
54
54
|
interface HaexHubResponse<T = unknown> {
|
|
55
55
|
id: string;
|
|
56
56
|
result?: T;
|
|
57
|
-
error?:
|
|
57
|
+
error?: HaexVaultSdkErrorData;
|
|
58
|
+
}
|
|
59
|
+
interface HaexVaultSdkErrorData {
|
|
60
|
+
code: ErrorCode;
|
|
61
|
+
message: string;
|
|
62
|
+
details?: Record<string, unknown>;
|
|
58
63
|
}
|
|
59
64
|
interface ExtensionInfo {
|
|
60
65
|
publicKey: string;
|
|
@@ -252,12 +257,7 @@ declare enum ErrorCode {
|
|
|
252
257
|
DATABASE_ERROR = "DATABASE_ERROR",
|
|
253
258
|
WEB_ERROR = "WEB_ERROR"
|
|
254
259
|
}
|
|
255
|
-
|
|
256
|
-
code: ErrorCode;
|
|
257
|
-
message: string;
|
|
258
|
-
details?: Record<string, unknown>;
|
|
259
|
-
}
|
|
260
|
-
declare class HaexHubError extends Error {
|
|
260
|
+
declare class HaexVaultSdkError extends Error {
|
|
261
261
|
code: ErrorCode;
|
|
262
262
|
messageKey: string;
|
|
263
263
|
details?: Record<string, unknown> | undefined;
|
|
@@ -275,4 +275,4 @@ declare class HaexHubError extends Error {
|
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
export { type ApplicationContext as A, type ContextChangedEvent as C, type DatabaseQueryResult as D, type ExtensionManifest as E, type HaexHubConfig as H, type Migration as M, type PermissionResponse as P, type SearchResult as S, TABLE_SEPARATOR as T, type WebRequestOptions as W, type ExtensionInfo as a, type MigrationResult as b, type WebResponse as c, type DatabasePermissionRequest as d, type ExternalRequestHandler as e, type ExternalResponse as f, type EventCallback as g, type HaexHubRequest as h, type HaexHubResponse as i, type HaexHubEvent as j, type DatabasePermission as k, type DatabaseQueryParams as l, type DatabaseExecuteParams as m, type DatabaseTableInfo as n, type DatabaseColumnInfo as o, type SearchQuery as p, type SearchRequestEvent as q, type ExternalRequestEvent as r, type ExternalRequest as s, PermissionStatus as t, ErrorCode as u, DEFAULT_TIMEOUT as v, getTableName as w,
|
|
278
|
+
export { type ApplicationContext as A, type ContextChangedEvent as C, type DatabaseQueryResult as D, type ExtensionManifest as E, type HaexHubConfig as H, type Migration as M, type PermissionResponse as P, type SearchResult as S, TABLE_SEPARATOR as T, type WebRequestOptions as W, type ExtensionInfo as a, type MigrationResult as b, type WebResponse as c, type DatabasePermissionRequest as d, type ExternalRequestHandler as e, type ExternalResponse as f, type EventCallback as g, type HaexHubRequest as h, type HaexHubResponse as i, type HaexHubEvent as j, type DatabasePermission as k, type DatabaseQueryParams as l, type DatabaseExecuteParams as m, type DatabaseTableInfo as n, type DatabaseColumnInfo as o, type SearchQuery as p, type SearchRequestEvent as q, type ExternalRequestEvent as r, type ExternalRequest as s, PermissionStatus as t, ErrorCode as u, DEFAULT_TIMEOUT as v, getTableName as w, HaexVaultSdkError as x, HAEXTENSION_EVENTS as y, type HaextensionEvent as z };
|
|
@@ -54,7 +54,12 @@ interface HaexHubRequest {
|
|
|
54
54
|
interface HaexHubResponse<T = unknown> {
|
|
55
55
|
id: string;
|
|
56
56
|
result?: T;
|
|
57
|
-
error?:
|
|
57
|
+
error?: HaexVaultSdkErrorData;
|
|
58
|
+
}
|
|
59
|
+
interface HaexVaultSdkErrorData {
|
|
60
|
+
code: ErrorCode;
|
|
61
|
+
message: string;
|
|
62
|
+
details?: Record<string, unknown>;
|
|
58
63
|
}
|
|
59
64
|
interface ExtensionInfo {
|
|
60
65
|
publicKey: string;
|
|
@@ -252,12 +257,7 @@ declare enum ErrorCode {
|
|
|
252
257
|
DATABASE_ERROR = "DATABASE_ERROR",
|
|
253
258
|
WEB_ERROR = "WEB_ERROR"
|
|
254
259
|
}
|
|
255
|
-
|
|
256
|
-
code: ErrorCode;
|
|
257
|
-
message: string;
|
|
258
|
-
details?: Record<string, unknown>;
|
|
259
|
-
}
|
|
260
|
-
declare class HaexHubError extends Error {
|
|
260
|
+
declare class HaexVaultSdkError extends Error {
|
|
261
261
|
code: ErrorCode;
|
|
262
262
|
messageKey: string;
|
|
263
263
|
details?: Record<string, unknown> | undefined;
|
|
@@ -275,4 +275,4 @@ declare class HaexHubError extends Error {
|
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
export { type ApplicationContext as A, type ContextChangedEvent as C, type DatabaseQueryResult as D, type ExtensionManifest as E, type HaexHubConfig as H, type Migration as M, type PermissionResponse as P, type SearchResult as S, TABLE_SEPARATOR as T, type WebRequestOptions as W, type ExtensionInfo as a, type MigrationResult as b, type WebResponse as c, type DatabasePermissionRequest as d, type ExternalRequestHandler as e, type ExternalResponse as f, type EventCallback as g, type HaexHubRequest as h, type HaexHubResponse as i, type HaexHubEvent as j, type DatabasePermission as k, type DatabaseQueryParams as l, type DatabaseExecuteParams as m, type DatabaseTableInfo as n, type DatabaseColumnInfo as o, type SearchQuery as p, type SearchRequestEvent as q, type ExternalRequestEvent as r, type ExternalRequest as s, PermissionStatus as t, ErrorCode as u, DEFAULT_TIMEOUT as v, getTableName as w,
|
|
278
|
+
export { type ApplicationContext as A, type ContextChangedEvent as C, type DatabaseQueryResult as D, type ExtensionManifest as E, type HaexHubConfig as H, type Migration as M, type PermissionResponse as P, type SearchResult as S, TABLE_SEPARATOR as T, type WebRequestOptions as W, type ExtensionInfo as a, type MigrationResult as b, type WebResponse as c, type DatabasePermissionRequest as d, type ExternalRequestHandler as e, type ExternalResponse as f, type EventCallback as g, type HaexHubRequest as h, type HaexHubResponse as i, type HaexHubEvent as j, type DatabasePermission as k, type DatabaseQueryParams as l, type DatabaseExecuteParams as m, type DatabaseTableInfo as n, type DatabaseColumnInfo as o, type SearchQuery as p, type SearchRequestEvent as q, type ExternalRequestEvent as r, type ExternalRequest as s, PermissionStatus as t, ErrorCode as u, DEFAULT_TIMEOUT as v, getTableName as w, HaexVaultSdkError as x, HAEXTENSION_EVENTS as y, type HaextensionEvent as z };
|
package/dist/vue.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { H as HaexVaultClient, S as StorageAPI } from './client-
|
|
1
|
+
import { H as HaexVaultClient, S as StorageAPI } from './client-ClYpUDoI.mjs';
|
|
2
2
|
import * as drizzle_orm_sqlite_proxy from 'drizzle-orm/sqlite-proxy';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
|
-
import { H as HaexHubConfig } from './types-
|
|
4
|
+
import { H as HaexHubConfig } from './types-CmPqOcLB.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Vue 3 composable for HaexHub SDK
|
package/dist/vue.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { H as HaexVaultClient, S as StorageAPI } from './client-
|
|
1
|
+
import { H as HaexVaultClient, S as StorageAPI } from './client-BSdAg7D1.js';
|
|
2
2
|
import * as drizzle_orm_sqlite_proxy from 'drizzle-orm/sqlite-proxy';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
|
-
import { H as HaexHubConfig } from './types-
|
|
4
|
+
import { H as HaexHubConfig } from './types-CmPqOcLB.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Vue 3 composable for HaexHub SDK
|