@paxoslabs/amplify-sdk 0.5.0 → 0.5.1
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/CHANGELOG.md +9 -1
- package/dist/{chain-utils-CpOJcWig.d.mts → chain-utils-D_b2LEEi.d.mts} +2 -0
- package/dist/{chain-utils-CpOJcWig.d.ts → chain-utils-D_b2LEEi.d.ts} +2 -0
- package/dist/{chunk-B5BII2XH.mjs → chunk-3D6EDR3Z.mjs} +5 -5
- package/dist/{chunk-B5BII2XH.mjs.map → chunk-3D6EDR3Z.mjs.map} +1 -1
- package/dist/{chunk-XS4SELWC.js → chunk-AUDMOT6F.js} +22 -15
- package/dist/chunk-AUDMOT6F.js.map +1 -0
- package/dist/{chunk-2ZJWWK6D.js → chunk-E5DH5YEE.js} +22 -5
- package/dist/chunk-E5DH5YEE.js.map +1 -0
- package/dist/{chunk-SXIBMN7X.mjs → chunk-E6SBQNDA.mjs} +3 -3
- package/dist/{chunk-SXIBMN7X.mjs.map → chunk-E6SBQNDA.mjs.map} +1 -1
- package/dist/{chunk-MPCRFKSD.mjs → chunk-JLZL25CY.mjs} +23 -7
- package/dist/chunk-JLZL25CY.mjs.map +1 -0
- package/dist/{chunk-KTLGSVD6.js → chunk-L5XT67QZ.js} +111 -111
- package/dist/{chunk-KTLGSVD6.js.map → chunk-L5XT67QZ.js.map} +1 -1
- package/dist/{chunk-GJPTAY5T.mjs → chunk-WJGSTAPB.mjs} +5 -5
- package/dist/{chunk-GJPTAY5T.mjs.map → chunk-WJGSTAPB.mjs.map} +1 -1
- package/dist/{chunk-N5UKVLSS.js → chunk-XVDK6J72.js} +62 -62
- package/dist/{chunk-N5UKVLSS.js.map → chunk-XVDK6J72.js.map} +1 -1
- package/dist/{chunk-XA653JS3.mjs → chunk-Y6RXVDQN.mjs} +15 -8
- package/dist/chunk-Y6RXVDQN.mjs.map +1 -0
- package/dist/{chunk-D7EMZAOQ.js → chunk-YAYUSBC6.js} +12 -12
- package/dist/{chunk-D7EMZAOQ.js.map → chunk-YAYUSBC6.js.map} +1 -1
- package/dist/core.d.mts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +16 -16
- package/dist/core.mjs +4 -4
- package/dist/display.d.mts +1 -1
- package/dist/display.d.ts +1 -1
- package/dist/display.js +10 -10
- package/dist/display.mjs +4 -4
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +57 -57
- package/dist/index.mjs +5 -5
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +7 -7
- package/dist/utils.mjs +2 -2
- package/dist/vaults.d.mts +1 -1
- package/dist/vaults.d.ts +1 -1
- package/dist/vaults.js +25 -25
- package/dist/vaults.mjs +4 -4
- package/package.json +1 -1
- package/dist/chunk-2ZJWWK6D.js.map +0 -1
- package/dist/chunk-MPCRFKSD.mjs.map +0 -1
- package/dist/chunk-XA653JS3.mjs.map +0 -1
- package/dist/chunk-XS4SELWC.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,221 +1,221 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var chunkL5XT67QZ_js = require('./chunk-L5XT67QZ.js');
|
|
4
|
+
var chunkXVDK6J72_js = require('./chunk-XVDK6J72.js');
|
|
5
|
+
var chunkAUDMOT6F_js = require('./chunk-AUDMOT6F.js');
|
|
6
|
+
require('./chunk-YAYUSBC6.js');
|
|
7
7
|
require('./chunk-3I3PYX2F.js');
|
|
8
|
-
var
|
|
8
|
+
var chunkE5DH5YEE_js = require('./chunk-E5DH5YEE.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "DepositAuthMethod", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkL5XT67QZ_js.DepositAuthMethod; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "PERMIT_TYPES", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkL5XT67QZ_js.PERMIT_TYPES; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "WithdrawAuthMethod", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkL5XT67QZ_js.WithdrawAuthMethod; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "isAlreadyApprovedAuth", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkL5XT67QZ_js.isAlreadyApprovedAuth; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "isApprovalAuth", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkL5XT67QZ_js.isApprovalAuth; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "isDepositSpendApproved", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkL5XT67QZ_js.isDepositSpendApproved; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "isPermitAuth", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkL5XT67QZ_js.isPermitAuth; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "isWithdrawAlreadyApprovedAuth", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkL5XT67QZ_js.isWithdrawAlreadyApprovedAuth; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "isWithdrawApprovalAuth", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkL5XT67QZ_js.isWithdrawApprovalAuth; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "isWithdrawalSpendApproved", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkL5XT67QZ_js.isWithdrawalSpendApproved; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "parsePermitSignature", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkL5XT67QZ_js.parsePermitSignature; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "prepareApproveDepositTokenTxData", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkL5XT67QZ_js.prepareApproveDepositTokenTxData; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "prepareApproveWithdrawOrderTxData", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkL5XT67QZ_js.prepareApproveWithdrawOrderTxData; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "prepareCancelWithdrawOrderTxData", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkL5XT67QZ_js.prepareCancelWithdrawOrderTxData; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "prepareDeposit", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkL5XT67QZ_js.prepareDeposit; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "prepareDepositAuthorization", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkL5XT67QZ_js.prepareDepositAuthorization; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "prepareDepositPermitSignature", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkL5XT67QZ_js.prepareDepositPermitSignature; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "prepareDepositTxData", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkL5XT67QZ_js.prepareDepositTxData; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "prepareDepositWithPermitTxData", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkL5XT67QZ_js.prepareDepositWithPermitTxData; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "prepareWithdrawOrderTxData", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkL5XT67QZ_js.prepareWithdrawOrderTxData; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "prepareWithdrawal", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkL5XT67QZ_js.prepareWithdrawal; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "prepareWithdrawalAuthorization", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkL5XT67QZ_js.prepareWithdrawalAuthorization; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "toEthSignTypedDataV4", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkL5XT67QZ_js.toEthSignTypedDataV4; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "getMinimumMint", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkXVDK6J72_js.getMinimumMint; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "getMinimumWithdrawalOrderSize", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkXVDK6J72_js.getMinimumWithdrawalOrderSize; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "getVaultAPY", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkXVDK6J72_js.getVaultAPY; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "getVaultTVL", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkXVDK6J72_js.getVaultTVL; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "getWithdrawalFee", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkXVDK6J72_js.getWithdrawalFee; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "getWithdrawalRequests", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkXVDK6J72_js.getWithdrawalRequests; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "UnauthorizedVaultAccessError", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkAUDMOT6F_js.UnauthorizedVaultAccessError; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "VaultNotFoundByAddressError", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkAUDMOT6F_js.VaultNotFoundByAddressError; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "VaultNotFoundByNameError", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkAUDMOT6F_js.VaultNotFoundByNameError; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "isVaultNotFoundByAddressError", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkAUDMOT6F_js.isVaultNotFoundByAddressError; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "isVaultNotFoundByNameError", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkAUDMOT6F_js.isVaultNotFoundByNameError; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "APIError", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkE5DH5YEE_js.APIError; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "LogLevel", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkE5DH5YEE_js.LogLevel; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "YieldType", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkE5DH5YEE_js.YieldType; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "findVaultByConfig", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkE5DH5YEE_js.findVaultByConfig; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "getAssetsFromCache", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkE5DH5YEE_js.getAssetsFromCache; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "getCache", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkE5DH5YEE_js.getCache; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "getLogger", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkE5DH5YEE_js.getLogger; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "getSupportedAssets", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkE5DH5YEE_js.getSupportedAssets; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "getVaults", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkE5DH5YEE_js.getVaults; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "getVaultsByConfig", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkE5DH5YEE_js.getVaultsByConfig; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "getWithdrawSupportedAssets", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkE5DH5YEE_js.getWithdrawSupportedAssets; }
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "initAmplifySDK", {
|
|
193
193
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkE5DH5YEE_js.initAmplifySDK; }
|
|
195
195
|
});
|
|
196
196
|
Object.defineProperty(exports, "initializeCache", {
|
|
197
197
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkE5DH5YEE_js.initializeCache; }
|
|
199
199
|
});
|
|
200
200
|
Object.defineProperty(exports, "isCacheReady", {
|
|
201
201
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkE5DH5YEE_js.isCacheReady; }
|
|
203
203
|
});
|
|
204
204
|
Object.defineProperty(exports, "refreshVaultCache", {
|
|
205
205
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkE5DH5YEE_js.refreshVaultCache; }
|
|
207
207
|
});
|
|
208
208
|
Object.defineProperty(exports, "setLogLevel", {
|
|
209
209
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkE5DH5YEE_js.setLogLevel; }
|
|
211
211
|
});
|
|
212
212
|
Object.defineProperty(exports, "setLogger", {
|
|
213
213
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkE5DH5YEE_js.setLogger; }
|
|
215
215
|
});
|
|
216
216
|
Object.defineProperty(exports, "waitForCacheReady", {
|
|
217
217
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunkE5DH5YEE_js.waitForCacheReady; }
|
|
219
219
|
});
|
|
220
220
|
//# sourceMappingURL=index.js.map
|
|
221
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-
|
|
2
|
-
export { getMinimumMint, getMinimumWithdrawalOrderSize, getVaultAPY, getVaultTVL, getWithdrawalFee, getWithdrawalRequests } from './chunk-
|
|
3
|
-
export { UnauthorizedVaultAccessError, VaultNotFoundByAddressError, VaultNotFoundByNameError, isVaultNotFoundByAddressError, isVaultNotFoundByNameError } from './chunk-
|
|
4
|
-
import './chunk-
|
|
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-3D6EDR3Z.mjs';
|
|
2
|
+
export { getMinimumMint, getMinimumWithdrawalOrderSize, getVaultAPY, getVaultTVL, getWithdrawalFee, getWithdrawalRequests } from './chunk-WJGSTAPB.mjs';
|
|
3
|
+
export { UnauthorizedVaultAccessError, VaultNotFoundByAddressError, VaultNotFoundByNameError, isVaultNotFoundByAddressError, isVaultNotFoundByNameError } from './chunk-Y6RXVDQN.mjs';
|
|
4
|
+
import './chunk-E6SBQNDA.mjs';
|
|
5
5
|
import './chunk-7RWWVUHP.mjs';
|
|
6
|
-
export { APIError, LogLevel, YieldType, findVaultByConfig, getAssetsFromCache, getCache, getLogger, getSupportedAssets, getVaults, getVaultsByConfig, getWithdrawSupportedAssets, initAmplifySDK, initializeCache, isCacheReady, refreshVaultCache, setLogLevel, setLogger, waitForCacheReady } from './chunk-
|
|
6
|
+
export { APIError, LogLevel, YieldType, findVaultByConfig, getAssetsFromCache, getCache, getLogger, getSupportedAssets, getVaults, getVaultsByConfig, getWithdrawSupportedAssets, initAmplifySDK, initializeCache, isCacheReady, refreshVaultCache, setLogLevel, setLogger, waitForCacheReady } from './chunk-JLZL25CY.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-
|
|
1
|
+
export { C as ChainId, c as clearChainsCache, g as getChainFromConfig, t as toChainId } from './chain-utils-D_b2LEEi.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-
|
|
1
|
+
export { C as ChainId, c as clearChainsCache, g as getChainFromConfig, t as toChainId } from './chain-utils-D_b2LEEi.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
|
|
4
|
+
var chunkE5DH5YEE_js = require('./chunk-E5DH5YEE.js');
|
|
5
5
|
|
|
6
6
|
// src/utils/time.ts
|
|
7
|
-
var calculateDeadline = (daysFromNow =
|
|
7
|
+
var calculateDeadline = (daysFromNow = chunkE5DH5YEE_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
|
|
46
|
+
get: function () { return chunkE5DH5YEE_js.DEFAULT_TIMEOUT; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "clearChainsCache", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkE5DH5YEE_js.clearChainsCache; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "createTimeoutSignal", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkE5DH5YEE_js.createTimeoutSignal; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "getChainFromConfig", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkE5DH5YEE_js.getChainFromConfig; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "toChainId", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkE5DH5YEE_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-
|
|
3
|
-
export { DEFAULT_TIMEOUT, clearChainsCache, createTimeoutSignal, getChainFromConfig, toChainId } from './chunk-
|
|
2
|
+
import { DEFAULT_DEADLINE } from './chunk-JLZL25CY.mjs';
|
|
3
|
+
export { DEFAULT_TIMEOUT, clearChainsCache, createTimeoutSignal, getChainFromConfig, toChainId } from './chunk-JLZL25CY.mjs';
|
|
4
4
|
|
|
5
5
|
// src/utils/time.ts
|
|
6
6
|
var calculateDeadline = (daysFromNow = DEFAULT_DEADLINE) => {
|
package/dist/vaults.d.mts
CHANGED
package/dist/vaults.d.ts
CHANGED
package/dist/vaults.js
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkL5XT67QZ_js = require('./chunk-L5XT67QZ.js');
|
|
4
|
+
require('./chunk-AUDMOT6F.js');
|
|
5
|
+
require('./chunk-YAYUSBC6.js');
|
|
6
6
|
require('./chunk-3I3PYX2F.js');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-E5DH5YEE.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "DepositAuthMethod", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkL5XT67QZ_js.DepositAuthMethod; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PERMIT_TYPES", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkL5XT67QZ_js.PERMIT_TYPES; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "WithdrawAuthMethod", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkL5XT67QZ_js.WithdrawAuthMethod; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "isAlreadyApprovedAuth", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkL5XT67QZ_js.isAlreadyApprovedAuth; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "isApprovalAuth", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkL5XT67QZ_js.isApprovalAuth; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "isPermitAuth", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkL5XT67QZ_js.isPermitAuth; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "isWithdrawAlreadyApprovedAuth", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkL5XT67QZ_js.isWithdrawAlreadyApprovedAuth; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isWithdrawApprovalAuth", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkL5XT67QZ_js.isWithdrawApprovalAuth; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "parsePermitSignature", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkL5XT67QZ_js.parsePermitSignature; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "prepareApproveDepositTokenTxData", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkL5XT67QZ_js.prepareApproveDepositTokenTxData; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "prepareApproveWithdrawOrderTxData", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkL5XT67QZ_js.prepareApproveWithdrawOrderTxData; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "prepareCancelWithdrawOrderTxData", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkL5XT67QZ_js.prepareCancelWithdrawOrderTxData; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "prepareDeposit", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkL5XT67QZ_js.prepareDeposit; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "prepareDepositAuthorization", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkL5XT67QZ_js.prepareDepositAuthorization; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "prepareDepositPermitSignature", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkL5XT67QZ_js.prepareDepositPermitSignature; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "prepareDepositTxData", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkL5XT67QZ_js.prepareDepositTxData; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "prepareDepositWithPermitTxData", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkL5XT67QZ_js.prepareDepositWithPermitTxData; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "prepareWithdrawOrderTxData", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkL5XT67QZ_js.prepareWithdrawOrderTxData; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "prepareWithdrawal", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkL5XT67QZ_js.prepareWithdrawal; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "prepareWithdrawalAuthorization", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkL5XT67QZ_js.prepareWithdrawalAuthorization; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "toEthSignTypedDataV4", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkL5XT67QZ_js.toEthSignTypedDataV4; }
|
|
94
94
|
});
|
|
95
95
|
//# sourceMappingURL=vaults.js.map
|
|
96
96
|
//# sourceMappingURL=vaults.js.map
|
package/dist/vaults.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { DepositAuthMethod, PERMIT_TYPES, WithdrawAuthMethod, isAlreadyApprovedAuth, isApprovalAuth, isPermitAuth, isWithdrawAlreadyApprovedAuth, isWithdrawApprovalAuth, parsePermitSignature, prepareApproveDepositTokenTxData, prepareApproveWithdrawOrderTxData, prepareCancelWithdrawOrderTxData, prepareDeposit, prepareDepositAuthorization, prepareDepositPermitSignature, prepareDepositTxData, prepareDepositWithPermitTxData, prepareWithdrawOrderTxData, prepareWithdrawal, prepareWithdrawalAuthorization, toEthSignTypedDataV4 } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { DepositAuthMethod, PERMIT_TYPES, WithdrawAuthMethod, isAlreadyApprovedAuth, isApprovalAuth, isPermitAuth, isWithdrawAlreadyApprovedAuth, isWithdrawApprovalAuth, parsePermitSignature, prepareApproveDepositTokenTxData, prepareApproveWithdrawOrderTxData, prepareCancelWithdrawOrderTxData, prepareDeposit, prepareDepositAuthorization, prepareDepositPermitSignature, prepareDepositTxData, prepareDepositWithPermitTxData, prepareWithdrawOrderTxData, prepareWithdrawal, prepareWithdrawalAuthorization, toEthSignTypedDataV4 } from './chunk-3D6EDR3Z.mjs';
|
|
2
|
+
import './chunk-Y6RXVDQN.mjs';
|
|
3
|
+
import './chunk-E6SBQNDA.mjs';
|
|
4
4
|
import './chunk-7RWWVUHP.mjs';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-JLZL25CY.mjs';
|
|
6
6
|
//# sourceMappingURL=vaults.mjs.map
|
|
7
7
|
//# sourceMappingURL=vaults.mjs.map
|