@metamask/eth-ledger-bridge-keyring 0.14.0 → 1.0.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 +81 -0
- package/README.md +7 -14
- package/dist/index.d.ts +3 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/ledger-bridge.d.ts +34 -0
- package/dist/ledger-bridge.js +3 -0
- package/dist/ledger-bridge.js.map +1 -0
- package/dist/ledger-iframe-bridge.d.ts +85 -0
- package/dist/ledger-iframe-bridge.js +150 -0
- package/dist/ledger-iframe-bridge.js.map +1 -0
- package/dist/ledger-keyring.d.ts +91 -0
- package/dist/ledger-keyring.js +531 -0
- package/dist/ledger-keyring.js.map +1 -0
- package/package.json +68 -36
- package/index.js +0 -651
package/package.json
CHANGED
|
@@ -1,60 +1,92 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/eth-ledger-bridge-keyring",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "A MetaMask compatible keyring, for ledger hardware wallets",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"files": [
|
|
7
|
-
"index.js"
|
|
8
|
-
],
|
|
9
|
-
"engines": {
|
|
10
|
-
"node": ">=14.0.0"
|
|
11
|
-
},
|
|
12
|
-
"scripts": {
|
|
13
|
-
"test": "mocha",
|
|
14
|
-
"lint": "eslint . --ext .js",
|
|
15
|
-
"lint:fix": "eslint --fix . --ext .js"
|
|
16
|
-
},
|
|
17
|
-
"publishConfig": {
|
|
18
|
-
"registry": "https://registry.npmjs.org/",
|
|
19
|
-
"access": "public"
|
|
20
|
-
},
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "git+https://github.com/MetaMask/eth-ledger-bridge-keyring.git"
|
|
24
|
-
},
|
|
25
5
|
"keywords": [
|
|
26
6
|
"ethereum",
|
|
27
7
|
"keyring",
|
|
28
8
|
"ledger",
|
|
29
9
|
"metamask"
|
|
30
10
|
],
|
|
31
|
-
"
|
|
32
|
-
"license": "ISC",
|
|
11
|
+
"homepage": "https://github.com/MetaMask/eth-ledger-bridge-keyring#readme",
|
|
33
12
|
"bugs": {
|
|
34
13
|
"url": "https://github.com/MetaMask/eth-ledger-bridge-keyring/issues"
|
|
35
14
|
},
|
|
36
|
-
"
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/MetaMask/eth-ledger-bridge-keyring.git"
|
|
18
|
+
},
|
|
19
|
+
"license": "ISC",
|
|
20
|
+
"author": "Bruno Barbieri",
|
|
21
|
+
"main": "dist/index.js",
|
|
22
|
+
"types": "dist/index.d.ts",
|
|
23
|
+
"files": [
|
|
24
|
+
"dist/"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "tsc --project tsconfig.build.json",
|
|
28
|
+
"build:clean": "rimraf dist && yarn build",
|
|
29
|
+
"build:docs": "typedoc",
|
|
30
|
+
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:dependencies",
|
|
31
|
+
"lint:dependencies": "depcheck",
|
|
32
|
+
"lint:eslint": "eslint . --cache --ext js,ts",
|
|
33
|
+
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write && yarn lint:dependencies",
|
|
34
|
+
"lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern",
|
|
35
|
+
"prepack": "./scripts/prepack.sh",
|
|
36
|
+
"test": "jest && jest-it-up",
|
|
37
|
+
"test:watch": "jest --watch"
|
|
38
|
+
},
|
|
37
39
|
"dependencies": {
|
|
38
|
-
"@ethereumjs/tx": "^
|
|
40
|
+
"@ethereumjs/tx": "^4.1.1",
|
|
41
|
+
"@metamask/utils": "^5.0.0",
|
|
39
42
|
"eth-sig-util": "^2.0.0",
|
|
40
43
|
"ethereumjs-util": "^7.0.9",
|
|
41
44
|
"hdkey": "0.8.0"
|
|
42
45
|
},
|
|
43
46
|
"devDependencies": {
|
|
44
|
-
"@ethereumjs/common": "^
|
|
47
|
+
"@ethereumjs/common": "^3.1.1",
|
|
45
48
|
"@lavamoat/allow-scripts": "^2.3.0",
|
|
46
|
-
"@
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"eslint": "^
|
|
51
|
-
"eslint-
|
|
52
|
-
"eslint-
|
|
53
|
-
"
|
|
49
|
+
"@ledgerhq/hw-app-eth": "^6.32.0",
|
|
50
|
+
"@metamask/auto-changelog": "^3.1.0",
|
|
51
|
+
"@metamask/eslint-config": "^11.0.1",
|
|
52
|
+
"@metamask/eslint-config-browser": "^11.0.0",
|
|
53
|
+
"@metamask/eslint-config-jest": "^11.0.0",
|
|
54
|
+
"@metamask/eslint-config-nodejs": "^11.0.0",
|
|
55
|
+
"@metamask/eslint-config-typescript": "^11.0.0",
|
|
56
|
+
"@types/eth-sig-util": "^2.1.1",
|
|
57
|
+
"@types/ethereumjs-tx": "^1.0.1",
|
|
58
|
+
"@types/hdkey": "^2.0.1",
|
|
59
|
+
"@types/jest": "^28.1.6",
|
|
60
|
+
"@types/node": "^14.0.0",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
|
62
|
+
"@typescript-eslint/parser": "^5.43.0",
|
|
63
|
+
"depcheck": "^1.4.3",
|
|
64
|
+
"eslint": "^8.27.0",
|
|
65
|
+
"eslint-config-prettier": "^8.5.0",
|
|
66
|
+
"eslint-plugin-import": "^2.26.0",
|
|
67
|
+
"eslint-plugin-jest": "^27.1.5",
|
|
68
|
+
"eslint-plugin-jsdoc": "^39.6.2",
|
|
69
|
+
"eslint-plugin-node": "^11.1.0",
|
|
70
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
54
71
|
"ethereumjs-tx": "^1.3.4",
|
|
55
|
-
"
|
|
72
|
+
"jest": "^28.1.3",
|
|
73
|
+
"jest-it-up": "^2.2.0",
|
|
74
|
+
"prettier": "^2.7.1",
|
|
75
|
+
"prettier-plugin-packagejson": "^2.2.12",
|
|
76
|
+
"rimraf": "^4.1.2",
|
|
77
|
+
"ts-jest": "^28.0.7",
|
|
78
|
+
"ts-node": "^10.7.0",
|
|
79
|
+
"typedoc": "^0.23.15",
|
|
80
|
+
"typescript": "~4.8.4"
|
|
56
81
|
},
|
|
57
82
|
"packageManager": "yarn@3.4.1",
|
|
83
|
+
"engines": {
|
|
84
|
+
"node": ">=14.0.0"
|
|
85
|
+
},
|
|
86
|
+
"publishConfig": {
|
|
87
|
+
"access": "public",
|
|
88
|
+
"registry": "https://registry.npmjs.org/"
|
|
89
|
+
},
|
|
58
90
|
"lavamoat": {
|
|
59
91
|
"allowScripts": {
|
|
60
92
|
"@lavamoat/preinstall-always-fail": false,
|
|
@@ -66,4 +98,4 @@
|
|
|
66
98
|
"hdkey>secp256k1": false
|
|
67
99
|
}
|
|
68
100
|
}
|
|
69
|
-
}
|
|
101
|
+
}
|