@metamask/smart-transactions-controller
Advanced tools
+8
-1
@@ -10,2 +10,8 @@ # Changelog | ||
| ## [22.6.0] | ||
| ### Added | ||
| - chore(gasless-bridge): add gaslessBridgeWith7702Enabled feature flag ([#568](https://github.com/MetaMask/smart-transactions-controller/pull/568)) | ||
| ## [22.5.0] | ||
@@ -726,3 +732,4 @@ | ||
| [Unreleased]: https://github.com/MetaMask/smart-transactions-controller/compare/v22.5.0...HEAD | ||
| [Unreleased]: https://github.com/MetaMask/smart-transactions-controller/compare/v22.6.0...HEAD | ||
| [22.6.0]: https://github.com/MetaMask/smart-transactions-controller/compare/v22.5.0...v22.6.0 | ||
| [22.5.0]: https://github.com/MetaMask/smart-transactions-controller/compare/v22.4.0...v22.5.0 | ||
@@ -729,0 +736,0 @@ [22.4.0]: https://github.com/MetaMask/smart-transactions-controller/compare/v22.3.0...v22.4.0 |
@@ -51,2 +51,3 @@ "use strict"; | ||
| extensionSkipSmartTransactionStatusPage: false, | ||
| gaslessBridgeWith7702Enabled: false, | ||
| batchStatusPollingInterval: 1000, | ||
@@ -53,0 +54,0 @@ }, |
@@ -39,2 +39,3 @@ export declare const API_BASE_URL = "https://transaction.api.cx.metamask.io"; | ||
| readonly extensionSkipSmartTransactionStatusPage: false; | ||
| readonly gaslessBridgeWith7702Enabled: false; | ||
| readonly batchStatusPollingInterval: 1000; | ||
@@ -41,0 +42,0 @@ }; |
@@ -39,2 +39,3 @@ export declare const API_BASE_URL = "https://transaction.api.cx.metamask.io"; | ||
| readonly extensionSkipSmartTransactionStatusPage: false; | ||
| readonly gaslessBridgeWith7702Enabled: false; | ||
| readonly batchStatusPollingInterval: 1000; | ||
@@ -41,0 +42,0 @@ }; |
@@ -48,2 +48,3 @@ export const API_BASE_URL = 'https://transaction.api.cx.metamask.io'; | ||
| extensionSkipSmartTransactionStatusPage: false, | ||
| gaslessBridgeWith7702Enabled: false, | ||
| batchStatusPollingInterval: 1000, | ||
@@ -50,0 +51,0 @@ }, |
@@ -43,2 +43,4 @@ "use strict"; | ||
| batchStatusPollingInterval: (0, superstruct_1.optional)((0, superstruct_1.number)()), | ||
| /** Whether gasless bridge with 7702 is enabled for the network */ | ||
| gaslessBridgeWith7702Enabled: (0, superstruct_1.optional)((0, superstruct_1.boolean)()), | ||
| /** Custom sentinel URL for the network */ | ||
@@ -45,0 +47,0 @@ sentinelUrl: (0, superstruct_1.optional)((0, superstruct_1.string)()), |
@@ -18,2 +18,3 @@ import type { Infer } from "@metamask/superstruct"; | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -43,2 +44,4 @@ }, { | ||
| batchStatusPollingInterval: import("@metamask/superstruct").Struct<number | undefined, null>; | ||
| /** Whether gasless bridge with 7702 is enabled for the network */ | ||
| gaslessBridgeWith7702Enabled: import("@metamask/superstruct").Struct<boolean | undefined, null>; | ||
| /** Custom sentinel URL for the network */ | ||
@@ -64,2 +67,3 @@ sentinelUrl: import("@metamask/superstruct").Struct<string | undefined, null>; | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -81,2 +85,3 @@ } | undefined; | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -106,2 +111,4 @@ } | undefined, { | ||
| batchStatusPollingInterval: import("@metamask/superstruct").Struct<number | undefined, null>; | ||
| /** Whether gasless bridge with 7702 is enabled for the network */ | ||
| gaslessBridgeWith7702Enabled: import("@metamask/superstruct").Struct<boolean | undefined, null>; | ||
| /** Custom sentinel URL for the network */ | ||
@@ -108,0 +115,0 @@ sentinelUrl: import("@metamask/superstruct").Struct<string | undefined, null>; |
@@ -18,2 +18,3 @@ import type { Infer } from "@metamask/superstruct"; | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -43,2 +44,4 @@ }, { | ||
| batchStatusPollingInterval: import("@metamask/superstruct").Struct<number | undefined, null>; | ||
| /** Whether gasless bridge with 7702 is enabled for the network */ | ||
| gaslessBridgeWith7702Enabled: import("@metamask/superstruct").Struct<boolean | undefined, null>; | ||
| /** Custom sentinel URL for the network */ | ||
@@ -64,2 +67,3 @@ sentinelUrl: import("@metamask/superstruct").Struct<string | undefined, null>; | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -81,2 +85,3 @@ } | undefined; | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -106,2 +111,4 @@ } | undefined, { | ||
| batchStatusPollingInterval: import("@metamask/superstruct").Struct<number | undefined, null>; | ||
| /** Whether gasless bridge with 7702 is enabled for the network */ | ||
| gaslessBridgeWith7702Enabled: import("@metamask/superstruct").Struct<boolean | undefined, null>; | ||
| /** Custom sentinel URL for the network */ | ||
@@ -108,0 +115,0 @@ sentinelUrl: import("@metamask/superstruct").Struct<string | undefined, null>; |
@@ -40,2 +40,4 @@ import { boolean, number, optional, string, type, is, validate } from "@metamask/superstruct"; | ||
| batchStatusPollingInterval: optional(number()), | ||
| /** Whether gasless bridge with 7702 is enabled for the network */ | ||
| gaslessBridgeWith7702Enabled: optional(boolean()), | ||
| /** Custom sentinel URL for the network */ | ||
@@ -42,0 +44,0 @@ sentinelUrl: optional(string()), |
@@ -96,2 +96,3 @@ import type { CaipChainId, Hex } from "@metamask/utils"; | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -115,2 +116,3 @@ }) & { | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -130,2 +132,3 @@ }; | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -149,2 +152,3 @@ }) & { | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -151,0 +155,0 @@ }; |
@@ -96,2 +96,3 @@ import type { CaipChainId, Hex } from "@metamask/utils"; | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -115,2 +116,3 @@ }) & { | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -130,2 +132,3 @@ }; | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -149,2 +152,3 @@ }) & { | ||
| batchStatusPollingInterval?: number | undefined; | ||
| gaslessBridgeWith7702Enabled?: boolean | undefined; | ||
| sentinelUrl?: string | undefined; | ||
@@ -151,0 +155,0 @@ }; |
+1
-1
| { | ||
| "name": "@metamask/smart-transactions-controller", | ||
| "version": "22.5.0", | ||
| "version": "22.6.0", | ||
| "description": "Improves success rates for swaps by trialing transactions privately and finding minimum fees", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
573316
0.5%2789
0.22%