@ledgerhq/coin-tester-polkadot 1.4.0-nightly.8 → 1.4.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +22 -77
- package/lib/src/scenarii/Polkadot.js +2 -2
- package/lib/src/scenarii/Polkadot.js.map +1 -1
- package/lib/src/scenarii/Westend.js +2 -2
- package/lib/src/scenarii/Westend.js.map +1 -1
- package/lib/src/scenarii.test.d.ts +5 -0
- package/lib/src/scenarii.test.d.ts.map +1 -0
- package/lib/src/scenarii.test.js +43 -0
- package/lib/src/scenarii.test.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib-es/src/scenarii/Polkadot.js +1 -1
- package/lib-es/src/scenarii/Polkadot.js.map +1 -1
- package/lib-es/src/scenarii/Westend.js +1 -1
- package/lib-es/src/scenarii/Westend.js.map +1 -1
- package/lib-es/src/scenarii.test.d.ts +5 -0
- package/lib-es/src/scenarii.test.d.ts.map +1 -0
- package/lib-es/src/scenarii.test.js +37 -0
- package/lib-es/src/scenarii.test.js.map +1 -0
- package/lib-es/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/src/scenarii/Polkadot.ts +1 -1
- package/src/scenarii/Westend.ts +1 -1
- package/src/scenarii.test.ts +2 -0
- package/lib/src/constants.d.ts +0 -5
- package/lib/src/constants.d.ts.map +0 -1
- package/lib/src/constants.js +0 -5
- package/lib/src/constants.js.map +0 -1
- package/lib-es/src/constants.d.ts +0 -5
- package/lib-es/src/constants.d.ts.map +0 -1
- package/lib-es/src/constants.js +0 -2
- package/lib-es/src/constants.js.map +0 -1
- package/src/constants.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/coin-tester-polkadot",
|
|
3
|
-
"version": "1.4.0
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Ledger Polkadot Coin Tester",
|
|
5
5
|
"main": "src/scenarii.test.ts",
|
|
6
6
|
"keywords": [
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"dotenv": "^16.4.5",
|
|
51
51
|
"expect": "^27.4.6",
|
|
52
52
|
"msw": "^2.2.1",
|
|
53
|
-
"@ledgerhq/coin-framework": "^6.7.0
|
|
54
|
-
"@ledgerhq/coin-polkadot": "^6.11.0
|
|
55
|
-
"@ledgerhq/coin-tester": "^0.10.
|
|
56
|
-
"@ledgerhq/cryptoassets": "^13.31.0
|
|
57
|
-
"@ledgerhq/hw-app-polkadot": "^6.34.
|
|
58
|
-
"@ledgerhq/types-cryptoassets": "^7.29.0
|
|
59
|
-
"@ledgerhq/types-live": "^6.87.0
|
|
53
|
+
"@ledgerhq/coin-framework": "^6.7.0",
|
|
54
|
+
"@ledgerhq/coin-polkadot": "^6.11.0",
|
|
55
|
+
"@ledgerhq/coin-tester": "^0.10.1",
|
|
56
|
+
"@ledgerhq/cryptoassets": "^13.31.0",
|
|
57
|
+
"@ledgerhq/hw-app-polkadot": "^6.34.8",
|
|
58
|
+
"@ledgerhq/types-cryptoassets": "^7.29.0",
|
|
59
|
+
"@ledgerhq/types-live": "^6.87.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@polkadot/util": "12.6.2",
|
package/src/scenarii/Polkadot.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { formatCurrencyUnit, parseCurrencyUnit } from "@ledgerhq/coin-framework/
|
|
|
8
8
|
import { killChopsticksAndSidecar, spawnChopsticksAndSidecar } from "../chopsticks-sidecar";
|
|
9
9
|
import { PolkadotCoinConfig } from "@ledgerhq/coin-polkadot/config";
|
|
10
10
|
import { ExplorerExtrinsic } from "@ledgerhq/coin-polkadot";
|
|
11
|
-
import { defaultNanoApp } from "../
|
|
11
|
+
import { defaultNanoApp } from "../scenarii.test";
|
|
12
12
|
import { createBridges } from "@ledgerhq/coin-polkadot/bridge/index";
|
|
13
13
|
import { makeAccount } from "../fixtures";
|
|
14
14
|
import { indexOperation } from "../indexer";
|
package/src/scenarii/Westend.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { formatCurrencyUnit, parseCurrencyUnit } from "@ledgerhq/coin-framework/
|
|
|
8
8
|
import { killChopsticksAndSidecar, spawnChopsticksAndSidecar } from "../chopsticks-sidecar";
|
|
9
9
|
import { PolkadotCoinConfig } from "@ledgerhq/coin-polkadot/config";
|
|
10
10
|
import { ExplorerExtrinsic } from "@ledgerhq/coin-polkadot";
|
|
11
|
-
import { defaultNanoApp } from "../
|
|
11
|
+
import { defaultNanoApp } from "../scenarii.test";
|
|
12
12
|
import { createBridges } from "@ledgerhq/coin-polkadot/bridge/index";
|
|
13
13
|
import { makeAccount } from "../fixtures";
|
|
14
14
|
import { indexOperation } from "../indexer";
|
package/src/scenarii.test.ts
CHANGED
|
@@ -8,6 +8,8 @@ import { WestendScenario } from "./scenarii/Westend";
|
|
|
8
8
|
global.console = console;
|
|
9
9
|
jest.setTimeout(300_000);
|
|
10
10
|
|
|
11
|
+
export const defaultNanoApp = { firmware: "2.5.0" as const, version: "100.0.10" as const };
|
|
12
|
+
|
|
11
13
|
describe("Polkadot Deterministic Tester", () => {
|
|
12
14
|
it("scenario Polkadot", async () => {
|
|
13
15
|
try {
|
package/lib/src/constants.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;CAA8D,CAAC"}
|
package/lib/src/constants.js
DELETED
package/lib/src/constants.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG,EAAE,QAAQ,EAAE,OAAgB,EAAE,OAAO,EAAE,SAAkB,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;CAA8D,CAAC"}
|
package/lib-es/src/constants.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,EAAE,QAAQ,EAAE,OAAgB,EAAE,OAAO,EAAE,SAAkB,EAAE,CAAC"}
|
package/src/constants.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const defaultNanoApp = { firmware: "2.3.0" as const, version: "100.0.5" as const };
|