@haex-space/vault-sdk 2.5.14 → 2.5.17
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-K4BOBLQE.d.ts → client-B2k574Va.d.ts} +1 -1
- package/dist/{client-Bcysw57u.d.mts → client-ChcEv5iE.d.mts} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- 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 +1 -1
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +1 -1
- 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 +1 -1
- package/dist/runtime/nuxt.plugin.client.js.map +1 -1
- package/dist/runtime/nuxt.plugin.client.mjs +1 -1
- 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 +1 -1
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs +1 -1
- package/dist/svelte.mjs.map +1 -1
- package/dist/{types-CAHAohTY.d.mts → types-C4BTOGe5.d.mts} +12 -3
- package/dist/{types-CAHAohTY.d.ts → types-C4BTOGe5.d.ts} +12 -3
- package/dist/vue.d.mts +2 -2
- package/dist/vue.d.ts +2 -2
- package/dist/vue.js +1 -1
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +1 -1
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -237,6 +237,15 @@ interface BlockedClient {
|
|
|
237
237
|
/** When the client was blocked (ISO 8601) */
|
|
238
238
|
blockedAt: string | null;
|
|
239
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* Extension requested by an external client
|
|
242
|
+
*/
|
|
243
|
+
interface RequestedExtension {
|
|
244
|
+
/** Extension name (e.g., "haex-pass") */
|
|
245
|
+
name: string;
|
|
246
|
+
/** Extension's public key (hex string from manifest) */
|
|
247
|
+
extensionPublicKey: string;
|
|
248
|
+
}
|
|
240
249
|
/**
|
|
241
250
|
* Pending authorization request waiting for user approval
|
|
242
251
|
*/
|
|
@@ -247,8 +256,8 @@ interface PendingAuthorization {
|
|
|
247
256
|
clientName: string;
|
|
248
257
|
/** Client's public key (base64) */
|
|
249
258
|
publicKey: string;
|
|
250
|
-
/**
|
|
251
|
-
|
|
259
|
+
/** Extensions the client wants to access (pre-selected in authorization dialog) */
|
|
260
|
+
requestedExtensions: RequestedExtension[];
|
|
252
261
|
}
|
|
253
262
|
/**
|
|
254
263
|
* Decision type for external authorization prompts
|
|
@@ -406,4 +415,4 @@ declare class HaexVaultSdkError extends Error {
|
|
|
406
415
|
};
|
|
407
416
|
}
|
|
408
417
|
|
|
409
|
-
export { type ApplicationContext as A, type BlockedClient as B, type ContextChangedEvent as C, type DatabaseQueryResult as D, type ExtensionManifest as E, DEFAULT_TIMEOUT as F, getTableName as G, type HaexHubConfig as H, ExternalConnectionState as I, ExternalConnectionErrorCode as J, isExternalClientConnected as K, canExternalClientSendRequests as L, type Migration as M, HaexVaultSdkError as N, HAEXTENSION_EVENTS as O, type PermissionResponse as P, type HaextensionEvent as Q,
|
|
418
|
+
export { type ApplicationContext as A, type BlockedClient as B, type ContextChangedEvent as C, type DatabaseQueryResult as D, type ExtensionManifest as E, DEFAULT_TIMEOUT as F, getTableName as G, type HaexHubConfig as H, ExternalConnectionState as I, ExternalConnectionErrorCode as J, isExternalClientConnected as K, canExternalClientSendRequests as L, type Migration as M, HaexVaultSdkError as N, HAEXTENSION_EVENTS as O, type PermissionResponse as P, type HaextensionEvent as Q, type RequestedExtension as R, type SearchResult as S, TABLE_SEPARATOR as T, EXTERNAL_EVENTS as U, type ExternalEvent as V, 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, type AuthorizedClient as t, type PendingAuthorization as u, type ExternalAuthDecision as v, type SessionAuthorization as w, type ExternalConnection as x, PermissionStatus as y, ErrorCode as z };
|
|
@@ -237,6 +237,15 @@ interface BlockedClient {
|
|
|
237
237
|
/** When the client was blocked (ISO 8601) */
|
|
238
238
|
blockedAt: string | null;
|
|
239
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* Extension requested by an external client
|
|
242
|
+
*/
|
|
243
|
+
interface RequestedExtension {
|
|
244
|
+
/** Extension name (e.g., "haex-pass") */
|
|
245
|
+
name: string;
|
|
246
|
+
/** Extension's public key (hex string from manifest) */
|
|
247
|
+
extensionPublicKey: string;
|
|
248
|
+
}
|
|
240
249
|
/**
|
|
241
250
|
* Pending authorization request waiting for user approval
|
|
242
251
|
*/
|
|
@@ -247,8 +256,8 @@ interface PendingAuthorization {
|
|
|
247
256
|
clientName: string;
|
|
248
257
|
/** Client's public key (base64) */
|
|
249
258
|
publicKey: string;
|
|
250
|
-
/**
|
|
251
|
-
|
|
259
|
+
/** Extensions the client wants to access (pre-selected in authorization dialog) */
|
|
260
|
+
requestedExtensions: RequestedExtension[];
|
|
252
261
|
}
|
|
253
262
|
/**
|
|
254
263
|
* Decision type for external authorization prompts
|
|
@@ -406,4 +415,4 @@ declare class HaexVaultSdkError extends Error {
|
|
|
406
415
|
};
|
|
407
416
|
}
|
|
408
417
|
|
|
409
|
-
export { type ApplicationContext as A, type BlockedClient as B, type ContextChangedEvent as C, type DatabaseQueryResult as D, type ExtensionManifest as E, DEFAULT_TIMEOUT as F, getTableName as G, type HaexHubConfig as H, ExternalConnectionState as I, ExternalConnectionErrorCode as J, isExternalClientConnected as K, canExternalClientSendRequests as L, type Migration as M, HaexVaultSdkError as N, HAEXTENSION_EVENTS as O, type PermissionResponse as P, type HaextensionEvent as Q,
|
|
418
|
+
export { type ApplicationContext as A, type BlockedClient as B, type ContextChangedEvent as C, type DatabaseQueryResult as D, type ExtensionManifest as E, DEFAULT_TIMEOUT as F, getTableName as G, type HaexHubConfig as H, ExternalConnectionState as I, ExternalConnectionErrorCode as J, isExternalClientConnected as K, canExternalClientSendRequests as L, type Migration as M, HaexVaultSdkError as N, HAEXTENSION_EVENTS as O, type PermissionResponse as P, type HaextensionEvent as Q, type RequestedExtension as R, type SearchResult as S, TABLE_SEPARATOR as T, EXTERNAL_EVENTS as U, type ExternalEvent as V, 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, type AuthorizedClient as t, type PendingAuthorization as u, type ExternalAuthDecision as v, type SessionAuthorization as w, type ExternalConnection as x, PermissionStatus as y, ErrorCode 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-ChcEv5iE.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-C4BTOGe5.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-B2k574Va.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-C4BTOGe5.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Vue 3 composable for HaexHub SDK
|
package/dist/vue.js
CHANGED