@metamask-previews/bridge-controller 64.1.0-preview-8cfea65a → 64.1.0-preview-6bed60a6

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.
@@ -1,4 +1,3 @@
1
- import type { Infer } from "@metamask/superstruct";
2
1
  export declare enum FeeType {
3
2
  METABRIDGE = "metabridge",
4
3
  REFUEL = "refuel",
@@ -434,93 +433,6 @@ export declare const StepSchema: import("@metamask/superstruct").Struct<{
434
433
  icon: import("@metamask/superstruct").Struct<string | undefined, null>;
435
434
  }>;
436
435
  }>;
437
- export declare const IntentOrderSchema: import("@metamask/superstruct").Struct<{
438
- sellToken: string;
439
- buyToken: string;
440
- validTo: string | number;
441
- appData: string;
442
- appDataHash: string;
443
- feeAmount: string;
444
- kind: "sell" | "buy";
445
- partiallyFillable: boolean;
446
- receiver?: string | undefined;
447
- sellAmount?: string | undefined;
448
- buyAmount?: string | undefined;
449
- from?: string | undefined;
450
- }, {
451
- sellToken: import("@metamask/superstruct").Struct<string, null>;
452
- buyToken: import("@metamask/superstruct").Struct<string, null>;
453
- receiver: import("@metamask/superstruct").Struct<string | undefined, null>;
454
- validTo: import("@metamask/superstruct").Struct<string | number, null>;
455
- appData: import("@metamask/superstruct").Struct<string, null>;
456
- appDataHash: import("@metamask/superstruct").Struct<string, null>;
457
- feeAmount: import("@metamask/superstruct").Struct<string, null>;
458
- kind: import("@metamask/superstruct").Struct<"sell" | "buy", {
459
- sell: "sell";
460
- buy: "buy";
461
- }>;
462
- partiallyFillable: import("@metamask/superstruct").Struct<boolean, null>;
463
- sellAmount: import("@metamask/superstruct").Struct<string | undefined, null>;
464
- buyAmount: import("@metamask/superstruct").Struct<string | undefined, null>;
465
- from: import("@metamask/superstruct").Struct<string | undefined, null>;
466
- }>;
467
- export declare const IntentSchema: import("@metamask/superstruct").Struct<{
468
- protocol: "cowswap";
469
- order: {
470
- sellToken: string;
471
- buyToken: string;
472
- validTo: string | number;
473
- appData: string;
474
- appDataHash: string;
475
- feeAmount: string;
476
- kind: "sell" | "buy";
477
- partiallyFillable: boolean;
478
- receiver?: string | undefined;
479
- sellAmount?: string | undefined;
480
- buyAmount?: string | undefined;
481
- from?: string | undefined;
482
- };
483
- settlementContract?: string | undefined;
484
- relayer?: string | undefined;
485
- }, {
486
- protocol: import("@metamask/superstruct").Struct<"cowswap", {
487
- cowswap: "cowswap";
488
- }>;
489
- order: import("@metamask/superstruct").Struct<{
490
- sellToken: string;
491
- buyToken: string;
492
- validTo: string | number;
493
- appData: string;
494
- appDataHash: string;
495
- feeAmount: string;
496
- kind: "sell" | "buy";
497
- partiallyFillable: boolean;
498
- receiver?: string | undefined;
499
- sellAmount?: string | undefined;
500
- buyAmount?: string | undefined;
501
- from?: string | undefined;
502
- }, {
503
- sellToken: import("@metamask/superstruct").Struct<string, null>;
504
- buyToken: import("@metamask/superstruct").Struct<string, null>;
505
- receiver: import("@metamask/superstruct").Struct<string | undefined, null>;
506
- validTo: import("@metamask/superstruct").Struct<string | number, null>;
507
- appData: import("@metamask/superstruct").Struct<string, null>;
508
- appDataHash: import("@metamask/superstruct").Struct<string, null>;
509
- feeAmount: import("@metamask/superstruct").Struct<string, null>;
510
- kind: import("@metamask/superstruct").Struct<"sell" | "buy", {
511
- sell: "sell";
512
- buy: "buy";
513
- }>;
514
- partiallyFillable: import("@metamask/superstruct").Struct<boolean, null>;
515
- sellAmount: import("@metamask/superstruct").Struct<string | undefined, null>;
516
- buyAmount: import("@metamask/superstruct").Struct<string | undefined, null>;
517
- from: import("@metamask/superstruct").Struct<string | undefined, null>;
518
- }>;
519
- settlementContract: import("@metamask/superstruct").Struct<string | undefined, null>;
520
- relayer: import("@metamask/superstruct").Struct<string | undefined, null>;
521
- }>;
522
- export type IntentOrder = Infer<typeof IntentOrderSchema>;
523
- export type Intent = Infer<typeof IntentSchema>;
524
436
  export declare const QuoteSchema: import("@metamask/superstruct").Struct<{
525
437
  srcChainId: number;
526
438
  destChainId: number;
@@ -653,25 +565,6 @@ export declare const QuoteSchema: import("@metamask/superstruct").Struct<{
653
565
  priceImpact?: string | undefined;
654
566
  totalFeeAmountUsd?: string | undefined;
655
567
  } | undefined;
656
- intent?: {
657
- protocol: "cowswap";
658
- order: {
659
- sellToken: string;
660
- buyToken: string;
661
- validTo: string | number;
662
- appData: string;
663
- appDataHash: string;
664
- feeAmount: string;
665
- kind: "sell" | "buy";
666
- partiallyFillable: boolean;
667
- receiver?: string | undefined;
668
- sellAmount?: string | undefined;
669
- buyAmount?: string | undefined;
670
- from?: string | undefined;
671
- };
672
- settlementContract?: string | undefined;
673
- relayer?: string | undefined;
674
- } | undefined;
675
568
  gasSponsored?: boolean | undefined;
676
569
  }, {
677
570
  requestId: import("@metamask/superstruct").Struct<string, null>;
@@ -1188,61 +1081,6 @@ export declare const QuoteSchema: import("@metamask/superstruct").Struct<{
1188
1081
  priceImpact: import("@metamask/superstruct").Struct<string | undefined, null>;
1189
1082
  totalFeeAmountUsd: import("@metamask/superstruct").Struct<string | undefined, null>;
1190
1083
  }>;
1191
- intent: import("@metamask/superstruct").Struct<{
1192
- protocol: "cowswap";
1193
- order: {
1194
- sellToken: string;
1195
- buyToken: string;
1196
- validTo: string | number;
1197
- appData: string;
1198
- appDataHash: string;
1199
- feeAmount: string;
1200
- kind: "sell" | "buy";
1201
- partiallyFillable: boolean;
1202
- receiver?: string | undefined;
1203
- sellAmount?: string | undefined;
1204
- buyAmount?: string | undefined;
1205
- from?: string | undefined;
1206
- };
1207
- settlementContract?: string | undefined;
1208
- relayer?: string | undefined;
1209
- } | undefined, {
1210
- protocol: import("@metamask/superstruct").Struct<"cowswap", {
1211
- cowswap: "cowswap";
1212
- }>;
1213
- order: import("@metamask/superstruct").Struct<{
1214
- sellToken: string;
1215
- buyToken: string;
1216
- validTo: string | number;
1217
- appData: string;
1218
- appDataHash: string;
1219
- feeAmount: string;
1220
- kind: "sell" | "buy";
1221
- partiallyFillable: boolean;
1222
- receiver?: string | undefined;
1223
- sellAmount?: string | undefined;
1224
- buyAmount?: string | undefined;
1225
- from?: string | undefined;
1226
- }, {
1227
- sellToken: import("@metamask/superstruct").Struct<string, null>;
1228
- buyToken: import("@metamask/superstruct").Struct<string, null>;
1229
- receiver: import("@metamask/superstruct").Struct<string | undefined, null>;
1230
- validTo: import("@metamask/superstruct").Struct<string | number, null>;
1231
- appData: import("@metamask/superstruct").Struct<string, null>;
1232
- appDataHash: import("@metamask/superstruct").Struct<string, null>;
1233
- feeAmount: import("@metamask/superstruct").Struct<string, null>;
1234
- kind: import("@metamask/superstruct").Struct<"sell" | "buy", {
1235
- sell: "sell";
1236
- buy: "buy";
1237
- }>;
1238
- partiallyFillable: import("@metamask/superstruct").Struct<boolean, null>;
1239
- sellAmount: import("@metamask/superstruct").Struct<string | undefined, null>;
1240
- buyAmount: import("@metamask/superstruct").Struct<string | undefined, null>;
1241
- from: import("@metamask/superstruct").Struct<string | undefined, null>;
1242
- }>;
1243
- settlementContract: import("@metamask/superstruct").Struct<string | undefined, null>;
1244
- relayer: import("@metamask/superstruct").Struct<string | undefined, null>;
1245
- }>;
1246
1084
  /**
1247
1085
  * A third party sponsors the gas. If true, then gasIncluded7702 is also true.
1248
1086
  */
@@ -1250,8 +1088,8 @@ export declare const QuoteSchema: import("@metamask/superstruct").Struct<{
1250
1088
  }>;
1251
1089
  export declare const TxDataSchema: import("@metamask/superstruct").Struct<{
1252
1090
  chainId: number;
1253
- from: string;
1254
1091
  to: string;
1092
+ from: string;
1255
1093
  value: string;
1256
1094
  data: string;
1257
1095
  gasLimit: number | null;
@@ -1433,32 +1271,13 @@ export declare const QuoteResponseSchema: import("@metamask/superstruct").Struct
1433
1271
  priceImpact?: string | undefined;
1434
1272
  totalFeeAmountUsd?: string | undefined;
1435
1273
  } | undefined;
1436
- intent?: {
1437
- protocol: "cowswap";
1438
- order: {
1439
- sellToken: string;
1440
- buyToken: string;
1441
- validTo: string | number;
1442
- appData: string;
1443
- appDataHash: string;
1444
- feeAmount: string;
1445
- kind: "sell" | "buy";
1446
- partiallyFillable: boolean;
1447
- receiver?: string | undefined;
1448
- sellAmount?: string | undefined;
1449
- buyAmount?: string | undefined;
1450
- from?: string | undefined;
1451
- };
1452
- settlementContract?: string | undefined;
1453
- relayer?: string | undefined;
1454
- } | undefined;
1455
1274
  gasSponsored?: boolean | undefined;
1456
1275
  };
1457
1276
  estimatedProcessingTimeInSeconds: number;
1458
1277
  trade: string | {
1459
1278
  chainId: number;
1460
- from: string;
1461
1279
  to: string;
1280
+ from: string;
1462
1281
  value: string;
1463
1282
  data: string;
1464
1283
  gasLimit: number | null;
@@ -1478,8 +1297,8 @@ export declare const QuoteResponseSchema: import("@metamask/superstruct").Struct
1478
1297
  };
1479
1298
  approval?: {
1480
1299
  chainId: number;
1481
- from: string;
1482
1300
  to: string;
1301
+ from: string;
1483
1302
  value: string;
1484
1303
  data: string;
1485
1304
  gasLimit: number | null;
@@ -1627,25 +1446,6 @@ export declare const QuoteResponseSchema: import("@metamask/superstruct").Struct
1627
1446
  priceImpact?: string | undefined;
1628
1447
  totalFeeAmountUsd?: string | undefined;
1629
1448
  } | undefined;
1630
- intent?: {
1631
- protocol: "cowswap";
1632
- order: {
1633
- sellToken: string;
1634
- buyToken: string;
1635
- validTo: string | number;
1636
- appData: string;
1637
- appDataHash: string;
1638
- feeAmount: string;
1639
- kind: "sell" | "buy";
1640
- partiallyFillable: boolean;
1641
- receiver?: string | undefined;
1642
- sellAmount?: string | undefined;
1643
- buyAmount?: string | undefined;
1644
- from?: string | undefined;
1645
- };
1646
- settlementContract?: string | undefined;
1647
- relayer?: string | undefined;
1648
- } | undefined;
1649
1449
  gasSponsored?: boolean | undefined;
1650
1450
  }, {
1651
1451
  requestId: import("@metamask/superstruct").Struct<string, null>;
@@ -2162,61 +1962,6 @@ export declare const QuoteResponseSchema: import("@metamask/superstruct").Struct
2162
1962
  priceImpact: import("@metamask/superstruct").Struct<string | undefined, null>;
2163
1963
  totalFeeAmountUsd: import("@metamask/superstruct").Struct<string | undefined, null>;
2164
1964
  }>;
2165
- intent: import("@metamask/superstruct").Struct<{
2166
- protocol: "cowswap";
2167
- order: {
2168
- sellToken: string;
2169
- buyToken: string;
2170
- validTo: string | number;
2171
- appData: string;
2172
- appDataHash: string;
2173
- feeAmount: string;
2174
- kind: "sell" | "buy";
2175
- partiallyFillable: boolean;
2176
- receiver?: string | undefined;
2177
- sellAmount?: string | undefined;
2178
- buyAmount?: string | undefined;
2179
- from?: string | undefined;
2180
- };
2181
- settlementContract?: string | undefined;
2182
- relayer?: string | undefined;
2183
- } | undefined, {
2184
- protocol: import("@metamask/superstruct").Struct<"cowswap", {
2185
- cowswap: "cowswap";
2186
- }>;
2187
- order: import("@metamask/superstruct").Struct<{
2188
- sellToken: string;
2189
- buyToken: string;
2190
- validTo: string | number;
2191
- appData: string;
2192
- appDataHash: string;
2193
- feeAmount: string;
2194
- kind: "sell" | "buy";
2195
- partiallyFillable: boolean;
2196
- receiver?: string | undefined;
2197
- sellAmount?: string | undefined;
2198
- buyAmount?: string | undefined;
2199
- from?: string | undefined;
2200
- }, {
2201
- sellToken: import("@metamask/superstruct").Struct<string, null>;
2202
- buyToken: import("@metamask/superstruct").Struct<string, null>;
2203
- receiver: import("@metamask/superstruct").Struct<string | undefined, null>;
2204
- validTo: import("@metamask/superstruct").Struct<string | number, null>;
2205
- appData: import("@metamask/superstruct").Struct<string, null>;
2206
- appDataHash: import("@metamask/superstruct").Struct<string, null>;
2207
- feeAmount: import("@metamask/superstruct").Struct<string, null>;
2208
- kind: import("@metamask/superstruct").Struct<"sell" | "buy", {
2209
- sell: "sell";
2210
- buy: "buy";
2211
- }>;
2212
- partiallyFillable: import("@metamask/superstruct").Struct<boolean, null>;
2213
- sellAmount: import("@metamask/superstruct").Struct<string | undefined, null>;
2214
- buyAmount: import("@metamask/superstruct").Struct<string | undefined, null>;
2215
- from: import("@metamask/superstruct").Struct<string | undefined, null>;
2216
- }>;
2217
- settlementContract: import("@metamask/superstruct").Struct<string | undefined, null>;
2218
- relayer: import("@metamask/superstruct").Struct<string | undefined, null>;
2219
- }>;
2220
1965
  /**
2221
1966
  * A third party sponsors the gas. If true, then gasIncluded7702 is also true.
2222
1967
  */
@@ -2225,8 +1970,8 @@ export declare const QuoteResponseSchema: import("@metamask/superstruct").Struct
2225
1970
  estimatedProcessingTimeInSeconds: import("@metamask/superstruct").Struct<number, null>;
2226
1971
  approval: import("@metamask/superstruct").Struct<{
2227
1972
  chainId: number;
2228
- from: string;
2229
1973
  to: string;
1974
+ from: string;
2230
1975
  value: string;
2231
1976
  data: string;
2232
1977
  gasLimit: number | null;
@@ -2243,8 +1988,8 @@ export declare const QuoteResponseSchema: import("@metamask/superstruct").Struct
2243
1988
  } | undefined, null>;
2244
1989
  trade: import("@metamask/superstruct").Struct<string | {
2245
1990
  chainId: number;
2246
- from: string;
2247
1991
  to: string;
1992
+ from: string;
2248
1993
  value: string;
2249
1994
  data: string;
2250
1995
  gasLimit: number | null;
@@ -2396,32 +2141,13 @@ export declare const validateQuoteResponse: (data: unknown) => data is {
2396
2141
  priceImpact?: string | undefined;
2397
2142
  totalFeeAmountUsd?: string | undefined;
2398
2143
  } | undefined;
2399
- intent?: {
2400
- protocol: "cowswap";
2401
- order: {
2402
- sellToken: string;
2403
- buyToken: string;
2404
- validTo: string | number;
2405
- appData: string;
2406
- appDataHash: string;
2407
- feeAmount: string;
2408
- kind: "sell" | "buy";
2409
- partiallyFillable: boolean;
2410
- receiver?: string | undefined;
2411
- sellAmount?: string | undefined;
2412
- buyAmount?: string | undefined;
2413
- from?: string | undefined;
2414
- };
2415
- settlementContract?: string | undefined;
2416
- relayer?: string | undefined;
2417
- } | undefined;
2418
2144
  gasSponsored?: boolean | undefined;
2419
2145
  };
2420
2146
  estimatedProcessingTimeInSeconds: number;
2421
2147
  trade: string | {
2422
2148
  chainId: number;
2423
- from: string;
2424
2149
  to: string;
2150
+ from: string;
2425
2151
  value: string;
2426
2152
  data: string;
2427
2153
  gasLimit: number | null;
@@ -2441,8 +2167,8 @@ export declare const validateQuoteResponse: (data: unknown) => data is {
2441
2167
  };
2442
2168
  approval?: {
2443
2169
  chainId: number;
2444
- from: string;
2445
2170
  to: string;
2171
+ from: string;
2446
2172
  value: string;
2447
2173
  data: string;
2448
2174
  gasLimit: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"validators.d.cts","sourceRoot":"","sources":["../../src/utils/validators.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AAoBnD,oBAAY,OAAO;IACjB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,MAAM,UAAU;CACjB;AAED,oBAAY,SAAS;IACnB,KAAK,UAAU;CAChB;AAED,oBAAY,WAAW;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAkBD,eAAO,MAAM,YAAY,MAAO,MAAM,YAAuB,CAAC;AAK9D,eAAO,MAAM,iBAAiB;;;;;;;;;;IAC5B;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;;IAGH;;OAEG;;IAEH;;OAEG;;EAEH,CAAC;AAeH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAZnC;;;WAGG;;QAEH;;;WAGG;;;EAeH,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;EAGrC,CAAC;AAUH;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAU/B;;;OAGG;;;;;;;;;;QAKC;;WAEG;;;EAIP,CAAC;AAEH,eAAO,MAAM,4BAA4B,SACjC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAO,MAAM,wBAAwB,SAC7B,OAAO;;;;;;;;;CAGd,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;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