@prosopo/account 2.7.11 → 2.7.30

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 CHANGED
@@ -1,5 +1,281 @@
1
1
  # @prosopo/account
2
2
 
3
+ ## 2.7.30
4
+ ### Patch Changes
5
+
6
+ - Updated dependencies [1e3a838]
7
+ - @prosopo/config@3.1.20
8
+ - @prosopo/common@3.1.20
9
+ - @prosopo/fingerprint@2.6.21
10
+ - @prosopo/keyring@2.8.27
11
+ - @prosopo/types@3.5.3
12
+ - @prosopo/util@3.1.5
13
+ - @prosopo/util-crypto@13.5.22
14
+
15
+ ## 2.7.29
16
+ ### Patch Changes
17
+
18
+ - 5659b24: Release 3.4.4
19
+ - Updated dependencies [f912439]
20
+ - Updated dependencies [5659b24]
21
+ - @prosopo/common@3.1.19
22
+ - @prosopo/fingerprint@2.6.20
23
+ - @prosopo/util-crypto@13.5.21
24
+ - @prosopo/keyring@2.8.26
25
+ - @prosopo/types@3.5.2
26
+ - @prosopo/util@3.1.4
27
+ - @prosopo/config@3.1.19
28
+
29
+ ## 2.7.28
30
+ ### Patch Changes
31
+
32
+ - 50c4120: Release 3.4.3
33
+ - Updated dependencies [52cd544]
34
+ - Updated dependencies [b117ba3]
35
+ - Updated dependencies [50c4120]
36
+ - @prosopo/types@3.5.1
37
+ - @prosopo/fingerprint@2.6.19
38
+ - @prosopo/util-crypto@13.5.20
39
+ - @prosopo/keyring@2.8.25
40
+ - @prosopo/common@3.1.18
41
+ - @prosopo/util@3.1.3
42
+ - @prosopo/config@3.1.18
43
+
44
+ ## 2.7.27
45
+ ### Patch Changes
46
+
47
+ - 618703f: Release 3.4.2
48
+ - Updated dependencies [618703f]
49
+ - Updated dependencies [e20ad6b]
50
+ - @prosopo/fingerprint@2.6.18
51
+ - @prosopo/util-crypto@13.5.19
52
+ - @prosopo/keyring@2.8.24
53
+ - @prosopo/common@3.1.17
54
+ - @prosopo/types@3.5.0
55
+ - @prosopo/util@3.1.2
56
+ - @prosopo/config@3.1.17
57
+
58
+ ## 2.7.26
59
+ ### Patch Changes
60
+
61
+ - 11303d9: Release 3.4.0
62
+ - 18cb28b: Release 3.4.1
63
+ - Updated dependencies [11303d9]
64
+ - Updated dependencies [18cb28b]
65
+ - Updated dependencies [11303d9]
66
+ - @prosopo/fingerprint@2.6.17
67
+ - @prosopo/util-crypto@13.5.18
68
+ - @prosopo/keyring@2.8.23
69
+ - @prosopo/common@3.1.16
70
+ - @prosopo/types@3.4.1
71
+ - @prosopo/util@3.1.1
72
+ - @prosopo/config@3.1.16
73
+
74
+ ## 2.7.25
75
+ ### Patch Changes
76
+
77
+ - f3f7aec: Release 3.4.0
78
+ - Updated dependencies [f3f7aec]
79
+ - Updated dependencies [6768f14]
80
+ - @prosopo/fingerprint@2.6.16
81
+ - @prosopo/util-crypto@13.5.17
82
+ - @prosopo/keyring@2.8.22
83
+ - @prosopo/common@3.1.15
84
+ - @prosopo/types@3.4.0
85
+ - @prosopo/util@3.1.0
86
+ - @prosopo/config@3.1.15
87
+
88
+ ## 2.7.24
89
+ ### Patch Changes
90
+
91
+ - Release 3.3.1
92
+ - 0824221: Release 3.2.4
93
+ - Updated dependencies [97edf3f]
94
+ - Updated dependencies
95
+ - Updated dependencies [0824221]
96
+ - @prosopo/types@3.3.0
97
+ - @prosopo/fingerprint@2.6.15
98
+ - @prosopo/util-crypto@13.5.16
99
+ - @prosopo/keyring@2.8.21
100
+ - @prosopo/common@3.1.14
101
+ - @prosopo/util@3.0.17
102
+ - @prosopo/config@3.1.14
103
+
104
+ ## 2.7.23
105
+ ### Patch Changes
106
+
107
+ - 008d112: Release 3.3.0
108
+ - Updated dependencies [509be28]
109
+ - Updated dependencies [008d112]
110
+ - @prosopo/types@3.2.1
111
+ - @prosopo/fingerprint@2.6.14
112
+ - @prosopo/util-crypto@13.5.15
113
+ - @prosopo/keyring@2.8.20
114
+ - @prosopo/common@3.1.13
115
+ - @prosopo/util@3.0.16
116
+ - @prosopo/config@3.1.13
117
+
118
+ ## 2.7.22
119
+ ### Patch Changes
120
+
121
+ - 0824221: Release 3.2.4
122
+ - Updated dependencies [cf48565]
123
+ - Updated dependencies [0824221]
124
+ - @prosopo/types@3.2.0
125
+ - @prosopo/fingerprint@2.6.13
126
+ - @prosopo/util-crypto@13.5.14
127
+ - @prosopo/keyring@2.8.19
128
+ - @prosopo/common@3.1.12
129
+ - @prosopo/util@3.0.15
130
+ - @prosopo/config@3.1.12
131
+
132
+ ## 2.7.21
133
+ ### Patch Changes
134
+
135
+ - 1a23649: Release 3.2.3
136
+ - Updated dependencies [0d1a33e]
137
+ - Updated dependencies [0d1a33e]
138
+ - Updated dependencies [1a23649]
139
+ - @prosopo/types@3.1.4
140
+ - @prosopo/fingerprint@2.6.12
141
+ - @prosopo/util-crypto@13.5.13
142
+ - @prosopo/keyring@2.8.18
143
+ - @prosopo/common@3.1.11
144
+ - @prosopo/util@3.0.14
145
+ - @prosopo/config@3.1.11
146
+
147
+ ## 2.7.20
148
+ ### Patch Changes
149
+
150
+ - 657a827: Release 3.2.2
151
+ - Updated dependencies [657a827]
152
+ - @prosopo/fingerprint@2.6.11
153
+ - @prosopo/util-crypto@13.5.12
154
+ - @prosopo/keyring@2.8.17
155
+ - @prosopo/common@3.1.10
156
+ - @prosopo/types@3.1.3
157
+ - @prosopo/util@3.0.13
158
+ - @prosopo/config@3.1.10
159
+
160
+ ## 2.7.19
161
+ ### Patch Changes
162
+
163
+ - 4440947: fix type-only tsc compilation
164
+ - 7bdaca6: Release 3.2.1
165
+ - Updated dependencies [4440947]
166
+ - Updated dependencies [7bdaca6]
167
+ - Updated dependencies [809b984]
168
+ - Updated dependencies [1249ce0]
169
+ - Updated dependencies [809b984]
170
+ - @prosopo/fingerprint@2.6.10
171
+ - @prosopo/util-crypto@13.5.11
172
+ - @prosopo/keyring@2.8.16
173
+ - @prosopo/common@3.1.9
174
+ - @prosopo/types@3.1.2
175
+ - @prosopo/util@3.0.12
176
+ - @prosopo/config@3.1.9
177
+
178
+ ## 2.7.18
179
+ ### Patch Changes
180
+
181
+ - 6fe8570: Release 3.2.0
182
+ - Updated dependencies [1f980c4]
183
+ - Updated dependencies [6fe8570]
184
+ - @prosopo/types@3.1.1
185
+ - @prosopo/fingerprint@2.6.9
186
+ - @prosopo/util-crypto@13.5.10
187
+ - @prosopo/keyring@2.8.15
188
+ - @prosopo/common@3.1.8
189
+ - @prosopo/util@3.0.11
190
+ - @prosopo/config@3.1.8
191
+
192
+ ## 2.7.17
193
+ ### Patch Changes
194
+
195
+ - f304be9: Release 3.1.13
196
+ - Updated dependencies [f304be9]
197
+ - Updated dependencies [8bdc7f0]
198
+ - @prosopo/fingerprint@2.6.8
199
+ - @prosopo/util-crypto@13.5.9
200
+ - @prosopo/keyring@2.8.14
201
+ - @prosopo/common@3.1.7
202
+ - @prosopo/types@3.1.0
203
+ - @prosopo/util@3.0.10
204
+ - @prosopo/config@3.1.7
205
+
206
+ ## 2.7.16
207
+ ### Patch Changes
208
+
209
+ - Updated dependencies [9eed772]
210
+ - Updated dependencies [ebb0168]
211
+ - @prosopo/config@3.1.6
212
+ - @prosopo/util@3.0.9
213
+ - @prosopo/common@3.1.6
214
+ - @prosopo/fingerprint@2.6.7
215
+ - @prosopo/keyring@2.8.13
216
+ - @prosopo/types@3.0.10
217
+ - @prosopo/util-crypto@13.5.8
218
+
219
+ ## 2.7.15
220
+ ### Patch Changes
221
+
222
+ - 6960643: lint detect missing and unneccessary imports
223
+ - Updated dependencies [6960643]
224
+ - @prosopo/fingerprint@2.6.6
225
+ - @prosopo/util-crypto@13.5.7
226
+ - @prosopo/keyring@2.8.12
227
+ - @prosopo/common@3.1.5
228
+ - @prosopo/types@3.0.9
229
+ - @prosopo/util@3.0.8
230
+
231
+ ## 2.7.14
232
+ ### Patch Changes
233
+
234
+ - Updated dependencies [30e7d4d]
235
+ - @prosopo/config@3.1.5
236
+ - @prosopo/common@3.1.4
237
+ - @prosopo/fingerprint@2.6.5
238
+ - @prosopo/keyring@2.8.11
239
+ - @prosopo/types@3.0.8
240
+ - @prosopo/util@3.0.7
241
+ - @prosopo/util-crypto@13.5.6
242
+
243
+ ## 2.7.13
244
+ ### Patch Changes
245
+
246
+ - Updated dependencies [44ffda2]
247
+ - Updated dependencies [a49b538]
248
+ - @prosopo/config@3.1.4
249
+ - @prosopo/common@3.1.3
250
+ - @prosopo/fingerprint@2.6.4
251
+ - @prosopo/keyring@2.8.10
252
+ - @prosopo/types@3.0.7
253
+ - @prosopo/util@3.0.6
254
+ - @prosopo/util-crypto@13.5.5
255
+
256
+ ## 2.7.12
257
+ ### Patch Changes
258
+
259
+ - 828066d: remove empty test npm scripts, add missing npm test scripts
260
+ - 91bbe87: configure typecheck before bundle for vue packages
261
+ - 91bbe87: make typecheck script always recompile
262
+ - 346e092: NODE_ENV default to "development"
263
+ - 5d36e05: remove tsc --force
264
+ - Updated dependencies [828066d]
265
+ - Updated dependencies [df4e030]
266
+ - Updated dependencies [91bbe87]
267
+ - Updated dependencies [3ef4fd2]
268
+ - Updated dependencies [91bbe87]
269
+ - Updated dependencies [346e092]
270
+ - Updated dependencies [5d36e05]
271
+ - @prosopo/fingerprint@2.6.3
272
+ - @prosopo/common@3.1.2
273
+ - @prosopo/types@3.0.6
274
+ - @prosopo/config@3.1.3
275
+ - @prosopo/util-crypto@13.5.4
276
+ - @prosopo/keyring@2.8.9
277
+ - @prosopo/util@3.0.5
278
+
3
279
  ## 2.7.11
4
280
  ### Patch Changes
5
281
 
@@ -23,10 +23,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
23
  ));
24
24
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
25
25
  const util$1 = require("@polkadot/util");
26
- const common = require("@prosopo/common");
27
26
  const fingerprint = require("@prosopo/fingerprint");
28
27
  const keyring = require("@prosopo/keyring");
29
28
  const util = require("@prosopo/util");
29
+ const utilCrypto = require("@prosopo/util-crypto");
30
30
  const Extension = require("./Extension.cjs");
31
31
  const SignerLoader = async () => (await import("@polkadot/extension-base/page/Signer")).default;
32
32
  const EntropyToMnemonicLoader = async () => (await import("@prosopo/util-crypto")).entropyToMnemonic;
@@ -70,7 +70,7 @@ class ExtensionWeb2 extends Extension.Extension {
70
70
  }
71
71
  async createAccount(config) {
72
72
  const browserEntropy = await fingerprint.getFingerprint();
73
- const entropy = common.hexHash(browserEntropy, 128).slice(2);
73
+ const entropy = utilCrypto.hexHash(browserEntropy, 128).slice(2);
74
74
  const u8Entropy = util$1.stringToU8a(entropy);
75
75
  const entropyToMnemonic = await EntropyToMnemonicLoader();
76
76
  const mnemonic = entropyToMnemonic(u8Entropy);
@@ -1,8 +1,8 @@
1
1
  import { stringToU8a } from "@polkadot/util";
2
- import { hexHash } from "@prosopo/common";
3
2
  import { getFingerprint } from "@prosopo/fingerprint";
4
3
  import { Keyring } from "@prosopo/keyring";
5
4
  import { u8aToHex, version } from "@prosopo/util";
5
+ import { hexHash } from "@prosopo/util-crypto";
6
6
  import { Extension } from "./Extension.js";
7
7
  const SignerLoader = async () => (await import("@polkadot/extension-base/page/Signer")).default;
8
8
  const EntropyToMnemonicLoader = async () => (await import("@prosopo/util-crypto")).entropyToMnemonic;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/account",
3
- "version": "2.7.11",
3
+ "version": "2.7.30",
4
4
  "description": "Services and Utils for Prosopo account gen and management",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -28,11 +28,10 @@
28
28
  },
29
29
  "scripts": {
30
30
  "clean": "del-cli --verbose dist tsconfig.tsbuildinfo",
31
- "build": "NODE_ENV=${NODE_ENV:-production}; vite build --config vite.esm.config.ts --mode $NODE_ENV",
31
+ "build": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.esm.config.ts --mode $NODE_ENV",
32
32
  "build:tsc": "tsc --build --verbose",
33
- "build:cjs": "NODE_ENV=${NODE_ENV:-production}; vite build --config vite.cjs.config.ts --mode $NODE_ENV",
34
- "typecheck": "tsc --build --declaration --emitDeclarationOnly --force",
35
- "test": "echo no tests"
33
+ "build:cjs": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV",
34
+ "typecheck": "tsc --project tsconfig.types.json"
36
35
  },
37
36
  "repository": {
38
37
  "type": "git",
@@ -49,20 +48,17 @@
49
48
  "@polkadot/extension-dapp": "0.46.9",
50
49
  "@polkadot/extension-inject": "0.46.9",
51
50
  "@polkadot/util": "12.6.2",
52
- "@prosopo/common": "3.1.1",
53
- "@prosopo/fingerprint": "2.6.2",
54
- "@prosopo/keyring": "2.8.8",
55
- "@prosopo/types": "3.0.5",
56
- "@prosopo/util": "3.0.4",
57
- "@prosopo/util-crypto": "13.5.3",
58
- "@prosopo/config": "3.1.2",
59
- "@typegoose/auto-increment": "4.13.0",
60
- "axios": "1.10.0",
61
- "esbuild": "0.25.6",
62
- "openpgp": "5.11.3",
63
- "webpack-dev-server": "5.2.2"
51
+ "@polkadot/util-crypto": "12.6.2",
52
+ "@prosopo/common": "3.1.20",
53
+ "@prosopo/fingerprint": "2.6.21",
54
+ "@prosopo/keyring": "2.8.27",
55
+ "@prosopo/types": "3.5.3",
56
+ "@prosopo/util": "3.1.5",
57
+ "@prosopo/util-crypto": "13.5.22",
58
+ "@prosopo/config": "3.1.20"
64
59
  },
65
60
  "devDependencies": {
61
+ "@types/node": "22.10.2",
66
62
  "@vitest/coverage-v8": "3.0.9",
67
63
  "concurrently": "9.0.1",
68
64
  "del-cli": "6.0.0",