@prosopo/account 2.7.8 → 2.7.10

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,39 @@
1
1
  # @prosopo/account
2
2
 
3
+ ## 2.7.10
4
+ ### Patch Changes
5
+
6
+ - 3573f0b: fix npm scripts bundle command
7
+ - 3573f0b: build using vite, typecheck using tsc
8
+ - efd8102: Add tests for unwrap error helper
9
+ - 3573f0b: standardise all vite based npm scripts for bundling
10
+ - Updated dependencies [52dbf21]
11
+ - Updated dependencies [93d5e50]
12
+ - Updated dependencies [3573f0b]
13
+ - Updated dependencies [8a64429]
14
+ - Updated dependencies [3573f0b]
15
+ - Updated dependencies [efd8102]
16
+ - Updated dependencies [93d5e50]
17
+ - Updated dependencies [63519d7]
18
+ - Updated dependencies [f29fc7e]
19
+ - Updated dependencies [3573f0b]
20
+ - Updated dependencies [2d0dd8a]
21
+ - Updated dependencies [6d604ad]
22
+ - @prosopo/util@3.0.3
23
+ - @prosopo/util-crypto@13.5.2
24
+ - @prosopo/keyring@2.8.7
25
+ - @prosopo/types@3.0.4
26
+ - @prosopo/fingerprint@2.6.1
27
+ - @prosopo/common@3.1.0
28
+ - @prosopo/config@3.1.1
29
+
30
+ ## 2.7.9
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [b0d7207]
34
+ - @prosopo/types@3.0.3
35
+ - @prosopo/keyring@2.8.6
36
+
3
37
  ## 2.7.8
4
38
  ### Patch Changes
5
39
 
@@ -29,7 +29,7 @@ const keyring = require("@prosopo/keyring");
29
29
  const util = require("@prosopo/util");
30
30
  const Extension = require("./Extension.cjs");
31
31
  const SignerLoader = async () => (await import("@polkadot/extension-base/page/Signer")).default;
32
- const EntropyToMnemonicLoader = async () => (await import("@prosopo/util-crypto/mnemonic/bip39")).entropyToMnemonic;
32
+ const EntropyToMnemonicLoader = async () => (await import("@prosopo/util-crypto")).entropyToMnemonic;
33
33
  class ExtensionWeb2 extends Extension.Extension {
34
34
  async getAccount(config) {
35
35
  const account = await this.createAccount(config);
@@ -1,3 +1,5 @@
1
- export class Extension {
1
+ class Extension {
2
2
  }
3
- //# sourceMappingURL=Extension.js.map
3
+ export {
4
+ Extension
5
+ };
@@ -5,62 +5,65 @@ import { Keyring } from "@prosopo/keyring";
5
5
  import { u8aToHex, version } from "@prosopo/util";
6
6
  import { Extension } from "./Extension.js";
7
7
  const SignerLoader = async () => (await import("@polkadot/extension-base/page/Signer")).default;
8
- const EntropyToMnemonicLoader = async () => (await import("@prosopo/util-crypto/mnemonic/bip39")).entropyToMnemonic;
9
- export class ExtensionWeb2 extends Extension {
10
- async getAccount(config) {
11
- const account = await this.createAccount(config);
12
- const extension = await this.createExtension(account);
13
- return {
14
- account,
15
- extension,
16
- };
17
- }
18
- async createExtension(account) {
19
- const Signer = await SignerLoader();
20
- const signer = new Signer(async () => {
8
+ const EntropyToMnemonicLoader = async () => (await import("@prosopo/util-crypto")).entropyToMnemonic;
9
+ class ExtensionWeb2 extends Extension {
10
+ async getAccount(config) {
11
+ const account = await this.createAccount(config);
12
+ const extension = await this.createExtension(account);
13
+ return {
14
+ account,
15
+ extension
16
+ };
17
+ }
18
+ async createExtension(account) {
19
+ const Signer = await SignerLoader();
20
+ const signer = new Signer(async () => {
21
+ return;
22
+ });
23
+ signer.signRaw = async (payload) => {
24
+ const signature = account.keypair.sign(payload.data);
25
+ return {
26
+ id: 1,
27
+ // the id of the request to sign. This should be incremented each time and adjust the signature, but we're hacking around this. Hence the signature will always be the same given the same payload.
28
+ signature: u8aToHex(signature)
29
+ };
30
+ };
31
+ return {
32
+ accounts: {
33
+ get: async () => {
34
+ return [account];
35
+ },
36
+ subscribe: () => {
37
+ return () => {
21
38
  return;
22
- });
23
- signer.signRaw = async (payload) => {
24
- const signature = account.keypair.sign(payload.data);
25
- return {
26
- id: 1,
27
- signature: u8aToHex(signature),
28
- };
29
- };
30
- return {
31
- accounts: {
32
- get: async () => {
33
- return [account];
34
- },
35
- subscribe: () => {
36
- return () => {
37
- return;
38
- };
39
- },
40
- },
41
- name: "procaptcha-web2",
42
- version,
43
- signer,
44
- };
45
- }
46
- async createAccount(config) {
47
- const browserEntropy = await getFingerprint();
48
- const entropy = hexHash(browserEntropy, 128).slice(2);
49
- const u8Entropy = stringToU8a(entropy);
50
- const entropyToMnemonic = await EntropyToMnemonicLoader();
51
- const mnemonic = entropyToMnemonic(u8Entropy);
52
- const type = "sr25519";
53
- const keyring = new Keyring({
54
- type,
55
- });
56
- const keypair = keyring.addFromMnemonic(mnemonic);
57
- const address = keypair.address;
58
- return {
59
- address,
60
- name: address,
61
- keypair,
62
- };
63
- }
39
+ };
40
+ }
41
+ },
42
+ name: "procaptcha-web2",
43
+ version,
44
+ signer
45
+ };
46
+ }
47
+ async createAccount(config) {
48
+ const browserEntropy = await getFingerprint();
49
+ const entropy = hexHash(browserEntropy, 128).slice(2);
50
+ const u8Entropy = stringToU8a(entropy);
51
+ const entropyToMnemonic = await EntropyToMnemonicLoader();
52
+ const mnemonic = entropyToMnemonic(u8Entropy);
53
+ const type = "sr25519";
54
+ const keyring = new Keyring({
55
+ type
56
+ });
57
+ const keypair = keyring.addFromMnemonic(mnemonic);
58
+ const address = keypair.address;
59
+ return {
60
+ address,
61
+ name: address,
62
+ keypair
63
+ };
64
+ }
64
65
  }
65
- export default ExtensionWeb2;
66
- //# sourceMappingURL=ExtensionWeb2.js.map
66
+ export {
67
+ ExtensionWeb2,
68
+ ExtensionWeb2 as default
69
+ };
@@ -2,30 +2,32 @@ import { web3Enable } from "@polkadot/extension-dapp";
2
2
  import { cryptoWaitReady } from "@polkadot/util-crypto";
3
3
  import { ProsopoError } from "@prosopo/common";
4
4
  import { Extension } from "./Extension.js";
5
- export class ExtensionWeb3 extends Extension {
6
- async getAccount(config) {
7
- const { dappName, userAccountAddress: address } = config;
8
- if (!address) {
9
- throw new ProsopoError("WIDGET.NO_ACCOUNTS_FOUND", {
10
- context: { error: "No account address provided" },
11
- });
12
- }
13
- await cryptoWaitReady();
14
- const extensions = await web3Enable(dappName);
15
- if (extensions.length === 0) {
16
- throw new ProsopoError("WIDGET.NO_EXTENSION_FOUND");
17
- }
18
- for (const extension of extensions) {
19
- const accounts = await extension.accounts.get();
20
- const account = accounts.find((account) => account.address === address);
21
- if (account) {
22
- return { account, extension };
23
- }
24
- }
25
- throw new ProsopoError("WIDGET.ACCOUNT_NOT_FOUND", {
26
- context: { error: `No account found matching ${address}` },
27
- });
5
+ class ExtensionWeb3 extends Extension {
6
+ async getAccount(config) {
7
+ const { dappName, userAccountAddress: address } = config;
8
+ if (!address) {
9
+ throw new ProsopoError("WIDGET.NO_ACCOUNTS_FOUND", {
10
+ context: { error: "No account address provided" }
11
+ });
28
12
  }
13
+ await cryptoWaitReady();
14
+ const extensions = await web3Enable(dappName);
15
+ if (extensions.length === 0) {
16
+ throw new ProsopoError("WIDGET.NO_EXTENSION_FOUND");
17
+ }
18
+ for (const extension of extensions) {
19
+ const accounts = await extension.accounts.get();
20
+ const account = accounts.find((account2) => account2.address === address);
21
+ if (account) {
22
+ return { account, extension };
23
+ }
24
+ }
25
+ throw new ProsopoError("WIDGET.ACCOUNT_NOT_FOUND", {
26
+ context: { error: `No account found matching ${address}` }
27
+ });
28
+ }
29
29
  }
30
- export default ExtensionWeb3;
31
- //# sourceMappingURL=ExtensionWeb3.js.map
30
+ export {
31
+ ExtensionWeb3,
32
+ ExtensionWeb3 as default
33
+ };
package/dist/index.js CHANGED
@@ -1,4 +1,8 @@
1
- export * from "./extension/Extension.js";
2
- export * from "./extension/ExtensionWeb2.js";
3
- export * from "./extension/ExtensionWeb3.js";
4
- //# sourceMappingURL=index.js.map
1
+ import { Extension } from "./extension/Extension.js";
2
+ import { ExtensionWeb2 } from "./extension/ExtensionWeb2.js";
3
+ import { ExtensionWeb3 } from "./extension/ExtensionWeb3.js";
4
+ export {
5
+ Extension,
6
+ ExtensionWeb2,
7
+ ExtensionWeb3
8
+ };
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@prosopo/account",
3
- "version": "2.7.8",
3
+ "version": "2.7.10",
4
4
  "description": "Services and Utils for Prosopo account gen and management",
5
5
  "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
6
7
  "type": "module",
7
8
  "engines": {
8
9
  "node": "20",
@@ -10,6 +11,7 @@
10
11
  },
11
12
  "exports": {
12
13
  ".": {
14
+ "types": "./dist/index.d.ts",
13
15
  "import": "./dist/index.js",
14
16
  "require": "./dist/cjs/index.cjs"
15
17
  },
@@ -25,10 +27,12 @@
25
27
  }
26
28
  },
27
29
  "scripts": {
28
- "test": "echo \"No test specified\"",
29
- "clean": "tsc --build --clean",
30
- "build": "tsc --build --verbose",
31
- "build:cjs": "npx vite --config vite.cjs.config.ts build"
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",
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",
35
+ "test": "echo no tests"
32
36
  },
33
37
  "repository": {
34
38
  "type": "git",
@@ -45,12 +49,13 @@
45
49
  "@polkadot/extension-dapp": "0.46.9",
46
50
  "@polkadot/extension-inject": "0.46.9",
47
51
  "@polkadot/util": "12.6.2",
48
- "@prosopo/common": "3.0.2",
49
- "@prosopo/fingerprint": "2.6.0",
50
- "@prosopo/keyring": "2.8.5",
51
- "@prosopo/types": "3.0.2",
52
- "@prosopo/util": "3.0.2",
53
- "@prosopo/util-crypto": "13.5.1",
52
+ "@prosopo/common": "3.1.0",
53
+ "@prosopo/fingerprint": "2.6.1",
54
+ "@prosopo/keyring": "2.8.7",
55
+ "@prosopo/types": "3.0.4",
56
+ "@prosopo/util": "3.0.3",
57
+ "@prosopo/util-crypto": "13.5.2",
58
+ "@prosopo/config": "3.1.1",
54
59
  "@typegoose/auto-increment": "4.13.0",
55
60
  "axios": "1.10.0",
56
61
  "esbuild": "0.25.6",
@@ -58,7 +63,6 @@
58
63
  "webpack-dev-server": "5.2.2"
59
64
  },
60
65
  "devDependencies": {
61
- "@prosopo/config": "3.1.0",
62
66
  "@vitest/coverage-v8": "3.0.9",
63
67
  "concurrently": "9.0.1",
64
68
  "del-cli": "6.0.0",
@@ -15,5 +15,8 @@ import path from "node:path";
15
15
  import { ViteCommonJSConfig } from "@prosopo/config";
16
16
 
17
17
  export default function () {
18
- return ViteCommonJSConfig("util", path.resolve("./tsconfig.cjs.json"));
18
+ return ViteCommonJSConfig(
19
+ path.basename("."),
20
+ path.resolve("./tsconfig.json"),
21
+ );
19
22
  }
@@ -0,0 +1,20 @@
1
+ // Copyright 2021-2025 Prosopo (UK) Ltd.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ import path from "node:path";
16
+ import { ViteEsmConfig } from "@prosopo/config";
17
+
18
+ export default function () {
19
+ return ViteEsmConfig(path.basename("."), path.resolve("./tsconfig.json"));
20
+ }
@@ -1,5 +0,0 @@
1
- import type { Account, ProcaptchaClientConfigOutput } from "@prosopo/types";
2
- export declare abstract class Extension {
3
- abstract getAccount(config: ProcaptchaClientConfigOutput): Promise<Account>;
4
- }
5
- //# sourceMappingURL=Extension.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Extension.d.ts","sourceRoot":"","sources":["../../src/extension/Extension.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAK5E,8BAAsB,SAAS;aAOd,UAAU,CACzB,MAAM,EAAE,4BAA4B,GAClC,OAAO,CAAC,OAAO,CAAC;CACnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Extension.js","sourceRoot":"","sources":["../../src/extension/Extension.ts"],"names":[],"mappings":"AAkBA,MAAM,OAAgB,SAAS;CAU9B"}
@@ -1,9 +0,0 @@
1
- import type { Account, ProcaptchaClientConfigOutput } from "@prosopo/types";
2
- import { Extension } from "./Extension.js";
3
- export declare class ExtensionWeb2 extends Extension {
4
- getAccount(config: ProcaptchaClientConfigOutput): Promise<Account>;
5
- private createExtension;
6
- private createAccount;
7
- }
8
- export default ExtensionWeb2;
9
- //# sourceMappingURL=ExtensionWeb2.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExtensionWeb2.d.ts","sourceRoot":"","sources":["../../src/extension/ExtensionWeb2.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAG5E,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAY3C,qBAAa,aAAc,SAAQ,SAAS;IAC9B,UAAU,CACtB,MAAM,EAAE,4BAA4B,GAClC,OAAO,CAAC,OAAO,CAAC;YAUL,eAAe;YAoCf,aAAa;CAuB3B;AAED,eAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExtensionWeb2.js","sourceRoot":"","sources":["../../src/extension/ExtensionWeb2.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,OAAO,EAAE,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BACR,CAAC,CAAC;gBACH,CAAC;aACD;YACD,IAAI,EAAE,iBAAiB;YACvB,OAAO;YACP,MAAM;SACN,CAAC;IACH,CAAC;IAEO,KAAK,CAAC,aAAa,CAC1B,MAAoC;QAEpC,MAAM,cAAc,GAAG,MAAM,cAAc,EAAE,CAAC;QAG9C,MAAM,OAAO,GAAG,OAAO,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAEtD,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;QACvC,MAAM,iBAAiB,GAAG,MAAM,uBAAuB,EAAE,CAAC;QAC1D,MAAM,QAAQ,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAC;QAC9C,MAAM,IAAI,GAAgB,SAAS,CAAC;QACpC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC;YAC3B,IAAI;SACJ,CAAC,CAAC;QACH,MAAM,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;QAClD,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;QAChC,OAAO;YACN,OAAO;YACP,IAAI,EAAE,OAAO;YACb,OAAO;SACP,CAAC;IACH,CAAC;CACD;AAED,eAAe,aAAa,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Account, ProcaptchaClientConfigOutput } from "@prosopo/types";
2
- import { Extension } from "./Extension.js";
3
- export declare class ExtensionWeb3 extends Extension {
4
- getAccount(config: ProcaptchaClientConfigOutput): Promise<Account>;
5
- }
6
- export default ExtensionWeb3;
7
- //# sourceMappingURL=ExtensionWeb3.d.ts.map
@@ -1 +0,0 @@
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,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AAO,EAAE,CAAC;gBACb,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;YAC/B,CAAC;QACF,CAAC;QAED,MAAM,IAAI,YAAY,CAAC,0BAA0B,EAAE;YAClD,OAAO,EAAE,EAAE,KAAK,EAAE,6BAA6B,OAAO,EAAE,EAAE;SAC1D,CAAC,CAAC;IACJ,CAAC;CACD;AAED,eAAe,aAAa,CAAC"}
package/dist/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from "./extension/Extension.js";
2
- export * from "./extension/ExtensionWeb2.js";
3
- export * from "./extension/ExtensionWeb3.js";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC"}