@snagsolutions/sdk 0.1.0-alpha.223 → 0.1.0-alpha.225
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 +16 -0
- package/package.json +1 -1
- package/resources/loyalty/rule-edits.d.ts +100 -28
- package/resources/loyalty/rule-edits.d.ts.map +1 -1
- package/resources/loyalty/rule-groups.d.ts +25 -7
- package/resources/loyalty/rule-groups.d.ts.map +1 -1
- package/resources/loyalty/rules.d.ts +125 -35
- package/resources/loyalty/rules.d.ts.map +1 -1
- package/resources/users/users.d.ts +4 -0
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs.map +1 -1
- package/src/resources/loyalty/rule-edits.ts +140 -36
- package/src/resources/loyalty/rule-groups.ts +35 -9
- package/src/resources/loyalty/rules.ts +175 -45
- package/src/resources/users/users.ts +5 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1101,26 +1101,52 @@ export namespace RuleEditListResponse {
|
|
|
1101
1101
|
* Metadata for swap loyalty rules
|
|
1102
1102
|
*/
|
|
1103
1103
|
export interface Swap {
|
|
1104
|
+
from?: Swap.From;
|
|
1105
|
+
|
|
1104
1106
|
provider?: 'any' | 'relay' | 'lifi';
|
|
1105
1107
|
|
|
1106
1108
|
relayReferrerId?: string;
|
|
1107
1109
|
|
|
1108
1110
|
requireCrossChainSwap?: boolean;
|
|
1109
1111
|
|
|
1110
|
-
|
|
1112
|
+
to?: Swap.To;
|
|
1113
|
+
}
|
|
1111
1114
|
|
|
1112
|
-
|
|
1115
|
+
export namespace Swap {
|
|
1116
|
+
export interface From {
|
|
1117
|
+
chain?: 'any' | number | string;
|
|
1113
1118
|
|
|
1114
|
-
|
|
1119
|
+
mode?: 'any' | 'specific';
|
|
1115
1120
|
|
|
1116
|
-
|
|
1117
|
-
}
|
|
1121
|
+
tokens?: Array<From.Token>;
|
|
1118
1122
|
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
address: string;
|
|
1123
|
+
trackAmount?: boolean;
|
|
1124
|
+
}
|
|
1122
1125
|
|
|
1123
|
-
|
|
1126
|
+
export namespace From {
|
|
1127
|
+
export interface Token {
|
|
1128
|
+
address: string;
|
|
1129
|
+
|
|
1130
|
+
chainId: string;
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
export interface To {
|
|
1135
|
+
chain?: 'any' | number | string;
|
|
1136
|
+
|
|
1137
|
+
mode?: 'any' | 'specific';
|
|
1138
|
+
|
|
1139
|
+
tokens?: Array<To.Token>;
|
|
1140
|
+
|
|
1141
|
+
trackAmount?: boolean;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
export namespace To {
|
|
1145
|
+
export interface Token {
|
|
1146
|
+
address: string;
|
|
1147
|
+
|
|
1148
|
+
chainId: string;
|
|
1149
|
+
}
|
|
1124
1150
|
}
|
|
1125
1151
|
}
|
|
1126
1152
|
}
|
|
@@ -2130,26 +2156,52 @@ export namespace RuleEditListResponse {
|
|
|
2130
2156
|
* Metadata for swap loyalty rules
|
|
2131
2157
|
*/
|
|
2132
2158
|
export interface Swap {
|
|
2159
|
+
from?: Swap.From;
|
|
2160
|
+
|
|
2133
2161
|
provider?: 'any' | 'relay' | 'lifi';
|
|
2134
2162
|
|
|
2135
2163
|
relayReferrerId?: string;
|
|
2136
2164
|
|
|
2137
2165
|
requireCrossChainSwap?: boolean;
|
|
2138
2166
|
|
|
2139
|
-
|
|
2167
|
+
to?: Swap.To;
|
|
2168
|
+
}
|
|
2140
2169
|
|
|
2141
|
-
|
|
2170
|
+
export namespace Swap {
|
|
2171
|
+
export interface From {
|
|
2172
|
+
chain?: 'any' | number | string;
|
|
2142
2173
|
|
|
2143
|
-
|
|
2174
|
+
mode?: 'any' | 'specific';
|
|
2144
2175
|
|
|
2145
|
-
|
|
2146
|
-
}
|
|
2176
|
+
tokens?: Array<From.Token>;
|
|
2147
2177
|
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
address: string;
|
|
2178
|
+
trackAmount?: boolean;
|
|
2179
|
+
}
|
|
2151
2180
|
|
|
2152
|
-
|
|
2181
|
+
export namespace From {
|
|
2182
|
+
export interface Token {
|
|
2183
|
+
address: string;
|
|
2184
|
+
|
|
2185
|
+
chainId: string;
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
export interface To {
|
|
2190
|
+
chain?: 'any' | number | string;
|
|
2191
|
+
|
|
2192
|
+
mode?: 'any' | 'specific';
|
|
2193
|
+
|
|
2194
|
+
tokens?: Array<To.Token>;
|
|
2195
|
+
|
|
2196
|
+
trackAmount?: boolean;
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
export namespace To {
|
|
2200
|
+
export interface Token {
|
|
2201
|
+
address: string;
|
|
2202
|
+
|
|
2203
|
+
chainId: string;
|
|
2204
|
+
}
|
|
2153
2205
|
}
|
|
2154
2206
|
}
|
|
2155
2207
|
}
|
|
@@ -3214,26 +3266,52 @@ export namespace RuleEditRestoreResponse {
|
|
|
3214
3266
|
* Metadata for swap loyalty rules
|
|
3215
3267
|
*/
|
|
3216
3268
|
export interface Swap {
|
|
3269
|
+
from?: Swap.From;
|
|
3270
|
+
|
|
3217
3271
|
provider?: 'any' | 'relay' | 'lifi';
|
|
3218
3272
|
|
|
3219
3273
|
relayReferrerId?: string;
|
|
3220
3274
|
|
|
3221
3275
|
requireCrossChainSwap?: boolean;
|
|
3222
3276
|
|
|
3223
|
-
|
|
3277
|
+
to?: Swap.To;
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
export namespace Swap {
|
|
3281
|
+
export interface From {
|
|
3282
|
+
chain?: 'any' | number | string;
|
|
3224
3283
|
|
|
3225
|
-
|
|
3284
|
+
mode?: 'any' | 'specific';
|
|
3226
3285
|
|
|
3227
|
-
|
|
3286
|
+
tokens?: Array<From.Token>;
|
|
3228
3287
|
|
|
3229
|
-
|
|
3230
|
-
|
|
3288
|
+
trackAmount?: boolean;
|
|
3289
|
+
}
|
|
3231
3290
|
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3291
|
+
export namespace From {
|
|
3292
|
+
export interface Token {
|
|
3293
|
+
address: string;
|
|
3294
|
+
|
|
3295
|
+
chainId: string;
|
|
3296
|
+
}
|
|
3297
|
+
}
|
|
3235
3298
|
|
|
3236
|
-
|
|
3299
|
+
export interface To {
|
|
3300
|
+
chain?: 'any' | number | string;
|
|
3301
|
+
|
|
3302
|
+
mode?: 'any' | 'specific';
|
|
3303
|
+
|
|
3304
|
+
tokens?: Array<To.Token>;
|
|
3305
|
+
|
|
3306
|
+
trackAmount?: boolean;
|
|
3307
|
+
}
|
|
3308
|
+
|
|
3309
|
+
export namespace To {
|
|
3310
|
+
export interface Token {
|
|
3311
|
+
address: string;
|
|
3312
|
+
|
|
3313
|
+
chainId: string;
|
|
3314
|
+
}
|
|
3237
3315
|
}
|
|
3238
3316
|
}
|
|
3239
3317
|
}
|
|
@@ -4243,26 +4321,52 @@ export namespace RuleEditRestoreResponse {
|
|
|
4243
4321
|
* Metadata for swap loyalty rules
|
|
4244
4322
|
*/
|
|
4245
4323
|
export interface Swap {
|
|
4324
|
+
from?: Swap.From;
|
|
4325
|
+
|
|
4246
4326
|
provider?: 'any' | 'relay' | 'lifi';
|
|
4247
4327
|
|
|
4248
4328
|
relayReferrerId?: string;
|
|
4249
4329
|
|
|
4250
4330
|
requireCrossChainSwap?: boolean;
|
|
4251
4331
|
|
|
4252
|
-
|
|
4332
|
+
to?: Swap.To;
|
|
4333
|
+
}
|
|
4253
4334
|
|
|
4254
|
-
|
|
4335
|
+
export namespace Swap {
|
|
4336
|
+
export interface From {
|
|
4337
|
+
chain?: 'any' | number | string;
|
|
4255
4338
|
|
|
4256
|
-
|
|
4339
|
+
mode?: 'any' | 'specific';
|
|
4257
4340
|
|
|
4258
|
-
|
|
4259
|
-
}
|
|
4341
|
+
tokens?: Array<From.Token>;
|
|
4260
4342
|
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4343
|
+
trackAmount?: boolean;
|
|
4344
|
+
}
|
|
4345
|
+
|
|
4346
|
+
export namespace From {
|
|
4347
|
+
export interface Token {
|
|
4348
|
+
address: string;
|
|
4349
|
+
|
|
4350
|
+
chainId: string;
|
|
4351
|
+
}
|
|
4352
|
+
}
|
|
4353
|
+
|
|
4354
|
+
export interface To {
|
|
4355
|
+
chain?: 'any' | number | string;
|
|
4356
|
+
|
|
4357
|
+
mode?: 'any' | 'specific';
|
|
4358
|
+
|
|
4359
|
+
tokens?: Array<To.Token>;
|
|
4360
|
+
|
|
4361
|
+
trackAmount?: boolean;
|
|
4362
|
+
}
|
|
4363
|
+
|
|
4364
|
+
export namespace To {
|
|
4365
|
+
export interface Token {
|
|
4366
|
+
address: string;
|
|
4264
4367
|
|
|
4265
|
-
|
|
4368
|
+
chainId: string;
|
|
4369
|
+
}
|
|
4266
4370
|
}
|
|
4267
4371
|
}
|
|
4268
4372
|
}
|
|
@@ -1192,26 +1192,52 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
1192
1192
|
* Metadata for swap loyalty rules
|
|
1193
1193
|
*/
|
|
1194
1194
|
export interface Swap {
|
|
1195
|
+
from?: Swap.From;
|
|
1196
|
+
|
|
1195
1197
|
provider?: 'any' | 'relay' | 'lifi';
|
|
1196
1198
|
|
|
1197
1199
|
relayReferrerId?: string;
|
|
1198
1200
|
|
|
1199
1201
|
requireCrossChainSwap?: boolean;
|
|
1200
1202
|
|
|
1201
|
-
|
|
1203
|
+
to?: Swap.To;
|
|
1204
|
+
}
|
|
1202
1205
|
|
|
1203
|
-
|
|
1206
|
+
export namespace Swap {
|
|
1207
|
+
export interface From {
|
|
1208
|
+
chain?: 'any' | number | string;
|
|
1204
1209
|
|
|
1205
|
-
|
|
1210
|
+
mode?: 'any' | 'specific';
|
|
1206
1211
|
|
|
1207
|
-
|
|
1208
|
-
}
|
|
1212
|
+
tokens?: Array<From.Token>;
|
|
1209
1213
|
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1214
|
+
trackAmount?: boolean;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
export namespace From {
|
|
1218
|
+
export interface Token {
|
|
1219
|
+
address: string;
|
|
1213
1220
|
|
|
1214
|
-
|
|
1221
|
+
chainId: string;
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
export interface To {
|
|
1226
|
+
chain?: 'any' | number | string;
|
|
1227
|
+
|
|
1228
|
+
mode?: 'any' | 'specific';
|
|
1229
|
+
|
|
1230
|
+
tokens?: Array<To.Token>;
|
|
1231
|
+
|
|
1232
|
+
trackAmount?: boolean;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
export namespace To {
|
|
1236
|
+
export interface Token {
|
|
1237
|
+
address: string;
|
|
1238
|
+
|
|
1239
|
+
chainId: string;
|
|
1240
|
+
}
|
|
1215
1241
|
}
|
|
1216
1242
|
}
|
|
1217
1243
|
}
|
|
@@ -1414,26 +1414,52 @@ export namespace RuleCreateResponse {
|
|
|
1414
1414
|
* Metadata for swap loyalty rules
|
|
1415
1415
|
*/
|
|
1416
1416
|
export interface Swap {
|
|
1417
|
+
from?: Swap.From;
|
|
1418
|
+
|
|
1417
1419
|
provider?: 'any' | 'relay' | 'lifi';
|
|
1418
1420
|
|
|
1419
1421
|
relayReferrerId?: string;
|
|
1420
1422
|
|
|
1421
1423
|
requireCrossChainSwap?: boolean;
|
|
1422
1424
|
|
|
1423
|
-
|
|
1425
|
+
to?: Swap.To;
|
|
1426
|
+
}
|
|
1424
1427
|
|
|
1425
|
-
|
|
1428
|
+
export namespace Swap {
|
|
1429
|
+
export interface From {
|
|
1430
|
+
chain?: 'any' | number | string;
|
|
1426
1431
|
|
|
1427
|
-
|
|
1432
|
+
mode?: 'any' | 'specific';
|
|
1428
1433
|
|
|
1429
|
-
|
|
1430
|
-
}
|
|
1434
|
+
tokens?: Array<From.Token>;
|
|
1431
1435
|
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1436
|
+
trackAmount?: boolean;
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
export namespace From {
|
|
1440
|
+
export interface Token {
|
|
1441
|
+
address: string;
|
|
1442
|
+
|
|
1443
|
+
chainId: string;
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
export interface To {
|
|
1448
|
+
chain?: 'any' | number | string;
|
|
1435
1449
|
|
|
1436
|
-
|
|
1450
|
+
mode?: 'any' | 'specific';
|
|
1451
|
+
|
|
1452
|
+
tokens?: Array<To.Token>;
|
|
1453
|
+
|
|
1454
|
+
trackAmount?: boolean;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
export namespace To {
|
|
1458
|
+
export interface Token {
|
|
1459
|
+
address: string;
|
|
1460
|
+
|
|
1461
|
+
chainId: string;
|
|
1462
|
+
}
|
|
1437
1463
|
}
|
|
1438
1464
|
}
|
|
1439
1465
|
}
|
|
@@ -2722,26 +2748,52 @@ export namespace RuleUpdateResponse {
|
|
|
2722
2748
|
* Metadata for swap loyalty rules
|
|
2723
2749
|
*/
|
|
2724
2750
|
export interface Swap {
|
|
2751
|
+
from?: Swap.From;
|
|
2752
|
+
|
|
2725
2753
|
provider?: 'any' | 'relay' | 'lifi';
|
|
2726
2754
|
|
|
2727
2755
|
relayReferrerId?: string;
|
|
2728
2756
|
|
|
2729
2757
|
requireCrossChainSwap?: boolean;
|
|
2730
2758
|
|
|
2731
|
-
|
|
2759
|
+
to?: Swap.To;
|
|
2760
|
+
}
|
|
2732
2761
|
|
|
2733
|
-
|
|
2762
|
+
export namespace Swap {
|
|
2763
|
+
export interface From {
|
|
2764
|
+
chain?: 'any' | number | string;
|
|
2734
2765
|
|
|
2735
|
-
|
|
2766
|
+
mode?: 'any' | 'specific';
|
|
2736
2767
|
|
|
2737
|
-
|
|
2738
|
-
}
|
|
2768
|
+
tokens?: Array<From.Token>;
|
|
2739
2769
|
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2770
|
+
trackAmount?: boolean;
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2773
|
+
export namespace From {
|
|
2774
|
+
export interface Token {
|
|
2775
|
+
address: string;
|
|
2776
|
+
|
|
2777
|
+
chainId: string;
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
export interface To {
|
|
2782
|
+
chain?: 'any' | number | string;
|
|
2783
|
+
|
|
2784
|
+
mode?: 'any' | 'specific';
|
|
2785
|
+
|
|
2786
|
+
tokens?: Array<To.Token>;
|
|
2787
|
+
|
|
2788
|
+
trackAmount?: boolean;
|
|
2789
|
+
}
|
|
2790
|
+
|
|
2791
|
+
export namespace To {
|
|
2792
|
+
export interface Token {
|
|
2793
|
+
address: string;
|
|
2743
2794
|
|
|
2744
|
-
|
|
2795
|
+
chainId: string;
|
|
2796
|
+
}
|
|
2745
2797
|
}
|
|
2746
2798
|
}
|
|
2747
2799
|
}
|
|
@@ -3875,26 +3927,52 @@ export namespace RuleListResponse {
|
|
|
3875
3927
|
* Metadata for swap loyalty rules
|
|
3876
3928
|
*/
|
|
3877
3929
|
export interface Swap {
|
|
3930
|
+
from?: Swap.From;
|
|
3931
|
+
|
|
3878
3932
|
provider?: 'any' | 'relay' | 'lifi';
|
|
3879
3933
|
|
|
3880
3934
|
relayReferrerId?: string;
|
|
3881
3935
|
|
|
3882
3936
|
requireCrossChainSwap?: boolean;
|
|
3883
3937
|
|
|
3884
|
-
|
|
3938
|
+
to?: Swap.To;
|
|
3939
|
+
}
|
|
3885
3940
|
|
|
3886
|
-
|
|
3941
|
+
export namespace Swap {
|
|
3942
|
+
export interface From {
|
|
3943
|
+
chain?: 'any' | number | string;
|
|
3887
3944
|
|
|
3888
|
-
|
|
3945
|
+
mode?: 'any' | 'specific';
|
|
3889
3946
|
|
|
3890
|
-
|
|
3891
|
-
}
|
|
3947
|
+
tokens?: Array<From.Token>;
|
|
3892
3948
|
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
address: string;
|
|
3949
|
+
trackAmount?: boolean;
|
|
3950
|
+
}
|
|
3896
3951
|
|
|
3897
|
-
|
|
3952
|
+
export namespace From {
|
|
3953
|
+
export interface Token {
|
|
3954
|
+
address: string;
|
|
3955
|
+
|
|
3956
|
+
chainId: string;
|
|
3957
|
+
}
|
|
3958
|
+
}
|
|
3959
|
+
|
|
3960
|
+
export interface To {
|
|
3961
|
+
chain?: 'any' | number | string;
|
|
3962
|
+
|
|
3963
|
+
mode?: 'any' | 'specific';
|
|
3964
|
+
|
|
3965
|
+
tokens?: Array<To.Token>;
|
|
3966
|
+
|
|
3967
|
+
trackAmount?: boolean;
|
|
3968
|
+
}
|
|
3969
|
+
|
|
3970
|
+
export namespace To {
|
|
3971
|
+
export interface Token {
|
|
3972
|
+
address: string;
|
|
3973
|
+
|
|
3974
|
+
chainId: string;
|
|
3975
|
+
}
|
|
3898
3976
|
}
|
|
3899
3977
|
}
|
|
3900
3978
|
}
|
|
@@ -5291,26 +5369,52 @@ export namespace RuleCreateParams {
|
|
|
5291
5369
|
* Metadata for swap loyalty rules
|
|
5292
5370
|
*/
|
|
5293
5371
|
export interface Swap {
|
|
5372
|
+
from?: Swap.From;
|
|
5373
|
+
|
|
5294
5374
|
provider?: 'any' | 'relay' | 'lifi';
|
|
5295
5375
|
|
|
5296
5376
|
relayReferrerId?: string;
|
|
5297
5377
|
|
|
5298
5378
|
requireCrossChainSwap?: boolean;
|
|
5299
5379
|
|
|
5300
|
-
|
|
5380
|
+
to?: Swap.To;
|
|
5381
|
+
}
|
|
5301
5382
|
|
|
5302
|
-
|
|
5383
|
+
export namespace Swap {
|
|
5384
|
+
export interface From {
|
|
5385
|
+
chain?: 'any' | number | string;
|
|
5303
5386
|
|
|
5304
|
-
|
|
5387
|
+
mode?: 'any' | 'specific';
|
|
5305
5388
|
|
|
5306
|
-
|
|
5307
|
-
}
|
|
5389
|
+
tokens?: Array<From.Token>;
|
|
5308
5390
|
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5391
|
+
trackAmount?: boolean;
|
|
5392
|
+
}
|
|
5393
|
+
|
|
5394
|
+
export namespace From {
|
|
5395
|
+
export interface Token {
|
|
5396
|
+
address: string;
|
|
5312
5397
|
|
|
5313
|
-
|
|
5398
|
+
chainId: string;
|
|
5399
|
+
}
|
|
5400
|
+
}
|
|
5401
|
+
|
|
5402
|
+
export interface To {
|
|
5403
|
+
chain?: 'any' | number | string;
|
|
5404
|
+
|
|
5405
|
+
mode?: 'any' | 'specific';
|
|
5406
|
+
|
|
5407
|
+
tokens?: Array<To.Token>;
|
|
5408
|
+
|
|
5409
|
+
trackAmount?: boolean;
|
|
5410
|
+
}
|
|
5411
|
+
|
|
5412
|
+
export namespace To {
|
|
5413
|
+
export interface Token {
|
|
5414
|
+
address: string;
|
|
5415
|
+
|
|
5416
|
+
chainId: string;
|
|
5417
|
+
}
|
|
5314
5418
|
}
|
|
5315
5419
|
}
|
|
5316
5420
|
}
|
|
@@ -6597,26 +6701,52 @@ export namespace RuleUpdateParams {
|
|
|
6597
6701
|
* Metadata for swap loyalty rules
|
|
6598
6702
|
*/
|
|
6599
6703
|
export interface Swap {
|
|
6704
|
+
from?: Swap.From;
|
|
6705
|
+
|
|
6600
6706
|
provider?: 'any' | 'relay' | 'lifi';
|
|
6601
6707
|
|
|
6602
6708
|
relayReferrerId?: string;
|
|
6603
6709
|
|
|
6604
6710
|
requireCrossChainSwap?: boolean;
|
|
6605
6711
|
|
|
6606
|
-
|
|
6712
|
+
to?: Swap.To;
|
|
6713
|
+
}
|
|
6607
6714
|
|
|
6608
|
-
|
|
6715
|
+
export namespace Swap {
|
|
6716
|
+
export interface From {
|
|
6717
|
+
chain?: 'any' | number | string;
|
|
6609
6718
|
|
|
6610
|
-
|
|
6719
|
+
mode?: 'any' | 'specific';
|
|
6611
6720
|
|
|
6612
|
-
|
|
6613
|
-
}
|
|
6721
|
+
tokens?: Array<From.Token>;
|
|
6614
6722
|
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
address: string;
|
|
6723
|
+
trackAmount?: boolean;
|
|
6724
|
+
}
|
|
6618
6725
|
|
|
6619
|
-
|
|
6726
|
+
export namespace From {
|
|
6727
|
+
export interface Token {
|
|
6728
|
+
address: string;
|
|
6729
|
+
|
|
6730
|
+
chainId: string;
|
|
6731
|
+
}
|
|
6732
|
+
}
|
|
6733
|
+
|
|
6734
|
+
export interface To {
|
|
6735
|
+
chain?: 'any' | number | string;
|
|
6736
|
+
|
|
6737
|
+
mode?: 'any' | 'specific';
|
|
6738
|
+
|
|
6739
|
+
tokens?: Array<To.Token>;
|
|
6740
|
+
|
|
6741
|
+
trackAmount?: boolean;
|
|
6742
|
+
}
|
|
6743
|
+
|
|
6744
|
+
export namespace To {
|
|
6745
|
+
export interface Token {
|
|
6746
|
+
address: string;
|
|
6747
|
+
|
|
6748
|
+
chainId: string;
|
|
6749
|
+
}
|
|
6620
6750
|
}
|
|
6621
6751
|
}
|
|
6622
6752
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.225'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.225";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.1.0-alpha.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.225'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.225'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|