@metamask-previews/transaction-pay-controller 23.13.1-preview-8633f7f2a → 23.13.1-preview-b2742a2fc
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.
|
@@ -261,6 +261,10 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
261
261
|
}[] | undefined;
|
|
262
262
|
fee_limit?: number | undefined;
|
|
263
263
|
} | null | undefined;
|
|
264
|
+
} | {
|
|
265
|
+
xdrBase64: string;
|
|
266
|
+
} | {
|
|
267
|
+
xdr: string;
|
|
264
268
|
};
|
|
265
269
|
quoteId?: string | undefined;
|
|
266
270
|
approval?: {
|
|
@@ -479,6 +483,10 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
479
483
|
}[] | undefined;
|
|
480
484
|
fee_limit?: number | undefined;
|
|
481
485
|
} | null | undefined;
|
|
486
|
+
} | {
|
|
487
|
+
xdrBase64: string;
|
|
488
|
+
} | {
|
|
489
|
+
xdr: string;
|
|
482
490
|
};
|
|
483
491
|
quoteId?: string | undefined;
|
|
484
492
|
approval?: {
|
|
@@ -513,7 +521,7 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
513
521
|
effectiveGas?: number | undefined;
|
|
514
522
|
} | undefined;
|
|
515
523
|
quoteRequestIndex?: number | undefined;
|
|
516
|
-
} & import("@metamask/bridge-controller").QuoteMetadata)[], isStxEnabled: boolean, quotesReceivedContext?: (import("@metamask/bridge-controller").TradeData & Pick<import("@metamask/bridge-controller").RequestParams, "token_symbol_source" | "token_symbol_destination"> & {
|
|
524
|
+
} & import("@metamask/bridge-controller").QuoteMetadata)[], isStxEnabled: boolean, quotesReceivedContext?: (import("@metamask/bridge-controller").TradeData & Pick<import("@metamask/bridge-controller").RequestParams, "token_symbol_source" | "token_symbol_destination"> & import("@metamask/bridge-controller").InputPrimaryDenominationData & {
|
|
517
525
|
warnings: import("@metamask/bridge-controller").QuoteWarning[];
|
|
518
526
|
best_quote_provider: `${string}_${string}` | undefined;
|
|
519
527
|
price_impact: number;
|
|
@@ -563,7 +571,7 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
563
571
|
gasIncluded?: boolean | undefined;
|
|
564
572
|
gasIncluded7702?: boolean | undefined;
|
|
565
573
|
gasSponsored?: boolean | undefined;
|
|
566
|
-
}) | null | undefined) => Promise<import("@metamask/transaction-controller").TransactionMeta>>;
|
|
574
|
+
}) | null | undefined, inputPrimaryDenomination?: import("@metamask/bridge-controller").InputPrimaryDenomination | undefined) => Promise<import("@metamask/transaction-controller").TransactionMeta>>;
|
|
567
575
|
updateTransactionMock: jest.MockedFn<(transactionMeta: import("@metamask/transaction-controller").TransactionMeta, note: string) => void>;
|
|
568
576
|
};
|
|
569
577
|
//# sourceMappingURL=messenger-mock.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messenger-mock.d.cts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AA6BA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAe5D;;;;;;GAMG;AAEH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO
|
|
1
|
+
{"version":3,"file":"messenger-mock.d.cts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AA6BA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAe5D;;;;;;GAMG;AAEH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgTjC"}
|
|
@@ -261,6 +261,10 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
261
261
|
}[] | undefined;
|
|
262
262
|
fee_limit?: number | undefined;
|
|
263
263
|
} | null | undefined;
|
|
264
|
+
} | {
|
|
265
|
+
xdrBase64: string;
|
|
266
|
+
} | {
|
|
267
|
+
xdr: string;
|
|
264
268
|
};
|
|
265
269
|
quoteId?: string | undefined;
|
|
266
270
|
approval?: {
|
|
@@ -479,6 +483,10 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
479
483
|
}[] | undefined;
|
|
480
484
|
fee_limit?: number | undefined;
|
|
481
485
|
} | null | undefined;
|
|
486
|
+
} | {
|
|
487
|
+
xdrBase64: string;
|
|
488
|
+
} | {
|
|
489
|
+
xdr: string;
|
|
482
490
|
};
|
|
483
491
|
quoteId?: string | undefined;
|
|
484
492
|
approval?: {
|
|
@@ -513,7 +521,7 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
513
521
|
effectiveGas?: number | undefined;
|
|
514
522
|
} | undefined;
|
|
515
523
|
quoteRequestIndex?: number | undefined;
|
|
516
|
-
} & import("@metamask/bridge-controller").QuoteMetadata)[], isStxEnabled: boolean, quotesReceivedContext?: (import("@metamask/bridge-controller").TradeData & Pick<import("@metamask/bridge-controller").RequestParams, "token_symbol_source" | "token_symbol_destination"> & {
|
|
524
|
+
} & import("@metamask/bridge-controller").QuoteMetadata)[], isStxEnabled: boolean, quotesReceivedContext?: (import("@metamask/bridge-controller").TradeData & Pick<import("@metamask/bridge-controller").RequestParams, "token_symbol_source" | "token_symbol_destination"> & import("@metamask/bridge-controller").InputPrimaryDenominationData & {
|
|
517
525
|
warnings: import("@metamask/bridge-controller").QuoteWarning[];
|
|
518
526
|
best_quote_provider: `${string}_${string}` | undefined;
|
|
519
527
|
price_impact: number;
|
|
@@ -563,7 +571,7 @@ export declare function getMessengerMock({ skipRegister, }?: {
|
|
|
563
571
|
gasIncluded?: boolean | undefined;
|
|
564
572
|
gasIncluded7702?: boolean | undefined;
|
|
565
573
|
gasSponsored?: boolean | undefined;
|
|
566
|
-
}) | null | undefined) => Promise<import("@metamask/transaction-controller").TransactionMeta>>;
|
|
574
|
+
}) | null | undefined, inputPrimaryDenomination?: import("@metamask/bridge-controller").InputPrimaryDenomination | undefined) => Promise<import("@metamask/transaction-controller").TransactionMeta>>;
|
|
567
575
|
updateTransactionMock: jest.MockedFn<(transactionMeta: import("@metamask/transaction-controller").TransactionMeta, note: string) => void>;
|
|
568
576
|
};
|
|
569
577
|
//# sourceMappingURL=messenger-mock.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messenger-mock.d.mts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AA6BA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAe5D;;;;;;GAMG;AAEH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO
|
|
1
|
+
{"version":3,"file":"messenger-mock.d.mts","sourceRoot":"","sources":["../../src/tests/messenger-mock.ts"],"names":[],"mappings":";AA6BA,OAAO,KAAK,EAAE,iCAAiC,EAAE,qBAAW;AAe5D;;;;;;GAMG;AAEH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,GACb,GAAE;IAAE,YAAY,CAAC,EAAE,OAAO,CAAA;CAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgTjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/transaction-pay-controller",
|
|
3
|
-
"version": "23.13.1-preview-
|
|
3
|
+
"version": "23.13.1-preview-b2742a2fc",
|
|
4
4
|
"description": "Manages alternate payment strategies to provide required funds for transactions in MetaMask",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Ethereum",
|