@ledgerhq/coin-evm 2.7.0 → 2.7.1-nightly.0

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @ledgerhq/coin-evm
2
2
 
3
+ ## 2.7.1-nightly.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`1f62290`](https://github.com/LedgerHQ/ledger-live/commit/1f622907dd108fced66a36be1d8d8738d41303c9)]:
8
+ - @ledgerhq/cryptoassets@13.8.0-nightly.1
9
+ - @ledgerhq/coin-framework@0.20.2-nightly.0
10
+
3
11
  ## 2.7.0
4
12
 
5
13
  ### Minor Changes
@@ -1 +1 @@
1
- {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/bridge/js.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAElF,OAAO,KAAK,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIpE,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAI3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAMjD,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,CAAC,SAAS,CAAC,GAAG,cAAc,CAiB3F;AAED,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,aAAa,CAAC,SAAS,CAAC,GACtC,aAAa,CAAC,cAAc,CAAC,CAiB/B;AAED,wBAAgB,aAAa,CAC3B,aAAa,EAAE,aAAa,CAAC,SAAS,CAAC,EACvC,UAAU,EAAE,UAAU,GACrB,MAAM,CAAC,cAAc,CAAC,CAOxB"}
1
+ {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/bridge/js.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAElF,OAAO,KAAK,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIpE,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAI3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAMjD,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,CAAC,SAAS,CAAC,GAAG,cAAc,CAiB3F;AAED,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,aAAa,CAAC,SAAS,CAAC,GACtC,aAAa,CAAC,cAAc,CAAC,CAkB/B;AAED,wBAAgB,aAAa,CAC3B,aAAa,EAAE,aAAa,CAAC,SAAS,CAAC,EACvC,UAAU,EAAE,UAAU,GACrB,MAAM,CAAC,cAAc,CAAC,CAOxB"}
package/lib/bridge/js.js CHANGED
@@ -41,7 +41,7 @@ function buildAccountBridge(signerContext) {
41
41
  const signOperation = (0, signOperation_1.buildSignOperation)(signerContext);
42
42
  return {
43
43
  createTransaction: createTransaction_1.createTransaction,
44
- updateTransaction: (jsHelpers_1.defaultUpdateTransaction),
44
+ updateTransaction: (jsHelpers_1.updateTransaction),
45
45
  prepareTransaction: prepareTransaction_1.prepareTransaction,
46
46
  getTransactionStatus: getTransactionStatus_1.getTransactionStatus,
47
47
  sync: synchronization_1.sync,
@@ -49,6 +49,7 @@ function buildAccountBridge(signerContext) {
49
49
  signOperation,
50
50
  broadcast: broadcast_1.broadcast,
51
51
  estimateMaxSpendable: estimateMaxSpendable_1.estimateMaxSpendable,
52
+ getSerializedAddressParameters: jsHelpers_1.getSerializedAddressParameters,
52
53
  };
53
54
  }
54
55
  exports.buildAccountBridge = buildAccountBridge;
@@ -1 +1 @@
1
- {"version":3,"file":"js.js","sourceRoot":"","sources":["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AAU,EAAE,UAAU,GACrB,MAAM,CAAC,cAAc,CAAC,CAOxB"}
1
+ {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/bridge/js.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAElF,OAAO,KAAK,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIpE,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAI3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAMjD,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,CAAC,SAAS,CAAC,GAAG,cAAc,CAiB3F;AAED,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,aAAa,CAAC,SAAS,CAAC,GACtC,aAAa,CAAC,cAAc,CAAC,CAkB/B;AAED,wBAAgB,aAAa,CAC3B,aAAa,EAAE,aAAa,CAAC,SAAS,CAAC,EACvC,UAAU,EAAE,UAAU,GACrB,MAAM,CAAC,cAAc,CAAC,CAOxB"}
@@ -1,5 +1,5 @@
1
1
  /* istanbul ignore file: pure exports, bridge tested by live-common with bridge.integration.test.ts */
2
- import { defaultUpdateTransaction, makeAccountBridgeReceive, makeScanAccounts, } from "@ledgerhq/coin-framework/bridge/jsHelpers";
2
+ import { getSerializedAddressParameters, updateTransaction, makeAccountBridgeReceive, makeScanAccounts, } from "@ledgerhq/coin-framework/bridge/jsHelpers";
3
3
  import getAddressWrapper from "@ledgerhq/coin-framework/bridge/getAddressWrapper";
4
4
  import { estimateMaxSpendable } from "../estimateMaxSpendable";
5
5
  import { getTransactionStatus } from "../getTransactionStatus";
@@ -34,7 +34,7 @@ export function buildAccountBridge(signerContext) {
34
34
  const signOperation = buildSignOperation(signerContext);
35
35
  return {
36
36
  createTransaction,
37
- updateTransaction: (defaultUpdateTransaction),
37
+ updateTransaction: (updateTransaction),
38
38
  prepareTransaction,
39
39
  getTransactionStatus,
40
40
  sync,
@@ -42,6 +42,7 @@ export function buildAccountBridge(signerContext) {
42
42
  signOperation,
43
43
  broadcast,
44
44
  estimateMaxSpendable,
45
+ getSerializedAddressParameters,
45
46
  };
46
47
  }
47
48
  export function createBridges(signerContext, coinConfig) {
@@ -1 +1 @@
1
- {"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/bridge/js.ts"],"names":[],"mappings":"AAAA,sGAAsG;AACtG,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,GACjB,MAAM,2CAA2C,CAAC;AAGnD,OAAO,iBAAiB,MAAM,mDAAmD,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAmB,MAAM,WAAW,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AAExC,MAAM,UAAU,mBAAmB,CAAC,aAAuC;IACzE,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;IAE3C,MAAM,YAAY,GAAG,gBAAgB,CAAC;QACpC,eAAe;QACf,YAAY,EAAE,UAAU;KACzB,CAAC,CAAC;IAEH,O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3B,aAAuC,EACvC,UAAsB;IAEtB,aAAa,CAAC,UAAU,CAAC,CAAC;IAE1B,OAAO;QACL,cAAc,EAAE,mBAAmB,CAAC,aAAa,CAAC;QAClD,aAAa,EAAE,kBAAkB,CAAC,aAAa,CAAC;KACjD,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-evm",
3
- "version": "2.7.0",
3
+ "version": "2.7.1-nightly.0",
4
4
  "description": "Ledger EVM Coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -55,8 +55,8 @@
55
55
  "lodash": "^4.17.21",
56
56
  "react-native-get-random-values": "^1.8.0",
57
57
  "rxjs": "^7.8.1",
58
- "@ledgerhq/coin-framework": "^0.20.1",
59
- "@ledgerhq/cryptoassets": "^13.7.0",
58
+ "@ledgerhq/coin-framework": "^0.20.2-nightly.0",
59
+ "@ledgerhq/cryptoassets": "^13.8.0-nightly.1",
60
60
  "@ledgerhq/devices": "8.4.4",
61
61
  "@ledgerhq/domain-service": "^1.2.14",
62
62
  "@ledgerhq/errors": "^6.19.1",
@@ -85,7 +85,7 @@
85
85
  "ts-jest": "^29.1.1",
86
86
  "@ledgerhq/coin-tester": "^0.3.0",
87
87
  "@ledgerhq/hw-app-eth": "^6.42.1",
88
- "@ledgerhq/types-cryptoassets": "^7.17.0",
88
+ "@ledgerhq/types-cryptoassets": "^7.18.0-nightly.0",
89
89
  "@ledgerhq/types-live": "^6.55.0"
90
90
  },
91
91
  "scripts": {
@@ -441,7 +441,7 @@ exports[`getFormattedFeeFields with tx type 0 with locale de-DE should correctly
441
441
  }
442
442
  `;
443
443
 
444
- exports[`getFormattedFeeFields with tx type 0 with locale de-DE should correctly format fee fields for RSK unit 1`] = `
444
+ exports[`getFormattedFeeFields with tx type 0 with locale de-DE should correctly format fee fields for Rootstock unit 1`] = `
445
445
  {
446
446
  "formattedFeeValue": "0,000105 RBTC",
447
447
  "formattedGasPrice": "5 Gwei",
@@ -999,7 +999,7 @@ exports[`getFormattedFeeFields with tx type 0 with locale en-US should correctly
999
999
  }
1000
1000
  `;
1001
1001
 
1002
- exports[`getFormattedFeeFields with tx type 0 with locale en-US should correctly format fee fields for RSK unit 1`] = `
1002
+ exports[`getFormattedFeeFields with tx type 0 with locale en-US should correctly format fee fields for Rootstock unit 1`] = `
1003
1003
  {
1004
1004
  "formattedFeeValue": "0.000105 RBTC",
1005
1005
  "formattedGasPrice": "5 Gwei",
@@ -1557,7 +1557,7 @@ exports[`getFormattedFeeFields with tx type 0 with locale es-ES should correctly
1557
1557
  }
1558
1558
  `;
1559
1559
 
1560
- exports[`getFormattedFeeFields with tx type 0 with locale es-ES should correctly format fee fields for RSK unit 1`] = `
1560
+ exports[`getFormattedFeeFields with tx type 0 with locale es-ES should correctly format fee fields for Rootstock unit 1`] = `
1561
1561
  {
1562
1562
  "formattedFeeValue": "0,000105 RBTC",
1563
1563
  "formattedGasPrice": "5 Gwei",
@@ -2115,7 +2115,7 @@ exports[`getFormattedFeeFields with tx type 0 with locale fr-FR should correctly
2115
2115
  }
2116
2116
  `;
2117
2117
 
2118
- exports[`getFormattedFeeFields with tx type 0 with locale fr-FR should correctly format fee fields for RSK unit 1`] = `
2118
+ exports[`getFormattedFeeFields with tx type 0 with locale fr-FR should correctly format fee fields for Rootstock unit 1`] = `
2119
2119
  {
2120
2120
  "formattedFeeValue": "0,000105 RBTC",
2121
2121
  "formattedGasPrice": "5 Gwei",
@@ -2673,7 +2673,7 @@ exports[`getFormattedFeeFields with tx type 0 with locale ja-JP should correctly
2673
2673
  }
2674
2674
  `;
2675
2675
 
2676
- exports[`getFormattedFeeFields with tx type 0 with locale ja-JP should correctly format fee fields for RSK unit 1`] = `
2676
+ exports[`getFormattedFeeFields with tx type 0 with locale ja-JP should correctly format fee fields for Rootstock unit 1`] = `
2677
2677
  {
2678
2678
  "formattedFeeValue": "0.000105 RBTC",
2679
2679
  "formattedGasPrice": "5 Gwei",
@@ -3231,7 +3231,7 @@ exports[`getFormattedFeeFields with tx type 0 with locale ko-KR should correctly
3231
3231
  }
3232
3232
  `;
3233
3233
 
3234
- exports[`getFormattedFeeFields with tx type 0 with locale ko-KR should correctly format fee fields for RSK unit 1`] = `
3234
+ exports[`getFormattedFeeFields with tx type 0 with locale ko-KR should correctly format fee fields for Rootstock unit 1`] = `
3235
3235
  {
3236
3236
  "formattedFeeValue": "0.000105 RBTC",
3237
3237
  "formattedGasPrice": "5 Gwei",
@@ -3789,7 +3789,7 @@ exports[`getFormattedFeeFields with tx type 0 with locale pt-BR should correctly
3789
3789
  }
3790
3790
  `;
3791
3791
 
3792
- exports[`getFormattedFeeFields with tx type 0 with locale pt-BR should correctly format fee fields for RSK unit 1`] = `
3792
+ exports[`getFormattedFeeFields with tx type 0 with locale pt-BR should correctly format fee fields for Rootstock unit 1`] = `
3793
3793
  {
3794
3794
  "formattedFeeValue": "0,000105 RBTC",
3795
3795
  "formattedGasPrice": "5 Gwei",
@@ -4347,7 +4347,7 @@ exports[`getFormattedFeeFields with tx type 0 with locale ru-RU should correctly
4347
4347
  }
4348
4348
  `;
4349
4349
 
4350
- exports[`getFormattedFeeFields with tx type 0 with locale ru-RU should correctly format fee fields for RSK unit 1`] = `
4350
+ exports[`getFormattedFeeFields with tx type 0 with locale ru-RU should correctly format fee fields for Rootstock unit 1`] = `
4351
4351
  {
4352
4352
  "formattedFeeValue": "0,000105 RBTC",
4353
4353
  "formattedGasPrice": "5 Gwei",
@@ -4905,7 +4905,7 @@ exports[`getFormattedFeeFields with tx type 0 with locale tr-TR should correctly
4905
4905
  }
4906
4906
  `;
4907
4907
 
4908
- exports[`getFormattedFeeFields with tx type 0 with locale tr-TR should correctly format fee fields for RSK unit 1`] = `
4908
+ exports[`getFormattedFeeFields with tx type 0 with locale tr-TR should correctly format fee fields for Rootstock unit 1`] = `
4909
4909
  {
4910
4910
  "formattedFeeValue": "0,000105 RBTC",
4911
4911
  "formattedGasPrice": "5 Gwei",
@@ -5463,7 +5463,7 @@ exports[`getFormattedFeeFields with tx type 0 with locale zh-CN should correctly
5463
5463
  }
5464
5464
  `;
5465
5465
 
5466
- exports[`getFormattedFeeFields with tx type 0 with locale zh-CN should correctly format fee fields for RSK unit 1`] = `
5466
+ exports[`getFormattedFeeFields with tx type 0 with locale zh-CN should correctly format fee fields for Rootstock unit 1`] = `
5467
5467
  {
5468
5468
  "formattedFeeValue": "0.000105 RBTC",
5469
5469
  "formattedGasPrice": "5 Gwei",
@@ -6021,7 +6021,7 @@ exports[`getFormattedFeeFields with tx type 2 with locale de-DE should correctly
6021
6021
  }
6022
6022
  `;
6023
6023
 
6024
- exports[`getFormattedFeeFields with tx type 2 with locale de-DE should correctly format fee fields for RSK unit 1`] = `
6024
+ exports[`getFormattedFeeFields with tx type 2 with locale de-DE should correctly format fee fields for Rootstock unit 1`] = `
6025
6025
  {
6026
6026
  "formattedFeeValue": "0,000042 RBTC",
6027
6027
  "formattedGasPrice": "0 Gwei",
@@ -6579,7 +6579,7 @@ exports[`getFormattedFeeFields with tx type 2 with locale en-US should correctly
6579
6579
  }
6580
6580
  `;
6581
6581
 
6582
- exports[`getFormattedFeeFields with tx type 2 with locale en-US should correctly format fee fields for RSK unit 1`] = `
6582
+ exports[`getFormattedFeeFields with tx type 2 with locale en-US should correctly format fee fields for Rootstock unit 1`] = `
6583
6583
  {
6584
6584
  "formattedFeeValue": "0.000042 RBTC",
6585
6585
  "formattedGasPrice": "0 Gwei",
@@ -7137,7 +7137,7 @@ exports[`getFormattedFeeFields with tx type 2 with locale es-ES should correctly
7137
7137
  }
7138
7138
  `;
7139
7139
 
7140
- exports[`getFormattedFeeFields with tx type 2 with locale es-ES should correctly format fee fields for RSK unit 1`] = `
7140
+ exports[`getFormattedFeeFields with tx type 2 with locale es-ES should correctly format fee fields for Rootstock unit 1`] = `
7141
7141
  {
7142
7142
  "formattedFeeValue": "0,000042 RBTC",
7143
7143
  "formattedGasPrice": "0 Gwei",
@@ -7695,7 +7695,7 @@ exports[`getFormattedFeeFields with tx type 2 with locale fr-FR should correctly
7695
7695
  }
7696
7696
  `;
7697
7697
 
7698
- exports[`getFormattedFeeFields with tx type 2 with locale fr-FR should correctly format fee fields for RSK unit 1`] = `
7698
+ exports[`getFormattedFeeFields with tx type 2 with locale fr-FR should correctly format fee fields for Rootstock unit 1`] = `
7699
7699
  {
7700
7700
  "formattedFeeValue": "0,000042 RBTC",
7701
7701
  "formattedGasPrice": "0 Gwei",
@@ -8253,7 +8253,7 @@ exports[`getFormattedFeeFields with tx type 2 with locale ja-JP should correctly
8253
8253
  }
8254
8254
  `;
8255
8255
 
8256
- exports[`getFormattedFeeFields with tx type 2 with locale ja-JP should correctly format fee fields for RSK unit 1`] = `
8256
+ exports[`getFormattedFeeFields with tx type 2 with locale ja-JP should correctly format fee fields for Rootstock unit 1`] = `
8257
8257
  {
8258
8258
  "formattedFeeValue": "0.000042 RBTC",
8259
8259
  "formattedGasPrice": "0 Gwei",
@@ -8811,7 +8811,7 @@ exports[`getFormattedFeeFields with tx type 2 with locale ko-KR should correctly
8811
8811
  }
8812
8812
  `;
8813
8813
 
8814
- exports[`getFormattedFeeFields with tx type 2 with locale ko-KR should correctly format fee fields for RSK unit 1`] = `
8814
+ exports[`getFormattedFeeFields with tx type 2 with locale ko-KR should correctly format fee fields for Rootstock unit 1`] = `
8815
8815
  {
8816
8816
  "formattedFeeValue": "0.000042 RBTC",
8817
8817
  "formattedGasPrice": "0 Gwei",
@@ -9369,7 +9369,7 @@ exports[`getFormattedFeeFields with tx type 2 with locale pt-BR should correctly
9369
9369
  }
9370
9370
  `;
9371
9371
 
9372
- exports[`getFormattedFeeFields with tx type 2 with locale pt-BR should correctly format fee fields for RSK unit 1`] = `
9372
+ exports[`getFormattedFeeFields with tx type 2 with locale pt-BR should correctly format fee fields for Rootstock unit 1`] = `
9373
9373
  {
9374
9374
  "formattedFeeValue": "0,000042 RBTC",
9375
9375
  "formattedGasPrice": "0 Gwei",
@@ -9927,7 +9927,7 @@ exports[`getFormattedFeeFields with tx type 2 with locale ru-RU should correctly
9927
9927
  }
9928
9928
  `;
9929
9929
 
9930
- exports[`getFormattedFeeFields with tx type 2 with locale ru-RU should correctly format fee fields for RSK unit 1`] = `
9930
+ exports[`getFormattedFeeFields with tx type 2 with locale ru-RU should correctly format fee fields for Rootstock unit 1`] = `
9931
9931
  {
9932
9932
  "formattedFeeValue": "0,000042 RBTC",
9933
9933
  "formattedGasPrice": "0 Gwei",
@@ -10485,7 +10485,7 @@ exports[`getFormattedFeeFields with tx type 2 with locale tr-TR should correctly
10485
10485
  }
10486
10486
  `;
10487
10487
 
10488
- exports[`getFormattedFeeFields with tx type 2 with locale tr-TR should correctly format fee fields for RSK unit 1`] = `
10488
+ exports[`getFormattedFeeFields with tx type 2 with locale tr-TR should correctly format fee fields for Rootstock unit 1`] = `
10489
10489
  {
10490
10490
  "formattedFeeValue": "0,000042 RBTC",
10491
10491
  "formattedGasPrice": "0 Gwei",
@@ -11043,7 +11043,7 @@ exports[`getFormattedFeeFields with tx type 2 with locale zh-CN should correctly
11043
11043
  }
11044
11044
  `;
11045
11045
 
11046
- exports[`getFormattedFeeFields with tx type 2 with locale zh-CN should correctly format fee fields for RSK unit 1`] = `
11046
+ exports[`getFormattedFeeFields with tx type 2 with locale zh-CN should correctly format fee fields for Rootstock unit 1`] = `
11047
11047
  {
11048
11048
  "formattedFeeValue": "0.000042 RBTC",
11049
11049
  "formattedGasPrice": "0 Gwei",
package/src/bridge/js.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /* istanbul ignore file: pure exports, bridge tested by live-common with bridge.integration.test.ts */
2
2
  import {
3
- defaultUpdateTransaction,
3
+ getSerializedAddressParameters,
4
+ updateTransaction,
4
5
  makeAccountBridgeReceive,
5
6
  makeScanAccounts,
6
7
  } from "@ledgerhq/coin-framework/bridge/jsHelpers";
@@ -50,7 +51,7 @@ export function buildAccountBridge(
50
51
 
51
52
  return {
52
53
  createTransaction,
53
- updateTransaction: defaultUpdateTransaction<EvmTransaction>,
54
+ updateTransaction: updateTransaction<EvmTransaction>,
54
55
  prepareTransaction,
55
56
  getTransactionStatus,
56
57
  sync,
@@ -58,6 +59,7 @@ export function buildAccountBridge(
58
59
  signOperation,
59
60
  broadcast,
60
61
  estimateMaxSpendable,
62
+ getSerializedAddressParameters,
61
63
  };
62
64
  }
63
65