@orderly.network/hooks 1.0.25-alpha.4 → 1.0.25-alpha.6
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.d.mts +1 -4
- package/dist/index.d.ts +1 -4
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -23,7 +23,7 @@ declare global {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
declare const _default: "1.0.25-alpha.
|
|
26
|
+
declare const _default: "1.0.25-alpha.6";
|
|
27
27
|
|
|
28
28
|
type useQueryOptions<T> = SWRConfiguration & {
|
|
29
29
|
formatter?: (data: any) => T;
|
|
@@ -139,9 +139,6 @@ interface WalletConnectorContextState {
|
|
|
139
139
|
connecting: boolean;
|
|
140
140
|
setChain: (options: any) => Promise<any>;
|
|
141
141
|
chains: any[];
|
|
142
|
-
switchChain: (options: {
|
|
143
|
-
chainId: string;
|
|
144
|
-
}) => Promise<any>;
|
|
145
142
|
wallet: any;
|
|
146
143
|
connectedChain: ConnectedChain | null;
|
|
147
144
|
settingChain: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ declare global {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
declare const _default: "1.0.25-alpha.
|
|
26
|
+
declare const _default: "1.0.25-alpha.6";
|
|
27
27
|
|
|
28
28
|
type useQueryOptions<T> = SWRConfiguration & {
|
|
29
29
|
formatter?: (data: any) => T;
|
|
@@ -139,9 +139,6 @@ interface WalletConnectorContextState {
|
|
|
139
139
|
connecting: boolean;
|
|
140
140
|
setChain: (options: any) => Promise<any>;
|
|
141
141
|
chains: any[];
|
|
142
|
-
switchChain: (options: {
|
|
143
|
-
chainId: string;
|
|
144
|
-
}) => Promise<any>;
|
|
145
142
|
wallet: any;
|
|
146
143
|
connectedChain: ConnectedChain | null;
|
|
147
144
|
settingChain: boolean;
|
package/dist/index.js
CHANGED
|
@@ -28,9 +28,9 @@ var useSWRSubscription__default = /*#__PURE__*/_interopDefault(useSWRSubscriptio
|
|
|
28
28
|
// src/version.ts
|
|
29
29
|
if (typeof window !== "undefined") {
|
|
30
30
|
window.__ORDERLY_VERSION__ = window.__ORDERLY_VERSION__ || {};
|
|
31
|
-
window.__ORDERLY_VERSION__["@orderly.network/hooks"] = "1.0.25-alpha.
|
|
31
|
+
window.__ORDERLY_VERSION__["@orderly.network/hooks"] = "1.0.25-alpha.6";
|
|
32
32
|
}
|
|
33
|
-
var version_default = "1.0.25-alpha.
|
|
33
|
+
var version_default = "1.0.25-alpha.6";
|
|
34
34
|
var fetcher = (url, init = {}, queryOptions) => net.get(url, init, queryOptions?.formatter);
|
|
35
35
|
var OrderlyContext = React.createContext({
|
|
36
36
|
// configStore: new MemoryConfigStore(),
|