@haex-space/vault-sdk 2.5.17 → 2.5.19

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/react.mjs CHANGED
@@ -1739,7 +1739,7 @@ async function respondToExternalRequest(response, request) {
1739
1739
  }
1740
1740
 
1741
1741
  // src/client.ts
1742
- var HaexVaultClient = class {
1742
+ var HaexVaultSdk = class {
1743
1743
  constructor(config = {}) {
1744
1744
  // State
1745
1745
  this.initialized = false;
@@ -2075,15 +2075,15 @@ var HaexVaultClient = class {
2075
2075
  };
2076
2076
 
2077
2077
  // src/index.ts
2078
- function createHaexVaultClient(config = {}) {
2079
- return new HaexVaultClient(config);
2078
+ function createHaexVaultSdk(config = {}) {
2079
+ return new HaexVaultSdk(config);
2080
2080
  }
2081
2081
 
2082
2082
  // src/react.ts
2083
2083
  var clientInstance = null;
2084
- function useHaexHub(config = {}) {
2084
+ function useHaexVaultSdk(config = {}) {
2085
2085
  if (!clientInstance) {
2086
- clientInstance = createHaexVaultClient(config);
2086
+ clientInstance = createHaexVaultSdk(config);
2087
2087
  }
2088
2088
  const [extensionInfo, setExtensionInfo] = useState(
2089
2089
  clientInstance.extensionInfo
@@ -2113,10 +2113,10 @@ function useHaexHub(config = {}) {
2113
2113
  getTableName: clientInstance.getTableName.bind(clientInstance)
2114
2114
  };
2115
2115
  }
2116
- function getHaexVaultClient() {
2116
+ function getHaexVaultSdk() {
2117
2117
  return clientInstance;
2118
2118
  }
2119
2119
 
2120
- export { getHaexVaultClient, useHaexHub };
2120
+ export { getHaexVaultSdk, useHaexVaultSdk };
2121
2121
  //# sourceMappingURL=react.mjs.map
2122
2122
  //# sourceMappingURL=react.mjs.map