@prosopo/account 2.8.110 → 2.8.112
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/.turbo/turbo-build$colon$cjs.log +5 -7
- package/.turbo/turbo-build$colon$tsc.log +5 -7
- package/.turbo/turbo-build.log +5 -7
- package/CHANGELOG.md +60 -0
- package/dist/cjs/extension/ExtensionWeb3.cjs +16 -3
- package/dist/errorSites.d.ts +9 -0
- package/dist/errorSites.d.ts.map +1 -0
- package/dist/errorSites.js +2 -0
- package/dist/errorSites.js.map +1 -0
- package/dist/extension/ExtensionWeb3.d.ts.map +1 -1
- package/dist/extension/ExtensionWeb3.js +16 -3
- package/dist/extension/ExtensionWeb3.js.map +1 -1
- package/package.json +12 -12
|
@@ -3,10 +3,9 @@ ViteCommonJSConfig: .
|
|
|
3
3
|
{
|
|
4
4
|
tsConfigPaths: [
|
|
5
5
|
'/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
|
|
6
|
+
'/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
|
|
6
7
|
'/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
|
|
7
8
|
'/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
|
|
8
|
-
'/home/runner/work/captcha/captcha/packages/logger/tsconfig.json',
|
|
9
|
-
'/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
|
|
10
9
|
'/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
|
|
11
10
|
'/home/runner/work/captcha/captcha/packages/fingerprint/tsconfig.json',
|
|
12
11
|
'/home/runner/work/captcha/captcha/packages/fingerprintjs/tsconfig.json',
|
|
@@ -16,10 +15,9 @@ ViteCommonJSConfig: .
|
|
|
16
15
|
{
|
|
17
16
|
externals: [
|
|
18
17
|
'@prosopo/common',
|
|
18
|
+
'@prosopo/types',
|
|
19
19
|
'@prosopo/locale',
|
|
20
20
|
'@prosopo/util',
|
|
21
|
-
'@prosopo/logger',
|
|
22
|
-
'@prosopo/types',
|
|
23
21
|
'@prosopo/util-crypto',
|
|
24
22
|
'@prosopo/fingerprint',
|
|
25
23
|
'@prosopo/fingerprintjs',
|
|
@@ -27,7 +25,7 @@ ViteCommonJSConfig: .
|
|
|
27
25
|
]
|
|
28
26
|
}
|
|
29
27
|
[33mThe plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the [1mresolve.tsconfigPaths[22m option. You can remove the plugin and set [1mresolve.tsconfigPaths: true[22m in your Vite config instead.[39m
|
|
30
|
-
[36mvite v8.1.
|
|
28
|
+
[36mvite v8.1.6 [32mbuilding ssr environment for production...[36m[39m
|
|
31
29
|
Bundle build started
|
|
32
30
|
[2K
|
|
33
31
|
Build end
|
|
@@ -37,9 +35,9 @@ computing gzip size...
|
|
|
37
35
|
dist/cjs/extension/Extension.cjs 0.15 kB │ gzip: 0.12 kB
|
|
38
36
|
dist/cjs/index.cjs 0.45 kB │ gzip: 0.18 kB
|
|
39
37
|
dist/cjs/_virtual/_rolldown/runtime.cjs 1.00 kB │ gzip: 0.50 kB
|
|
40
|
-
dist/cjs/extension/ExtensionWeb3.cjs 1.
|
|
38
|
+
dist/cjs/extension/ExtensionWeb3.cjs 1.43 kB │ gzip: 0.58 kB
|
|
41
39
|
dist/cjs/extension/ExtensionWeb2.cjs 2.73 kB │ gzip: 0.93 kB
|
|
42
40
|
dist/cjs/workers/CryptoWorkerManager.cjs 4.01 kB │ gzip: 1.53 kB
|
|
43
41
|
dist/cjs/workers/cryptoWorker.cjs 55.80 kB │ gzip: 23.89 kB
|
|
44
42
|
|
|
45
|
-
[32m✓ built in
|
|
43
|
+
[32m✓ built in 186ms[39m
|
|
@@ -6,10 +6,9 @@ ViteEsmConfig: .
|
|
|
6
6
|
{
|
|
7
7
|
tsConfigPaths: [
|
|
8
8
|
'/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
|
|
9
|
+
'/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
|
|
9
10
|
'/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
|
|
10
11
|
'/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
|
|
11
|
-
'/home/runner/work/captcha/captcha/packages/logger/tsconfig.json',
|
|
12
|
-
'/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
|
|
13
12
|
'/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
|
|
14
13
|
'/home/runner/work/captcha/captcha/packages/fingerprint/tsconfig.json',
|
|
15
14
|
'/home/runner/work/captcha/captcha/packages/fingerprintjs/tsconfig.json',
|
|
@@ -19,10 +18,9 @@ ViteEsmConfig: .
|
|
|
19
18
|
{
|
|
20
19
|
externals: [
|
|
21
20
|
'@prosopo/common',
|
|
21
|
+
'@prosopo/types',
|
|
22
22
|
'@prosopo/locale',
|
|
23
23
|
'@prosopo/util',
|
|
24
|
-
'@prosopo/logger',
|
|
25
|
-
'@prosopo/types',
|
|
26
24
|
'@prosopo/util-crypto',
|
|
27
25
|
'@prosopo/fingerprint',
|
|
28
26
|
'@prosopo/fingerprintjs',
|
|
@@ -30,7 +28,7 @@ ViteEsmConfig: .
|
|
|
30
28
|
]
|
|
31
29
|
}
|
|
32
30
|
[33mThe plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the [1mresolve.tsconfigPaths[22m option. You can remove the plugin and set [1mresolve.tsconfigPaths: true[22m in your Vite config instead.[39m
|
|
33
|
-
[36mvite v8.1.
|
|
31
|
+
[36mvite v8.1.6 [32mbuilding ssr environment for production...[36m[39m
|
|
34
32
|
Bundle build started
|
|
35
33
|
[2K
|
|
36
34
|
✓ 7 modules transformed.
|
|
@@ -39,9 +37,9 @@ computing gzip size...
|
|
|
39
37
|
dist/_virtual/_rolldown/runtime.js 0.04 kB │ gzip: 0.06 kB
|
|
40
38
|
dist/extension/Extension.js 0.14 kB │ gzip: 0.12 kB
|
|
41
39
|
dist/index.js 0.27 kB │ gzip: 0.12 kB
|
|
42
|
-
dist/extension/ExtensionWeb3.js 1.
|
|
40
|
+
dist/extension/ExtensionWeb3.js 1.26 kB │ gzip: 0.54 kB
|
|
43
41
|
dist/extension/ExtensionWeb2.js 2.12 kB │ gzip: 0.81 kB
|
|
44
42
|
dist/workers/CryptoWorkerManager.js 3.93 kB │ gzip: 1.52 kB
|
|
45
43
|
dist/workers/cryptoWorker.js 55.97 kB │ gzip: 23.92 kB
|
|
46
44
|
|
|
47
|
-
[32m✓ built in
|
|
45
|
+
[32m✓ built in 161ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -4,10 +4,9 @@ ViteEsmConfig: .
|
|
|
4
4
|
{
|
|
5
5
|
tsConfigPaths: [
|
|
6
6
|
'/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
|
|
7
|
+
'/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
|
|
7
8
|
'/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
|
|
8
9
|
'/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
|
|
9
|
-
'/home/runner/work/captcha/captcha/packages/logger/tsconfig.json',
|
|
10
|
-
'/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
|
|
11
10
|
'/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
|
|
12
11
|
'/home/runner/work/captcha/captcha/packages/fingerprint/tsconfig.json',
|
|
13
12
|
'/home/runner/work/captcha/captcha/packages/fingerprintjs/tsconfig.json',
|
|
@@ -17,10 +16,9 @@ ViteEsmConfig: .
|
|
|
17
16
|
{
|
|
18
17
|
externals: [
|
|
19
18
|
'@prosopo/common',
|
|
19
|
+
'@prosopo/types',
|
|
20
20
|
'@prosopo/locale',
|
|
21
21
|
'@prosopo/util',
|
|
22
|
-
'@prosopo/logger',
|
|
23
|
-
'@prosopo/types',
|
|
24
22
|
'@prosopo/util-crypto',
|
|
25
23
|
'@prosopo/fingerprint',
|
|
26
24
|
'@prosopo/fingerprintjs',
|
|
@@ -28,7 +26,7 @@ ViteEsmConfig: .
|
|
|
28
26
|
]
|
|
29
27
|
}
|
|
30
28
|
[33mThe plugin "vite-tsconfig-paths" is detected. Vite now supports tsconfig paths resolution natively via the [1mresolve.tsconfigPaths[22m option. You can remove the plugin and set [1mresolve.tsconfigPaths: true[22m in your Vite config instead.[39m
|
|
31
|
-
[36mvite v8.1.
|
|
29
|
+
[36mvite v8.1.6 [32mbuilding ssr environment for production...[36m[39m
|
|
32
30
|
Bundle build started
|
|
33
31
|
[2K
|
|
34
32
|
Build end
|
|
@@ -38,9 +36,9 @@ computing gzip size...
|
|
|
38
36
|
dist/_virtual/_rolldown/runtime.js 0.04 kB │ gzip: 0.06 kB
|
|
39
37
|
dist/extension/Extension.js 0.14 kB │ gzip: 0.12 kB
|
|
40
38
|
dist/index.js 0.27 kB │ gzip: 0.12 kB
|
|
41
|
-
dist/extension/ExtensionWeb3.js 1.
|
|
39
|
+
dist/extension/ExtensionWeb3.js 1.26 kB │ gzip: 0.54 kB
|
|
42
40
|
dist/extension/ExtensionWeb2.js 2.12 kB │ gzip: 0.81 kB
|
|
43
41
|
dist/workers/CryptoWorkerManager.js 3.93 kB │ gzip: 1.52 kB
|
|
44
42
|
dist/workers/cryptoWorker.js 55.80 kB │ gzip: 23.89 kB
|
|
45
43
|
|
|
46
|
-
[32m✓ built in
|
|
44
|
+
[32m✓ built in 169ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,65 @@
|
|
|
1
1
|
# @prosopo/account
|
|
2
2
|
|
|
3
|
+
## 2.8.112
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- 46b97b7: Roll up the open Dependabot updates: express 5 (with `@types/express` 5), dotenv 18, undici 8, geolib 4, vitest 5, vite 8.1.6 everywhere, 17 minor and patch bumps (Babel, mongoose, i18next, ip-address, turbo and others), `@angular/router` in the Angular demo, and a GitHub Actions bump.
|
|
7
|
+
|
|
8
|
+
The whole vitest family moves to 5.0.4, including `@vitest/coverage-v8`, because `@vitest/browser-playwright` 5 only works with vitest 5. The `@types/express-serve-static-core` override moves to 5.1.3 to match `@types/express` 5.
|
|
9
|
+
|
|
10
|
+
`@prosopo/dotenv` now loads env files with `quiet: true`. Since dotenv 17, every load prints an "injected env" line to stderr unless told not to.
|
|
11
|
+
- d2148c8: Errors now carry a fixed code and a site instead of a translation key.
|
|
12
|
+
|
|
13
|
+
Every error is a `ProsopoError` with a `code` from one list in
|
|
14
|
+
`@prosopo/common` (`ERROR_CODES`) and an `errorSite` such as `PROV-12`, which
|
|
15
|
+
names the one place it was thrown. Together they make the `errorId`, e.g.
|
|
16
|
+
`SITE_KEY_INVALID:PROV-31`, which the widget shows after the message so a
|
|
17
|
+
screenshot is enough to find the throw.
|
|
18
|
+
|
|
19
|
+
What a client sees:
|
|
20
|
+
|
|
21
|
+
- A public error (bad site key, blocked network, and so on) sends its code,
|
|
22
|
+
English message, data and errorId.
|
|
23
|
+
- Anything else sends only `BACKEND_ERROR:<site>` (or `FRONTEND_ERROR:<site>`
|
|
24
|
+
from the widget) and a status. Internal details never leave the server.
|
|
25
|
+
|
|
26
|
+
The provider no longer translates errors. The widget looks up
|
|
27
|
+
`ERRORS.<CODE>` in its catalogue and falls back to the English message. The
|
|
28
|
+
old error classes (`ProsopoApiError`, `ProsopoEnvError` and the rest), the
|
|
29
|
+
`key`/`messageEn` fields and `localiseErrorMessage` are gone.
|
|
30
|
+
|
|
31
|
+
Other changes in behaviour:
|
|
32
|
+
|
|
33
|
+
- An error with no specific code is a hidden 500.
|
|
34
|
+
- Errors no longer log themselves when they are created. The server logs each
|
|
35
|
+
unhandled one once: 5xx as errors, 4xx at debug.
|
|
36
|
+
- An invalid PoW signature is a 401 instead of a 500.
|
|
37
|
+
- `stringifyBigInts` returns a copy instead of changing its input, so frozen
|
|
38
|
+
error context can be logged.
|
|
39
|
+
- The provider's last hand-written error replies now use the same error body.
|
|
40
|
+
These were the missing-header 401s, the access-policy block, autoBan, the
|
|
41
|
+
metrics 401/403 and the rate limiter. The rate limiter answers with a new
|
|
42
|
+
public `RATE_LIMITED` (429) code.
|
|
43
|
+
- Updated dependencies [46b97b7]
|
|
44
|
+
- Updated dependencies [d2148c8]
|
|
45
|
+
- Updated dependencies [2bcf2fe]
|
|
46
|
+
- @prosopo/common@3.3.0
|
|
47
|
+
- @prosopo/fingerprint@2.8.0
|
|
48
|
+
- @prosopo/keyring@2.10.9
|
|
49
|
+
- @prosopo/types@5.17.0
|
|
50
|
+
- @prosopo/util@3.3.16
|
|
51
|
+
- @prosopo/util-crypto@13.6.1
|
|
52
|
+
|
|
53
|
+
## 2.8.111
|
|
54
|
+
### Patch Changes
|
|
55
|
+
|
|
56
|
+
- @prosopo/common@3.2.3
|
|
57
|
+
- @prosopo/types@5.16.3
|
|
58
|
+
- @prosopo/fingerprint@2.7.65
|
|
59
|
+
- @prosopo/keyring@2.10.8
|
|
60
|
+
- @prosopo/util@3.3.15
|
|
61
|
+
- @prosopo/util-crypto@13.6.0
|
|
62
|
+
|
|
3
63
|
## 2.8.110
|
|
4
64
|
### Patch Changes
|
|
5
65
|
|
|
@@ -9,10 +9,18 @@ let _prosopo_common = require("@prosopo/common");
|
|
|
9
9
|
var ExtensionWeb3 = class extends require_Extension.Extension {
|
|
10
10
|
async getAccount(config) {
|
|
11
11
|
const { dappName, userAccountAddress: address } = config;
|
|
12
|
-
if (!address) throw new _prosopo_common.ProsopoError(
|
|
12
|
+
if (!address) throw new _prosopo_common.ProsopoError({
|
|
13
|
+
code: "WALLET_NOT_FOUND",
|
|
14
|
+
errorSite: "ACCT-1",
|
|
15
|
+
message: "No accounts found",
|
|
16
|
+
context: { error: "No account address provided" }
|
|
17
|
+
});
|
|
13
18
|
await (0, _polkadot_util_crypto.cryptoWaitReady)();
|
|
14
19
|
const extensions = await (0, _polkadot_extension_dapp.web3Enable)(dappName);
|
|
15
|
-
if (extensions.length === 0) throw new _prosopo_common.ProsopoError(
|
|
20
|
+
if (extensions.length === 0) throw new _prosopo_common.ProsopoError({
|
|
21
|
+
code: "WALLET_NOT_FOUND",
|
|
22
|
+
errorSite: "ACCT-2"
|
|
23
|
+
});
|
|
16
24
|
for (const extension of extensions) {
|
|
17
25
|
const account = (await extension.accounts.get()).find((account) => account.address === address);
|
|
18
26
|
if (account) return {
|
|
@@ -20,7 +28,12 @@ var ExtensionWeb3 = class extends require_Extension.Extension {
|
|
|
20
28
|
extension
|
|
21
29
|
};
|
|
22
30
|
}
|
|
23
|
-
throw new _prosopo_common.ProsopoError(
|
|
31
|
+
throw new _prosopo_common.ProsopoError({
|
|
32
|
+
code: "WALLET_NOT_FOUND",
|
|
33
|
+
errorSite: "ACCT-3",
|
|
34
|
+
message: "Account not found",
|
|
35
|
+
context: { error: `No account found matching ${address}` }
|
|
36
|
+
});
|
|
24
37
|
}
|
|
25
38
|
};
|
|
26
39
|
//#endregion
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorSites.d.ts","sourceRoot":"","sources":["../src/errorSites.ts"],"names":[],"mappings":"AAcA,OAAO,QAAQ,iBAAiB,CAAC;IAChC,UAAU,UAAU;QACnB,QAAQ,EAAE,IAAI,CAAC;QACf,QAAQ,EAAE,IAAI,CAAC;QACf,QAAQ,EAAE,IAAI,CAAC;KACf;CACD;AAED,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorSites.js","sourceRoot":"","sources":["../src/errorSites.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtensionWeb3.d.ts","sourceRoot":"","sources":["../../src/extension/ExtensionWeb3.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAK3C,qBAAa,aAAc,SAAQ,SAAS;IAC9B,UAAU,CACtB,MAAM,EAAE,4BAA4B,GAClC,OAAO,CAAC,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ExtensionWeb3.d.ts","sourceRoot":"","sources":["../../src/extension/ExtensionWeb3.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAK3C,qBAAa,aAAc,SAAQ,SAAS;IAC9B,UAAU,CACtB,MAAM,EAAE,4BAA4B,GAClC,OAAO,CAAC,OAAO,CAAC;CAoCnB;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -9,10 +9,18 @@ import { ProsopoError } from "@prosopo/common";
|
|
|
9
9
|
var ExtensionWeb3 = class extends Extension {
|
|
10
10
|
async getAccount(config) {
|
|
11
11
|
const { dappName, userAccountAddress: address } = config;
|
|
12
|
-
if (!address) throw new ProsopoError(
|
|
12
|
+
if (!address) throw new ProsopoError({
|
|
13
|
+
code: "WALLET_NOT_FOUND",
|
|
14
|
+
errorSite: "ACCT-1",
|
|
15
|
+
message: "No accounts found",
|
|
16
|
+
context: { error: "No account address provided" }
|
|
17
|
+
});
|
|
13
18
|
await cryptoWaitReady();
|
|
14
19
|
const extensions = await web3Enable(dappName);
|
|
15
|
-
if (extensions.length === 0) throw new ProsopoError(
|
|
20
|
+
if (extensions.length === 0) throw new ProsopoError({
|
|
21
|
+
code: "WALLET_NOT_FOUND",
|
|
22
|
+
errorSite: "ACCT-2"
|
|
23
|
+
});
|
|
16
24
|
for (const extension of extensions) {
|
|
17
25
|
const account = (await extension.accounts.get()).find((account) => account.address === address);
|
|
18
26
|
if (account) return {
|
|
@@ -20,7 +28,12 @@ var ExtensionWeb3 = class extends Extension {
|
|
|
20
28
|
extension
|
|
21
29
|
};
|
|
22
30
|
}
|
|
23
|
-
throw new ProsopoError(
|
|
31
|
+
throw new ProsopoError({
|
|
32
|
+
code: "WALLET_NOT_FOUND",
|
|
33
|
+
errorSite: "ACCT-3",
|
|
34
|
+
message: "Account not found",
|
|
35
|
+
context: { error: `No account found matching ${address}` }
|
|
36
|
+
});
|
|
24
37
|
}
|
|
25
38
|
};
|
|
26
39
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtensionWeb3.js","sourceRoot":"","sources":["../../src/extension/ExtensionWeb3.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAK3C,MAAM,OAAO,aAAc,SAAQ,SAAS;IACpC,KAAK,CAAC,UAAU,CACtB,MAAoC;QAEpC,MAAM,EAAE,QAAQ,EAAE,kBAAkB,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAEzD,IAAI,CAAC,OAAO,EAAE,CAAC;YACd,MAAM,IAAI,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"ExtensionWeb3.js","sourceRoot":"","sources":["../../src/extension/ExtensionWeb3.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAK3C,MAAM,OAAO,aAAc,SAAQ,SAAS;IACpC,KAAK,CAAC,UAAU,CACtB,MAAoC;QAEpC,MAAM,EAAE,QAAQ,EAAE,kBAAkB,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QAEzD,IAAI,CAAC,OAAO,EAAE,CAAC;YACd,MAAM,IAAI,YAAY,CAAC;gBACtB,IAAI,EAAE,kBAAkB;gBACxB,SAAS,EAAE,QAAQ;gBACnB,OAAO,EAAE,mBAAmB;gBAC5B,OAAO,EAAE,EAAE,KAAK,EAAE,6BAA6B,EAAE;aACjD,CAAC,CAAC;QACJ,CAAC;QAED,MAAM,eAAe,EAAE,CAAC;QAGxB,MAAM,UAAU,GAAwB,MAAM,UAAU,CAAC,QAAQ,CAAC,CAAC;QACnE,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC7B,MAAM,IAAI,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,CAAC;QAC3E,CAAC;QAGD,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;YACpC,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC;YAChD,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,KAAK,OAAO,CAAC,CAAC;YACxE,IAAI,OAAO,EAAE,CAAC;gBACb,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;YAC/B,CAAC;QACF,CAAC;QAED,MAAM,IAAI,YAAY,CAAC;YACtB,IAAI,EAAE,kBAAkB;YACxB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,mBAAmB;YAC5B,OAAO,EAAE,EAAE,KAAK,EAAE,6BAA6B,OAAO,EAAE,EAAE;SAC1D,CAAC,CAAC;IACJ,CAAC;CACD;AAED,eAAe,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/account",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.112",
|
|
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",
|
|
@@ -42,26 +42,26 @@
|
|
|
42
42
|
"@polkadot/extension-inject": "0.64.1",
|
|
43
43
|
"@polkadot/util": "14.0.3",
|
|
44
44
|
"@polkadot/util-crypto": "14.0.3",
|
|
45
|
-
"@prosopo/common": "3.
|
|
46
|
-
"@prosopo/fingerprint": "2.
|
|
47
|
-
"@prosopo/keyring": "2.10.
|
|
48
|
-
"@prosopo/types": "5.
|
|
49
|
-
"@prosopo/util": "3.3.
|
|
50
|
-
"@prosopo/util-crypto": "13.6.
|
|
45
|
+
"@prosopo/common": "3.3.0",
|
|
46
|
+
"@prosopo/fingerprint": "2.8.0",
|
|
47
|
+
"@prosopo/keyring": "2.10.9",
|
|
48
|
+
"@prosopo/types": "5.17.0",
|
|
49
|
+
"@prosopo/util": "3.3.16",
|
|
50
|
+
"@prosopo/util-crypto": "13.6.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@prosopo/config": "3.
|
|
53
|
+
"@prosopo/config": "3.5.0",
|
|
54
54
|
"@types/node": "22.10.2",
|
|
55
|
-
"@vitest/coverage-v8": "
|
|
55
|
+
"@vitest/coverage-v8": "5.0.4",
|
|
56
56
|
"concurrently": "9.0.1",
|
|
57
57
|
"del-cli": "6.0.0",
|
|
58
|
-
"dotenv": "
|
|
58
|
+
"dotenv": "18.0.7",
|
|
59
59
|
"npm-run-all": "4.1.5",
|
|
60
60
|
"tslib": "2.7.0",
|
|
61
61
|
"tsx": "4.20.3",
|
|
62
62
|
"typescript": "5.6.2",
|
|
63
|
-
"vite": "8.1.
|
|
64
|
-
"vitest": "
|
|
63
|
+
"vite": "8.1.6",
|
|
64
|
+
"vitest": "5.0.4"
|
|
65
65
|
},
|
|
66
66
|
"sideEffects": false,
|
|
67
67
|
"scripts": {
|