@haex-space/vault-sdk 2.5.97 → 2.5.100
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-BZo44ayx.d.ts → client-BOtCJEmd.d.ts} +2 -0
- package/dist/{client-BLXpRcmk.d.mts → client-Dr-9dtMl.d.mts} +2 -0
- package/dist/index.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js.map +1 -1
- package/dist/react.mjs.map +1 -1
- package/dist/runtime/nuxt.plugin.client.d.mts +1 -1
- package/dist/runtime/nuxt.plugin.client.d.ts +1 -1
- package/dist/runtime/nuxt.plugin.client.js.map +1 -1
- package/dist/runtime/nuxt.plugin.client.mjs.map +1 -1
- package/dist/svelte.d.mts +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs.map +1 -1
- package/dist/vue.d.mts +1 -1
- package/dist/vue.d.ts +1 -1
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -360,6 +360,8 @@ interface S3Config {
|
|
|
360
360
|
accessKeyId: string;
|
|
361
361
|
/** Secret access key */
|
|
362
362
|
secretAccessKey: string;
|
|
363
|
+
/** Session token for temporary credentials (e.g., Supabase S3 with user JWT for RLS) */
|
|
364
|
+
sessionToken?: string;
|
|
363
365
|
/** Use path-style URLs instead of virtual-hosted-style */
|
|
364
366
|
pathStyle?: boolean;
|
|
365
367
|
}
|
|
@@ -360,6 +360,8 @@ interface S3Config {
|
|
|
360
360
|
accessKeyId: string;
|
|
361
361
|
/** Secret access key */
|
|
362
362
|
secretAccessKey: string;
|
|
363
|
+
/** Session token for temporary credentials (e.g., Supabase S3 with user JWT for RLS) */
|
|
364
|
+
sessionToken?: string;
|
|
363
365
|
/** Use path-style URLs instead of virtual-hosted-style */
|
|
364
366
|
pathStyle?: boolean;
|
|
365
367
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HaexVaultSdk } from './client-
|
|
2
|
-
export { D as DatabaseAPI, h as Device, g as DeviceInfo, f as DeviceType, b as DirEntry, a as FileStat, F as FilesystemAPI, e as LOCALSEND_EVENTS, L as LocalSendAPI, p as LocalSendEvent, i as LocalSendFileInfo, l as LocalSendSettings, m as PendingTransfer, P as PermissionsAPI, A as RemoteAddBackendRequest, r as RemoteS3Config, s as RemoteS3PublicConfig, R as RemoteStorageAPI, q as RemoteStorageBackendInfo, t as RemoteStorageObjectInfo, U as RemoteUpdateBackendRequest, d as SelectFileOptions, c as SelectFolderOptions, j as ServerInfo, k as ServerStatus, o as TransferDirection, T as TransferProgress, n as TransferState, W as WebAPI } from './client-
|
|
1
|
+
import { H as HaexVaultSdk } from './client-Dr-9dtMl.mjs';
|
|
2
|
+
export { D as DatabaseAPI, h as Device, g as DeviceInfo, f as DeviceType, b as DirEntry, a as FileStat, F as FilesystemAPI, e as LOCALSEND_EVENTS, L as LocalSendAPI, p as LocalSendEvent, i as LocalSendFileInfo, l as LocalSendSettings, m as PendingTransfer, P as PermissionsAPI, A as RemoteAddBackendRequest, r as RemoteS3Config, s as RemoteS3PublicConfig, R as RemoteStorageAPI, q as RemoteStorageBackendInfo, t as RemoteStorageObjectInfo, U as RemoteUpdateBackendRequest, d as SelectFileOptions, c as SelectFolderOptions, j as ServerInfo, k as ServerStatus, o as TransferDirection, T as TransferProgress, n as TransferState, W as WebAPI } from './client-Dr-9dtMl.mjs';
|
|
3
3
|
import { E as ExtensionManifest, H as HaexHubConfig } from './types-CtGyqrRe.mjs';
|
|
4
4
|
export { A as ApplicationContext, t as AuthorizedClient, B as BlockedClient, C as ContextChangedEvent, F as DEFAULT_TIMEOUT, o as DatabaseColumnInfo, m as DatabaseExecuteParams, k as DatabasePermission, d as DatabasePermissionRequest, l as DatabaseQueryParams, D as DatabaseQueryResult, n as DatabaseTableInfo, a0 as EXTERNAL_EVENTS, z as ErrorCode, g as EventCallback, a as ExtensionInfo, Y as ExtensionRuntimeMode, v as ExternalAuthDecision, x as ExternalConnection, J as ExternalConnectionErrorCode, I as ExternalConnectionState, a1 as ExternalEvent, s as ExternalRequest, r as ExternalRequestEvent, e as ExternalRequestHandler, Z as ExternalRequestPayload, f as ExternalResponse, O as FileChangeEvent, U as FileChangePayload, Q as FileChangeType, X as FilteredSyncTablesResult, _ as HAEXTENSION_EVENTS, j as HaexHubEvent, h as HaexHubRequest, i as HaexHubResponse, N as HaexVaultSdkError, $ as HaextensionEvent, u as PendingAuthorization, P as PermissionResponse, y as PermissionStatus, R as RequestedExtension, p as SearchQuery, q as SearchRequestEvent, S as SearchResult, w as SessionAuthorization, V as SyncTablesUpdatedEvent, T as TABLE_SEPARATOR, W as WebRequestOptions, c as WebResponse, L as canExternalClientSendRequests, G as getTableName, K as isExternalClientConnected } from './types-CtGyqrRe.mjs';
|
|
5
5
|
export { H as HaextensionConfig } from './config-D_HXjsEV.mjs';
|
|
@@ -283,6 +283,10 @@ declare const EXTENSION_COMMANDS: {
|
|
|
283
283
|
readonly webviewBroadcast: "extension_webview_broadcast";
|
|
284
284
|
/** Emit event to all webviews of a SPECIFIC extension (host-only, desktop only) */
|
|
285
285
|
readonly webviewEmit: "extension_webview_emit";
|
|
286
|
+
/** Filter sync tables by extension permissions (returns filtered map) */
|
|
287
|
+
readonly filterSyncTables: "extension_filter_sync_tables";
|
|
288
|
+
/** Emit sync tables to webviews (host-only, desktop only) */
|
|
289
|
+
readonly emitSyncTables: "extension_emit_sync_tables";
|
|
286
290
|
};
|
|
287
291
|
|
|
288
292
|
/**
|
|
@@ -449,6 +453,8 @@ declare const TAURI_COMMANDS: {
|
|
|
449
453
|
readonly setContext: "extension_context_set";
|
|
450
454
|
readonly webviewBroadcast: "extension_webview_broadcast";
|
|
451
455
|
readonly webviewEmit: "extension_webview_emit";
|
|
456
|
+
readonly filterSyncTables: "extension_filter_sync_tables";
|
|
457
|
+
readonly emitSyncTables: "extension_emit_sync_tables";
|
|
452
458
|
};
|
|
453
459
|
readonly remoteStorage: {
|
|
454
460
|
readonly listBackends: "extension_remote_storage_list_backends";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HaexVaultSdk } from './client-
|
|
2
|
-
export { D as DatabaseAPI, h as Device, g as DeviceInfo, f as DeviceType, b as DirEntry, a as FileStat, F as FilesystemAPI, e as LOCALSEND_EVENTS, L as LocalSendAPI, p as LocalSendEvent, i as LocalSendFileInfo, l as LocalSendSettings, m as PendingTransfer, P as PermissionsAPI, A as RemoteAddBackendRequest, r as RemoteS3Config, s as RemoteS3PublicConfig, R as RemoteStorageAPI, q as RemoteStorageBackendInfo, t as RemoteStorageObjectInfo, U as RemoteUpdateBackendRequest, d as SelectFileOptions, c as SelectFolderOptions, j as ServerInfo, k as ServerStatus, o as TransferDirection, T as TransferProgress, n as TransferState, W as WebAPI } from './client-
|
|
1
|
+
import { H as HaexVaultSdk } from './client-BOtCJEmd.js';
|
|
2
|
+
export { D as DatabaseAPI, h as Device, g as DeviceInfo, f as DeviceType, b as DirEntry, a as FileStat, F as FilesystemAPI, e as LOCALSEND_EVENTS, L as LocalSendAPI, p as LocalSendEvent, i as LocalSendFileInfo, l as LocalSendSettings, m as PendingTransfer, P as PermissionsAPI, A as RemoteAddBackendRequest, r as RemoteS3Config, s as RemoteS3PublicConfig, R as RemoteStorageAPI, q as RemoteStorageBackendInfo, t as RemoteStorageObjectInfo, U as RemoteUpdateBackendRequest, d as SelectFileOptions, c as SelectFolderOptions, j as ServerInfo, k as ServerStatus, o as TransferDirection, T as TransferProgress, n as TransferState, W as WebAPI } from './client-BOtCJEmd.js';
|
|
3
3
|
import { E as ExtensionManifest, H as HaexHubConfig } from './types-CtGyqrRe.js';
|
|
4
4
|
export { A as ApplicationContext, t as AuthorizedClient, B as BlockedClient, C as ContextChangedEvent, F as DEFAULT_TIMEOUT, o as DatabaseColumnInfo, m as DatabaseExecuteParams, k as DatabasePermission, d as DatabasePermissionRequest, l as DatabaseQueryParams, D as DatabaseQueryResult, n as DatabaseTableInfo, a0 as EXTERNAL_EVENTS, z as ErrorCode, g as EventCallback, a as ExtensionInfo, Y as ExtensionRuntimeMode, v as ExternalAuthDecision, x as ExternalConnection, J as ExternalConnectionErrorCode, I as ExternalConnectionState, a1 as ExternalEvent, s as ExternalRequest, r as ExternalRequestEvent, e as ExternalRequestHandler, Z as ExternalRequestPayload, f as ExternalResponse, O as FileChangeEvent, U as FileChangePayload, Q as FileChangeType, X as FilteredSyncTablesResult, _ as HAEXTENSION_EVENTS, j as HaexHubEvent, h as HaexHubRequest, i as HaexHubResponse, N as HaexVaultSdkError, $ as HaextensionEvent, u as PendingAuthorization, P as PermissionResponse, y as PermissionStatus, R as RequestedExtension, p as SearchQuery, q as SearchRequestEvent, S as SearchResult, w as SessionAuthorization, V as SyncTablesUpdatedEvent, T as TABLE_SEPARATOR, W as WebRequestOptions, c as WebResponse, L as canExternalClientSendRequests, G as getTableName, K as isExternalClientConnected } from './types-CtGyqrRe.js';
|
|
5
5
|
export { H as HaextensionConfig } from './config-D_HXjsEV.js';
|
|
@@ -283,6 +283,10 @@ declare const EXTENSION_COMMANDS: {
|
|
|
283
283
|
readonly webviewBroadcast: "extension_webview_broadcast";
|
|
284
284
|
/** Emit event to all webviews of a SPECIFIC extension (host-only, desktop only) */
|
|
285
285
|
readonly webviewEmit: "extension_webview_emit";
|
|
286
|
+
/** Filter sync tables by extension permissions (returns filtered map) */
|
|
287
|
+
readonly filterSyncTables: "extension_filter_sync_tables";
|
|
288
|
+
/** Emit sync tables to webviews (host-only, desktop only) */
|
|
289
|
+
readonly emitSyncTables: "extension_emit_sync_tables";
|
|
286
290
|
};
|
|
287
291
|
|
|
288
292
|
/**
|
|
@@ -449,6 +453,8 @@ declare const TAURI_COMMANDS: {
|
|
|
449
453
|
readonly setContext: "extension_context_set";
|
|
450
454
|
readonly webviewBroadcast: "extension_webview_broadcast";
|
|
451
455
|
readonly webviewEmit: "extension_webview_emit";
|
|
456
|
+
readonly filterSyncTables: "extension_filter_sync_tables";
|
|
457
|
+
readonly emitSyncTables: "extension_emit_sync_tables";
|
|
452
458
|
};
|
|
453
459
|
readonly remoteStorage: {
|
|
454
460
|
readonly listBackends: "extension_remote_storage_list_backends";
|
package/dist/index.js
CHANGED
|
@@ -612,7 +612,11 @@ var EXTENSION_COMMANDS = {
|
|
|
612
612
|
/** Broadcast event to ALL extension webview windows (host-only, desktop only) */
|
|
613
613
|
webviewBroadcast: "extension_webview_broadcast",
|
|
614
614
|
/** Emit event to all webviews of a SPECIFIC extension (host-only, desktop only) */
|
|
615
|
-
webviewEmit: "extension_webview_emit"
|
|
615
|
+
webviewEmit: "extension_webview_emit",
|
|
616
|
+
/** Filter sync tables by extension permissions (returns filtered map) */
|
|
617
|
+
filterSyncTables: "extension_filter_sync_tables",
|
|
618
|
+
/** Emit sync tables to webviews (host-only, desktop only) */
|
|
619
|
+
emitSyncTables: "extension_emit_sync_tables"
|
|
616
620
|
};
|
|
617
621
|
|
|
618
622
|
// src/commands/remoteStorage.ts
|