@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.js CHANGED
@@ -98,7 +98,7 @@ var useQuery = (query, options) => {
98
98
  );
99
99
  };
100
100
  var useAccountInstance = () => {
101
- const { configStore, keyStore, contractManager, walletAdapter } = React2.useContext(OrderlyContext);
101
+ const { configStore, keyStore, contractManager, getWalletAdapter } = React2.useContext(OrderlyContext);
102
102
  if (!configStore)
103
103
  throw new Error("configStore is not defined, please use OrderlyProvider");
104
104
  if (!keyStore) {
@@ -113,7 +113,8 @@ var useAccountInstance = () => {
113
113
  configStore,
114
114
  keyStore,
115
115
  contractManager,
116
- walletAdapter
116
+ getWalletAdapter
117
+ // walletAdapter
117
118
  );
118
119
  core.SimpleDI.registerByName("account", account6);
119
120
  }