@wagmi/vue 0.0.0-canary-20240515232917

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.
Files changed (249) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +14 -0
  3. package/actions/package.json +5 -0
  4. package/chains/package.json +5 -0
  5. package/connectors/package.json +5 -0
  6. package/dist/esm/composables/useAccount.js +18 -0
  7. package/dist/esm/composables/useAccount.js.map +1 -0
  8. package/dist/esm/composables/useAccountEffect.js +37 -0
  9. package/dist/esm/composables/useAccountEffect.js.map +1 -0
  10. package/dist/esm/composables/useBalance.js +24 -0
  11. package/dist/esm/composables/useBalance.js.map +1 -0
  12. package/dist/esm/composables/useBlockNumber.js +46 -0
  13. package/dist/esm/composables/useBlockNumber.js.map +1 -0
  14. package/dist/esm/composables/useChainId.js +17 -0
  15. package/dist/esm/composables/useChainId.js.map +1 -0
  16. package/dist/esm/composables/useChains.js +17 -0
  17. package/dist/esm/composables/useChains.js.map +1 -0
  18. package/dist/esm/composables/useClient.js +23 -0
  19. package/dist/esm/composables/useClient.js.map +1 -0
  20. package/dist/esm/composables/useConfig.js +19 -0
  21. package/dist/esm/composables/useConfig.js.map +1 -0
  22. package/dist/esm/composables/useConnect.js +29 -0
  23. package/dist/esm/composables/useConnect.js.map +1 -0
  24. package/dist/esm/composables/useConnections.js +16 -0
  25. package/dist/esm/composables/useConnections.js.map +1 -0
  26. package/dist/esm/composables/useConnectorClient.js +49 -0
  27. package/dist/esm/composables/useConnectorClient.js.map +1 -0
  28. package/dist/esm/composables/useConnectors.js +16 -0
  29. package/dist/esm/composables/useConnectors.js.map +1 -0
  30. package/dist/esm/composables/useDisconnect.js +24 -0
  31. package/dist/esm/composables/useDisconnect.js.map +1 -0
  32. package/dist/esm/composables/useEnsAddress.js +24 -0
  33. package/dist/esm/composables/useEnsAddress.js.map +1 -0
  34. package/dist/esm/composables/useEnsAvatar.js +24 -0
  35. package/dist/esm/composables/useEnsAvatar.js.map +1 -0
  36. package/dist/esm/composables/useEnsName.js +24 -0
  37. package/dist/esm/composables/useEnsName.js.map +1 -0
  38. package/dist/esm/composables/useEstimateGas.js +29 -0
  39. package/dist/esm/composables/useEstimateGas.js.map +1 -0
  40. package/dist/esm/composables/useReadContract.js +28 -0
  41. package/dist/esm/composables/useReadContract.js.map +1 -0
  42. package/dist/esm/composables/useReconnect.js +21 -0
  43. package/dist/esm/composables/useReconnect.js.map +1 -0
  44. package/dist/esm/composables/useSendTransaction.js +19 -0
  45. package/dist/esm/composables/useSendTransaction.js.map +1 -0
  46. package/dist/esm/composables/useSignMessage.js +20 -0
  47. package/dist/esm/composables/useSignMessage.js.map +1 -0
  48. package/dist/esm/composables/useSignTypedData.js +19 -0
  49. package/dist/esm/composables/useSignTypedData.js.map +1 -0
  50. package/dist/esm/composables/useSimulateContract.js +34 -0
  51. package/dist/esm/composables/useSimulateContract.js.map +1 -0
  52. package/dist/esm/composables/useSwitchAccount.js +23 -0
  53. package/dist/esm/composables/useSwitchAccount.js.map +1 -0
  54. package/dist/esm/composables/useSwitchChain.js +25 -0
  55. package/dist/esm/composables/useSwitchChain.js.map +1 -0
  56. package/dist/esm/composables/useTransaction.js +29 -0
  57. package/dist/esm/composables/useTransaction.js.map +1 -0
  58. package/dist/esm/composables/useTransactionReceipt.js +31 -0
  59. package/dist/esm/composables/useTransactionReceipt.js.map +1 -0
  60. package/dist/esm/composables/useWaitForTransactionReceipt.js +28 -0
  61. package/dist/esm/composables/useWaitForTransactionReceipt.js.map +1 -0
  62. package/dist/esm/composables/useWatchBlockNumber.js +27 -0
  63. package/dist/esm/composables/useWatchBlockNumber.js.map +1 -0
  64. package/dist/esm/composables/useWriteContract.js +19 -0
  65. package/dist/esm/composables/useWriteContract.js.map +1 -0
  66. package/dist/esm/errors/base.js +20 -0
  67. package/dist/esm/errors/base.js.map +1 -0
  68. package/dist/esm/errors/plugin.js +28 -0
  69. package/dist/esm/errors/plugin.js.map +1 -0
  70. package/dist/esm/exports/actions.js +5 -0
  71. package/dist/esm/exports/actions.js.map +1 -0
  72. package/dist/esm/exports/chains.js +5 -0
  73. package/dist/esm/exports/chains.js.map +1 -0
  74. package/dist/esm/exports/connectors.js +5 -0
  75. package/dist/esm/exports/connectors.js.map +1 -0
  76. package/dist/esm/exports/index.js +55 -0
  77. package/dist/esm/exports/index.js.map +1 -0
  78. package/dist/esm/exports/nuxt.js +4 -0
  79. package/dist/esm/exports/nuxt.js.map +1 -0
  80. package/dist/esm/exports/query.js +7 -0
  81. package/dist/esm/exports/query.js.map +1 -0
  82. package/dist/esm/nuxt/module.js +53 -0
  83. package/dist/esm/nuxt/module.js.map +1 -0
  84. package/dist/esm/nuxt/runtime/composables.js +2 -0
  85. package/dist/esm/nuxt/runtime/composables.js.map +1 -0
  86. package/dist/esm/plugin.js +14 -0
  87. package/dist/esm/plugin.js.map +1 -0
  88. package/dist/esm/tsconfig.build.tsbuildinfo +1 -0
  89. package/dist/esm/types/properties.js +2 -0
  90. package/dist/esm/types/properties.js.map +1 -0
  91. package/dist/esm/types/ref.js +3 -0
  92. package/dist/esm/types/ref.js.map +1 -0
  93. package/dist/esm/utils/cloneDeep.js +36 -0
  94. package/dist/esm/utils/cloneDeep.js.map +1 -0
  95. package/dist/esm/utils/getVersion.js +3 -0
  96. package/dist/esm/utils/getVersion.js.map +1 -0
  97. package/dist/esm/utils/query.js +73 -0
  98. package/dist/esm/utils/query.js.map +1 -0
  99. package/dist/esm/utils/updateState.js +7 -0
  100. package/dist/esm/utils/updateState.js.map +1 -0
  101. package/dist/esm/version.js +2 -0
  102. package/dist/esm/version.js.map +1 -0
  103. package/dist/types/composables/useAccount.d.ts +8 -0
  104. package/dist/types/composables/useAccount.d.ts.map +1 -0
  105. package/dist/types/composables/useAccountEffect.d.ts +15 -0
  106. package/dist/types/composables/useAccountEffect.d.ts.map +1 -0
  107. package/dist/types/composables/useBalance.d.ts +12 -0
  108. package/dist/types/composables/useBalance.d.ts.map +1 -0
  109. package/dist/types/composables/useBlockNumber.d.ts +14 -0
  110. package/dist/types/composables/useBlockNumber.d.ts.map +1 -0
  111. package/dist/types/composables/useChainId.d.ts +8 -0
  112. package/dist/types/composables/useChainId.d.ts.map +1 -0
  113. package/dist/types/composables/useChains.d.ts +9 -0
  114. package/dist/types/composables/useChains.d.ts.map +1 -0
  115. package/dist/types/composables/useClient.d.ts +10 -0
  116. package/dist/types/composables/useClient.d.ts.map +1 -0
  117. package/dist/types/composables/useConfig.d.ts +8 -0
  118. package/dist/types/composables/useConfig.d.ts.map +1 -0
  119. package/dist/types/composables/useConnect.d.ts +16 -0
  120. package/dist/types/composables/useConnect.d.ts.map +1 -0
  121. package/dist/types/composables/useConnections.d.ts +8 -0
  122. package/dist/types/composables/useConnections.d.ts.map +1 -0
  123. package/dist/types/composables/useConnectorClient.d.ts +13 -0
  124. package/dist/types/composables/useConnectorClient.d.ts.map +1 -0
  125. package/dist/types/composables/useConnectors.d.ts +8 -0
  126. package/dist/types/composables/useConnectors.d.ts.map +1 -0
  127. package/dist/types/composables/useDisconnect.d.ts +17 -0
  128. package/dist/types/composables/useDisconnect.d.ts.map +1 -0
  129. package/dist/types/composables/useEnsAddress.d.ts +11 -0
  130. package/dist/types/composables/useEnsAddress.d.ts.map +1 -0
  131. package/dist/types/composables/useEnsAvatar.d.ts +11 -0
  132. package/dist/types/composables/useEnsAvatar.d.ts.map +1 -0
  133. package/dist/types/composables/useEnsName.d.ts +11 -0
  134. package/dist/types/composables/useEnsName.d.ts.map +1 -0
  135. package/dist/types/composables/useEstimateGas.d.ts +10 -0
  136. package/dist/types/composables/useEstimateGas.d.ts.map +1 -0
  137. package/dist/types/composables/useReadContract.d.ts +12 -0
  138. package/dist/types/composables/useReadContract.d.ts.map +1 -0
  139. package/dist/types/composables/useReconnect.d.ts +16 -0
  140. package/dist/types/composables/useReconnect.d.ts.map +1 -0
  141. package/dist/types/composables/useSendTransaction.d.ts +15 -0
  142. package/dist/types/composables/useSendTransaction.d.ts.map +1 -0
  143. package/dist/types/composables/useSignMessage.d.ts +15 -0
  144. package/dist/types/composables/useSignMessage.d.ts.map +1 -0
  145. package/dist/types/composables/useSignTypedData.d.ts +15 -0
  146. package/dist/types/composables/useSignTypedData.d.ts.map +1 -0
  147. package/dist/types/composables/useSimulateContract.d.ts +12 -0
  148. package/dist/types/composables/useSimulateContract.d.ts.map +1 -0
  149. package/dist/types/composables/useSwitchAccount.d.ts +17 -0
  150. package/dist/types/composables/useSwitchAccount.d.ts.map +1 -0
  151. package/dist/types/composables/useSwitchChain.d.ts +17 -0
  152. package/dist/types/composables/useSwitchChain.d.ts.map +1 -0
  153. package/dist/types/composables/useTransaction.d.ts +11 -0
  154. package/dist/types/composables/useTransaction.d.ts.map +1 -0
  155. package/dist/types/composables/useTransactionReceipt.d.ts +12 -0
  156. package/dist/types/composables/useTransactionReceipt.d.ts.map +1 -0
  157. package/dist/types/composables/useWaitForTransactionReceipt.d.ts +11 -0
  158. package/dist/types/composables/useWaitForTransactionReceipt.d.ts.map +1 -0
  159. package/dist/types/composables/useWatchBlockNumber.d.ts +9 -0
  160. package/dist/types/composables/useWatchBlockNumber.d.ts.map +1 -0
  161. package/dist/types/composables/useWriteContract.d.ts +15 -0
  162. package/dist/types/composables/useWriteContract.d.ts.map +1 -0
  163. package/dist/types/errors/base.d.ts +10 -0
  164. package/dist/types/errors/base.d.ts.map +1 -0
  165. package/dist/types/errors/plugin.d.ts +16 -0
  166. package/dist/types/errors/plugin.d.ts.map +1 -0
  167. package/dist/types/exports/actions.d.ts +2 -0
  168. package/dist/types/exports/actions.d.ts.map +1 -0
  169. package/dist/types/exports/chains.d.ts +2 -0
  170. package/dist/types/exports/chains.d.ts.map +1 -0
  171. package/dist/types/exports/connectors.d.ts +2 -0
  172. package/dist/types/exports/connectors.d.ts.map +1 -0
  173. package/dist/types/exports/index.d.ts +36 -0
  174. package/dist/types/exports/index.d.ts.map +1 -0
  175. package/dist/types/exports/nuxt.d.ts +4 -0
  176. package/dist/types/exports/nuxt.d.ts.map +1 -0
  177. package/dist/types/exports/query.d.ts +4 -0
  178. package/dist/types/exports/query.d.ts.map +1 -0
  179. package/dist/types/nuxt/module.d.ts +4 -0
  180. package/dist/types/nuxt/module.d.ts.map +1 -0
  181. package/dist/types/nuxt/runtime/composables.d.ts +2 -0
  182. package/dist/types/nuxt/runtime/composables.d.ts.map +1 -0
  183. package/dist/types/plugin.d.ts +11 -0
  184. package/dist/types/plugin.d.ts.map +1 -0
  185. package/dist/types/types/properties.d.ts +15 -0
  186. package/dist/types/types/properties.d.ts.map +1 -0
  187. package/dist/types/types/ref.d.ts +12 -0
  188. package/dist/types/types/ref.d.ts.map +1 -0
  189. package/dist/types/utils/cloneDeep.d.ts +3 -0
  190. package/dist/types/utils/cloneDeep.d.ts.map +1 -0
  191. package/dist/types/utils/getVersion.d.ts +2 -0
  192. package/dist/types/utils/getVersion.d.ts.map +1 -0
  193. package/dist/types/utils/query.d.ts +17 -0
  194. package/dist/types/utils/query.d.ts.map +1 -0
  195. package/dist/types/utils/updateState.d.ts +2 -0
  196. package/dist/types/utils/updateState.d.ts.map +1 -0
  197. package/dist/types/version.d.ts +2 -0
  198. package/dist/types/version.d.ts.map +1 -0
  199. package/nuxt/package.json +5 -0
  200. package/package.json +108 -0
  201. package/query/package.json +5 -0
  202. package/src/composables/useAccount.ts +37 -0
  203. package/src/composables/useAccountEffect.ts +66 -0
  204. package/src/composables/useBalance.ts +69 -0
  205. package/src/composables/useBlockNumber.ts +118 -0
  206. package/src/composables/useChainId.ts +35 -0
  207. package/src/composables/useChains.ts +38 -0
  208. package/src/composables/useClient.ts +66 -0
  209. package/src/composables/useConfig.ts +34 -0
  210. package/src/composables/useConnect.ts +91 -0
  211. package/src/composables/useConnections.ts +30 -0
  212. package/src/composables/useConnectorClient.ts +127 -0
  213. package/src/composables/useConnectors.ts +30 -0
  214. package/src/composables/useDisconnect.ts +70 -0
  215. package/src/composables/useEnsAddress.ts +65 -0
  216. package/src/composables/useEnsAvatar.ts +65 -0
  217. package/src/composables/useEnsName.ts +65 -0
  218. package/src/composables/useEstimateGas.ts +83 -0
  219. package/src/composables/useReadContract.ts +121 -0
  220. package/src/composables/useReconnect.ts +65 -0
  221. package/src/composables/useSendTransaction.ts +76 -0
  222. package/src/composables/useSignMessage.ts +63 -0
  223. package/src/composables/useSignTypedData.ts +64 -0
  224. package/src/composables/useSimulateContract.ts +148 -0
  225. package/src/composables/useSwitchAccount.ts +84 -0
  226. package/src/composables/useSwitchChain.ts +80 -0
  227. package/src/composables/useTransaction.ts +88 -0
  228. package/src/composables/useTransactionReceipt.ts +85 -0
  229. package/src/composables/useWaitForTransactionReceipt.ts +81 -0
  230. package/src/composables/useWatchBlockNumber.ts +61 -0
  231. package/src/composables/useWriteContract.ts +85 -0
  232. package/src/errors/base.ts +14 -0
  233. package/src/errors/plugin.ts +31 -0
  234. package/src/exports/actions.ts +5 -0
  235. package/src/exports/chains.ts +5 -0
  236. package/src/exports/connectors.ts +5 -0
  237. package/src/exports/index.ts +260 -0
  238. package/src/exports/nuxt.ts +4 -0
  239. package/src/exports/query.ts +17 -0
  240. package/src/nuxt/module.ts +59 -0
  241. package/src/nuxt/runtime/composables.ts +1 -0
  242. package/src/plugin.ts +22 -0
  243. package/src/types/properties.ts +27 -0
  244. package/src/types/ref.ts +36 -0
  245. package/src/utils/cloneDeep.ts +43 -0
  246. package/src/utils/getVersion.ts +3 -0
  247. package/src/utils/query.ts +161 -0
  248. package/src/utils/updateState.ts +10 -0
  249. package/src/version.ts +1 -0
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"properties.js","sourceRoot":"","sources":["../../../src/types/properties.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ // Credit: https://github.com/TanStack/query/blob/01ce023826b81e6c41e354f27691f65c9725af67/packages/vue-query/src/types.ts
2
+ export {};
3
+ //# sourceMappingURL=ref.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ref.js","sourceRoot":"","sources":["../../../src/types/ref.ts"],"names":[],"mappings":"AAAA,0HAA0H"}
@@ -0,0 +1,36 @@
1
+ // Credit: https://github.com/TanStack/query/blob/01ce023826b81e6c41e354f27691f65c9725af67/packages/vue-query/src/utils.ts
2
+ import { isRef, unref } from 'vue';
3
+ function cloneDeep(value, customize) {
4
+ if (customize) {
5
+ const result = customize(value);
6
+ // If it's a ref of undefined, return undefined
7
+ if (result === undefined && isRef(value))
8
+ return result;
9
+ if (result !== undefined)
10
+ return result;
11
+ }
12
+ if (Array.isArray(value))
13
+ return value.map((val) => cloneDeep(val, customize));
14
+ if (typeof value === 'object' && isPlainObject(value)) {
15
+ const entries = Object.entries(value).map(([key, val]) => [
16
+ key,
17
+ cloneDeep(val, customize),
18
+ ]);
19
+ return Object.fromEntries(entries);
20
+ }
21
+ return value;
22
+ }
23
+ export function deepUnref(value) {
24
+ return cloneDeep(value, (val) => {
25
+ if (isRef(val))
26
+ return deepUnref(unref(val));
27
+ return undefined;
28
+ });
29
+ }
30
+ function isPlainObject(value) {
31
+ if (Object.prototype.toString.call(value) !== '[object Object]')
32
+ return false;
33
+ const prototype = Object.getPrototypeOf(value);
34
+ return prototype === null || prototype === Object.prototype;
35
+ }
36
+ //# sourceMappingURL=cloneDeep.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloneDeep.js","sourceRoot":"","sources":["../../../src/utils/cloneDeep.ts"],"names":[],"mappings":"AAAA,0HAA0H;AAE1H,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAIlC,SAAS,SAAS,CAChB,KAA0B,EAC1B,SAA2D;IAE3D,IAAI,SAAS,EAAE,CAAC;QACd,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,CAAC,CAAA;QAC/B,+CAA+C;QAC/C,IAAI,MAAM,KAAK,SAAS,IAAI,KAAK,CAAC,KAAK,CAAC;YAAE,OAAO,MAAe,CAAA;QAChE,IAAI,MAAM,KA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ingURL=getVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getVersion.js","sourceRoot":"","sources":["../../../src/utils/getVersion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAEvC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC,cAAc,OAAO,EAAE,CAAA"}
@@ -0,0 +1,73 @@
1
+ import { useMutation, useQuery as tanstack_useQuery, } from '@tanstack/vue-query';
2
+ import {} from '@wagmi/core/internal';
3
+ import { hashFn } from '@wagmi/core/query';
4
+ import { computed, unref } from 'vue';
5
+ export { useMutation };
6
+ // Adding some basic customization.
7
+ // Ideally we don't have this function, but `import('@tanstack/vue-query').useQuery` currently has some quirks where it is super hard to
8
+ // pass down the inferred `initialData` type because of it's discriminated overload in the on `useQuery`.
9
+ export function useQuery(parameters) {
10
+ const options = computed(() => ({
11
+ ...unref(parameters),
12
+ queryKeyHashFn: hashFn,
13
+ }));
14
+ const result = tanstack_useQuery(options);
15
+ result.queryKey = unref(options).queryKey;
16
+ return result;
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////
19
+ // export type UseInfiniteQueryParameters<
20
+ // queryFnData = unknown,
21
+ // error = DefaultError,
22
+ // data = queryFnData,
23
+ // queryData = queryFnData,
24
+ // queryKey extends QueryKey = QueryKey,
25
+ // pageParam = unknown,
26
+ // > = Evaluate<
27
+ // Omit<
28
+ // UseInfiniteQueryOptions<
29
+ // queryFnData,
30
+ // error,
31
+ // data,
32
+ // queryData,
33
+ // queryKey,
34
+ // pageParam
35
+ // >,
36
+ // 'initialData'
37
+ // > & {
38
+ // // Fix `initialData` type
39
+ // initialData?:
40
+ // | UseInfiniteQueryOptions<
41
+ // queryFnData,
42
+ // error,
43
+ // data,
44
+ // queryKey
45
+ // >['initialData']
46
+ // | undefined
47
+ // }
48
+ // >
49
+ // export type UseInfiniteQueryReturnType<
50
+ // data = unknown,
51
+ // error = DefaultError,
52
+ // > = import('@tanstack/vue-query').UseInfiniteQueryReturnType<data, error> & {
53
+ // queryKey: QueryKey
54
+ // }
55
+ // // Adding some basic customization.
56
+ // export function useInfiniteQuery<
57
+ // queryFnData,
58
+ // error,
59
+ // data,
60
+ // queryKey extends QueryKey,
61
+ // >(
62
+ // parameters: UseInfiniteQueryParameters<queryFnData, error, data, queryKey> & {
63
+ // queryKey: QueryKey
64
+ // },
65
+ // ): UseInfiniteQueryReturnType<data, error> {
66
+ // const result = tanstack_useInfiniteQuery({
67
+ // ...(parameters as any),
68
+ // queryKeyHashFn: hashFn, // for bigint support
69
+ // }) as UseInfiniteQueryReturnType<data, error>
70
+ // result.queryKey = parameters.queryKey
71
+ // return result
72
+ // }
73
+ //# sourceMappingURL=query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../src/utils/query.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,WAAW,EACX,QAAQ,IAAI,iBAAiB,GAC9B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAKN,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAiB,QAAQ,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAgCpD,OAAO,EAAE,WAAW,EAAE,CAAA;AAmCtB,mCAAmC;AACnC,wIAAwI;AACxI,yGAAyG;AACzG,MAAM,UAAU,QAAQ,CACtB,UAIC;IAED,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC;QAC9B,GAAI,KAAK,CAAC,UAAU,CAAS;QAC7B,cAAc,EAAE,MAAM;KACvB,CAAC,CAAC,CAAA;IACH,MAAM,MAAM,GAAG,iBAAiB,CAAC,OAAO,CAAoC,CAAA;IAC5E,MAAM,CAAC,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,QAAoB,CAAA;IACrD,OAAO,MAAM,CAAA;AACf,CAAC;AAED,gFAAgF;AAEhF,0CAA0C;AAC1C,2BAA2B;AAC3B,0BAA0B;AAC1B,wBAAwB;AACxB,6BAA6B;AAC7B,0CAA0C;AAC1C,yBAAyB;AACzB,gBAAgB;AAChB,UAAU;AACV,+BAA+B;AAC/B,qBAAqB;AACrB,eAAe;AACf,cAAc;AACd,mBAAmB;AACnB,kBAAkB;AAClB,kBAAkB;AAClB,SAAS;AACT,oBAAoB;AACpB,UAAU;AACV,gCAAgC;AAChC,oBAAoB;AACpB,mCAAmC;AACnC,yBAAyB;AACzB,mBAAmB;AACnB,kBAAkB;AAClB,qBAAqB;AACrB,2BAA2B;AAC3B,oBAAoB;AACpB,MAAM;AACN,IAAI;AAEJ,0CAA0C;AAC1C,oBAAoB;AACpB,0BAA0B;AAC1B,gFAAgF;AAChF,uBAAuB;AACvB,IAAI;AAEJ,sCAAsC;AACtC,oCAAoC;AACpC,iBAAiB;AACjB,WAAW;AACX,UAAU;AACV,+BAA+B;AAC/B,KAAK;AACL,mFAAmF;AACnF,yBAAyB;AACzB,OAAO;AACP,+CAA+C;AAC/C,+CAA+C;AAC/C,8BAA8B;AAC9B,oDAAoD;AACpD,kDAAkD;AAClD,0CAA0C;AAC1C,kBAAkB;AAClB,IAAI"}
@@ -0,0 +1,7 @@
1
+ // Credit: https://github.com/TanStack/query/blob/01ce023826b81e6c41e354f27691f65c9725af67/packages/vue-query/src/utils.ts#L11-L18
2
+ export function updateState(state, update) {
3
+ Object.keys(state).forEach((key) => {
4
+ state[key] = update[key];
5
+ });
6
+ }
7
+ //# sourceMappingURL=updateState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateState.js","sourceRoot":"","sources":["../../../src/utils/updateState.ts"],"names":[],"mappings":"AAAA,kIAAkI;AAElI,MAAM,UAAU,WAAW,CACzB,KAA8B,EAC9B,MAA2B;IAE3B,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QACjC,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;IAC1B,CAAC,CAAC,CAAA;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export const version = '0.0.0-canary-20240515232917';
2
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,6BAA6B,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { type Config, type GetAccountReturnType, type ResolvedRegister } from '@wagmi/core';
2
+ import { type ToRefs } from 'vue';
3
+ import { type ConfigParameter } from '../types/properties.js';
4
+ export type UseAccountParameters<config extends Config = Config> = ConfigParameter<config>;
5
+ export type UseAccountReturnType<config extends Config = Config> = ToRefs<GetAccountReturnType<config>>;
6
+ /** https://wagmi.sh/vue/api/composables/useAccount */
7
+ export declare function useAccount<config extends Config = ResolvedRegister['config']>(parameters?: UseAccountParameters<config>): UseAccountReturnType<config>;
8
+ //# sourceMappingURL=useAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAccount.d.ts","sourceRoot":"","sources":["../../../src/composables/useAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EAGtB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,KAAK,MAAM,EAA8C,MAAM,KAAK,CAAA;AAE7E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAI7D,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,IAC7D,eAAe,CAAC,MAAM,CAAC,CAAA;AAEzB,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,IAAI,MAAM,CACvE,oBAAoB,CAAC,MAAM,CAAC,CAC7B,CAAA;AAED,sDAAsD;AACtD,wBAAgB,UAAU,CAAC,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAC3E,UAAU,GAAE,oBAAoB,CAAC,MAAM,CAAM,GAC5C,oBAAoB,CAAC,MAAM,CAAC,CAa9B"}
@@ -0,0 +1,15 @@
1
+ import { type GetAccountReturnType } from '@wagmi/core';
2
+ import type { Evaluate } from '@wagmi/core/internal';
3
+ import type { ConfigParameter } from '../types/properties.js';
4
+ import type { DeepMaybeRef } from '../types/ref.js';
5
+ export type UseAccountEffectParameters = Evaluate<DeepMaybeRef<{
6
+ onConnect?(data: Evaluate<Pick<Extract<GetAccountReturnType, {
7
+ status: 'connected';
8
+ }>, 'address' | 'addresses' | 'chain' | 'chainId' | 'connector'> & {
9
+ isReconnected: boolean;
10
+ }>): void;
11
+ onDisconnect?(): void;
12
+ } & ConfigParameter>>;
13
+ /** https://wagmi.sh/vue/api/composables/useAccountEffect */
14
+ export declare function useAccountEffect(parameters?: UseAccountEffectParameters): void;
15
+ //# sourceMappingURL=useAccountEffect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAccountEffect.d.ts","sourceRoot":"","sources":["../../../src/composables/useAccountEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAgB,MAAM,aAAa,CAAA;AACrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAGpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAInD,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAC/C,YAAY,CACV;IACE,SAAS,CAAC,CACR,IAAI,EAAE,QAAQ,CACZ,IAAI,CACF,OAAO,CAAC,oBAAoB,EAAE;QAAE,MAAM,EAAE,WAAW,CAAA;KAAE,CAAC,EACtD,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,CAC5D,GAAG;QACF,aAAa,EAAE,OAAO,CAAA;KACvB,CACF,GACA,IAAI,CAAA;IACP,YAAY,CAAC,IAAI,IAAI,CAAA;CACtB,GAAG,eAAe,CACpB,CACF,CAAA;AAED,4DAA4D;AAC5D,wBAAgB,gBAAgB,CAAC,UAAU,GAAE,0BAA+B,QAqC3E"}
@@ -0,0 +1,12 @@
1
+ import { type Config, type GetBalanceErrorType, type ResolvedRegister } from '@wagmi/core';
2
+ import type { Evaluate } from '@wagmi/core/internal';
3
+ import { type GetBalanceData, type GetBalanceOptions, type GetBalanceQueryKey } from '@wagmi/core/query';
4
+ import type { GetBalanceQueryFnData } from '@wagmi/core/query';
5
+ import type { ConfigParameter, QueryParameter } from '../types/properties.js';
6
+ import type { DeepMaybeRef } from '../types/ref.js';
7
+ import { type UseQueryReturnType } from '../utils/query.js';
8
+ export type UseBalanceParameters<config extends Config = Config, selectData = GetBalanceData> = Evaluate<DeepMaybeRef<GetBalanceOptions<config> & ConfigParameter<config> & QueryParameter<GetBalanceQueryFnData, GetBalanceErrorType, selectData, GetBalanceQueryKey<config>>>>;
9
+ export type UseBalanceReturnType<selectData = GetBalanceData> = UseQueryReturnType<selectData, GetBalanceErrorType>;
10
+ /** https://wagmi.sh/vue/api/composables/useBalance */
11
+ export declare function useBalance<config extends Config = ResolvedRegister['config'], selectData = GetBalanceData>(parameters_?: UseBalanceParameters<config, selectData>): UseBalanceReturnType<selectData>;
12
+ //# sourceMappingURL=useBalance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBalance.d.ts","sourceRoot":"","sources":["../../../src/composables/useBalance.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EAExB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAG9D,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,OAAO,EAAE,KAAK,kBAAkB,EAAY,MAAM,mBAAmB,CAAA;AAIrE,MAAM,MAAM,oBAAoB,CAC9B,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,UAAU,GAAG,cAAc,IACzB,QAAQ,CACV,YAAY,CACV,iBAAiB,CAAC,MAAM,CAAC,GACvB,eAAe,CAAC,MAAM,CAAC,GACvB,cAAc,CACZ,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,kBAAkB,CAAC,MAAM,CAAC,CAC3B,CACJ,CACF,CAAA;AAED,MAAM,MAAM,oBAAoB,CAAC,UAAU,GAAG,cAAc,IAC1D,kBAAkB,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAA;AAErD,sDAAsD;AACtD,wBAAgB,UAAU,CACxB,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,UAAU,GAAG,cAAc,EAE3B,WAAW,GAAE,oBAAoB,CAAC,MAAM,EAAE,UAAU,CAAM,GACzD,oBAAoB,CAAC,UAAU,CAAC,CAqBlC"}
@@ -0,0 +1,14 @@
1
+ import { type Config, type GetBlockNumberErrorType, type ResolvedRegister } from '@wagmi/core';
2
+ import { type Evaluate, type UnionEvaluate, type UnionOmit } from '@wagmi/core/internal';
3
+ import { type GetBlockNumberData, type GetBlockNumberOptions, type GetBlockNumberQueryFnData, type GetBlockNumberQueryKey } from '@wagmi/core/query';
4
+ import type { ConfigParameter, QueryParameter } from '../types/properties.js';
5
+ import type { DeepMaybeRef, DeepUnwrapRef } from '../types/ref.js';
6
+ import { type UseQueryReturnType } from '../utils/query.js';
7
+ import { type UseWatchBlockNumberParameters } from './useWatchBlockNumber.js';
8
+ export type UseBlockNumberParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetBlockNumberData> = Evaluate<DeepMaybeRef<GetBlockNumberOptions<config, chainId> & ConfigParameter<config> & QueryParameter<GetBlockNumberQueryFnData, GetBlockNumberErrorType, selectData, GetBlockNumberQueryKey<config, chainId>> & {
9
+ watch?: boolean | UnionEvaluate<UnionOmit<DeepUnwrapRef<UseWatchBlockNumberParameters<config, chainId>>, 'chainId' | 'config' | 'onBlockNumber' | 'onError'>> | undefined;
10
+ }>>;
11
+ export type UseBlockNumberReturnType<selectData = GetBlockNumberData> = UseQueryReturnType<selectData, GetBlockNumberErrorType>;
12
+ /** https://wagmi.sh/vue/api/composables/useBlockNumber */
13
+ export declare function useBlockNumber<config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetBlockNumberData>(parameters_?: UseBlockNumberParameters<config, chainId, selectData>): UseBlockNumberReturnType<selectData>;
14
+ //# sourceMappingURL=useBlockNumber.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBlockNumber.d.ts","sourceRoot":"","sources":["../../../src/composables/useBlockNumber.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAA;AACpB,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAE5B,MAAM,mBAAmB,CAAA;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAElE,OAAO,EAAE,KAAK,kB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tC"}
@@ -0,0 +1,8 @@
1
+ import { type Config, type GetChainIdReturnType, type ResolvedRegister } from '@wagmi/core';
2
+ import { type Ref } from 'vue';
3
+ import { type ConfigParameter } from '../types/properties.js';
4
+ export type UseChainIdParameters<config extends Config = Config> = ConfigParameter<config>;
5
+ export type UseChainIdReturnType<config extends Config = Config> = Ref<GetChainIdReturnType<config>>;
6
+ /** https://wagmi.sh/vue/api/composables/useChainId */
7
+ export declare function useChainId<config extends Config = ResolvedRegister['config']>(parameters?: UseChainIdParameters<config>): UseChainIdReturnType<config>;
8
+ //# sourceMappingURL=useChainId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useChainId.d.ts","sourceRoot":"","sources":["../../../src/composables/useChainId.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EAGtB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,KAAK,GAAG,EAAiC,MAAM,KAAK,CAAA;AAE7D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,IAC7D,eAAe,CAAC,MAAM,CAAC,CAAA;AAEzB,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,IAAI,GAAG,CACpE,oBAAoB,CAAC,MAAM,CAAC,CAC7B,CAAA;AAED,sDAAsD;AACtD,wBAAgB,UAAU,CAAC,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAC3E,UAAU,GAAE,oBAAoB,CAAC,MAAM,CAAM,GAC5C,oBAAoB,CAAC,MAAM,CAAC,CAY9B"}
@@ -0,0 +1,9 @@
1
+ import { type Config, type ResolvedRegister } from '@wagmi/core';
2
+ import type { Chain } from 'viem';
3
+ import { type Ref } from 'vue';
4
+ import type { ConfigParameter } from '../types/properties.js';
5
+ export type UseChainsParameters<config extends Config = Config> = ConfigParameter<config>;
6
+ export type UseChainsReturnType<config extends Config = Config> = Ref<config['chains'] extends readonly [Chain, ...Chain[]] ? config['chains'] : readonly [Chain, ...Chain[]]>;
7
+ /** https://wagmi.sh/vue/api/composables/useChains */
8
+ export declare function useChains<config extends Config = ResolvedRegister['config']>(parameters?: UseChainsParameters<config>): UseChainsReturnType<config>;
9
+ //# sourceMappingURL=useChains.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useChains.d.ts","sourceRoot":"","sources":["../../../src/composables/useChains.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAEX,KAAK,gBAAgB,EAEtB,MAAM,aAAa,CAAA;AAGpB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAA;AACjC,OAAO,EAAE,KAAK,GAAG,EAAiC,MAAM,KAAK,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,MAAM,mBAAmB,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,IAC5D,eAAe,CAAC,MAAM,CAAC,CAAA;AAEzB,MAAM,MAAM,mBAAmB,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,IAAI,GAAG,CACnE,MAAM,CAAC,QAAQ,CAAC,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,GACjD,MAAM,CAAC,QAAQ,CAAC,GAChB,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,CACjC,CAAA;AAED,qDAAqD;AACrD,wBAAgB,SAAS,CAAC,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAC1E,UAAU,GAAE,mBAAmB,CAAC,MAAM,CAAM,GAC3C,mBAAmB,CAAC,MAAM,CAAC,CAY7B"}
@@ -0,0 +1,10 @@
1
+ import { type Config, type GetClientParameters, type GetClientReturnType, type ResolvedRegister } from '@wagmi/core';
2
+ import type { Evaluate } from '@wagmi/core/internal';
3
+ import { type Ref } from 'vue';
4
+ import type { ConfigParameter } from '../types/properties.js';
5
+ import type { DeepMaybeRef } from '../types/ref.js';
6
+ export type UseClientParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] | number | undefined = config['chains'][number]['id'] | undefined> = Evaluate<DeepMaybeRef<GetClientParameters<config, chainId> & ConfigParameter<config>>>;
7
+ export type UseClientReturnType<config extends Config = Config, chainId extends config['chains'][number]['id'] | number | undefined = config['chains'][number]['id'] | undefined> = Ref<GetClientReturnType<config, chainId>>;
8
+ /** https://wagmi.sh/vue/api/composables/useClient */
9
+ export declare function useClient<config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] | number | undefined = config['chains'][number]['id'] | undefined>(parameters?: UseClientParameters<config, chainId>): UseClientReturnType<config, chainId>;
10
+ //# sourceMappingURL=useClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useClient.d.ts","sourceRoot":"","sources":["../../../src/composables/useClient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EAGtB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EACL,KAAK,GAAG,EAMT,MAAM,KAAK,CAAA;AAEZ,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAInD,MAAM,MAAM,mBAAmB,CAC7B,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,GAAG,SAAS,GAC/D,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAC9B,SAAS,IACX,QAAQ,CACV,YAAY,CAAC,mBAAmB,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC,CAC7E,CAAA;AAED,MAAM,MAAM,mBAAmB,CAC7B,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,GAAG,SAAS,GAC/D,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAC9B,SAAS,IACX,GAAG,CAAC,mBAAmB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;AAE7C,qDAAqD;AACrD,wBAAgB,SAAS,CACvB,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,GAAG,SAAS,GAC/D,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAC9B,SAAS,EAEb,UAAU,GAAE,mBAAmB,CAAC,MAAM,EAAE,OAAO,CAAM,GACpD,mBAAmB,CAAC,MAAM,EAAE,OAAO,CAAC,CAkBtC"}
@@ -0,0 +1,8 @@
1
+ import { type Config, type ResolvedRegister } from '@wagmi/core';
2
+ import type { ConfigParameter } from '../types/properties.js';
3
+ import type { DeepMaybeRef } from '../types/ref.js';
4
+ export type UseConfigParameters<config extends Config = Config> = DeepMaybeRef<ConfigParameter<config>>;
5
+ export type UseConfigReturnType<config extends Config = Config> = config;
6
+ /** https://wagmi.sh/vue/api/composables/useConfig */
7
+ export declare function useConfig<config extends Config = ResolvedRegister['config']>(parameters_?: UseConfigParameters<config>): UseConfigReturnType<config>;
8
+ //# sourceMappingURL=useConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConfig.d.ts","sourceRoot":"","sources":["../../../src/composables/useConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAQhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,MAAM,MAAM,mBAAmB,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,IAAI,YAAY,CAC5E,eAAe,CAAC,MAAM,CAAC,CACxB,CAAA;AAED,MAAM,MAAM,mBAAmB,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,IAAI,MAAM,CAAA;AAExE,qDAAqD;AACrD,wBAAgB,SAAS,CAAC,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAC1E,WAAW,GAAE,mBAAmB,CAAC,MAAM,CAAM,GAC5C,mBAAmB,CAAC,MAAM,CAAC,CAa7B"}
@@ -0,0 +1,16 @@
1
+ import { type Config, type ConnectErrorType, type GetConnectorsReturnType, type ResolvedRegister } from '@wagmi/core';
2
+ import type { Evaluate } from '@wagmi/core/internal';
3
+ import { type ConnectData, type ConnectMutate, type ConnectMutateAsync, type ConnectVariables } from '@wagmi/core/query';
4
+ import type { ConfigParameter } from '../types/properties.js';
5
+ import type { UseMutationParameters, UseMutationReturnType } from '../utils/query.js';
6
+ export type UseConnectParameters<config extends Config = Config, context = unknown> = Evaluate<ConfigParameter<config> & {
7
+ mutation?: UseMutationParameters<ConnectData<config>, ConnectErrorType, ConnectVariables<config>, context> | undefined;
8
+ }>;
9
+ export type UseConnectReturnType<config extends Config = Config, context = unknown> = Evaluate<UseMutationReturnType<ConnectData<config>, ConnectErrorType, ConnectVariables<config>, context> & {
10
+ connect: ConnectMutate<config, context>;
11
+ connectAsync: ConnectMutateAsync<config, context>;
12
+ connectors: Evaluate<GetConnectorsReturnType>;
13
+ }>;
14
+ /** https://wagmi.sh/vue/api/composables/useConnect */
15
+ export declare function useConnect<config extends Config = ResolvedRegister['config'], context = unknown>(parameters?: UseConnectParameters<config, context>): UseConnectReturnType<config, context>;
16
+ //# sourceMappingURL=useConnect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConnect.d.ts","sourceRoot":"","sources":["../../../src/composables/useConnect.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EAEtB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,mBAAmB,CAAA;AAI1B,MAAM,MAAM,oBAAoB,CAC9B,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,GAAG,OAAO,IACf,QAAQ,CACV,eAAe,CAAC,MAAM,CAAC,GAAG;IACxB,QAAQ,CAAC,EACL,qBAAqB,CACnB,WAAW,CAAC,MAAM,CAAC,EACnB,gBAAgB,EAChB,gBAAgB,CAAC,MAAM,CAAC,EACxB,OAAO,CACR,GACD,SAAS,CAAA;CACd,CACF,CAAA;AAED,MAAM,MAAM,oBAAoB,CAC9B,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,GAAG,OAAO,IACf,QAAQ,CACV,qBAAqB,CACnB,WAAW,CAAC,MAAM,CAAC,EACnB,gBAAgB,EAChB,gBAAgB,CAAC,MAAM,CAAC,EACxB,OAAO,CACR,GAAG;IACF,OAAO,EAAE,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,YAAY,EAAE,kBAAkB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjD,UAAU,EAAE,QAAQ,CAAC,uBAAuB,CAAC,CAAA;CAC9C,CACF,CAAA;AAED,sDAAsD;AACtD,wBAAgB,UAAU,CACxB,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,OAAO,GAAG,OAAO,EAEjB,UAAU,GAAE,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAM,GACrD,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAC,CA2BvC"}
@@ -0,0 +1,8 @@
1
+ import { type GetConnectionsReturnType } from '@wagmi/core';
2
+ import { type Ref } from 'vue';
3
+ import type { ConfigParameter } from '../types/properties.js';
4
+ export type UseConnectionsParameters = ConfigParameter;
5
+ export type UseConnectionsReturnType = Ref<GetConnectionsReturnType>;
6
+ /** https://wagmi.sh/vue/api/composables/useConnections */
7
+ export declare function useConnections(parameters?: UseConnectionsParameters): UseConnectionsReturnType;
8
+ //# sourceMappingURL=useConnections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConnections.d.ts","sourceRoot":"","sources":["../../../src/composables/useConnections.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,wBAAwB,EAG9B,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,KAAK,GAAG,EAAiC,MAAM,KAAK,CAAA;AAE7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAA;AAEtD,MAAM,MAAM,wBAAwB,GAAG,GAAG,CAAC,wBAAwB,CAAC,CAAA;AAEpE,0DAA0D;AAC1D,wBAAgB,cAAc,CAC5B,UAAU,GAAE,wBAA6B,GACxC,wBAAwB,CAY1B"}
@@ -0,0 +1,13 @@
1
+ import type { Config, GetConnectorClientErrorType, ResolvedRegister } from '@wagmi/core';
2
+ import { type Evaluate, type Omit } from '@wagmi/core/internal';
3
+ import { type GetConnectorClientData, type GetConnectorClientOptions, type GetConnectorClientQueryFnData, type GetConnectorClientQueryKey } from '@wagmi/core/query';
4
+ import type { ConfigParameter } from '../types/properties.js';
5
+ import type { DeepMaybeRef, DeepUnwrapRef } from '../types/ref.js';
6
+ import { type UseQueryParameters, type UseQueryReturnType } from '../utils/query.js';
7
+ export type UseConnectorClientParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetConnectorClientData<config, chainId>> = Evaluate<DeepMaybeRef<GetConnectorClientOptions<config, chainId> & ConfigParameter<config> & {
8
+ query?: Evaluate<Omit<DeepUnwrapRef<UseQueryParameters<GetConnectorClientQueryFnData<config, chainId>, GetConnectorClientErrorType, selectData, GetConnectorClientQueryKey<config, chainId>>>, 'gcTime' | 'staleTime'>> | undefined;
9
+ }>>;
10
+ export type UseConnectorClientReturnType<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetConnectorClientData<config, chainId>> = UseQueryReturnType<selectData, GetConnectorClientErrorType>;
11
+ /** https://wagmi.sh/vue/api/composables/useConnectorClient */
12
+ export declare function useConnectorClient<config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetConnectorClientData<config, chainId>>(parameters_?: UseConnectorClientParameters<config, chainId, selectData>): UseConnectorClientReturnType<config, chainId, selectData>;
13
+ //# sourceMappingURL=useConnectorClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConnectorClient.d.ts","sourceRoot":"","sources":["../../../src/composables/useConnectorClient.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAEN,2BAA2B,EAC3B,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAA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gB,kBAAkB,CAChC,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAC/E,UAAU,GAAG,sBAAsB,CAAC,MAAM,EAAE,OAAO,CAAC,EAEpD,WAAW,GAAE,4BAA4B,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAM,GAC1E,4BAA4B,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,CAyD3D"}
@@ -0,0 +1,8 @@
1
+ import { type GetConnectorsReturnType } from '@wagmi/core';
2
+ import { type Ref } from 'vue';
3
+ import type { ConfigParameter } from '../types/properties.js';
4
+ export type UseConnectorsParameters = ConfigParameter;
5
+ export type UseConnectorsReturnType = Ref<GetConnectorsReturnType>;
6
+ /** https://wagmi.sh/vue/api/composables/useConnectors */
7
+ export declare function useConnectors(parameters?: UseConnectorsParameters): UseConnectorsReturnType;
8
+ //# sourceMappingURL=useConnectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConnectors.d.ts","sourceRoot":"","sources":["../../../src/composables/useConnectors.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAG7B,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,KAAK,GAAG,EAAuB,MAAM,KAAK,CAAA;AAEnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAA;AAErD,MAAM,MAAM,uBAAuB,GAAG,GAAG,CAAC,uBAAuB,CAAC,CAAA;AAElE,yDAAyD;AACzD,wBAAgB,aAAa,CAC3B,UAAU,GAAE,uBAA4B,GACvC,uBAAuB,CAYzB"}
@@ -0,0 +1,17 @@
1
+ import { type Connector, type DisconnectErrorType } from '@wagmi/core';
2
+ import type { Evaluate } from '@wagmi/core/internal';
3
+ import { type DisconnectData, type DisconnectMutate, type DisconnectMutateAsync, type DisconnectVariables } from '@wagmi/core/query';
4
+ import { type Ref } from 'vue';
5
+ import type { ConfigParameter } from '../types/properties.js';
6
+ import type { UseMutationParameters, UseMutationReturnType } from '../utils/query.js';
7
+ export type UseDisconnectParameters<context = unknown> = Evaluate<ConfigParameter & {
8
+ mutation?: UseMutationParameters<DisconnectData, DisconnectErrorType, DisconnectVariables, context> | undefined;
9
+ }>;
10
+ export type UseDisconnectReturnType<context = unknown> = Evaluate<UseMutationReturnType<DisconnectData, DisconnectErrorType, DisconnectVariables, context> & {
11
+ connectors: Ref<readonly Connector[]>;
12
+ disconnect: DisconnectMutate<context>;
13
+ disconnectAsync: DisconnectMutateAsync<context>;
14
+ }>;
15
+ /** https://wagmi.sh/vue/api/composables/useDisconnect */
16
+ export declare function useDisconnect<context = unknown>(parameters?: UseDisconnectParameters<context>): UseDisconnectReturnType<context>;
17
+ //# sourceMappingURL=useDisconnect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDisconnect.d.ts","sourceRoot":"","sources":["../../../src/composables/useDisconnect.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAA;AACtE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EAEzB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,KAAK,GAAG,EAAY,MAAM,KAAK,CAAA;AAExC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,mBAAmB,CAAA;AAI1B,MAAM,MAAM,uBAAuB,CAAC,OAAO,GAAG,OAAO,IAAI,QAAQ,CAC/D,eAAe,GAAG;IAChB,QAAQ,CAAC,EACL,qBAAqB,CACnB,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,CACR,GACD,SAAS,CAAA;CACd,CACF,CAAA;AAED,MAAM,MAAM,uBAAuB,CAAC,OAAO,GAAG,OAAO,IAAI,QAAQ,CAC/D,qBAAqB,CACnB,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,CACR,GAAG;IACF,UAAU,EAAE,GAAG,CAAC,SAAS,SAAS,EAAE,CAAC,CAAA;IACrC,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IACrC,eAAe,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAA;CAChD,CACF,CAAA;AAED,yDAAyD;AACzD,wBAAgB,aAAa,CAAC,OAAO,GAAG,OAAO,EAC7C,UAAU,GAAE,uBAAuB,CAAC,OAAO,CAAM,GAChD,uBAAuB,CAAC,OAAO,CAAC,CAoBlC"}
@@ -0,0 +1,11 @@
1
+ import type { Config, GetEnsAddressErrorType, ResolvedRegister } from '@wagmi/core';
2
+ import { type Evaluate } from '@wagmi/core/internal';
3
+ import { type GetEnsAddressData, type GetEnsAddressOptions, type GetEnsAddressQueryFnData, type GetEnsAddressQueryKey } from '@wagmi/core/query';
4
+ import type { ConfigParameter, QueryParameter } from '../types/properties.js';
5
+ import type { DeepMaybeRef } from '../types/ref.js';
6
+ import { type UseQueryReturnType } from '../utils/query.js';
7
+ export type UseEnsAddressParameters<config extends Config = Config, selectData = GetEnsAddressData> = Evaluate<DeepMaybeRef<GetEnsAddressOptions<config> & ConfigParameter<config> & QueryParameter<GetEnsAddressQueryFnData, GetEnsAddressErrorType, selectData, GetEnsAddressQueryKey<config>>>>;
8
+ export type UseEnsAddressReturnType<selectData = GetEnsAddressData> = UseQueryReturnType<selectData, GetEnsAddressErrorType>;
9
+ /** https://wagmi.sh/vue/api/composables/useEnsAddress */
10
+ export declare function useEnsAddress<config extends Config = ResolvedRegister['config'], selectData = GetEnsAddressData>(parameters_?: UseEnsAddressParameters<config, selectData>): UseEnsAddressReturnType<selectData>;
11
+ //# sourceMappingURL=useEnsAddress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEnsAddress.d.ts","sourceRoot":"","sources":["../../../src/composables/useEnsAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAE3B,MAAM,mBAAmB,CAAA;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,OAAO,EAAE,KAAK,kBAAkB,EAAY,MAAM,mBAAmB,CAAA;AAIrE,MAAM,MAAM,uBAAuB,CACjC,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,UAAU,GAAG,iBAAiB,IAC5B,QAAQ,CACV,YAAY,CACV,oBAAoB,CAAC,MAAM,CAAC,GAC1B,eAAe,CAAC,MAAM,CAAC,GACvB,cAAc,CACZ,wBAAwB,EACxB,sBAAsB,EACtB,UAAU,EACV,qBAAqB,CAAC,MAAM,CAAC,CAC9B,CACJ,CACF,CAAA;AAED,MAAM,MAAM,uBAAuB,CAAC,UAAU,GAAG,iBAAiB,IAChE,kBAAkB,CAAC,UAAU,EAAE,sBAAsB,CAAC,CAAA;AAExD,yDAAyD;AACzD,wBAAgB,aAAa,CAC3B,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,UAAU,GAAG,iBAAiB,EAE9B,WAAW,GAAE,uBAAuB,CAAC,MAAM,EAAE,UAAU,CAAM,GAC5D,uBAAuB,CAAC,UAAU,CAAC,CAiBrC"}
@@ -0,0 +1,11 @@
1
+ import type { Config, GetEnsAvatarErrorType, ResolvedRegister } from '@wagmi/core';
2
+ import { type Evaluate } from '@wagmi/core/internal';
3
+ import { type GetEnsAvatarData, type GetEnsAvatarOptions, type GetEnsAvatarQueryFnData, type GetEnsAvatarQueryKey } from '@wagmi/core/query';
4
+ import type { ConfigParameter, QueryParameter } from '../types/properties.js';
5
+ import type { DeepMaybeRef } from '../types/ref.js';
6
+ import { type UseQueryReturnType } from '../utils/query.js';
7
+ export type UseEnsAvatarParameters<config extends Config = Config, selectData = GetEnsAvatarData> = Evaluate<DeepMaybeRef<GetEnsAvatarOptions<config> & ConfigParameter<config> & QueryParameter<GetEnsAvatarQueryFnData, GetEnsAvatarErrorType, selectData, GetEnsAvatarQueryKey<config>>>>;
8
+ export type UseEnsAvatarReturnType<selectData = GetEnsAvatarData> = UseQueryReturnType<selectData, GetEnsAvatarErrorType>;
9
+ /** https://wagmi.sh/vue/api/composables/useEnsAvatar */
10
+ export declare function useEnsAvatar<config extends Config = ResolvedRegister['config'], selectData = GetEnsAvatarData>(parameters_?: UseEnsAvatarParameters<config, selectData>): UseEnsAvatarReturnType<selectData>;
11
+ //# sourceMappingURL=useEnsAvatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEnsAvatar.d.ts","sourceRoot":"","sources":["../../../src/composables/useEnsAvatar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EAE1B,MAAM,mBAAmB,CAAA;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,OAAO,EAAE,KAAK,kBAAkB,EAAY,MAAM,mBAAmB,CAAA;AAIrE,MAAM,MAAM,sBAAsB,CAChC,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,UAAU,GAAG,gBAAgB,IAC3B,QAAQ,CACV,YAAY,CACV,mBAAmB,CAAC,MAAM,CAAC,GACzB,eAAe,CAAC,MAAM,CAAC,GACvB,cAAc,CACZ,uBAAuB,EACvB,qBAAqB,EACrB,UAAU,EACV,oBAAoB,CAAC,MAAM,CAAC,CAC7B,CACJ,CACF,CAAA;AAED,MAAM,MAAM,sBAAsB,CAAC,UAAU,GAAG,gBAAgB,IAC9D,kBAAkB,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAA;AAEvD,wDAAwD;AACxD,wBAAgB,YAAY,CAC1B,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,UAAU,GAAG,gBAAgB,EAE7B,WAAW,GAAE,sBAAsB,CAAC,MAAM,EAAE,UAAU,CAAM,GAC3D,sBAAsB,CAAC,UAAU,CAAC,CAiBpC"}
@@ -0,0 +1,11 @@
1
+ import type { Config, GetEnsNameErrorType, ResolvedRegister } from '@wagmi/core';
2
+ import { type Evaluate } from '@wagmi/core/internal';
3
+ import { type GetEnsNameData, type GetEnsNameOptions, type GetEnsNameQueryFnData, type GetEnsNameQueryKey } from '@wagmi/core/query';
4
+ import type { ConfigParameter, QueryParameter } from '../types/properties.js';
5
+ import type { DeepMaybeRef } from '../types/ref.js';
6
+ import { type UseQueryReturnType } from '../utils/query.js';
7
+ export type UseEnsNameParameters<config extends Config = Config, selectData = GetEnsNameData> = Evaluate<DeepMaybeRef<GetEnsNameOptions<config> & ConfigParameter<config> & QueryParameter<GetEnsNameQueryFnData, GetEnsNameErrorType, selectData, GetEnsNameQueryKey<config>>>>;
8
+ export type UseEnsNameReturnType<selectData = GetEnsNameData> = UseQueryReturnType<selectData, GetEnsNameErrorType>;
9
+ /** https://wagmi.sh/vue/api/composables/useEnsName */
10
+ export declare function useEnsName<config extends Config = ResolvedRegister['config'], selectData = GetEnsNameData>(parameters_?: UseEnsNameParameters<config, selectData>): UseEnsNameReturnType<selectData>;
11
+ //# sourceMappingURL=useEnsName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEnsName.d.ts","sourceRoot":"","sources":["../../../src/composables/useEnsName.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAChF,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EAExB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,OAAO,EAAE,KAAK,kBAAkB,EAAY,MAAM,mBAAmB,CAAA;AAIrE,MAAM,MAAM,oBAAoB,CAC9B,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,UAAU,GAAG,cAAc,IACzB,QAAQ,CACV,YAAY,CACV,iBAAiB,CAAC,MAAM,CAAC,GACvB,eAAe,CAAC,MAAM,CAAC,GACvB,cAAc,CACZ,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,kBAAkB,CAAC,MAAM,CAAC,CAC3B,CACJ,CACF,CAAA;AAED,MAAM,MAAM,oBAAoB,CAAC,UAAU,GAAG,cAAc,IAC1D,kBAAkB,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAA;AAErD,sDAAsD;AACtD,wBAAgB,UAAU,CACxB,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,UAAU,GAAG,cAAc,EAE3B,WAAW,GAAE,oBAAoB,CAAC,MAAM,EAAE,UAAU,CAAM,GACzD,oBAAoB,CAAC,UAAU,CAAC,CAqBlC"}
@@ -0,0 +1,10 @@
1
+ import type { Config, EstimateGasErrorType, ResolvedRegister } from '@wagmi/core';
2
+ import { type EstimateGasData, type EstimateGasOptions, type EstimateGasQueryFnData, type EstimateGasQueryKey } from '@wagmi/core/query';
3
+ import type { ConfigParameter, QueryParameter } from '../types/properties.js';
4
+ import type { DeepMaybeRef } from '../types/ref.js';
5
+ import { type UseQueryReturnType } from '../utils/query.js';
6
+ export type UseEstimateGasParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] | undefined = undefined, selectData = EstimateGasData> = DeepMaybeRef<EstimateGasOptions<config, chainId> & ConfigParameter<config> & QueryParameter<EstimateGasQueryFnData, EstimateGasErrorType, selectData, EstimateGasQueryKey<config, chainId>>>;
7
+ export type UseEstimateGasReturnType<selectData = EstimateGasData> = UseQueryReturnType<selectData, EstimateGasErrorType>;
8
+ /** https://wagmi.sh/react/api/hooks/useEstimateGas */
9
+ export declare function useEstimateGas<config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] | undefined = undefined, selectData = EstimateGasData>(parameters?: UseEstimateGasParameters<config, chainId, selectData>): UseEstimateGasReturnType<selectData>;
10
+ //# sourceMappingURL=useEstimateGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEstimateGas.d.ts","sourceRoot":"","sources":["../../../src/composables/useEstimateGas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EAEzB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,OAAO,EAAE,KAAK,kBAAkB,EAAY,MAAM,mBAAmB,CAAA;AAKrE,MAAM,MAAM,wBAAwB,CAClC,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,EACtE,UAAU,GAAG,eAAe,IAC1B,YAAY,CACd,kBAAkB,CAAC,MAAM,EAAE,OAAO,CAAC,GACjC,eAAe,CAAC,MAAM,CAAC,GACvB,cAAc,CACZ,sBAAsB,EACtB,oBAAoB,EACpB,UAAU,EACV,mBAAmB,CAAC,MAAM,EAAE,OAAO,CAAC,CACrC,CACJ,CAAA;AAED,MAAM,MAAM,wBAAwB,CAAC,UAAU,GAAG,eAAe,IAC/D,kBAAkB,CAAC,UAAU,EAAE,oBAAoB,CAAC,CAAA;AAEtD,sDAAsD;AACtD,wBAAgB,cAAc,CAC5B,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,OAAO,SAAS,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,EACtE,UAAU,GAAG,eAAe,EAE5B,UAAU,CAAC,EAAE,wBAAwB,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,GACjE,wBAAwB,CAAC,UAAU,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { type Config, type ReadContractErrorType, type ResolvedRegister } from '@wagmi/core';
2
+ import { type UnionEvaluate } from '@wagmi/core/internal';
3
+ import { type ReadContractData, type ReadContractOptions, type ReadContractQueryFnData, type ReadContractQueryKey } from '@wagmi/core/query';
4
+ import { type Abi, type ContractFunctionArgs, type ContractFunctionName } from 'viem';
5
+ import type { ConfigParameter, QueryParameter } from '../types/properties.js';
6
+ import type { DeepMaybeRef } from '../types/ref.js';
7
+ import { type UseQueryReturnType } from '../utils/query.js';
8
+ export type UseReadContractParameters<abi extends Abi | readonly unknown[] = Abi, functionName extends ContractFunctionName<abi, 'pure' | 'view'> = ContractFunctionName<abi, 'pure' | 'view'>, args extends ContractFunctionArgs<abi, 'pure' | 'view', functionName> = ContractFunctionArgs<abi, 'pure' | 'view', functionName>, config extends Config = Config, selectData = ReadContractData<abi, functionName, args>> = UnionEvaluate<DeepMaybeRef<ReadContractOptions<abi, functionName, args, config> & ConfigParameter<config> & QueryParameter<ReadContractQueryFnData<abi, functionName, args>, ReadContractErrorType, selectData, ReadContractQueryKey<abi, functionName, args, config>>>>;
9
+ export type UseReadContractReturnType<abi extends Abi | readonly unknown[] = Abi, functionName extends ContractFunctionName<abi, 'pure' | 'view'> = ContractFunctionName<abi, 'pure' | 'view'>, args extends ContractFunctionArgs<abi, 'pure' | 'view', functionName> = ContractFunctionArgs<abi, 'pure' | 'view', functionName>, selectData = ReadContractData<abi, functionName, args>> = UseQueryReturnType<selectData, ReadContractErrorType>;
10
+ /** https://wagmi.sh/vue/api/hooks/useReadContract */
11
+ export declare function useReadContract<const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi, 'pure' | 'view'>, args extends ContractFunctionArgs<abi, 'pure' | 'view', functionName>, config extends Config = ResolvedRegister['config'], selectData = ReadContractData<abi, functionName, args>>(parameters_?: UseReadContractParameters<abi, functionName, args, config, selectData>): UseReadContractReturnType<abi, functionName, args, selectData>;
12
+ //# sourceMappingURL=useReadContract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useReadContract.d.ts","sourceRoot":"","sources":["../../../src/composables/useReadContract.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,KAAK,aAAa,EAAE,MA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SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,EAC1C,YAAY,SAAS,oBAAoB,CACvC,GAAG,EACH,MAAM,GAAG,MAAM,CAChB,GAAG,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,EAC9C,IAAI,SAAS,oBAAoB,CAC/B,GAAG,EACH,MAAM,GAAG,MAAM,EACf,YAAY,CACb,GAAG,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,YAAY,CAAC,EAC5D,UAAU,GAAG,gBAAgB,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,CAAC,IACpD,kBAAkB,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAA;AAEzD,qDAAqD;AACrD,wBAAgB,eAAe,CAC7B,KAAK,CAAC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,EAC1C,YAAY,SAAS,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,EAC/D,IAAI,SAAS,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,YAAY,CAAC,EACrE,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,UAAU,GAAG,gBAAgB,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,CAAC,EAEtD,WAAW,GAAE,yBAAyB,CACpC,GAAG,EACH,YAAY,EACZ,IAAI,EACJ,MAAM,EACN,UAAU,CACC,GACZ,yBAAyB,CAAC,GAAG,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU,CAAC,CAqChE"}
@@ -0,0 +1,16 @@
1
+ import { type Connector, type ReconnectErrorType } from '@wagmi/core';
2
+ import type { Evaluate } from '@wagmi/core/internal';
3
+ import { type ReconnectData, type ReconnectMutate, type ReconnectMutateAsync, type ReconnectVariables } from '@wagmi/core/query';
4
+ import type { ConfigParameter } from '../types/properties.js';
5
+ import type { UseMutationParameters, UseMutationReturnType } from '../utils/query.js';
6
+ export type UseReconnectParameters<context = unknown> = Evaluate<ConfigParameter & {
7
+ mutation?: UseMutationParameters<ReconnectData, ReconnectErrorType, ReconnectVariables, context> | undefined;
8
+ }>;
9
+ export type UseReconnectReturnType<context = unknown> = Evaluate<UseMutationReturnType<ReconnectData, ReconnectErrorType, ReconnectVariables, context> & {
10
+ connectors: readonly Connector[];
11
+ reconnect: ReconnectMutate<context>;
12
+ reconnectAsync: ReconnectMutateAsync<context>;
13
+ }>;
14
+ /** https://wagmi.sh/vue/api/composables/useReconnect */
15
+ export declare function useReconnect<context = unknown>(parameters?: UseReconnectParameters<context>): UseReconnectReturnType<context>;
16
+ //# sourceMappingURL=useReconnect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useReconnect.d.ts","sourceRoot":"","sources":["../../../src/composables/useReconnect.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAA;AACrE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EAExB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,mBAAmB,CAAA;AAG1B,MAAM,MAAM,sBAAsB,CAAC,OAAO,GAAG,OAAO,IAAI,QAAQ,CAC9D,eAAe,GAAG;IAChB,QAAQ,CAAC,EACL,qBAAqB,CACnB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,GACD,SAAS,CAAA;CACd,CACF,CAAA;AAED,MAAM,MAAM,sBAAsB,CAAC,OAAO,GAAG,OAAO,IAAI,QAAQ,CAC9D,qBAAqB,CACnB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,GAAG;IACF,UAAU,EAAE,SAAS,SAAS,EAAE,CAAA;IAChC,SAAS,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;IACnC,cAAc,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAA;CAC9C,CACF,CAAA;AAED,wDAAwD;AACxD,wBAAgB,YAAY,CAAC,OAAO,GAAG,OAAO,EAC5C,UAAU,GAAE,sBAAsB,CAAC,OAAO,CAAM,GAC/C,sBAAsB,CAAC,OAAO,CAAC,CAiBjC"}
@@ -0,0 +1,15 @@
1
+ import type { Config, ResolvedRegister, SendTransactionErrorType } from '@wagmi/core';
2
+ import type { Evaluate } from '@wagmi/core/internal';
3
+ import { type SendTransactionData, type SendTransactionMutate, type SendTransactionMutateAsync, type SendTransactionVariables } from '@wagmi/core/query';
4
+ import type { ConfigParameter } from '../types/properties.js';
5
+ import type { UseMutationParameters, UseMutationReturnType } from '../utils/query.js';
6
+ export type UseSendTransactionParameters<config extends Config = Config, context = unknown> = Evaluate<ConfigParameter<config> & {
7
+ mutation?: UseMutationParameters<SendTransactionData, SendTransactionErrorType, SendTransactionVariables<config, config['chains'][number]['id']>, context> | undefined;
8
+ }>;
9
+ export type UseSendTransactionReturnType<config extends Config = Config, context = unknown> = Evaluate<UseMutationReturnType<SendTransactionData, SendTransactionErrorType, SendTransactionVariables<config, config['chains'][number]['id']>, context> & {
10
+ sendTransaction: SendTransactionMutate<config, context>;
11
+ sendTransactionAsync: SendTransactionMutateAsync<config, context>;
12
+ }>;
13
+ /** https://wagmi.sh/vue/api/composables/useSendTransaction */
14
+ export declare function useSendTransaction<config extends Config = ResolvedRegister['config'], context = unknown>(parameters?: UseSendTransactionParameters<config, context>): UseSendTransactionReturnType<config, context>;
15
+ //# sourceMappingURL=useSendTransaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSendTransaction.d.ts","sourceRoot":"","sources":["../../../src/composables/useSendTransaction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,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AG,OAAO,EAEjB,UAAU,GAAE,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAM,GAC7D,4BAA4B,CAAC,MAAM,EAAE,OAAO,CAAC,CAgB/C"}
@@ -0,0 +1,15 @@
1
+ import { type SignMessageErrorType } from '@wagmi/core';
2
+ import type { Evaluate } from '@wagmi/core/internal';
3
+ import { type SignMessageData, type SignMessageMutate, type SignMessageMutateAsync, type SignMessageVariables } from '@wagmi/core/query';
4
+ import type { ConfigParameter } from '../types/properties.js';
5
+ import { type UseMutationParameters, type UseMutationReturnType } from '../utils/query.js';
6
+ export type UseSignMessageParameters<context = unknown> = Evaluate<ConfigParameter & {
7
+ mutation?: UseMutationParameters<SignMessageData, SignMessageErrorType, SignMessageVariables, context> | undefined;
8
+ }>;
9
+ export type UseSignMessageReturnType<context = unknown> = Evaluate<UseMutationReturnType<SignMessageData, SignMessageErrorType, SignMessageVariables, context> & {
10
+ signMessage: SignMessageMutate<context>;
11
+ signMessageAsync: SignMessageMutateAsync<context>;
12
+ }>;
13
+ /** https://wagmi.sh/vue/api/composables/useSignMessage */
14
+ export declare function useSignMessage<context = unknown>(parameters?: UseSignMessageParameters<context>): UseSignMessageReturnType<context>;
15
+ //# sourceMappingURL=useSignMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSignMessage.d.ts","sourceRoot":"","sources":["../../../src/composables/useSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAA;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EAE1B,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAE3B,MAAM,mBAAmB,CAAA;AAG1B,MAAM,MAAM,wBAAwB,CAAC,OAAO,GAAG,OAAO,IAAI,QAAQ,CAChE,eAAe,GAAG;IAChB,QAAQ,CAAC,EACL,qBAAqB,CACnB,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,OAAO,CACR,GACD,SAAS,CAAA;CACd,CACF,CAAA;AAED,MAAM,MAAM,wBAAwB,CAAC,OAAO,GAAG,OAAO,IAAI,QAAQ,CAChE,qBAAqB,CACnB,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,OAAO,CACR,GAAG;IACF,WAAW,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAA;IACvC,gBAAgB,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAA;CAClD,CACF,CAAA;AAED,0DAA0D;AAC1D,wBAAgB,cAAc,CAAC,OAAO,GAAG,OAAO,EAC9C,UAAU,GAAE,wBAAwB,CAAC,OAAO,CAAM,GACjD,wBAAwB,CAAC,OAAO,CAAC,CAgBnC"}