@haex-space/vault-sdk 2.5.17 → 2.5.18

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/vue.d.mts CHANGED
@@ -4,7 +4,7 @@ import { Ref } from 'vue';
4
4
  import { H as HaexHubConfig } from './types-C4BTOGe5.mjs';
5
5
 
6
6
  /**
7
- * Vue 3 composable for HaexHub SDK
7
+ * Vue 3 composable for HaexVault SDK
8
8
  *
9
9
  * Creates a singleton SDK client with reactive properties that automatically
10
10
  * update when the SDK receives new data from the parent application.
@@ -12,7 +12,7 @@ import { H as HaexHubConfig } from './types-C4BTOGe5.mjs';
12
12
  * @param config - Optional SDK configuration
13
13
  * @returns Reactive SDK instance with extensionInfo, context, db, and storage
14
14
  */
15
- declare function useHaexHub(config?: HaexHubConfig): {
15
+ declare function useHaexVaultSdk(config?: HaexHubConfig): {
16
16
  client: HaexVaultClient;
17
17
  extensionInfo: Readonly<Ref<{
18
18
  readonly publicKey: string;
@@ -42,9 +42,9 @@ declare function useHaexHub(config?: HaexHubConfig): {
42
42
  getTableName: (tableName: string) => string;
43
43
  };
44
44
  /**
45
- * Get the raw HaexHub client instance (non-reactive)
45
+ * Get the raw HaexVault SDK client instance (non-reactive)
46
46
  * Useful for direct API calls without Vue reactivity overhead
47
47
  */
48
- declare function getHaexVaultClient(): HaexVaultClient | null;
48
+ declare function getHaexVaultSdk(): HaexVaultClient | null;
49
49
 
50
- export { getHaexVaultClient, useHaexHub };
50
+ export { getHaexVaultSdk, useHaexVaultSdk };
package/dist/vue.d.ts CHANGED
@@ -4,7 +4,7 @@ import { Ref } from 'vue';
4
4
  import { H as HaexHubConfig } from './types-C4BTOGe5.js';
5
5
 
6
6
  /**
7
- * Vue 3 composable for HaexHub SDK
7
+ * Vue 3 composable for HaexVault SDK
8
8
  *
9
9
  * Creates a singleton SDK client with reactive properties that automatically
10
10
  * update when the SDK receives new data from the parent application.
@@ -12,7 +12,7 @@ import { H as HaexHubConfig } from './types-C4BTOGe5.js';
12
12
  * @param config - Optional SDK configuration
13
13
  * @returns Reactive SDK instance with extensionInfo, context, db, and storage
14
14
  */
15
- declare function useHaexHub(config?: HaexHubConfig): {
15
+ declare function useHaexVaultSdk(config?: HaexHubConfig): {
16
16
  client: HaexVaultClient;
17
17
  extensionInfo: Readonly<Ref<{
18
18
  readonly publicKey: string;
@@ -42,9 +42,9 @@ declare function useHaexHub(config?: HaexHubConfig): {
42
42
  getTableName: (tableName: string) => string;
43
43
  };
44
44
  /**
45
- * Get the raw HaexHub client instance (non-reactive)
45
+ * Get the raw HaexVault SDK client instance (non-reactive)
46
46
  * Useful for direct API calls without Vue reactivity overhead
47
47
  */
48
- declare function getHaexVaultClient(): HaexVaultClient | null;
48
+ declare function getHaexVaultSdk(): HaexVaultClient | null;
49
49
 
50
- export { getHaexVaultClient, useHaexHub };
50
+ export { getHaexVaultSdk, useHaexVaultSdk };
package/dist/vue.js CHANGED
@@ -2086,7 +2086,7 @@ var clientInstance = null;
2086
2086
  var extensionInfo = null;
2087
2087
  var context = null;
2088
2088
  var isSetupComplete = null;
2089
- function useHaexHub(config = {}) {
2089
+ function useHaexVaultSdk(config = {}) {
2090
2090
  if (!clientInstance) {
2091
2091
  clientInstance = createHaexVaultClient(config);
2092
2092
  extensionInfo = vue.ref(clientInstance.extensionInfo);
@@ -2114,11 +2114,11 @@ function useHaexHub(config = {}) {
2114
2114
  getTableName: clientInstance.getTableName.bind(clientInstance)
2115
2115
  };
2116
2116
  }
2117
- function getHaexVaultClient() {
2117
+ function getHaexVaultSdk() {
2118
2118
  return clientInstance;
2119
2119
  }
2120
2120
 
2121
- exports.getHaexVaultClient = getHaexVaultClient;
2122
- exports.useHaexHub = useHaexHub;
2121
+ exports.getHaexVaultSdk = getHaexVaultSdk;
2122
+ exports.useHaexVaultSdk = useHaexVaultSdk;
2123
2123
  //# sourceMappingURL=vue.js.map
2124
2124
  //# sourceMappingURL=vue.js.map