@haex-space/vault-sdk 2.5.15 → 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/svelte.mjs CHANGED
@@ -2084,7 +2084,7 @@ var clientInstance = null;
2084
2084
  var extensionInfoStore = writable(null);
2085
2085
  var contextStore = writable(null);
2086
2086
  var isSetupCompleteStore = writable(false);
2087
- function initHaexHub(config = {}) {
2087
+ function initHaexVaultSdk(config = {}) {
2088
2088
  if (!clientInstance) {
2089
2089
  clientInstance = createHaexVaultClient(config);
2090
2090
  extensionInfoStore.set(clientInstance.extensionInfo);
@@ -2101,27 +2101,27 @@ function initHaexHub(config = {}) {
2101
2101
  var extensionInfo = readonly(extensionInfoStore);
2102
2102
  var context = readonly(contextStore);
2103
2103
  var isSetupComplete = readonly(isSetupCompleteStore);
2104
- var haexHub = {
2104
+ var haexVaultSdk = {
2105
2105
  get client() {
2106
2106
  return clientInstance;
2107
2107
  },
2108
2108
  get db() {
2109
- if (!clientInstance) throw new Error("HaexHub SDK not initialized. Call initHaexHub() first.");
2109
+ if (!clientInstance) throw new Error("HaexVault SDK not initialized. Call initHaexVaultSdk() first.");
2110
2110
  return clientInstance.orm;
2111
2111
  },
2112
2112
  get storage() {
2113
- if (!clientInstance) throw new Error("HaexHub SDK not initialized. Call initHaexHub() first.");
2113
+ if (!clientInstance) throw new Error("HaexVault SDK not initialized. Call initHaexVaultSdk() first.");
2114
2114
  return clientInstance.storage;
2115
2115
  },
2116
2116
  getTableName(tableName) {
2117
- if (!clientInstance) throw new Error("HaexHub SDK not initialized. Call initHaexHub() first.");
2117
+ if (!clientInstance) throw new Error("HaexVault SDK not initialized. Call initHaexVaultSdk() first.");
2118
2118
  return clientInstance.getTableName(tableName);
2119
2119
  }
2120
2120
  };
2121
- function getHaexVaultClient() {
2121
+ function getHaexVaultSdk() {
2122
2122
  return clientInstance;
2123
2123
  }
2124
2124
 
2125
- export { context, extensionInfo, getHaexVaultClient, haexHub, initHaexHub, isSetupComplete };
2125
+ export { context, extensionInfo, getHaexVaultSdk, haexVaultSdk, initHaexVaultSdk, isSetupComplete };
2126
2126
  //# sourceMappingURL=svelte.mjs.map
2127
2127
  //# sourceMappingURL=svelte.mjs.map