@metamask/keyring-api 0.1.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 +18 -0
- package/README.md +141 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +22 -0
- package/dist/index.js.map +1 -0
- package/dist/keyring-api.d.ts +241 -0
- package/dist/keyring-api.js +81 -0
- package/dist/keyring-api.js.map +1 -0
- package/dist/keyring-client.d.ts +26 -0
- package/dist/keyring-client.js +112 -0
- package/dist/keyring-client.js.map +1 -0
- package/dist/keyring-internal-api.d.ts +588 -0
- package/dist/keyring-internal-api.js +166 -0
- package/dist/keyring-internal-api.js.map +1 -0
- package/dist/keyring-rpc-dispatcher.d.ts +30 -0
- package/dist/keyring-rpc-dispatcher.js +98 -0
- package/dist/keyring-rpc-dispatcher.js.map +1 -0
- package/dist/keyring-snap-controller-client.d.ts +38 -0
- package/dist/keyring-snap-controller-client.js +99 -0
- package/dist/keyring-snap-controller-client.js.map +1 -0
- package/dist/keyring-snap-rpc-client.d.ts +38 -0
- package/dist/keyring-snap-rpc-client.js +69 -0
- package/dist/keyring-snap-rpc-client.js.map +1 -0
- package/dist/utils.d.ts +13 -0
- package/dist/utils.js +9 -0
- package/dist/utils.js.map +1 -0
- package/package.json +91 -0
package/package.json
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
{
|
2
|
+
"name": "@metamask/keyring-api",
|
3
|
+
"version": "0.1.0",
|
4
|
+
"description": "MetaMask Keyring API",
|
5
|
+
"homepage": "https://github.com/MetaMask/keyring-api#readme",
|
6
|
+
"bugs": {
|
7
|
+
"url": "https://github.com/MetaMask/keyring-api/issues"
|
8
|
+
},
|
9
|
+
"repository": {
|
10
|
+
"type": "git",
|
11
|
+
"url": "https://github.com/MetaMask/keyring-api.git"
|
12
|
+
},
|
13
|
+
"main": "./dist/index.js",
|
14
|
+
"types": "./dist/index.d.ts",
|
15
|
+
"files": [
|
16
|
+
"dist/"
|
17
|
+
],
|
18
|
+
"scripts": {
|
19
|
+
"build": "tsc --project tsconfig.build.json",
|
20
|
+
"build:clean": "rimraf dist && yarn build",
|
21
|
+
"build:docs": "typedoc",
|
22
|
+
"lint": "yarn lint:eslint && yarn lint:constraints && yarn lint:misc --check && yarn lint:dependencies --check && yarn lint:changelog",
|
23
|
+
"lint:changelog": "auto-changelog validate",
|
24
|
+
"lint:constraints": "yarn constraints",
|
25
|
+
"lint:dependencies": "depcheck && yarn dedupe",
|
26
|
+
"lint:eslint": "eslint . --cache --ext js,ts",
|
27
|
+
"lint:fix": "yarn lint:eslint --fix && yarn lint:constraints --fix && yarn lint:misc --write && yarn lint:dependencies && yarn lint:changelog",
|
28
|
+
"lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern",
|
29
|
+
"prepack": "./scripts/prepack.sh",
|
30
|
+
"test": "jest && jest-it-up",
|
31
|
+
"test:watch": "jest --watch"
|
32
|
+
},
|
33
|
+
"dependencies": {
|
34
|
+
"@metamask/providers": "^11.0.0",
|
35
|
+
"@metamask/snaps-controllers": "^0.34.1-flask.1",
|
36
|
+
"@metamask/snaps-utils": "^0.34.1-flask.1",
|
37
|
+
"@metamask/utils": "^6.0.1",
|
38
|
+
"@types/uuid": "^9.0.1",
|
39
|
+
"superstruct": "^1.0.3",
|
40
|
+
"uuid": "^9.0.0"
|
41
|
+
},
|
42
|
+
"devDependencies": {
|
43
|
+
"@lavamoat/allow-scripts": "^2.3.1",
|
44
|
+
"@lavamoat/preinstall-always-fail": "^1.0.0",
|
45
|
+
"@metamask/auto-changelog": "^3.1.0",
|
46
|
+
"@metamask/eslint-config": "^11.0.1",
|
47
|
+
"@metamask/eslint-config-jest": "^11.0.0",
|
48
|
+
"@metamask/eslint-config-nodejs": "^11.0.1",
|
49
|
+
"@metamask/eslint-config-typescript": "^11.0.0",
|
50
|
+
"@types/jest": "^28.1.6",
|
51
|
+
"@types/node": "^16",
|
52
|
+
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
53
|
+
"@typescript-eslint/parser": "^5.43.0",
|
54
|
+
"depcheck": "^1.4.3",
|
55
|
+
"eslint": "^8.27.0",
|
56
|
+
"eslint-config-prettier": "^8.5.0",
|
57
|
+
"eslint-plugin-import": "^2.26.0",
|
58
|
+
"eslint-plugin-jest": "^27.1.5",
|
59
|
+
"eslint-plugin-jsdoc": "^39.6.2",
|
60
|
+
"eslint-plugin-node": "^11.1.0",
|
61
|
+
"eslint-plugin-prettier": "^4.2.1",
|
62
|
+
"jest": "^28.1.3",
|
63
|
+
"jest-it-up": "^2.0.2",
|
64
|
+
"prettier": "^2.7.1",
|
65
|
+
"prettier-plugin-packagejson": "^2.3.0",
|
66
|
+
"rimraf": "^3.0.2",
|
67
|
+
"ts-jest": "^28.0.7",
|
68
|
+
"ts-node": "^10.7.0",
|
69
|
+
"typedoc": "^0.23.15",
|
70
|
+
"typescript": "~4.8.4"
|
71
|
+
},
|
72
|
+
"packageManager": "yarn@3.2.1",
|
73
|
+
"engines": {
|
74
|
+
"node": ">=16.0.0"
|
75
|
+
},
|
76
|
+
"publishConfig": {
|
77
|
+
"access": "public",
|
78
|
+
"registry": "https://registry.npmjs.org/"
|
79
|
+
},
|
80
|
+
"lavamoat": {
|
81
|
+
"allowScripts": {
|
82
|
+
"@lavamoat/preinstall-always-fail": false,
|
83
|
+
"@metamask/snaps-controllers>@metamask/base-controller>@metamask/controller-utils>ethereumjs-util>ethereum-cryptography>keccak": false,
|
84
|
+
"@metamask/snaps-controllers>@metamask/base-controller>@metamask/controller-utils>ethereumjs-util>ethereum-cryptography>secp256k1": false,
|
85
|
+
"@metamask/snaps-utils>@metamask/base-controller>@metamask/controller-utils>ethereumjs-util>ethereum-cryptography>keccak": false,
|
86
|
+
"@metamask/snaps-utils>@metamask/base-controller>@metamask/controller-utils>ethereumjs-util>ethereum-cryptography>secp256k1": false,
|
87
|
+
"@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils>ethereumjs-util>ethereum-cryptography>keccak": false,
|
88
|
+
"@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils>ethereumjs-util>ethereum-cryptography>secp256k1": false
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|