@ledgerhq/wallet-api-simulator 0.10.2 → 0.11.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/lib/{src/helpers.d.ts → helpers.d.ts} +0 -0
- package/lib/helpers.d.ts.map +1 -0
- package/lib/{src/helpers.js → helpers.js} +0 -0
- package/lib/{src/index.d.ts → index.d.ts} +0 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/{src/index.js → index.js} +0 -0
- package/lib/{src/profiles → profiles}/device/index.d.ts +0 -0
- package/lib/profiles/device/index.d.ts.map +1 -0
- package/lib/{src/profiles → profiles}/device/index.js +0 -0
- package/lib/{src/profiles → profiles}/index.d.ts +0 -0
- package/lib/profiles/index.d.ts.map +1 -0
- package/lib/{src/profiles → profiles}/index.js +0 -0
- package/lib/{src/profiles → profiles}/standard/accounts.json +0 -0
- package/lib/{src/profiles → profiles}/standard/currencies.json +0 -0
- package/lib/{src/profiles → profiles}/standard/index.d.ts +0 -0
- package/lib/profiles/standard/index.d.ts.map +1 -0
- package/lib/{src/profiles → profiles}/standard/index.js +1 -2
- package/lib/{src/test-run.d.ts → test-run.d.ts} +0 -0
- package/lib/{src/test-run.d.ts.map → test-run.d.ts.map} +1 -1
- package/lib/{src/test-run.js → test-run.js} +0 -0
- package/lib/{src/transport.d.ts → transport.d.ts} +0 -0
- package/lib/transport.d.ts.map +1 -0
- package/lib/{src/transport.js → transport.js} +0 -0
- package/lib/{src/types.d.ts → types.d.ts} +0 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/{src/types.js → types.js} +0 -0
- package/lib/{src/ws.d.ts → ws.d.ts} +0 -0
- package/lib/ws.d.ts.map +1 -0
- package/lib/{src/ws.js → ws.js} +0 -0
- package/lib-es/{src/helpers.d.ts → helpers.d.ts} +0 -0
- package/lib-es/helpers.d.ts.map +1 -0
- package/lib-es/{src/helpers.js → helpers.js} +0 -0
- package/lib-es/{src/index.d.ts → index.d.ts} +0 -0
- package/lib-es/index.d.ts.map +1 -0
- package/lib-es/{src/index.js → index.js} +0 -0
- package/lib-es/{src/profiles → profiles}/device/index.d.ts +0 -0
- package/lib-es/profiles/device/index.d.ts.map +1 -0
- package/lib-es/{src/profiles → profiles}/device/index.js +0 -0
- package/lib-es/{src/profiles → profiles}/index.d.ts +0 -0
- package/lib-es/profiles/index.d.ts.map +1 -0
- package/lib-es/{src/profiles → profiles}/index.js +0 -0
- package/lib-es/{src/profiles → profiles}/standard/accounts.json +0 -0
- package/lib-es/{src/profiles → profiles}/standard/currencies.json +0 -0
- package/lib-es/{src/profiles → profiles}/standard/index.d.ts +0 -0
- package/lib-es/profiles/standard/index.d.ts.map +1 -0
- package/lib-es/{src/profiles → profiles}/standard/index.js +1 -2
- package/lib-es/{src/test-run.d.ts → test-run.d.ts} +0 -0
- package/lib-es/{src/test-run.d.ts.map → test-run.d.ts.map} +1 -1
- package/lib-es/{src/test-run.js → test-run.js} +0 -0
- package/lib-es/{src/transport.d.ts → transport.d.ts} +0 -0
- package/lib-es/transport.d.ts.map +1 -0
- package/lib-es/{src/transport.js → transport.js} +0 -0
- package/lib-es/{src/types.d.ts → types.d.ts} +0 -0
- package/lib-es/types.d.ts.map +1 -0
- package/lib-es/{src/types.js → types.js} +0 -0
- package/lib-es/{src/ws.d.ts → ws.d.ts} +0 -0
- package/lib-es/ws.d.ts.map +1 -0
- package/lib-es/{src/ws.js → ws.js} +0 -0
- package/package.json +4 -4
- package/lib/package.json +0 -43
- package/lib/src/helpers.d.ts.map +0 -1
- package/lib/src/index.d.ts.map +0 -1
- package/lib/src/profiles/device/index.d.ts.map +0 -1
- package/lib/src/profiles/index.d.ts.map +0 -1
- package/lib/src/profiles/standard/index.d.ts.map +0 -1
- package/lib/src/transport.d.ts.map +0 -1
- package/lib/src/types.d.ts.map +0 -1
- package/lib/src/ws.d.ts.map +0 -1
- package/lib-es/package.json +0 -43
- package/lib-es/src/helpers.d.ts.map +0 -1
- package/lib-es/src/index.d.ts.map +0 -1
- package/lib-es/src/profiles/device/index.d.ts.map +0 -1
- package/lib-es/src/profiles/index.d.ts.map +0 -1
- package/lib-es/src/profiles/standard/index.d.ts.map +0 -1
- package/lib-es/src/transport.d.ts.map +0 -1
- package/lib-es/src/types.d.ts.map +0 -1
- package/lib-es/src/ws.d.ts.map +0 -1
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wBAAgB,YAAY,CAC1B,cAAc,EAAE,eAAe,EAC/B,OAAO,EAAE,gBAAgB,QAe1B"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/profiles/device/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AASpD,eAAO,MAAM,aAAa,EAAE,gBA8C3B,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/profiles/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/profiles/standard/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAWpD,eAAO,MAAM,eAAe,EAAE,gBA8E7B,CAAC"}
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.standardProfile = void 0;
|
|
7
7
|
const wallet_api_core_1 = require("@ledgerhq/wallet-api-core");
|
|
8
8
|
const rxjs_1 = require("rxjs");
|
|
9
|
-
const package_json_1 = __importDefault(require("../../../package.json"));
|
|
10
9
|
const accounts_json_1 = __importDefault(require("./accounts.json"));
|
|
11
10
|
const currencies_json_1 = __importDefault(require("./currencies.json"));
|
|
12
11
|
const allCurrencies = currencies_json_1.default;
|
|
@@ -19,7 +18,7 @@ exports.standardProfile = {
|
|
|
19
18
|
tracking: false,
|
|
20
19
|
wallet: {
|
|
21
20
|
name: "wallet-api-simulator",
|
|
22
|
-
version:
|
|
21
|
+
version: "0.0.0",
|
|
23
22
|
},
|
|
24
23
|
},
|
|
25
24
|
permissions: {
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-run.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"test-run.d.ts","sourceRoot":"","sources":["../src/test-run.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,gBAAgB,GAAG,SAAS,CA4B1E"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEhF,oBAAY,gBAAgB,GAAG;IAC7B,MAAM,EAAE,YAAY,CAAC;IACrB,WAAW,EAAE,UAAU,CAAC;IACxB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;CAClC,CAAC"}
|
|
File without changes
|
|
File without changes
|
package/lib/ws.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ws.d.ts","sourceRoot":"","sources":["../src/ws.ts"],"names":[],"mappings":""}
|
package/lib/{src/ws.js → ws.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wBAAgB,YAAY,CAC1B,cAAc,EAAE,eAAe,EAC/B,OAAO,EAAE,gBAAgB,QAe1B"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/profiles/device/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AASpD,eAAO,MAAM,aAAa,EAAE,gBA8C3B,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/profiles/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/profiles/standard/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAWpD,eAAO,MAAM,eAAe,EAAE,gBA8E7B,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { deserializeAccount, } from "@ledgerhq/wallet-api-core";
|
|
2
2
|
import { firstValueFrom } from "rxjs";
|
|
3
|
-
import packageJson from "../../../package.json";
|
|
4
3
|
import rawAccounts from "./accounts.json";
|
|
5
4
|
import rawCurrencies from "./currencies.json";
|
|
6
5
|
const allCurrencies = rawCurrencies;
|
|
@@ -13,7 +12,7 @@ export const standardProfile = {
|
|
|
13
12
|
tracking: false,
|
|
14
13
|
wallet: {
|
|
15
14
|
name: "wallet-api-simulator",
|
|
16
|
-
version:
|
|
15
|
+
version: "0.0.0",
|
|
17
16
|
},
|
|
18
17
|
},
|
|
19
18
|
permissions: {
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-run.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"test-run.d.ts","sourceRoot":"","sources":["../src/test-run.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,gBAAgB,GAAG,SAAS,CA4B1E"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEhF,oBAAY,gBAAgB,GAAG;IAC7B,MAAM,EAAE,YAAY,CAAC;IACrB,WAAW,EAAE,UAAU,CAAC;IACxB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;CAClC,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ws.d.ts","sourceRoot":"","sources":["../src/ws.ts"],"names":[],"mappings":""}
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/wallet-api-simulator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib-es/index.js",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"@ledgerhq/hw-transport-http": "^6.27.10",
|
|
28
28
|
"rxjs": "^7.8.0",
|
|
29
29
|
"ws": "^8.10.0",
|
|
30
|
-
"@ledgerhq/wallet-api-client": "0.14.
|
|
31
|
-
"@ledgerhq/wallet-api-core": "0.
|
|
32
|
-
"@ledgerhq/wallet-api-server": "0.
|
|
30
|
+
"@ledgerhq/wallet-api-client": "0.14.1",
|
|
31
|
+
"@ledgerhq/wallet-api-core": "0.13.0",
|
|
32
|
+
"@ledgerhq/wallet-api-server": "0.12.0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"format:check": "prettier --check \"src\"",
|
package/lib/package.json
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ledgerhq/wallet-api-simulator",
|
|
3
|
-
"version": "0.10.2",
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"module": "lib-es/index.js",
|
|
7
|
-
"types": "lib/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"/lib",
|
|
10
|
-
"/lib-es"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"format:check": "prettier --check \"src\"",
|
|
14
|
-
"format:fix": "prettier --write \"src\"",
|
|
15
|
-
"lint": "eslint --cache --ext .ts \"src\"",
|
|
16
|
-
"lint:fix": "eslint --cache --fix --ext .ts \"src\"",
|
|
17
|
-
"dev": "tsc -p prod.tsconfig.json --watch",
|
|
18
|
-
"build": "rm -rf lib/* lib-es/* && tsc -p prod.tsconfig.json && tsc -p prod-esm.tsconfig.json",
|
|
19
|
-
"test": "jest"
|
|
20
|
-
},
|
|
21
|
-
"devDependencies": {
|
|
22
|
-
"@tsconfig/node18-strictest": "^1.0.0",
|
|
23
|
-
"@types/jest": "^29.2.1",
|
|
24
|
-
"@types/node": "^18.11.8",
|
|
25
|
-
"@types/ws": "^8.5.3",
|
|
26
|
-
"eslint": "^8.26.0",
|
|
27
|
-
"jest": "^29.1.2",
|
|
28
|
-
"jest-environment-jsdom": "^29.2.2",
|
|
29
|
-
"jest-shared-config": "workspace:*",
|
|
30
|
-
"ts-jest": "^29.0.3",
|
|
31
|
-
"ts-node": "^10.9.1",
|
|
32
|
-
"typescript": "^4.8.4"
|
|
33
|
-
},
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"@ledgerhq/hw-transport": "^6.27.10",
|
|
36
|
-
"@ledgerhq/hw-transport-http": "^6.27.10",
|
|
37
|
-
"@ledgerhq/wallet-api-client": "workspace:*",
|
|
38
|
-
"@ledgerhq/wallet-api-core": "workspace:*",
|
|
39
|
-
"@ledgerhq/wallet-api-server": "workspace:*",
|
|
40
|
-
"rxjs": "^7.8.0",
|
|
41
|
-
"ws": "^8.10.0"
|
|
42
|
-
}
|
|
43
|
-
}
|
package/lib/src/helpers.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wBAAgB,YAAY,CAC1B,cAAc,EAAE,eAAe,EAC/B,OAAO,EAAE,gBAAgB,QAe1B"}
|
package/lib/src/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/profiles/device/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AASpD,eAAO,MAAM,aAAa,EAAE,gBA8C3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/profiles/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/profiles/standard/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAWpD,eAAO,MAAM,eAAe,EAAE,gBA8E7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,gBAAgB,GAAG,SAAS,CA4B1E"}
|
package/lib/src/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEhF,oBAAY,gBAAgB,GAAG;IAC7B,MAAM,EAAE,YAAY,CAAC;IACrB,WAAW,EAAE,UAAU,CAAC;IACxB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;CAClC,CAAC"}
|
package/lib/src/ws.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ws.d.ts","sourceRoot":"","sources":["../../src/ws.ts"],"names":[],"mappings":""}
|
package/lib-es/package.json
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ledgerhq/wallet-api-simulator",
|
|
3
|
-
"version": "0.10.2",
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"module": "lib-es/index.js",
|
|
7
|
-
"types": "lib/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"/lib",
|
|
10
|
-
"/lib-es"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"format:check": "prettier --check \"src\"",
|
|
14
|
-
"format:fix": "prettier --write \"src\"",
|
|
15
|
-
"lint": "eslint --cache --ext .ts \"src\"",
|
|
16
|
-
"lint:fix": "eslint --cache --fix --ext .ts \"src\"",
|
|
17
|
-
"dev": "tsc -p prod.tsconfig.json --watch",
|
|
18
|
-
"build": "rm -rf lib/* lib-es/* && tsc -p prod.tsconfig.json && tsc -p prod-esm.tsconfig.json",
|
|
19
|
-
"test": "jest"
|
|
20
|
-
},
|
|
21
|
-
"devDependencies": {
|
|
22
|
-
"@tsconfig/node18-strictest": "^1.0.0",
|
|
23
|
-
"@types/jest": "^29.2.1",
|
|
24
|
-
"@types/node": "^18.11.8",
|
|
25
|
-
"@types/ws": "^8.5.3",
|
|
26
|
-
"eslint": "^8.26.0",
|
|
27
|
-
"jest": "^29.1.2",
|
|
28
|
-
"jest-environment-jsdom": "^29.2.2",
|
|
29
|
-
"jest-shared-config": "workspace:*",
|
|
30
|
-
"ts-jest": "^29.0.3",
|
|
31
|
-
"ts-node": "^10.9.1",
|
|
32
|
-
"typescript": "^4.8.4"
|
|
33
|
-
},
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"@ledgerhq/hw-transport": "^6.27.10",
|
|
36
|
-
"@ledgerhq/hw-transport-http": "^6.27.10",
|
|
37
|
-
"@ledgerhq/wallet-api-client": "workspace:*",
|
|
38
|
-
"@ledgerhq/wallet-api-core": "workspace:*",
|
|
39
|
-
"@ledgerhq/wallet-api-server": "workspace:*",
|
|
40
|
-
"rxjs": "^7.8.0",
|
|
41
|
-
"ws": "^8.10.0"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wBAAgB,YAAY,CAC1B,cAAc,EAAE,eAAe,EAC/B,OAAO,EAAE,gBAAgB,QAe1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/profiles/device/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AASpD,eAAO,MAAM,aAAa,EAAE,gBA8C3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/profiles/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/profiles/standard/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAWpD,eAAO,MAAM,eAAe,EAAE,gBA8E7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,gBAAgB,GAAG,SAAS,CA4B1E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAEhF,oBAAY,gBAAgB,GAAG;IAC7B,MAAM,EAAE,YAAY,CAAC;IACrB,WAAW,EAAE,UAAU,CAAC;IACxB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;CAClC,CAAC"}
|
package/lib-es/src/ws.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ws.d.ts","sourceRoot":"","sources":["../../src/ws.ts"],"names":[],"mappings":""}
|