-
-
Notifications
You must be signed in to change notification settings - Fork 186
/
package.json
147 lines (147 loc) · 4.93 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "@metamask/profile-sync-controller",
"version": "0.9.7",
"description": "The profile sync helps developers synchronize data across multiple clients and devices in a privacy-preserving way. All data saved in the user storage database is encrypted client-side to preserve privacy. The user storage provides a modular design, giving developers the flexibility to construct and manage their storage spaces in a way that best suits their needs",
"keywords": [
"MetaMask",
"Ethereum"
],
"homepage": "https://github.com/MetaMask/core/tree/main/packages/profile-sync-controller#readme",
"bugs": {
"url": "https://github.com/MetaMask/core/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/core.git"
},
"license": "MIT",
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./sdk": {
"import": {
"types": "./dist/sdk/index.d.mts",
"default": "./dist/sdk/index.mjs"
},
"require": {
"types": "./dist/sdk/index.d.cts",
"default": "./dist/sdk/index.cjs"
}
},
"./auth": {
"import": {
"types": "./dist/controllers/authentication/index.d.mts",
"default": "./dist/controllers/authentication/index.mjs"
},
"require": {
"types": "./dist/controllers/authentication/index.d.cts",
"default": "./dist/controllers/authentication/index.cjs"
}
},
"./auth/mocks": {
"import": {
"types": "./dist/controllers/authentication/__fixtures__/index.d.mts",
"default": "./dist/controllers/authentication/__fixtures__/index.mjs"
},
"require": {
"types": "./dist/controllers/authentication/__fixtures__/index.d.cts",
"default": "./dist/controllers/authentication/__fixtures__/index.cjs"
}
},
"./user-storage": {
"import": {
"types": "./dist/controllers/user-storage/index.d.mts",
"default": "./dist/controllers/user-storage/index.mjs"
},
"require": {
"types": "./dist/controllers/user-storage/index.d.cts",
"default": "./dist/controllers/user-storage/index.cjs"
}
},
"./user-storage/mocks": {
"import": {
"types": "./dist/controllers/user-storage/__fixtures__/index.d.mts",
"default": "./dist/controllers/user-storage/__fixtures__/index.mjs"
},
"require": {
"types": "./dist/controllers/user-storage/__fixtures__/index.d.cts",
"default": "./dist/controllers/user-storage/__fixtures__/index.cjs"
}
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.cts",
"files": [
"dist/",
"auth/",
"user-storage/",
"sdk/"
],
"scripts": {
"build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
"build:docs": "typedoc",
"changelog:update": "../../scripts/update-changelog.sh @metamask/profile-sync-controller",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/profile-sync-controller",
"publish:preview": "yarn npm publish --tag preview",
"since-latest-release": "../../scripts/since-latest-release.sh",
"test": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
"test:clean": "NODE_OPTIONS=--experimental-vm-modules jest --clearCache",
"test:verbose": "NODE_OPTIONS=--experimental-vm-modules jest --verbose",
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
},
"dependencies": {
"@metamask/base-controller": "^7.0.2",
"@metamask/keyring-api": "^8.1.3",
"@metamask/keyring-controller": "^17.3.1",
"@metamask/network-controller": "^22.0.1",
"@metamask/snaps-sdk": "^6.5.0",
"@metamask/snaps-utils": "^8.1.1",
"@noble/ciphers": "^0.5.2",
"@noble/hashes": "^1.4.0",
"immer": "^9.0.6",
"loglevel": "^1.8.1",
"siwe": "^2.3.2"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^3.0.4",
"@metamask/accounts-controller": "^18.2.3",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/snaps-controllers": "^9.7.0",
"@types/jest": "^27.4.1",
"deepmerge": "^4.2.2",
"ethers": "^6.12.0",
"jest": "^27.5.1",
"jest-environment-jsdom": "^27.5.1",
"nock": "^13.3.1",
"ts-jest": "^27.1.4",
"typedoc": "^0.24.8",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "~5.2.2"
},
"peerDependencies": {
"@metamask/accounts-controller": "^18.1.1",
"@metamask/keyring-controller": "^17.2.0",
"@metamask/network-controller": "^22.0.0",
"@metamask/snaps-controllers": "^9.7.0"
},
"engines": {
"node": "^18.18 || >=20"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"lavamoat": {
"allowScripts": {}
}
}