@paxoslabs/amplify-sdk 0.4.2 → 0.4.3-alpha.0

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 (52) hide show
  1. package/CHANGELOG.md +79 -64
  2. package/dist/{chain-utils-CRMbWzu7.d.mts → chain-utils-CbVFMjwR.d.mts} +13 -1
  3. package/dist/{chain-utils-CRMbWzu7.d.ts → chain-utils-CbVFMjwR.d.ts} +13 -1
  4. package/dist/{chunk-5CV25BTQ.js → chunk-4OEL42W2.mjs} +83 -4
  5. package/dist/chunk-4OEL42W2.mjs.map +1 -0
  6. package/dist/{chunk-RW7PZETN.mjs → chunk-7RAFG3NI.mjs} +167 -228
  7. package/dist/chunk-7RAFG3NI.mjs.map +1 -0
  8. package/dist/{chunk-CQZCGPZK.mjs → chunk-E2HBXOZY.js} +92 -3
  9. package/dist/chunk-E2HBXOZY.js.map +1 -0
  10. package/dist/{chunk-WZXCJAKM.js → chunk-EHRZFLWL.js} +12 -12
  11. package/dist/{chunk-WZXCJAKM.js.map → chunk-EHRZFLWL.js.map} +1 -1
  12. package/dist/{chunk-GMMBJB4B.mjs → chunk-GSYGURYO.mjs} +71 -46
  13. package/dist/chunk-GSYGURYO.mjs.map +1 -0
  14. package/dist/{chunk-VZED4E3L.mjs → chunk-HBFBGNRH.mjs} +3 -3
  15. package/dist/{chunk-VZED4E3L.mjs.map → chunk-HBFBGNRH.mjs.map} +1 -1
  16. package/dist/{chunk-TPU2HZAX.mjs → chunk-L3X5UBG6.mjs} +86 -169
  17. package/dist/chunk-L3X5UBG6.mjs.map +1 -0
  18. package/dist/{chunk-BQG3XKTU.js → chunk-R5G6F7RP.js} +168 -227
  19. package/dist/chunk-R5G6F7RP.js.map +1 -0
  20. package/dist/{chunk-OZJNKGW6.js → chunk-WHL5LQRP.js} +120 -95
  21. package/dist/chunk-WHL5LQRP.js.map +1 -0
  22. package/dist/{chunk-2YPKHXFJ.js → chunk-ZJBJFFBQ.js} +180 -263
  23. package/dist/chunk-ZJBJFFBQ.js.map +1 -0
  24. package/dist/core.d.mts +2 -2
  25. package/dist/core.d.ts +2 -2
  26. package/dist/core.js +16 -16
  27. package/dist/core.mjs +4 -4
  28. package/dist/display.d.mts +23 -11
  29. package/dist/display.d.ts +23 -11
  30. package/dist/display.js +10 -10
  31. package/dist/display.mjs +4 -4
  32. package/dist/index.d.mts +107 -7
  33. package/dist/index.d.ts +107 -7
  34. package/dist/index.js +75 -51
  35. package/dist/index.mjs +5 -5
  36. package/dist/utils.d.mts +1 -1
  37. package/dist/utils.d.ts +1 -1
  38. package/dist/utils.js +7 -7
  39. package/dist/utils.mjs +2 -2
  40. package/dist/vaults.d.mts +107 -94
  41. package/dist/vaults.d.ts +107 -94
  42. package/dist/vaults.js +25 -25
  43. package/dist/vaults.mjs +4 -4
  44. package/package.json +18 -11
  45. package/dist/chunk-2YPKHXFJ.js.map +0 -1
  46. package/dist/chunk-5CV25BTQ.js.map +0 -1
  47. package/dist/chunk-BQG3XKTU.js.map +0 -1
  48. package/dist/chunk-CQZCGPZK.mjs.map +0 -1
  49. package/dist/chunk-GMMBJB4B.mjs.map +0 -1
  50. package/dist/chunk-OZJNKGW6.js.map +0 -1
  51. package/dist/chunk-RW7PZETN.mjs.map +0 -1
  52. package/dist/chunk-TPU2HZAX.mjs.map +0 -1
package/dist/index.js CHANGED
@@ -1,197 +1,221 @@
1
1
  'use strict';
2
2
 
3
- var chunk2YPKHXFJ_js = require('./chunk-2YPKHXFJ.js');
4
- var chunkOZJNKGW6_js = require('./chunk-OZJNKGW6.js');
5
- require('./chunk-5CV25BTQ.js');
6
- require('./chunk-WZXCJAKM.js');
3
+ var chunkZJBJFFBQ_js = require('./chunk-ZJBJFFBQ.js');
4
+ var chunkWHL5LQRP_js = require('./chunk-WHL5LQRP.js');
5
+ var chunkE2HBXOZY_js = require('./chunk-E2HBXOZY.js');
6
+ require('./chunk-EHRZFLWL.js');
7
7
  require('./chunk-3I3PYX2F.js');
8
- var chunkBQG3XKTU_js = require('./chunk-BQG3XKTU.js');
8
+ var chunkR5G6F7RP_js = require('./chunk-R5G6F7RP.js');
9
9
 
10
10
 
11
11
 
12
12
  Object.defineProperty(exports, "DepositAuthMethod", {
13
13
  enumerable: true,
14
- get: function () { return chunk2YPKHXFJ_js.DepositAuthMethod; }
14
+ get: function () { return chunkZJBJFFBQ_js.DepositAuthMethod; }
15
15
  });
16
16
  Object.defineProperty(exports, "PERMIT_TYPES", {
17
17
  enumerable: true,
18
- get: function () { return chunk2YPKHXFJ_js.PERMIT_TYPES; }
18
+ get: function () { return chunkZJBJFFBQ_js.PERMIT_TYPES; }
19
19
  });
20
20
  Object.defineProperty(exports, "WithdrawAuthMethod", {
21
21
  enumerable: true,
22
- get: function () { return chunk2YPKHXFJ_js.WithdrawAuthMethod; }
22
+ get: function () { return chunkZJBJFFBQ_js.WithdrawAuthMethod; }
23
23
  });
24
24
  Object.defineProperty(exports, "isAlreadyApprovedAuth", {
25
25
  enumerable: true,
26
- get: function () { return chunk2YPKHXFJ_js.isAlreadyApprovedAuth; }
26
+ get: function () { return chunkZJBJFFBQ_js.isAlreadyApprovedAuth; }
27
27
  });
28
28
  Object.defineProperty(exports, "isApprovalAuth", {
29
29
  enumerable: true,
30
- get: function () { return chunk2YPKHXFJ_js.isApprovalAuth; }
30
+ get: function () { return chunkZJBJFFBQ_js.isApprovalAuth; }
31
31
  });
32
32
  Object.defineProperty(exports, "isDepositSpendApproved", {
33
33
  enumerable: true,
34
- get: function () { return chunk2YPKHXFJ_js.isDepositSpendApproved; }
34
+ get: function () { return chunkZJBJFFBQ_js.isDepositSpendApproved; }
35
35
  });
36
36
  Object.defineProperty(exports, "isPermitAuth", {
37
37
  enumerable: true,
38
- get: function () { return chunk2YPKHXFJ_js.isPermitAuth; }
38
+ get: function () { return chunkZJBJFFBQ_js.isPermitAuth; }
39
39
  });
40
40
  Object.defineProperty(exports, "isWithdrawAlreadyApprovedAuth", {
41
41
  enumerable: true,
42
- get: function () { return chunk2YPKHXFJ_js.isWithdrawAlreadyApprovedAuth; }
42
+ get: function () { return chunkZJBJFFBQ_js.isWithdrawAlreadyApprovedAuth; }
43
43
  });
44
44
  Object.defineProperty(exports, "isWithdrawApprovalAuth", {
45
45
  enumerable: true,
46
- get: function () { return chunk2YPKHXFJ_js.isWithdrawApprovalAuth; }
46
+ get: function () { return chunkZJBJFFBQ_js.isWithdrawApprovalAuth; }
47
47
  });
48
48
  Object.defineProperty(exports, "isWithdrawalSpendApproved", {
49
49
  enumerable: true,
50
- get: function () { return chunk2YPKHXFJ_js.isWithdrawalSpendApproved; }
50
+ get: function () { return chunkZJBJFFBQ_js.isWithdrawalSpendApproved; }
51
51
  });
52
52
  Object.defineProperty(exports, "parsePermitSignature", {
53
53
  enumerable: true,
54
- get: function () { return chunk2YPKHXFJ_js.parsePermitSignature; }
54
+ get: function () { return chunkZJBJFFBQ_js.parsePermitSignature; }
55
55
  });
56
56
  Object.defineProperty(exports, "prepareApproveDepositTokenTxData", {
57
57
  enumerable: true,
58
- get: function () { return chunk2YPKHXFJ_js.prepareApproveDepositTokenTxData; }
58
+ get: function () { return chunkZJBJFFBQ_js.prepareApproveDepositTokenTxData; }
59
59
  });
60
60
  Object.defineProperty(exports, "prepareApproveWithdrawOrderTxData", {
61
61
  enumerable: true,
62
- get: function () { return chunk2YPKHXFJ_js.prepareApproveWithdrawOrderTxData; }
62
+ get: function () { return chunkZJBJFFBQ_js.prepareApproveWithdrawOrderTxData; }
63
63
  });
64
64
  Object.defineProperty(exports, "prepareCancelWithdrawOrderTxData", {
65
65
  enumerable: true,
66
- get: function () { return chunk2YPKHXFJ_js.prepareCancelWithdrawOrderTxData; }
66
+ get: function () { return chunkZJBJFFBQ_js.prepareCancelWithdrawOrderTxData; }
67
67
  });
68
68
  Object.defineProperty(exports, "prepareDeposit", {
69
69
  enumerable: true,
70
- get: function () { return chunk2YPKHXFJ_js.prepareDeposit; }
70
+ get: function () { return chunkZJBJFFBQ_js.prepareDeposit; }
71
71
  });
72
72
  Object.defineProperty(exports, "prepareDepositAuthorization", {
73
73
  enumerable: true,
74
- get: function () { return chunk2YPKHXFJ_js.prepareDepositAuthorization; }
74
+ get: function () { return chunkZJBJFFBQ_js.prepareDepositAuthorization; }
75
75
  });
76
76
  Object.defineProperty(exports, "prepareDepositPermitSignature", {
77
77
  enumerable: true,
78
- get: function () { return chunk2YPKHXFJ_js.prepareDepositPermitSignature; }
78
+ get: function () { return chunkZJBJFFBQ_js.prepareDepositPermitSignature; }
79
79
  });
80
80
  Object.defineProperty(exports, "prepareDepositTxData", {
81
81
  enumerable: true,
82
- get: function () { return chunk2YPKHXFJ_js.prepareDepositTxData; }
82
+ get: function () { return chunkZJBJFFBQ_js.prepareDepositTxData; }
83
83
  });
84
84
  Object.defineProperty(exports, "prepareDepositWithPermitTxData", {
85
85
  enumerable: true,
86
- get: function () { return chunk2YPKHXFJ_js.prepareDepositWithPermitTxData; }
86
+ get: function () { return chunkZJBJFFBQ_js.prepareDepositWithPermitTxData; }
87
87
  });
88
88
  Object.defineProperty(exports, "prepareWithdrawOrderTxData", {
89
89
  enumerable: true,
90
- get: function () { return chunk2YPKHXFJ_js.prepareWithdrawOrderTxData; }
90
+ get: function () { return chunkZJBJFFBQ_js.prepareWithdrawOrderTxData; }
91
91
  });
92
92
  Object.defineProperty(exports, "prepareWithdrawal", {
93
93
  enumerable: true,
94
- get: function () { return chunk2YPKHXFJ_js.prepareWithdrawal; }
94
+ get: function () { return chunkZJBJFFBQ_js.prepareWithdrawal; }
95
95
  });
96
96
  Object.defineProperty(exports, "prepareWithdrawalAuthorization", {
97
97
  enumerable: true,
98
- get: function () { return chunk2YPKHXFJ_js.prepareWithdrawalAuthorization; }
98
+ get: function () { return chunkZJBJFFBQ_js.prepareWithdrawalAuthorization; }
99
99
  });
100
100
  Object.defineProperty(exports, "toEthSignTypedDataV4", {
101
101
  enumerable: true,
102
- get: function () { return chunk2YPKHXFJ_js.toEthSignTypedDataV4; }
102
+ get: function () { return chunkZJBJFFBQ_js.toEthSignTypedDataV4; }
103
103
  });
104
104
  Object.defineProperty(exports, "getMinimumMint", {
105
105
  enumerable: true,
106
- get: function () { return chunkOZJNKGW6_js.getMinimumMint; }
106
+ get: function () { return chunkWHL5LQRP_js.getMinimumMint; }
107
107
  });
108
108
  Object.defineProperty(exports, "getMinimumWithdrawalOrderSize", {
109
109
  enumerable: true,
110
- get: function () { return chunkOZJNKGW6_js.getMinimumWithdrawalOrderSize; }
110
+ get: function () { return chunkWHL5LQRP_js.getMinimumWithdrawalOrderSize; }
111
111
  });
112
112
  Object.defineProperty(exports, "getVaultAPY", {
113
113
  enumerable: true,
114
- get: function () { return chunkOZJNKGW6_js.getVaultAPY; }
114
+ get: function () { return chunkWHL5LQRP_js.getVaultAPY; }
115
115
  });
116
116
  Object.defineProperty(exports, "getVaultTVL", {
117
117
  enumerable: true,
118
- get: function () { return chunkOZJNKGW6_js.getVaultTVL; }
118
+ get: function () { return chunkWHL5LQRP_js.getVaultTVL; }
119
119
  });
120
120
  Object.defineProperty(exports, "getWithdrawalFee", {
121
121
  enumerable: true,
122
- get: function () { return chunkOZJNKGW6_js.getWithdrawalFee; }
122
+ get: function () { return chunkWHL5LQRP_js.getWithdrawalFee; }
123
123
  });
124
124
  Object.defineProperty(exports, "getWithdrawalRequests", {
125
125
  enumerable: true,
126
- get: function () { return chunkOZJNKGW6_js.getWithdrawalRequests; }
126
+ get: function () { return chunkWHL5LQRP_js.getWithdrawalRequests; }
127
+ });
128
+ Object.defineProperty(exports, "UnauthorizedVaultAccessError", {
129
+ enumerable: true,
130
+ get: function () { return chunkE2HBXOZY_js.UnauthorizedVaultAccessError; }
131
+ });
132
+ Object.defineProperty(exports, "VaultNotFoundByAddressError", {
133
+ enumerable: true,
134
+ get: function () { return chunkE2HBXOZY_js.VaultNotFoundByAddressError; }
135
+ });
136
+ Object.defineProperty(exports, "VaultNotFoundByNameError", {
137
+ enumerable: true,
138
+ get: function () { return chunkE2HBXOZY_js.VaultNotFoundByNameError; }
139
+ });
140
+ Object.defineProperty(exports, "isVaultNotFoundByAddressError", {
141
+ enumerable: true,
142
+ get: function () { return chunkE2HBXOZY_js.isVaultNotFoundByAddressError; }
143
+ });
144
+ Object.defineProperty(exports, "isVaultNotFoundByNameError", {
145
+ enumerable: true,
146
+ get: function () { return chunkE2HBXOZY_js.isVaultNotFoundByNameError; }
127
147
  });
128
148
  Object.defineProperty(exports, "APIError", {
129
149
  enumerable: true,
130
- get: function () { return chunkBQG3XKTU_js.APIError; }
150
+ get: function () { return chunkR5G6F7RP_js.APIError; }
131
151
  });
132
152
  Object.defineProperty(exports, "LogLevel", {
133
153
  enumerable: true,
134
- get: function () { return chunkBQG3XKTU_js.LogLevel; }
154
+ get: function () { return chunkR5G6F7RP_js.LogLevel; }
135
155
  });
136
156
  Object.defineProperty(exports, "YieldType", {
137
157
  enumerable: true,
138
- get: function () { return chunkBQG3XKTU_js.YieldType; }
158
+ get: function () { return chunkR5G6F7RP_js.YieldType; }
139
159
  });
140
160
  Object.defineProperty(exports, "fetchSupportedAssets", {
141
161
  enumerable: true,
142
- get: function () { return chunkBQG3XKTU_js.fetchSupportedAssets; }
162
+ get: function () { return chunkR5G6F7RP_js.fetchSupportedAssets; }
143
163
  });
144
164
  Object.defineProperty(exports, "fetchVaults", {
145
165
  enumerable: true,
146
- get: function () { return chunkBQG3XKTU_js.fetchVaults; }
166
+ get: function () { return chunkR5G6F7RP_js.fetchVaults; }
147
167
  });
148
168
  Object.defineProperty(exports, "findVaultByConfig", {
149
169
  enumerable: true,
150
- get: function () { return chunkBQG3XKTU_js.findVaultByConfig; }
170
+ get: function () { return chunkR5G6F7RP_js.findVaultByConfig; }
151
171
  });
152
172
  Object.defineProperty(exports, "getAssetsFromCache", {
153
173
  enumerable: true,
154
- get: function () { return chunkBQG3XKTU_js.getAssetsFromCache; }
174
+ get: function () { return chunkR5G6F7RP_js.getAssetsFromCache; }
155
175
  });
156
176
  Object.defineProperty(exports, "getCache", {
157
177
  enumerable: true,
158
- get: function () { return chunkBQG3XKTU_js.getCache; }
178
+ get: function () { return chunkR5G6F7RP_js.getCache; }
159
179
  });
160
180
  Object.defineProperty(exports, "getLogger", {
161
181
  enumerable: true,
162
- get: function () { return chunkBQG3XKTU_js.getLogger; }
182
+ get: function () { return chunkR5G6F7RP_js.getLogger; }
183
+ });
184
+ Object.defineProperty(exports, "getVaultsByConfig", {
185
+ enumerable: true,
186
+ get: function () { return chunkR5G6F7RP_js.getVaultsByConfig; }
163
187
  });
164
188
  Object.defineProperty(exports, "getWithdrawSupportedAssets", {
165
189
  enumerable: true,
166
- get: function () { return chunkBQG3XKTU_js.getWithdrawSupportedAssets; }
190
+ get: function () { return chunkR5G6F7RP_js.getWithdrawSupportedAssets; }
167
191
  });
168
192
  Object.defineProperty(exports, "initAmplifySDK", {
169
193
  enumerable: true,
170
- get: function () { return chunkBQG3XKTU_js.initAmplifySDK; }
194
+ get: function () { return chunkR5G6F7RP_js.initAmplifySDK; }
171
195
  });
172
196
  Object.defineProperty(exports, "initializeCache", {
173
197
  enumerable: true,
174
- get: function () { return chunkBQG3XKTU_js.initializeCache; }
198
+ get: function () { return chunkR5G6F7RP_js.initializeCache; }
175
199
  });
176
200
  Object.defineProperty(exports, "isCacheReady", {
177
201
  enumerable: true,
178
- get: function () { return chunkBQG3XKTU_js.isCacheReady; }
202
+ get: function () { return chunkR5G6F7RP_js.isCacheReady; }
179
203
  });
180
204
  Object.defineProperty(exports, "refreshVaultCache", {
181
205
  enumerable: true,
182
- get: function () { return chunkBQG3XKTU_js.refreshVaultCache; }
206
+ get: function () { return chunkR5G6F7RP_js.refreshVaultCache; }
183
207
  });
184
208
  Object.defineProperty(exports, "setLogLevel", {
185
209
  enumerable: true,
186
- get: function () { return chunkBQG3XKTU_js.setLogLevel; }
210
+ get: function () { return chunkR5G6F7RP_js.setLogLevel; }
187
211
  });
188
212
  Object.defineProperty(exports, "setLogger", {
189
213
  enumerable: true,
190
- get: function () { return chunkBQG3XKTU_js.setLogger; }
214
+ get: function () { return chunkR5G6F7RP_js.setLogger; }
191
215
  });
192
216
  Object.defineProperty(exports, "waitForCacheReady", {
193
217
  enumerable: true,
194
- get: function () { return chunkBQG3XKTU_js.waitForCacheReady; }
218
+ get: function () { return chunkR5G6F7RP_js.waitForCacheReady; }
195
219
  });
196
220
  //# sourceMappingURL=index.js.map
197
221
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
- export { DepositAuthMethod, PERMIT_TYPES, WithdrawAuthMethod, isAlreadyApprovedAuth, isApprovalAuth, isDepositSpendApproved, isPermitAuth, isWithdrawAlreadyApprovedAuth, isWithdrawApprovalAuth, isWithdrawalSpendApproved, parsePermitSignature, prepareApproveDepositTokenTxData, prepareApproveWithdrawOrderTxData, prepareCancelWithdrawOrderTxData, prepareDeposit, prepareDepositAuthorization, prepareDepositPermitSignature, prepareDepositTxData, prepareDepositWithPermitTxData, prepareWithdrawOrderTxData, prepareWithdrawal, prepareWithdrawalAuthorization, toEthSignTypedDataV4 } from './chunk-TPU2HZAX.mjs';
2
- export { getMinimumMint, getMinimumWithdrawalOrderSize, getVaultAPY, getVaultTVL, getWithdrawalFee, getWithdrawalRequests } from './chunk-GMMBJB4B.mjs';
3
- import './chunk-CQZCGPZK.mjs';
4
- import './chunk-VZED4E3L.mjs';
1
+ export { DepositAuthMethod, PERMIT_TYPES, WithdrawAuthMethod, isAlreadyApprovedAuth, isApprovalAuth, isDepositSpendApproved, isPermitAuth, isWithdrawAlreadyApprovedAuth, isWithdrawApprovalAuth, isWithdrawalSpendApproved, parsePermitSignature, prepareApproveDepositTokenTxData, prepareApproveWithdrawOrderTxData, prepareCancelWithdrawOrderTxData, prepareDeposit, prepareDepositAuthorization, prepareDepositPermitSignature, prepareDepositTxData, prepareDepositWithPermitTxData, prepareWithdrawOrderTxData, prepareWithdrawal, prepareWithdrawalAuthorization, toEthSignTypedDataV4 } from './chunk-L3X5UBG6.mjs';
2
+ export { getMinimumMint, getMinimumWithdrawalOrderSize, getVaultAPY, getVaultTVL, getWithdrawalFee, getWithdrawalRequests } from './chunk-GSYGURYO.mjs';
3
+ export { UnauthorizedVaultAccessError, VaultNotFoundByAddressError, VaultNotFoundByNameError, isVaultNotFoundByAddressError, isVaultNotFoundByNameError } from './chunk-4OEL42W2.mjs';
4
+ import './chunk-HBFBGNRH.mjs';
5
5
  import './chunk-7RWWVUHP.mjs';
6
- export { APIError, LogLevel, YieldType, fetchSupportedAssets, fetchVaults, findVaultByConfig, getAssetsFromCache, getCache, getLogger, getWithdrawSupportedAssets, initAmplifySDK, initializeCache, isCacheReady, refreshVaultCache, setLogLevel, setLogger, waitForCacheReady } from './chunk-RW7PZETN.mjs';
6
+ export { APIError, LogLevel, YieldType, fetchSupportedAssets, fetchVaults, findVaultByConfig, getAssetsFromCache, getCache, getLogger, getVaultsByConfig, getWithdrawSupportedAssets, initAmplifySDK, initializeCache, isCacheReady, refreshVaultCache, setLogLevel, setLogger, waitForCacheReady } from './chunk-7RAFG3NI.mjs';
7
7
  //# sourceMappingURL=index.mjs.map
8
8
  //# sourceMappingURL=index.mjs.map
package/dist/utils.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { C as ChainId, c as clearChainsCache, g as getChainFromConfig, t as toChainId } from './chain-utils-CRMbWzu7.mjs';
1
+ export { C as ChainId, c as clearChainsCache, g as getChainFromConfig, t as toChainId } from './chain-utils-CbVFMjwR.mjs';
2
2
  import 'viem/chains';
3
3
  import 'viem';
4
4
 
package/dist/utils.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { C as ChainId, c as clearChainsCache, g as getChainFromConfig, t as toChainId } from './chain-utils-CRMbWzu7.js';
1
+ export { C as ChainId, c as clearChainsCache, g as getChainFromConfig, t as toChainId } from './chain-utils-CbVFMjwR.js';
2
2
  import 'viem/chains';
3
3
  import 'viem';
4
4
 
package/dist/utils.js CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk3I3PYX2F_js = require('./chunk-3I3PYX2F.js');
4
- var chunkBQG3XKTU_js = require('./chunk-BQG3XKTU.js');
4
+ var chunkR5G6F7RP_js = require('./chunk-R5G6F7RP.js');
5
5
 
6
6
  // src/utils/time.ts
7
- var calculateDeadline = (daysFromNow = chunkBQG3XKTU_js.DEFAULT_DEADLINE) => {
7
+ var calculateDeadline = (daysFromNow = chunkR5G6F7RP_js.DEFAULT_DEADLINE) => {
8
8
  const daysInSeconds = daysFromNow * 24 * 60 * 60;
9
9
  const currentTimeStamp = Math.floor(Date.now() / 1e3);
10
10
  const deadline = currentTimeStamp + daysInSeconds;
@@ -43,23 +43,23 @@ Object.defineProperty(exports, "calculateExpectedSharesMinted", {
43
43
  });
44
44
  Object.defineProperty(exports, "DEFAULT_TIMEOUT", {
45
45
  enumerable: true,
46
- get: function () { return chunkBQG3XKTU_js.DEFAULT_TIMEOUT; }
46
+ get: function () { return chunkR5G6F7RP_js.DEFAULT_TIMEOUT; }
47
47
  });
48
48
  Object.defineProperty(exports, "clearChainsCache", {
49
49
  enumerable: true,
50
- get: function () { return chunkBQG3XKTU_js.clearChainsCache; }
50
+ get: function () { return chunkR5G6F7RP_js.clearChainsCache; }
51
51
  });
52
52
  Object.defineProperty(exports, "createTimeoutSignal", {
53
53
  enumerable: true,
54
- get: function () { return chunkBQG3XKTU_js.createTimeoutSignal; }
54
+ get: function () { return chunkR5G6F7RP_js.createTimeoutSignal; }
55
55
  });
56
56
  Object.defineProperty(exports, "getChainFromConfig", {
57
57
  enumerable: true,
58
- get: function () { return chunkBQG3XKTU_js.getChainFromConfig; }
58
+ get: function () { return chunkR5G6F7RP_js.getChainFromConfig; }
59
59
  });
60
60
  Object.defineProperty(exports, "toChainId", {
61
61
  enumerable: true,
62
- get: function () { return chunkBQG3XKTU_js.toChainId; }
62
+ get: function () { return chunkR5G6F7RP_js.toChainId; }
63
63
  });
64
64
  exports.calculateDeadline = calculateDeadline;
65
65
  exports.tryCatch = tryCatch;
package/dist/utils.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  export { RAY, WAD, bigIntToNumberAsString, calculateAtomicPrice, calculateExpectedSharesMinted } from './chunk-7RWWVUHP.mjs';
2
- import { DEFAULT_DEADLINE } from './chunk-RW7PZETN.mjs';
3
- export { DEFAULT_TIMEOUT, clearChainsCache, createTimeoutSignal, getChainFromConfig, toChainId } from './chunk-RW7PZETN.mjs';
2
+ import { DEFAULT_DEADLINE } from './chunk-7RAFG3NI.mjs';
3
+ export { DEFAULT_TIMEOUT, clearChainsCache, createTimeoutSignal, getChainFromConfig, toChainId } from './chunk-7RAFG3NI.mjs';
4
4
 
5
5
  // src/utils/time.ts
6
6
  var calculateDeadline = (daysFromNow = DEFAULT_DEADLINE) => {