tempo.ts 0.4.1 → 0.4.2
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/viem/internal/types.d.ts +1 -1
- package/dist/viem/internal/types.d.ts.map +1 -1
- package/dist/wagmi/Actions/amm.d.ts +7 -7
- package/dist/wagmi/Actions/amm.d.ts.map +1 -1
- package/dist/wagmi/Actions/amm.js.map +1 -1
- package/dist/wagmi/Actions/dex.d.ts +15 -15
- package/dist/wagmi/Actions/dex.d.ts.map +1 -1
- package/dist/wagmi/Actions/dex.js.map +1 -1
- package/dist/wagmi/Actions/fee.d.ts +3 -3
- package/dist/wagmi/Actions/fee.d.ts.map +1 -1
- package/dist/wagmi/Actions/fee.js.map +1 -1
- package/dist/wagmi/Actions/reward.d.ts +9 -9
- package/dist/wagmi/Actions/reward.d.ts.map +1 -1
- package/dist/wagmi/Actions/reward.js.map +1 -1
- package/dist/wagmi/Actions/token.d.ts +38 -38
- package/dist/wagmi/Actions/token.d.ts.map +1 -1
- package/dist/wagmi/Actions/token.js.map +1 -1
- package/dist/wagmi/Hooks/amm.js.map +1 -1
- package/dist/wagmi/Hooks/dex.js.map +1 -1
- package/dist/wagmi/Hooks/fee.js.map +1 -1
- package/dist/wagmi/Hooks/reward.js.map +1 -1
- package/dist/wagmi/Hooks/token.js.map +1 -1
- package/package.json +1 -1
- package/src/viem/internal/types.ts +2 -1
- package/src/wagmi/Actions/amm.ts +34 -25
- package/src/wagmi/Actions/dex.ts +71 -61
- package/src/wagmi/Actions/fee.ts +14 -11
- package/src/wagmi/Actions/reward.ts +42 -36
- package/src/wagmi/Actions/token.ts +189 -162
- package/src/wagmi/Hooks/amm.ts +12 -12
- package/src/wagmi/Hooks/dex.ts +28 -28
- package/src/wagmi/Hooks/fee.ts +4 -4
- package/src/wagmi/Hooks/reward.ts +16 -16
- package/src/wagmi/Hooks/token.ts +64 -64
package/src/wagmi/Hooks/amm.ts
CHANGED
|
@@ -196,10 +196,10 @@ export function useRebalanceSwap<
|
|
|
196
196
|
return useMutation({
|
|
197
197
|
...mutation,
|
|
198
198
|
async mutationFn(variables) {
|
|
199
|
-
return Actions.rebalanceSwap(config, variables)
|
|
199
|
+
return Actions.rebalanceSwap(config, variables as never)
|
|
200
200
|
},
|
|
201
201
|
mutationKey: ['rebalanceSwap'],
|
|
202
|
-
})
|
|
202
|
+
}) as never
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
export declare namespace useRebalanceSwap {
|
|
@@ -273,10 +273,10 @@ export function useRebalanceSwapSync<
|
|
|
273
273
|
return useMutation({
|
|
274
274
|
...mutation,
|
|
275
275
|
async mutationFn(variables) {
|
|
276
|
-
return Actions.rebalanceSwapSync(config, variables)
|
|
276
|
+
return Actions.rebalanceSwapSync(config, variables as never)
|
|
277
277
|
},
|
|
278
278
|
mutationKey: ['rebalanceSwapSync'],
|
|
279
|
-
})
|
|
279
|
+
}) as never
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
export declare namespace useRebalanceSwapSync {
|
|
@@ -352,10 +352,10 @@ export function useMint<
|
|
|
352
352
|
return useMutation({
|
|
353
353
|
...mutation,
|
|
354
354
|
async mutationFn(variables) {
|
|
355
|
-
return Actions.mint(config, variables)
|
|
355
|
+
return Actions.mint(config, variables as never)
|
|
356
356
|
},
|
|
357
357
|
mutationKey: ['mint'],
|
|
358
|
-
})
|
|
358
|
+
}) as never
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
export declare namespace useMint {
|
|
@@ -434,10 +434,10 @@ export function useMintSync<
|
|
|
434
434
|
return useMutation({
|
|
435
435
|
...mutation,
|
|
436
436
|
async mutationFn(variables) {
|
|
437
|
-
return Actions.mintSync(config, variables)
|
|
437
|
+
return Actions.mintSync(config, variables as never)
|
|
438
438
|
},
|
|
439
439
|
mutationKey: ['mintSync'],
|
|
440
|
-
})
|
|
440
|
+
}) as never
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
export declare namespace useMintSync {
|
|
@@ -508,10 +508,10 @@ export function useBurn<
|
|
|
508
508
|
return useMutation({
|
|
509
509
|
...mutation,
|
|
510
510
|
async mutationFn(variables) {
|
|
511
|
-
return Actions.burn(config, variables)
|
|
511
|
+
return Actions.burn(config, variables as never)
|
|
512
512
|
},
|
|
513
513
|
mutationKey: ['burn'],
|
|
514
|
-
})
|
|
514
|
+
}) as never
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
export declare namespace useBurn {
|
|
@@ -585,10 +585,10 @@ export function useBurnSync<
|
|
|
585
585
|
return useMutation({
|
|
586
586
|
...mutation,
|
|
587
587
|
async mutationFn(variables) {
|
|
588
|
-
return Actions.burnSync(config, variables)
|
|
588
|
+
return Actions.burnSync(config, variables as never)
|
|
589
589
|
},
|
|
590
590
|
mutationKey: ['burnSync'],
|
|
591
|
-
})
|
|
591
|
+
}) as never
|
|
592
592
|
}
|
|
593
593
|
|
|
594
594
|
export declare namespace useBurnSync {
|
package/src/wagmi/Hooks/dex.ts
CHANGED
|
@@ -82,10 +82,10 @@ export function useBuy<
|
|
|
82
82
|
return useMutation({
|
|
83
83
|
...mutation,
|
|
84
84
|
async mutationFn(variables) {
|
|
85
|
-
return buy(config, variables)
|
|
85
|
+
return buy(config, variables as never)
|
|
86
86
|
},
|
|
87
87
|
mutationKey: ['buy'],
|
|
88
|
-
})
|
|
88
|
+
}) as never
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
export declare namespace useBuy {
|
|
@@ -157,10 +157,10 @@ export function useBuySync<
|
|
|
157
157
|
return useMutation({
|
|
158
158
|
...mutation,
|
|
159
159
|
async mutationFn(variables) {
|
|
160
|
-
return buySync(config, variables)
|
|
160
|
+
return buySync(config, variables as never)
|
|
161
161
|
},
|
|
162
162
|
mutationKey: ['buySync'],
|
|
163
|
-
})
|
|
163
|
+
}) as never
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
export declare namespace useBuySync {
|
|
@@ -224,10 +224,10 @@ export function useCancel<
|
|
|
224
224
|
return useMutation({
|
|
225
225
|
...mutation,
|
|
226
226
|
async mutationFn(variables) {
|
|
227
|
-
return cancel(config, variables)
|
|
227
|
+
return cancel(config, variables as never)
|
|
228
228
|
},
|
|
229
229
|
mutationKey: ['cancel'],
|
|
230
|
-
})
|
|
230
|
+
}) as never
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
export declare namespace useCancel {
|
|
@@ -294,10 +294,10 @@ export function useCancelSync<
|
|
|
294
294
|
return useMutation({
|
|
295
295
|
...mutation,
|
|
296
296
|
async mutationFn(variables) {
|
|
297
|
-
return cancelSync(config, variables)
|
|
297
|
+
return cancelSync(config, variables as never)
|
|
298
298
|
},
|
|
299
299
|
mutationKey: ['cancelSync'],
|
|
300
|
-
})
|
|
300
|
+
}) as never
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
export declare namespace useCancelSync {
|
|
@@ -361,10 +361,10 @@ export function useCreatePair<
|
|
|
361
361
|
return useMutation({
|
|
362
362
|
...mutation,
|
|
363
363
|
async mutationFn(variables) {
|
|
364
|
-
return createPair(config, variables)
|
|
364
|
+
return createPair(config, variables as never)
|
|
365
365
|
},
|
|
366
366
|
mutationKey: ['createPair'],
|
|
367
|
-
})
|
|
367
|
+
}) as never
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
export declare namespace useCreatePair {
|
|
@@ -431,10 +431,10 @@ export function useCreatePairSync<
|
|
|
431
431
|
return useMutation({
|
|
432
432
|
...mutation,
|
|
433
433
|
async mutationFn(variables) {
|
|
434
|
-
return createPairSync(config, variables)
|
|
434
|
+
return createPairSync(config, variables as never)
|
|
435
435
|
},
|
|
436
436
|
mutationKey: ['createPairSync'],
|
|
437
|
-
})
|
|
437
|
+
}) as never
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
export declare namespace useCreatePairSync {
|
|
@@ -950,10 +950,10 @@ export function usePlace<
|
|
|
950
950
|
return useMutation({
|
|
951
951
|
...mutation,
|
|
952
952
|
async mutationFn(variables) {
|
|
953
|
-
return place(config, variables)
|
|
953
|
+
return place(config, variables as never)
|
|
954
954
|
},
|
|
955
955
|
mutationKey: ['place'],
|
|
956
|
-
})
|
|
956
|
+
}) as never
|
|
957
957
|
}
|
|
958
958
|
|
|
959
959
|
export declare namespace usePlace {
|
|
@@ -1023,10 +1023,10 @@ export function usePlaceFlip<
|
|
|
1023
1023
|
return useMutation({
|
|
1024
1024
|
...mutation,
|
|
1025
1025
|
async mutationFn(variables) {
|
|
1026
|
-
return placeFlip(config, variables)
|
|
1026
|
+
return placeFlip(config, variables as never)
|
|
1027
1027
|
},
|
|
1028
1028
|
mutationKey: ['placeFlip'],
|
|
1029
|
-
})
|
|
1029
|
+
}) as never
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
1032
1032
|
export declare namespace usePlaceFlip {
|
|
@@ -1099,10 +1099,10 @@ export function usePlaceFlipSync<
|
|
|
1099
1099
|
return useMutation({
|
|
1100
1100
|
...mutation,
|
|
1101
1101
|
async mutationFn(variables) {
|
|
1102
|
-
return placeFlipSync(config, variables)
|
|
1102
|
+
return placeFlipSync(config, variables as never)
|
|
1103
1103
|
},
|
|
1104
1104
|
mutationKey: ['placeFlipSync'],
|
|
1105
|
-
})
|
|
1105
|
+
}) as never
|
|
1106
1106
|
}
|
|
1107
1107
|
|
|
1108
1108
|
export declare namespace usePlaceFlipSync {
|
|
@@ -1174,10 +1174,10 @@ export function usePlaceSync<
|
|
|
1174
1174
|
return useMutation({
|
|
1175
1175
|
...mutation,
|
|
1176
1176
|
async mutationFn(variables) {
|
|
1177
|
-
return placeSync(config, variables)
|
|
1177
|
+
return placeSync(config, variables as never)
|
|
1178
1178
|
},
|
|
1179
1179
|
mutationKey: ['placeSync'],
|
|
1180
|
-
})
|
|
1180
|
+
}) as never
|
|
1181
1181
|
}
|
|
1182
1182
|
|
|
1183
1183
|
export declare namespace usePlaceSync {
|
|
@@ -1246,10 +1246,10 @@ export function useSell<
|
|
|
1246
1246
|
return useMutation({
|
|
1247
1247
|
...mutation,
|
|
1248
1248
|
async mutationFn(variables) {
|
|
1249
|
-
return sell(config, variables)
|
|
1249
|
+
return sell(config, variables as never)
|
|
1250
1250
|
},
|
|
1251
1251
|
mutationKey: ['sell'],
|
|
1252
|
-
})
|
|
1252
|
+
}) as never
|
|
1253
1253
|
}
|
|
1254
1254
|
|
|
1255
1255
|
export declare namespace useSell {
|
|
@@ -1321,10 +1321,10 @@ export function useSellSync<
|
|
|
1321
1321
|
return useMutation({
|
|
1322
1322
|
...mutation,
|
|
1323
1323
|
async mutationFn(variables) {
|
|
1324
|
-
return sellSync(config, variables)
|
|
1324
|
+
return sellSync(config, variables as never)
|
|
1325
1325
|
},
|
|
1326
1326
|
mutationKey: ['sellSync'],
|
|
1327
|
-
})
|
|
1327
|
+
}) as never
|
|
1328
1328
|
}
|
|
1329
1329
|
|
|
1330
1330
|
export declare namespace useSellSync {
|
|
@@ -1391,10 +1391,10 @@ export function useWithdraw<
|
|
|
1391
1391
|
return useMutation({
|
|
1392
1392
|
...mutation,
|
|
1393
1393
|
async mutationFn(variables) {
|
|
1394
|
-
return withdraw(config, variables)
|
|
1394
|
+
return withdraw(config, variables as never)
|
|
1395
1395
|
},
|
|
1396
1396
|
mutationKey: ['withdraw'],
|
|
1397
|
-
})
|
|
1397
|
+
}) as never
|
|
1398
1398
|
}
|
|
1399
1399
|
|
|
1400
1400
|
export declare namespace useWithdraw {
|
|
@@ -1464,10 +1464,10 @@ export function useWithdrawSync<
|
|
|
1464
1464
|
return useMutation({
|
|
1465
1465
|
...mutation,
|
|
1466
1466
|
async mutationFn(variables) {
|
|
1467
|
-
return withdrawSync(config, variables)
|
|
1467
|
+
return withdrawSync(config, variables as never)
|
|
1468
1468
|
},
|
|
1469
1469
|
mutationKey: ['withdrawSync'],
|
|
1470
|
-
})
|
|
1470
|
+
}) as never
|
|
1471
1471
|
}
|
|
1472
1472
|
|
|
1473
1473
|
export declare namespace useWithdrawSync {
|
package/src/wagmi/Hooks/fee.ts
CHANGED
|
@@ -103,10 +103,10 @@ export function useSetUserToken<
|
|
|
103
103
|
return useMutation({
|
|
104
104
|
...mutation,
|
|
105
105
|
async mutationFn(variables) {
|
|
106
|
-
return setUserToken(config, variables)
|
|
106
|
+
return setUserToken(config, variables as never)
|
|
107
107
|
},
|
|
108
108
|
mutationKey: ['setUserTokenSync'],
|
|
109
|
-
})
|
|
109
|
+
}) as never
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
export declare namespace useSetUserToken {
|
|
@@ -173,10 +173,10 @@ export function useSetUserTokenSync<
|
|
|
173
173
|
return useMutation({
|
|
174
174
|
...mutation,
|
|
175
175
|
async mutationFn(variables) {
|
|
176
|
-
return setUserTokenSync(config, variables)
|
|
176
|
+
return setUserTokenSync(config, variables as never)
|
|
177
177
|
},
|
|
178
178
|
mutationKey: ['setUserTokenSync'],
|
|
179
|
-
})
|
|
179
|
+
}) as never
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
export declare namespace useSetUserTokenSync {
|
|
@@ -47,10 +47,10 @@ export function useCancel<
|
|
|
47
47
|
return useMutation({
|
|
48
48
|
...mutation,
|
|
49
49
|
async mutationFn(variables) {
|
|
50
|
-
return Actions.cancel(config, variables)
|
|
50
|
+
return Actions.cancel(config, variables as never)
|
|
51
51
|
},
|
|
52
52
|
mutationKey: ['cancel'],
|
|
53
|
-
})
|
|
53
|
+
}) as never
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
export declare namespace useCancel {
|
|
@@ -114,10 +114,10 @@ export function useCancelSync<
|
|
|
114
114
|
return useMutation({
|
|
115
115
|
...mutation,
|
|
116
116
|
async mutationFn(variables) {
|
|
117
|
-
return Actions.cancelSync(config, variables)
|
|
117
|
+
return Actions.cancelSync(config, variables as never)
|
|
118
118
|
},
|
|
119
119
|
mutationKey: ['cancelSync'],
|
|
120
|
-
})
|
|
120
|
+
}) as never
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
export declare namespace useCancelSync {
|
|
@@ -180,10 +180,10 @@ export function useClaim<
|
|
|
180
180
|
return useMutation({
|
|
181
181
|
...mutation,
|
|
182
182
|
async mutationFn(variables) {
|
|
183
|
-
return Actions.claim(config, variables)
|
|
183
|
+
return Actions.claim(config, variables as never)
|
|
184
184
|
},
|
|
185
185
|
mutationKey: ['claim'],
|
|
186
|
-
})
|
|
186
|
+
}) as never
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
export declare namespace useClaim {
|
|
@@ -246,10 +246,10 @@ export function useClaimSync<
|
|
|
246
246
|
return useMutation({
|
|
247
247
|
...mutation,
|
|
248
248
|
async mutationFn(variables) {
|
|
249
|
-
return Actions.claimSync(config, variables)
|
|
249
|
+
return Actions.claimSync(config, variables as never)
|
|
250
250
|
},
|
|
251
251
|
mutationKey: ['claimSync'],
|
|
252
|
-
})
|
|
252
|
+
}) as never
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
export declare namespace useClaimSync {
|
|
@@ -436,10 +436,10 @@ export function useSetRecipient<
|
|
|
436
436
|
return useMutation({
|
|
437
437
|
...mutation,
|
|
438
438
|
async mutationFn(variables) {
|
|
439
|
-
return Actions.setRecipient(config, variables)
|
|
439
|
+
return Actions.setRecipient(config, variables as never)
|
|
440
440
|
},
|
|
441
441
|
mutationKey: ['setRecipient'],
|
|
442
|
-
})
|
|
442
|
+
}) as never
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
export declare namespace useSetRecipient {
|
|
@@ -503,10 +503,10 @@ export function useSetRecipientSync<
|
|
|
503
503
|
return useMutation({
|
|
504
504
|
...mutation,
|
|
505
505
|
async mutationFn(variables) {
|
|
506
|
-
return Actions.setRecipientSync(config, variables)
|
|
506
|
+
return Actions.setRecipientSync(config, variables as never)
|
|
507
507
|
},
|
|
508
508
|
mutationKey: ['setRecipientSync'],
|
|
509
|
-
})
|
|
509
|
+
}) as never
|
|
510
510
|
}
|
|
511
511
|
|
|
512
512
|
export declare namespace useSetRecipientSync {
|
|
@@ -571,10 +571,10 @@ export function useStart<
|
|
|
571
571
|
return useMutation({
|
|
572
572
|
...mutation,
|
|
573
573
|
async mutationFn(variables) {
|
|
574
|
-
return Actions.start(config, variables)
|
|
574
|
+
return Actions.start(config, variables as never)
|
|
575
575
|
},
|
|
576
576
|
mutationKey: ['start'],
|
|
577
|
-
})
|
|
577
|
+
}) as never
|
|
578
578
|
}
|
|
579
579
|
|
|
580
580
|
export declare namespace useStart {
|
|
@@ -639,10 +639,10 @@ export function useStartSync<
|
|
|
639
639
|
return useMutation({
|
|
640
640
|
...mutation,
|
|
641
641
|
async mutationFn(variables) {
|
|
642
|
-
return Actions.startSync(config, variables)
|
|
642
|
+
return Actions.startSync(config, variables as never)
|
|
643
643
|
},
|
|
644
644
|
mutationKey: ['startSync'],
|
|
645
|
-
})
|
|
645
|
+
}) as never
|
|
646
646
|
}
|
|
647
647
|
|
|
648
648
|
export declare namespace useStartSync {
|