@0xtorch/core 0.0.26 → 0.0.28

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 (98) hide show
  1. package/_cjs/assets/schemas/nft.js +1 -0
  2. package/_cjs/assets/schemas/nft.js.map +1 -1
  3. package/_cjs/utils/rest.js +0 -12
  4. package/_cjs/utils/rest.js.map +1 -1
  5. package/_esm/assets/schemas/nft.js +1 -0
  6. package/_esm/assets/schemas/nft.js.map +1 -1
  7. package/_esm/utils/rest.js +0 -12
  8. package/_esm/utils/rest.js.map +1 -1
  9. package/_types/actions/schemas/action.d.ts +1219 -0
  10. package/_types/actions/schemas/action.d.ts.map +1 -1
  11. package/_types/actions/schemas/borrow/borrow.d.ts +26 -0
  12. package/_types/actions/schemas/borrow/borrow.d.ts.map +1 -1
  13. package/_types/actions/schemas/crossActionBundle.d.ts +90 -0
  14. package/_types/actions/schemas/crossActionBundle.d.ts.map +1 -1
  15. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts +26 -0
  16. package/_types/actions/schemas/crossReplace/bridgeFrom.d.ts.map +1 -1
  17. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts +26 -0
  18. package/_types/actions/schemas/crossReplace/bridgeTo.d.ts.map +1 -1
  19. package/_types/actions/schemas/crossReplace/crossReplace.d.ts +52 -0
  20. package/_types/actions/schemas/crossReplace/crossReplace.d.ts.map +1 -1
  21. package/_types/actions/schemas/crossTrade/crossTrade.d.ts +52 -0
  22. package/_types/actions/schemas/crossTrade/crossTrade.d.ts.map +1 -1
  23. package/_types/actions/schemas/default/accountAction.d.ts +99 -0
  24. package/_types/actions/schemas/default/accountAction.d.ts.map +1 -1
  25. package/_types/actions/schemas/default/normalAction.d.ts +99 -0
  26. package/_types/actions/schemas/default/normalAction.d.ts.map +1 -1
  27. package/_types/actions/schemas/default/transfer.d.ts +88 -0
  28. package/_types/actions/schemas/default/transfer.d.ts.map +1 -1
  29. package/_types/actions/schemas/deposit/addLiquidity.d.ts +52 -0
  30. package/_types/actions/schemas/deposit/addLiquidity.d.ts.map +1 -1
  31. package/_types/actions/schemas/deposit/deposit.d.ts +26 -0
  32. package/_types/actions/schemas/deposit/deposit.d.ts.map +1 -1
  33. package/_types/actions/schemas/deposit/depositWithBond.d.ts +52 -0
  34. package/_types/actions/schemas/deposit/depositWithBond.d.ts.map +1 -1
  35. package/_types/actions/schemas/deposit/stake.d.ts +26 -0
  36. package/_types/actions/schemas/deposit/stake.d.ts.map +1 -1
  37. package/_types/actions/schemas/ignore/ignore.d.ts +39 -0
  38. package/_types/actions/schemas/ignore/ignore.d.ts.map +1 -1
  39. package/_types/actions/schemas/ignore/move.d.ts +39 -0
  40. package/_types/actions/schemas/ignore/move.d.ts.map +1 -1
  41. package/_types/actions/schemas/ignore/receiveFromCex.d.ts +26 -0
  42. package/_types/actions/schemas/ignore/receiveFromCex.d.ts.map +1 -1
  43. package/_types/actions/schemas/ignore/sendToCex.d.ts +26 -0
  44. package/_types/actions/schemas/ignore/sendToCex.d.ts.map +1 -1
  45. package/_types/actions/schemas/ignore/spam.d.ts +52 -0
  46. package/_types/actions/schemas/ignore/spam.d.ts.map +1 -1
  47. package/_types/actions/schemas/income/freeMintNft.d.ts +26 -0
  48. package/_types/actions/schemas/income/freeMintNft.d.ts.map +1 -1
  49. package/_types/actions/schemas/income/income.d.ts +26 -0
  50. package/_types/actions/schemas/income/income.d.ts.map +1 -1
  51. package/_types/actions/schemas/income/swapIncome.d.ts +13 -0
  52. package/_types/actions/schemas/income/swapIncome.d.ts.map +1 -1
  53. package/_types/actions/schemas/reduce/reduce.d.ts +13 -0
  54. package/_types/actions/schemas/reduce/reduce.d.ts.map +1 -1
  55. package/_types/actions/schemas/repayment/repayment.d.ts +26 -0
  56. package/_types/actions/schemas/repayment/repayment.d.ts.map +1 -1
  57. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts +52 -0
  58. package/_types/actions/schemas/repayment/repaymentWithDebt.d.ts.map +1 -1
  59. package/_types/actions/schemas/replace/replace.d.ts +52 -0
  60. package/_types/actions/schemas/replace/replace.d.ts.map +1 -1
  61. package/_types/actions/schemas/replace/swapNft.d.ts +52 -0
  62. package/_types/actions/schemas/replace/swapNft.d.ts.map +1 -1
  63. package/_types/actions/schemas/trade/buyNft.d.ts +26 -0
  64. package/_types/actions/schemas/trade/buyNft.d.ts.map +1 -1
  65. package/_types/actions/schemas/trade/mintNft.d.ts +26 -0
  66. package/_types/actions/schemas/trade/mintNft.d.ts.map +1 -1
  67. package/_types/actions/schemas/trade/sellNft.d.ts +26 -0
  68. package/_types/actions/schemas/trade/sellNft.d.ts.map +1 -1
  69. package/_types/actions/schemas/trade/trade.d.ts +52 -0
  70. package/_types/actions/schemas/trade/trade.d.ts.map +1 -1
  71. package/_types/actions/schemas/transfer/swapTransfer.d.ts +13 -0
  72. package/_types/actions/schemas/transfer/swapTransfer.d.ts.map +1 -1
  73. package/_types/actions/schemas/transfer/transfer.d.ts +52 -0
  74. package/_types/actions/schemas/transfer/transfer.d.ts.map +1 -1
  75. package/_types/actions/schemas/valuedown/valuedown.d.ts +44 -0
  76. package/_types/actions/schemas/valuedown/valuedown.d.ts.map +1 -1
  77. package/_types/actions/schemas/valueup/valueup.d.ts +44 -0
  78. package/_types/actions/schemas/valueup/valueup.d.ts.map +1 -1
  79. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts +52 -0
  80. package/_types/actions/schemas/withdraw/removeLiquidity.d.ts.map +1 -1
  81. package/_types/actions/schemas/withdraw/unstake.d.ts +26 -0
  82. package/_types/actions/schemas/withdraw/unstake.d.ts.map +1 -1
  83. package/_types/actions/schemas/withdraw/withdraw.d.ts +26 -0
  84. package/_types/actions/schemas/withdraw/withdraw.d.ts.map +1 -1
  85. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts +52 -0
  86. package/_types/actions/schemas/withdraw/withdrawWithBond.d.ts.map +1 -1
  87. package/_types/actions/utils.d.ts +3 -0
  88. package/_types/actions/utils.d.ts.map +1 -1
  89. package/_types/assets/schemas/asset.d.ts +5 -0
  90. package/_types/assets/schemas/asset.d.ts.map +1 -1
  91. package/_types/assets/schemas/nft.d.ts +5 -0
  92. package/_types/assets/schemas/nft.d.ts.map +1 -1
  93. package/_types/setAccountActionPrices.d.ts +51 -0
  94. package/_types/setAccountActionPrices.d.ts.map +1 -1
  95. package/_types/utils/rest.d.ts.map +1 -1
  96. package/assets/schemas/nft.ts +1 -0
  97. package/package.json +1 -1
  98. package/utils/rest.ts +0 -11
@@ -1 +1 @@
1
- {"version":3,"file":"nft.d.ts","sourceRoot":"","sources":["../../../assets/schemas/nft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAejB,CAAA"}
1
+ {"version":3,"file":"nft.d.ts","sourceRoot":"","sources":["../../../assets/schemas/nft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBjB,CAAA"}
@@ -72,6 +72,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
72
72
  metadata: string | undefined;
73
73
  type: "Nft";
74
74
  id: string;
75
+ updatedAt: number;
75
76
  };
76
77
  amount: {
77
78
  value: bigint;
@@ -147,6 +148,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
147
148
  metadata: string | undefined;
148
149
  type: "Nft";
149
150
  id: string;
151
+ updatedAt: number;
150
152
  };
151
153
  amount: {
152
154
  value: bigint;
@@ -223,6 +225,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
223
225
  metadata: string | undefined;
224
226
  type: "Nft";
225
227
  id: string;
228
+ updatedAt: number;
226
229
  };
227
230
  amount: {
228
231
  value: bigint;
@@ -287,6 +290,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
287
290
  metadata: string | undefined;
288
291
  type: "Nft";
289
292
  id: string;
293
+ updatedAt: number;
290
294
  };
291
295
  amount: {
292
296
  value: bigint;
@@ -332,6 +336,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
332
336
  metadata: string | undefined;
333
337
  type: "Nft";
334
338
  id: string;
339
+ updatedAt: number;
335
340
  };
336
341
  amount: {
337
342
  value: bigint;
@@ -396,6 +401,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
396
401
  metadata: string | undefined;
397
402
  type: "Nft";
398
403
  id: string;
404
+ updatedAt: number;
399
405
  };
400
406
  amount: {
401
407
  value: bigint;
@@ -441,6 +447,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
441
447
  metadata: string | undefined;
442
448
  type: "Nft";
443
449
  id: string;
450
+ updatedAt: number;
444
451
  };
445
452
  amount: {
446
453
  value: bigint;
@@ -517,6 +524,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
517
524
  metadata: string | undefined;
518
525
  type: "Nft";
519
526
  id: string;
527
+ updatedAt: number;
520
528
  };
521
529
  amount: {
522
530
  value: bigint;
@@ -574,6 +582,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
574
582
  metadata: string | undefined;
575
583
  type: "Nft";
576
584
  id: string;
585
+ updatedAt: number;
577
586
  };
578
587
  amount: {
579
588
  value: bigint;
@@ -649,6 +658,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
649
658
  metadata: string | undefined;
650
659
  type: "Nft";
651
660
  id: string;
661
+ updatedAt: number;
652
662
  };
653
663
  amount: {
654
664
  value: bigint;
@@ -724,6 +734,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
724
734
  metadata: string | undefined;
725
735
  type: "Nft";
726
736
  id: string;
737
+ updatedAt: number;
727
738
  };
728
739
  amount: {
729
740
  value: bigint;
@@ -781,6 +792,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
781
792
  metadata: string | undefined;
782
793
  type: "Nft";
783
794
  id: string;
795
+ updatedAt: number;
784
796
  };
785
797
  amount: {
786
798
  value: bigint;
@@ -856,6 +868,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
856
868
  metadata: string | undefined;
857
869
  type: "Nft";
858
870
  id: string;
871
+ updatedAt: number;
859
872
  };
860
873
  amount: {
861
874
  value: bigint;
@@ -1075,6 +1088,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1075
1088
  metadata: string | undefined;
1076
1089
  type: "Nft";
1077
1090
  id: string;
1091
+ updatedAt: number;
1078
1092
  };
1079
1093
  amount: {
1080
1094
  value: bigint;
@@ -1120,6 +1134,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1120
1134
  metadata: string | undefined;
1121
1135
  type: "Nft";
1122
1136
  id: string;
1137
+ updatedAt: number;
1123
1138
  };
1124
1139
  amount: {
1125
1140
  value: bigint;
@@ -1165,6 +1180,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1165
1180
  metadata: string | undefined;
1166
1181
  type: "Nft";
1167
1182
  id: string;
1183
+ updatedAt: number;
1168
1184
  };
1169
1185
  amount: {
1170
1186
  value: bigint;
@@ -1227,6 +1243,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1227
1243
  metadata: string | undefined;
1228
1244
  type: "Nft";
1229
1245
  id: string;
1246
+ updatedAt: number;
1230
1247
  };
1231
1248
  amount: {
1232
1249
  value: bigint;
@@ -1272,6 +1289,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1272
1289
  metadata: string | undefined;
1273
1290
  type: "Nft";
1274
1291
  id: string;
1292
+ updatedAt: number;
1275
1293
  };
1276
1294
  amount: {
1277
1295
  value: bigint;
@@ -1317,6 +1335,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1317
1335
  metadata: string | undefined;
1318
1336
  type: "Nft";
1319
1337
  id: string;
1338
+ updatedAt: number;
1320
1339
  };
1321
1340
  amount: {
1322
1341
  value: bigint;
@@ -1391,6 +1410,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1391
1410
  metadata: string | undefined;
1392
1411
  type: "Nft";
1393
1412
  id: string;
1413
+ updatedAt: number;
1394
1414
  };
1395
1415
  amount: {
1396
1416
  value: bigint;
@@ -1482,6 +1502,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1482
1502
  metadata: string | undefined;
1483
1503
  type: "Nft";
1484
1504
  id: string;
1505
+ updatedAt: number;
1485
1506
  };
1486
1507
  amount: {
1487
1508
  value: bigint;
@@ -1556,6 +1577,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1556
1577
  metadata: string | undefined;
1557
1578
  type: "Nft";
1558
1579
  id: string;
1580
+ updatedAt: number;
1559
1581
  };
1560
1582
  amount: {
1561
1583
  value: bigint;
@@ -1613,6 +1635,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1613
1635
  metadata: string | undefined;
1614
1636
  type: "Nft";
1615
1637
  id: string;
1638
+ updatedAt: number;
1616
1639
  };
1617
1640
  amount: {
1618
1641
  value: bigint;
@@ -1736,6 +1759,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1736
1759
  metadata: string | undefined;
1737
1760
  type: "Nft";
1738
1761
  id: string;
1762
+ updatedAt: number;
1739
1763
  };
1740
1764
  amount: {
1741
1765
  value: bigint;
@@ -1798,6 +1822,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1798
1822
  metadata: string | undefined;
1799
1823
  type: "Nft";
1800
1824
  id: string;
1825
+ updatedAt: number;
1801
1826
  };
1802
1827
  amount: {
1803
1828
  value: bigint;
@@ -1945,6 +1970,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
1945
1970
  metadata: string | undefined;
1946
1971
  type: "Nft";
1947
1972
  id: string;
1973
+ updatedAt: number;
1948
1974
  };
1949
1975
  amount: {
1950
1976
  value: bigint;
@@ -2019,6 +2045,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
2019
2045
  metadata: string | undefined;
2020
2046
  type: "Nft";
2021
2047
  id: string;
2048
+ updatedAt: number;
2022
2049
  };
2023
2050
  amount: {
2024
2051
  value: bigint;
@@ -2093,6 +2120,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
2093
2120
  metadata: string | undefined;
2094
2121
  type: "Nft";
2095
2122
  id: string;
2123
+ updatedAt: number;
2096
2124
  };
2097
2125
  amount: {
2098
2126
  value: bigint;
@@ -2168,6 +2196,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
2168
2196
  metadata: string | undefined;
2169
2197
  type: "Nft";
2170
2198
  id: string;
2199
+ updatedAt: number;
2171
2200
  };
2172
2201
  amount: {
2173
2202
  value: bigint;
@@ -2225,6 +2254,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
2225
2254
  metadata: string | undefined;
2226
2255
  type: "Nft";
2227
2256
  id: string;
2257
+ updatedAt: number;
2228
2258
  };
2229
2259
  amount: {
2230
2260
  value: bigint;
@@ -2300,6 +2330,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
2300
2330
  metadata: string | undefined;
2301
2331
  type: "Nft";
2302
2332
  id: string;
2333
+ updatedAt: number;
2303
2334
  };
2304
2335
  amount: {
2305
2336
  value: bigint;
@@ -2357,6 +2388,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
2357
2388
  metadata: string | undefined;
2358
2389
  type: "Nft";
2359
2390
  id: string;
2391
+ updatedAt: number;
2360
2392
  };
2361
2393
  amount: {
2362
2394
  value: bigint;
@@ -2399,6 +2431,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
2399
2431
  metadata: string | undefined;
2400
2432
  type: "Nft";
2401
2433
  id: string;
2434
+ updatedAt: number;
2402
2435
  };
2403
2436
  amount: {
2404
2437
  value: bigint;
@@ -2424,6 +2457,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
2424
2457
  metadata: string | undefined;
2425
2458
  type: "Nft";
2426
2459
  id: string;
2460
+ updatedAt: number;
2427
2461
  };
2428
2462
  amount: {
2429
2463
  value: bigint;
@@ -2701,6 +2735,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
2701
2735
  metadata: string | undefined;
2702
2736
  type: "Nft";
2703
2737
  id: string;
2738
+ updatedAt: number;
2704
2739
  };
2705
2740
  amount: {
2706
2741
  value: bigint;
@@ -2799,6 +2834,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
2799
2834
  metadata: string | undefined;
2800
2835
  type: "Nft";
2801
2836
  id: string;
2837
+ updatedAt: number;
2802
2838
  };
2803
2839
  amount: {
2804
2840
  value: bigint;
@@ -3026,6 +3062,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3026
3062
  metadata: string | undefined;
3027
3063
  type: "Nft";
3028
3064
  id: string;
3065
+ updatedAt: number;
3029
3066
  };
3030
3067
  amount: {
3031
3068
  value: bigint;
@@ -3088,6 +3125,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3088
3125
  metadata: string | undefined;
3089
3126
  type: "Nft";
3090
3127
  id: string;
3128
+ updatedAt: number;
3091
3129
  };
3092
3130
  amount: {
3093
3131
  value: bigint;
@@ -3133,6 +3171,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3133
3171
  metadata: string | undefined;
3134
3172
  type: "Nft";
3135
3173
  id: string;
3174
+ updatedAt: number;
3136
3175
  };
3137
3176
  amount: {
3138
3177
  value: bigint;
@@ -3207,6 +3246,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3207
3246
  metadata: string | undefined;
3208
3247
  type: "Nft";
3209
3248
  id: string;
3249
+ updatedAt: number;
3210
3250
  };
3211
3251
  amount: {
3212
3252
  value: bigint;
@@ -3269,6 +3309,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3269
3309
  metadata: string | undefined;
3270
3310
  type: "Nft";
3271
3311
  id: string;
3312
+ updatedAt: number;
3272
3313
  };
3273
3314
  amount: {
3274
3315
  value: bigint;
@@ -3331,6 +3372,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3331
3372
  metadata: string | undefined;
3332
3373
  type: "Nft";
3333
3374
  id: string;
3375
+ updatedAt: number;
3334
3376
  };
3335
3377
  amount: {
3336
3378
  value: bigint;
@@ -3345,6 +3387,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3345
3387
  metadata: string | undefined;
3346
3388
  type: "Nft";
3347
3389
  id: string;
3390
+ updatedAt: number;
3348
3391
  };
3349
3392
  } | {
3350
3393
  comment: string | undefined;
@@ -3401,6 +3444,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3401
3444
  metadata: string | undefined;
3402
3445
  type: "Nft";
3403
3446
  id: string;
3447
+ updatedAt: number;
3404
3448
  };
3405
3449
  amount: {
3406
3450
  value: bigint;
@@ -3415,6 +3459,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3415
3459
  metadata: string | undefined;
3416
3460
  type: "Nft";
3417
3461
  id: string;
3462
+ updatedAt: number;
3418
3463
  };
3419
3464
  } | {
3420
3465
  comment: string | undefined;
@@ -3483,6 +3528,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3483
3528
  metadata: string | undefined;
3484
3529
  type: "Nft";
3485
3530
  id: string;
3531
+ updatedAt: number;
3486
3532
  };
3487
3533
  amount: {
3488
3534
  value: bigint;
@@ -3540,6 +3586,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3540
3586
  metadata: string | undefined;
3541
3587
  type: "Nft";
3542
3588
  id: string;
3589
+ updatedAt: number;
3543
3590
  };
3544
3591
  amount: {
3545
3592
  value: bigint;
@@ -3615,6 +3662,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3615
3662
  metadata: string | undefined;
3616
3663
  type: "Nft";
3617
3664
  id: string;
3665
+ updatedAt: number;
3618
3666
  };
3619
3667
  amount: {
3620
3668
  value: bigint;
@@ -3690,6 +3738,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3690
3738
  metadata: string | undefined;
3691
3739
  type: "Nft";
3692
3740
  id: string;
3741
+ updatedAt: number;
3693
3742
  };
3694
3743
  amount: {
3695
3744
  value: bigint;
@@ -3765,6 +3814,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3765
3814
  metadata: string | undefined;
3766
3815
  type: "Nft";
3767
3816
  id: string;
3817
+ updatedAt: number;
3768
3818
  };
3769
3819
  amount: {
3770
3820
  value: bigint;
@@ -3822,6 +3872,7 @@ export declare const setAccountActionPrices: ({ actions, fiat, cryptoCurrencyDat
3822
3872
  metadata: string | undefined;
3823
3873
  type: "Nft";
3824
3874
  id: string;
3875
+ updatedAt: number;
3825
3876
  };
3826
3877
  amount: {
3827
3878
  value: bigint;
@@ -1 +1 @@
1
- {"version":3,"file":"setAccountActionPrices.d.ts","sourceRoot":"","sources":["../setAccountActionPrices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,KAAK,EAEV,wBAAwB,EAExB,YAAY,EACb,MAAM,UAAU,CAAA;AAEjB,KAAK,gCAAgC,GAAG;IACtC,QAAQ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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqBlC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"rest.d.ts","sourceRoot":"","sources":["../../utils/rest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAItC,MAAM,MAAM,MAAM,CAAC,KAAK,IAAI;IAC1B,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,KAAK,CAAA;CAChC,CAAA;AAED,KAAK,WAAW,CAAC,KAAK,IAAI;IAExB,YAAY,CAAC,EAAE,WAAW,CAAA;IAE1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,IAAI,eACV,MAAM,kFAgFZ,CAAA"}
1
+ {"version":3,"file":"rest.d.ts","sourceRoot":"","sources":["../../utils/rest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAItC,MAAM,MAAM,MAAM,CAAC,KAAK,IAAI;IAC1B,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,KAAK,CAAA;CAChC,CAAA;AAED,KAAK,WAAW,CAAC,KAAK,IAAI;IAExB,YAAY,CAAC,EAAE,WAAW,CAAA;IAE1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,IAAI,eACV,MAAM,kFAqEZ,CAAA"}
@@ -8,6 +8,7 @@ export const nftSchema = z
8
8
  symbol: z.string().optional(),
9
9
  image: z.string().optional(),
10
10
  metadata: z.string().optional(),
11
+ updatedAt: z.number().int().positive(),
11
12
  })
12
13
  .transform((v) => ({
13
14
  ...v,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xtorch/core",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "Cryptorch | TypeScript Analyze Interface for Crypto Data.",
5
5
  "keywords": [
6
6
  "cryptorch",
package/utils/rest.ts CHANGED
@@ -28,7 +28,6 @@ export const rest = async <TData>(
28
28
  }
29
29
 
30
30
  try {
31
- console.log('start request')
32
31
  const response = await withTimeout(
33
32
  async ({ signal }) =>
34
33
  await fetch(url, {
@@ -48,17 +47,14 @@ export const rest = async <TData>(
48
47
  signal: true,
49
48
  },
50
49
  )
51
- console.log('end request')
52
50
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
53
51
  const data =
54
52
  response.headers.get('Content-Type')?.startsWith('application/json') ===
55
53
  true
56
54
  ? await response.json()
57
55
  : await response.text()
58
- console.log('end decode')
59
56
 
60
57
  if (!response.ok) {
61
- console.log('response failed')
62
58
  const errorStringify =
63
59
  typeof data === 'object' && data !== null && 'error' in data
64
60
  ? // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
@@ -73,13 +69,6 @@ export const rest = async <TData>(
73
69
  })
74
70
  }
75
71
 
76
- if (typeof data === 'string') {
77
- console.log('data is string')
78
- console.log(data)
79
- } else {
80
- console.log('data is object')
81
- console.log(JSON.stringify(data))
82
- }
83
72
  return schema.parse(data)
84
73
  } catch (error) {
85
74
  if (