@orderly.network/hooks 0.0.38 → 0.0.39

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/index.mjs CHANGED
@@ -89,7 +89,7 @@ var useQuery = (query, options) => {
89
89
  );
90
90
  };
91
91
  var useAccountInstance = () => {
92
- const { configStore, keyStore, contractManager, walletAdapter } = useContext(OrderlyContext);
92
+ const { configStore, keyStore, contractManager, getWalletAdapter } = useContext(OrderlyContext);
93
93
  if (!configStore)
94
94
  throw new Error("configStore is not defined, please use OrderlyProvider");
95
95
  if (!keyStore) {
@@ -104,7 +104,8 @@ var useAccountInstance = () => {
104
104
  configStore,
105
105
  keyStore,
106
106
  contractManager,
107
- walletAdapter
107
+ getWalletAdapter
108
+ // walletAdapter
108
109
  );
109
110
  SimpleDI.registerByName("account", account6);
110
111
  }