Skip to content

Commit

Permalink
chore: Bump @metamask/smart-transactions-controller from 10.1.1 to 11…
Browse files Browse the repository at this point in the history
….0.0 (#10437)
  • Loading branch information
dan437 authored Aug 20, 2024
1 parent 9d4e527 commit 8761b54
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 40 deletions.
3 changes: 2 additions & 1 deletion app/core/Engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1234,12 +1234,12 @@ class Engine {
this.transactionController.confirmExternalTransaction.bind(
this.transactionController,
),
// @ts-expect-error Need to make sure types match.
getNetworkClientById:
networkController.getNetworkClientById.bind(networkController),
getNonceLock: this.transactionController.getNonceLock.bind(
this.transactionController,
),
// @ts-expect-error Older TransactionController version in SmartTransactionsController means TransactionMeta types don't match.
getTransactions: this.transactionController.getTransactions.bind(
this.transactionController,
),
Expand All @@ -1255,6 +1255,7 @@ class Engine {
networkController.getProviderAndBlockTracker().provider as any,

trackMetaMetricsEvent: smartTransactionsControllerTrackMetaMetricsEvent,
getMetaMetricsProps: () => Promise.resolve({}), // Return MetaMetrics props once we enable HW wallets for smart transactions.
},
{
supportedChainIds: getAllowedSmartTransactionsChainIds(),
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
"@metamask/sdk-communication-layer": "^0.20.2",
"@metamask/signature-controller": "^16.0.0",
"@metamask/slip44": "3.1.0",
"@metamask/smart-transactions-controller": "10.1.1",
"@metamask/smart-transactions-controller": "11.0.0",
"@metamask/snaps-controllers": "^9.4.0",
"@metamask/snaps-execution-environments": "^6.6.2",
"@metamask/snaps-rpc-methods": "^9.1.4",
Expand Down Expand Up @@ -584,4 +584,4 @@
}
},
"packageManager": "yarn@1.22.22"
}
}
59 changes: 22 additions & 37 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4566,23 +4566,6 @@
ethereumjs-util "^7.0.10"
uuid "^8.3.2"

"@metamask/gas-fee-controller@^15.1.2":
version "15.1.2"
resolved "https://registry.yarnpkg.com/@metamask/gas-fee-controller/-/gas-fee-controller-15.1.2.tgz#cb8d85906efa1ff42a159ec023287ff31a63e45b"
integrity sha512-9knWAuhWvz0XKLvjImgpjbF1umCs6gNG70dc09VvWlp9BNowrniIEDRzo7bcDGvAectE2Vp0rxaohgqY8c5AOA==
dependencies:
"@metamask/base-controller" "^5.0.2"
"@metamask/controller-utils" "^9.1.0"
"@metamask/eth-query" "^4.0.0"
"@metamask/ethjs-unit" "^0.3.0"
"@metamask/network-controller" "^18.1.0"
"@metamask/polling-controller" "^6.0.2"
"@metamask/utils" "^8.3.0"
"@types/bn.js" "^5.1.5"
"@types/uuid" "^8.3.0"
bn.js "^5.2.1"
uuid "^8.3.2"

"@metamask/gas-fee-controller@^18.0.0":
version "18.0.0"
resolved "https://registry.yarnpkg.com/@metamask/gas-fee-controller/-/gas-fee-controller-18.0.0.tgz#a6ac49fa1a637708d36bce9306407496bf61ccce"
Expand Down Expand Up @@ -5020,7 +5003,7 @@
fast-json-stable-stringify "^2.1.0"
uuid "^8.3.2"

"@metamask/polling-controller@^6.0.1", "@metamask/polling-controller@^6.0.2":
"@metamask/polling-controller@^6.0.2":
version "6.0.2"
resolved "https://registry.yarnpkg.com/@metamask/polling-controller/-/polling-controller-6.0.2.tgz#dbe3c7d6610729db0749d37ce0eebf846894bd0e"
integrity sha512-q8LsV9JhV+heyO+6IIOUyaT6SqQKbyZOopRvhFNcZa37yATiJbv7TqVxy3qynVgyddguKdCQQtnxlL49Lc7Q2Q==
Expand Down Expand Up @@ -5257,21 +5240,22 @@
resolved "https://registry.yarnpkg.com/@metamask/slip44/-/slip44-4.0.0.tgz#690a52d2ba74ea677d9bd0e827a90c8809fbecd3"
integrity sha512-MQMocMvFmp1MWownjKMuxevivwYeNQPSpNyIg9K7nmxKuoatp5NUc9L8EJ3Bh//rOfl6fBfXn9byfS0t+NE02Q==

"@metamask/smart-transactions-controller@10.1.1":
version "10.1.1"
resolved "https://registry.yarnpkg.com/@metamask/smart-transactions-controller/-/smart-transactions-controller-10.1.1.tgz#4055218bfd6461ff495a2d2661c86bea62318568"
integrity sha512-QryupOKHcbPkqI0n8+xFq0aJ4B+W6+QKUSkHrIR+0t/LIf4WcB8fEMwsSfhi4/k7iqP5PLBB/cQojRoE9ZGsYQ==
"@metamask/smart-transactions-controller@11.0.0":
version "11.0.0"
resolved "https://registry.yarnpkg.com/@metamask/smart-transactions-controller/-/smart-transactions-controller-11.0.0.tgz#79c9d52bb3fc6c3fdc4c470c92f1a287111353f0"
integrity sha512-CNOB737ibWTMSI2/UMqszlP3qsrZNW5uOtWGgnA1t3upuxgJ63R1BJ8lQl5hGLx7R2VyehvRh7K0tXsPLcQGEg==
dependencies:
"@babel/runtime" "^7.24.1"
"@ethereumjs/tx" "^5.2.1"
"@ethereumjs/util" "^9.0.2"
"@ethersproject/bytes" "^5.7.0"
"@metamask/base-controller" "^5.0.1"
"@metamask/controller-utils" "^9.1.0"
"@metamask/base-controller" "^6.0.0"
"@metamask/controller-utils" "^11.0.0"
"@metamask/eth-json-rpc-provider" "^4.1.0"
"@metamask/eth-query" "^4.0.0"
"@metamask/network-controller" "^18.1.2"
"@metamask/polling-controller" "^6.0.1"
"@metamask/transaction-controller" "^30.0.0"
"@metamask/network-controller" "^19.0.0"
"@metamask/polling-controller" "^8.0.0"
"@metamask/transaction-controller" "^34.0.0"
bignumber.js "^9.0.1"
events "^3.3.0"
fast-json-patch "^3.1.0"
Expand Down Expand Up @@ -5517,28 +5501,29 @@
resolved "https://registry.yarnpkg.com/@metamask/test-dapp/-/test-dapp-8.9.0.tgz#bac680e8f0007b3a11440f7e311674d6457d37ed"
integrity sha512-N/WfmdrzJm+xbpuqJsfMrlrAhiNDsllIpwt9gDDeEKDlQAfJnMtT9xvOvBJbXY7zgMdtGZuD+KY64jNKabbuVQ==

"@metamask/transaction-controller@^30.0.0":
version "30.0.0"
resolved "https://registry.yarnpkg.com/@metamask/transaction-controller/-/transaction-controller-30.0.0.tgz#e7f6a4a150538e3b58e1b6962c44a1e14a68af2e"
integrity sha512-uB5fHXbBo9ttShg122f/NZScxr0oTy+mDBAmO96BmC2sxqUiTmhc+nrT4O1jqAZSgj0jYDwXXdQV+Wty/Ewztg==
"@metamask/transaction-controller@^34.0.0":
version "34.0.0"
resolved "https://registry.yarnpkg.com/@metamask/transaction-controller/-/transaction-controller-34.0.0.tgz#3c6af8a1b22610a212994ab5683d527dfbacfd74"
integrity sha512-3zlLNVXTYVr9XxkrKXkAHRU2ZvPg9QFOY7N0/klpoPNBwMhc0oMEen89uRkLhXyIH33XsOmHDKnQkDjgMWG//w==
dependencies:
"@ethereumjs/common" "^3.2.0"
"@ethereumjs/tx" "^4.2.0"
"@ethereumjs/util" "^8.1.0"
"@ethersproject/abi" "^5.7.0"
"@ethersproject/contracts" "^5.7.0"
"@ethersproject/providers" "^5.7.0"
"@metamask/approval-controller" "^6.0.2"
"@metamask/base-controller" "^5.0.2"
"@metamask/controller-utils" "^9.1.0"
"@metamask/accounts-controller" "^17.2.0"
"@metamask/approval-controller" "^7.0.0"
"@metamask/base-controller" "^6.0.0"
"@metamask/controller-utils" "^11.0.0"
"@metamask/eth-query" "^4.0.0"
"@metamask/gas-fee-controller" "^15.1.2"
"@metamask/gas-fee-controller" "^18.0.0"
"@metamask/metamask-eth-abis" "^3.1.1"
"@metamask/network-controller" "^18.1.2"
"@metamask/network-controller" "^19.0.0"
"@metamask/nonce-tracker" "^5.0.0"
"@metamask/rpc-errors" "^6.2.1"
"@metamask/utils" "^8.3.0"
async-mutex "^0.2.6"
async-mutex "^0.5.0"
bn.js "^5.2.1"
eth-method-registry "^4.0.0"
fast-json-patch "^3.1.1"
Expand Down

0 comments on commit 8761b54

Please sign in to comment.