@ledgerhq/hw-app-eth 6.11.2 → 6.14.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/tests/Eth.test.ts CHANGED
@@ -166,8 +166,8 @@ test("paraswap without plugins", async () => {
166
166
  RecordStore.fromString(paraswapAPDUs.split("\n").slice(4).join("\n"))
167
167
  );
168
168
  const eth = new Eth(transport);
169
- eth.setPluginsLoadConfig({
170
- baseURL: null,
169
+ eth.setLoadConfig({
170
+ pluginBaseURL: null,
171
171
  });
172
172
  const result = await eth.signTransaction(
173
173
  "44'/60'/0'/0/0",
@@ -186,8 +186,8 @@ test("paraswap without plugins CDN but with explicit plugin", async () => {
186
186
  RecordStore.fromString(paraswapAPDUs)
187
187
  );
188
188
  const eth = new Eth(transport);
189
- eth.setPluginsLoadConfig({
190
- baseURL: null,
189
+ eth.setLoadConfig({
190
+ pluginBaseURL: null,
191
191
  extraPlugins: paraswapJSON,
192
192
  });
193
193
  const result = await eth.signTransaction(
@@ -216,7 +216,7 @@ test("signTransactionLargeChainID", async () => {
216
216
  expect(result).toEqual({
217
217
  r: "3694583045a85ada8d15d5e01b373b00e86a405c9c52f7835691dcc522b7353b",
218
218
  s: "30392e638a591c65ed307809825ca48346980f52d004ab7a5f93657f7e62a400",
219
- v: "01541b",
219
+ v: "01542b",
220
220
  });
221
221
  });
222
222