@paxoslabs/amplify-sdk 0.4.0 → 0.4.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 +44 -55
- package/dist/{chain-utils-C1TU1yHZ.d.mts → chain-utils-CRMbWzu7.d.mts} +4 -0
- package/dist/{chain-utils-C1TU1yHZ.d.ts → chain-utils-CRMbWzu7.d.ts} +4 -0
- package/dist/{chunk-G5O3XKFN.mjs → chunk-5FVJVJXC.mjs} +4 -4
- package/dist/{chunk-G5O3XKFN.mjs.map → chunk-5FVJVJXC.mjs.map} +1 -1
- package/dist/{chunk-5VVP4RVO.mjs → chunk-PLWWBYSM.mjs} +4 -4
- package/dist/{chunk-5VVP4RVO.mjs.map → chunk-PLWWBYSM.mjs.map} +1 -1
- package/dist/{chunk-NYRRIERP.js → chunk-QKU5APOV.js} +120 -120
- package/dist/{chunk-NYRRIERP.js.map → chunk-QKU5APOV.js.map} +1 -1
- package/dist/{chunk-NAIDMXT5.mjs → chunk-SQ3YW6UK.mjs} +207 -14
- package/dist/chunk-SQ3YW6UK.mjs.map +1 -0
- package/dist/{chunk-DGUDYJGO.js → chunk-VDNXXONH.js} +59 -59
- package/dist/{chunk-DGUDYJGO.js.map → chunk-VDNXXONH.js.map} +1 -1
- package/dist/{chunk-LT7H3XK2.mjs → chunk-Y55F4I3A.mjs} +3 -3
- package/dist/{chunk-LT7H3XK2.mjs.map → chunk-Y55F4I3A.mjs.map} +1 -1
- package/dist/{chunk-KEFKVE5B.js → chunk-YTCO5BHT.js} +9 -9
- package/dist/{chunk-KEFKVE5B.js.map → chunk-YTCO5BHT.js.map} +1 -1
- package/dist/{chunk-BHOW2UNG.js → chunk-ZPIVBZLP.js} +207 -14
- package/dist/chunk-ZPIVBZLP.js.map +1 -0
- 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 +9 -9
- package/dist/display.mjs +3 -3
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +52 -52
- package/dist/index.mjs +4 -4
- 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 +24 -24
- package/dist/vaults.mjs +3 -3
- package/package.json +4 -2
- package/dist/chunk-BHOW2UNG.js.map +0 -1
- package/dist/chunk-NAIDMXT5.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,205 +1,205 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkQKU5APOV_js = require('./chunk-QKU5APOV.js');
|
|
4
|
+
var chunkVDNXXONH_js = require('./chunk-VDNXXONH.js');
|
|
5
5
|
require('./chunk-5CV25BTQ.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-YTCO5BHT.js');
|
|
7
7
|
require('./chunk-3I3PYX2F.js');
|
|
8
|
-
var
|
|
8
|
+
var chunkZPIVBZLP_js = require('./chunk-ZPIVBZLP.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 chunkQKU5APOV_js.DepositAuthMethod; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "PERMIT_TYPES", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkQKU5APOV_js.PERMIT_TYPES; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "WithdrawAuthMethod", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkQKU5APOV_js.WithdrawAuthMethod; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "isAlreadyApprovedAuth", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkQKU5APOV_js.isAlreadyApprovedAuth; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "isApprovalAuth", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkQKU5APOV_js.isApprovalAuth; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "isDepositSpendApproved", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkQKU5APOV_js.isDepositSpendApproved; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "isPermitAuth", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkQKU5APOV_js.isPermitAuth; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "isWithdrawAlreadyApprovedAuth", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkQKU5APOV_js.isWithdrawAlreadyApprovedAuth; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "isWithdrawApprovalAuth", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkQKU5APOV_js.isWithdrawApprovalAuth; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "isWithdrawalSpendApproved", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkQKU5APOV_js.isWithdrawalSpendApproved; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "parsePermitSignature", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkQKU5APOV_js.parsePermitSignature; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "prepareApproveDepositTokenTxData", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkQKU5APOV_js.prepareApproveDepositTokenTxData; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "prepareApproveWithdrawOrderTxData", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkQKU5APOV_js.prepareApproveWithdrawOrderTxData; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "prepareCancelWithdrawOrderTxData", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkQKU5APOV_js.prepareCancelWithdrawOrderTxData; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "prepareDeposit", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkQKU5APOV_js.prepareDeposit; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "prepareDepositAuthorization", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkQKU5APOV_js.prepareDepositAuthorization; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "prepareDepositPermitSignature", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkQKU5APOV_js.prepareDepositPermitSignature; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "prepareDepositTxData", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkQKU5APOV_js.prepareDepositTxData; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "prepareDepositWithPermitTxData", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkQKU5APOV_js.prepareDepositWithPermitTxData; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "prepareWithdrawOrderTxData", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkQKU5APOV_js.prepareWithdrawOrderTxData; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "prepareWithdrawal", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkQKU5APOV_js.prepareWithdrawal; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "prepareWithdrawalAuthorization", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkQKU5APOV_js.prepareWithdrawalAuthorization; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "toEthSignTypedDataV4", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkQKU5APOV_js.toEthSignTypedDataV4; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "getMinimumMint", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkVDNXXONH_js.getMinimumMint; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "getMinimumWithdrawalOrderSize", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkVDNXXONH_js.getMinimumWithdrawalOrderSize; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "getVaultAPY", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkVDNXXONH_js.getVaultAPY; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "getVaultTVL", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkVDNXXONH_js.getVaultTVL; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "getWithdrawalFee", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkVDNXXONH_js.getWithdrawalFee; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "getWithdrawalRequests", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkVDNXXONH_js.getWithdrawalRequests; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "APIError", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkZPIVBZLP_js.APIError; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "Environment", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkZPIVBZLP_js.Environment; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "LogLevel", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkZPIVBZLP_js.LogLevel; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "YieldType", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkZPIVBZLP_js.YieldType; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "fetchSupportedAssets", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkZPIVBZLP_js.fetchSupportedAssets; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "fetchVaults", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkZPIVBZLP_js.fetchVaults; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "findVaultByConfig", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkZPIVBZLP_js.findVaultByConfig; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "getAssetsFromCache", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkZPIVBZLP_js.getAssetsFromCache; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "getCache", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkZPIVBZLP_js.getCache; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "getEnvironment", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkZPIVBZLP_js.getEnvironment; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "getLogger", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkZPIVBZLP_js.getLogger; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "getWithdrawSupportedAssets", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkZPIVBZLP_js.getWithdrawSupportedAssets; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "initAmplifySDK", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkZPIVBZLP_js.initAmplifySDK; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "initializeCache", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkZPIVBZLP_js.initializeCache; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "isCacheReady", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkZPIVBZLP_js.isCacheReady; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "refreshVaultCache", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkZPIVBZLP_js.refreshVaultCache; }
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "setLogLevel", {
|
|
193
193
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkZPIVBZLP_js.setLogLevel; }
|
|
195
195
|
});
|
|
196
196
|
Object.defineProperty(exports, "setLogger", {
|
|
197
197
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkZPIVBZLP_js.setLogger; }
|
|
199
199
|
});
|
|
200
200
|
Object.defineProperty(exports, "waitForCacheReady", {
|
|
201
201
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkZPIVBZLP_js.waitForCacheReady; }
|
|
203
203
|
});
|
|
204
204
|
//# sourceMappingURL=index.js.map
|
|
205
205
|
//# 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-
|
|
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-PLWWBYSM.mjs';
|
|
2
|
+
export { getMinimumMint, getMinimumWithdrawalOrderSize, getVaultAPY, getVaultTVL, getWithdrawalFee, getWithdrawalRequests } from './chunk-5FVJVJXC.mjs';
|
|
3
3
|
import './chunk-CQZCGPZK.mjs';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-Y55F4I3A.mjs';
|
|
5
5
|
import './chunk-7RWWVUHP.mjs';
|
|
6
|
-
export { APIError, Environment, LogLevel, YieldType, fetchSupportedAssets, fetchVaults, findVaultByConfig, getAssetsFromCache, getCache, getEnvironment, getLogger, getWithdrawSupportedAssets, initAmplifySDK, initializeCache, isCacheReady, refreshVaultCache, setLogLevel, setLogger, waitForCacheReady } from './chunk-
|
|
6
|
+
export { APIError, Environment, LogLevel, YieldType, fetchSupportedAssets, fetchVaults, findVaultByConfig, getAssetsFromCache, getCache, getEnvironment, getLogger, getWithdrawSupportedAssets, initAmplifySDK, initializeCache, isCacheReady, refreshVaultCache, setLogLevel, setLogger, waitForCacheReady } from './chunk-SQ3YW6UK.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-CRMbWzu7.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-CRMbWzu7.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 chunkZPIVBZLP_js = require('./chunk-ZPIVBZLP.js');
|
|
5
5
|
|
|
6
6
|
// src/utils/time.ts
|
|
7
|
-
var calculateDeadline = (daysFromNow =
|
|
7
|
+
var calculateDeadline = (daysFromNow = chunkZPIVBZLP_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 chunkZPIVBZLP_js.DEFAULT_TIMEOUT; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "clearChainsCache", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkZPIVBZLP_js.clearChainsCache; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "createTimeoutSignal", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkZPIVBZLP_js.createTimeoutSignal; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "getChainFromConfig", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkZPIVBZLP_js.getChainFromConfig; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "toChainId", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkZPIVBZLP_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-SQ3YW6UK.mjs';
|
|
3
|
+
export { DEFAULT_TIMEOUT, clearChainsCache, createTimeoutSignal, getChainFromConfig, toChainId } from './chunk-SQ3YW6UK.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
|
|
3
|
+
var chunkQKU5APOV_js = require('./chunk-QKU5APOV.js');
|
|
4
4
|
require('./chunk-5CV25BTQ.js');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-YTCO5BHT.js');
|
|
6
6
|
require('./chunk-3I3PYX2F.js');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-ZPIVBZLP.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 chunkQKU5APOV_js.DepositAuthMethod; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PERMIT_TYPES", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkQKU5APOV_js.PERMIT_TYPES; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "WithdrawAuthMethod", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkQKU5APOV_js.WithdrawAuthMethod; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "isAlreadyApprovedAuth", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkQKU5APOV_js.isAlreadyApprovedAuth; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "isApprovalAuth", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkQKU5APOV_js.isApprovalAuth; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "isPermitAuth", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkQKU5APOV_js.isPermitAuth; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "isWithdrawAlreadyApprovedAuth", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkQKU5APOV_js.isWithdrawAlreadyApprovedAuth; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isWithdrawApprovalAuth", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkQKU5APOV_js.isWithdrawApprovalAuth; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "parsePermitSignature", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkQKU5APOV_js.parsePermitSignature; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "prepareApproveDepositTokenTxData", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkQKU5APOV_js.prepareApproveDepositTokenTxData; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "prepareApproveWithdrawOrderTxData", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkQKU5APOV_js.prepareApproveWithdrawOrderTxData; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "prepareCancelWithdrawOrderTxData", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkQKU5APOV_js.prepareCancelWithdrawOrderTxData; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "prepareDeposit", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkQKU5APOV_js.prepareDeposit; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "prepareDepositAuthorization", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkQKU5APOV_js.prepareDepositAuthorization; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "prepareDepositPermitSignature", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkQKU5APOV_js.prepareDepositPermitSignature; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "prepareDepositTxData", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkQKU5APOV_js.prepareDepositTxData; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "prepareDepositWithPermitTxData", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkQKU5APOV_js.prepareDepositWithPermitTxData; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "prepareWithdrawOrderTxData", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkQKU5APOV_js.prepareWithdrawOrderTxData; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "prepareWithdrawal", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkQKU5APOV_js.prepareWithdrawal; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "prepareWithdrawalAuthorization", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkQKU5APOV_js.prepareWithdrawalAuthorization; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "toEthSignTypedDataV4", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkQKU5APOV_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-
|
|
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-PLWWBYSM.mjs';
|
|
2
2
|
import './chunk-CQZCGPZK.mjs';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-Y55F4I3A.mjs';
|
|
4
4
|
import './chunk-7RWWVUHP.mjs';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-SQ3YW6UK.mjs';
|
|
6
6
|
//# sourceMappingURL=vaults.mjs.map
|
|
7
7
|
//# sourceMappingURL=vaults.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paxoslabs/amplify-sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Paxos Labs Amplify SDK",
|
|
5
5
|
"packageManager": "pnpm@10.19.0",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -144,7 +144,9 @@
|
|
|
144
144
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
145
145
|
"preact": ">=10.28.2",
|
|
146
146
|
"@isaacs/brace-expansion": ">=5.0.1",
|
|
147
|
-
"lodash": ">=4.17.23"
|
|
147
|
+
"lodash": ">=4.17.23",
|
|
148
|
+
"minimatch": ">=10.2.1",
|
|
149
|
+
"ajv": ">=8.18.0"
|
|
148
150
|
}
|
|
149
151
|
}
|
|
150
152
|
}
|