@prosopo/procaptcha-wrapper 2.5.5 → 2.6.7

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 ADDED
@@ -0,0 +1,47 @@
1
+ # @prosopo/procaptcha-wrapper
2
+
3
+ ## 2.6.7
4
+ ### Patch Changes
5
+
6
+ - 913b69a: Move dep
7
+
8
+ ## 2.6.6
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [b0d7207]
12
+ - @prosopo/types@3.0.3
13
+
14
+ ## 2.6.5
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [f682f0c]
18
+ - @prosopo/locale@3.0.2
19
+ - @prosopo/types@3.0.2
20
+
21
+ ## 2.6.4
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [87bd9bc]
25
+ - @prosopo/locale@3.0.1
26
+ - @prosopo/types@3.0.1
27
+
28
+ ## 2.6.3
29
+ ### Patch Changes
30
+
31
+ - dead520: fix dep versions
32
+
33
+ ## 2.6.2
34
+ ### Patch Changes
35
+
36
+ - 5705cfb: use build+bundle npm scripts
37
+
38
+ ## 2.6.1
39
+ ### Patch Changes
40
+
41
+ - 86c22b8: structured logging
42
+
43
+ ## 2.6.0
44
+
45
+ ### Minor Changes
46
+
47
+ - a0bfc8a: bump all pkg versions since independent versioning applied
package/dist/index.d.ts CHANGED
@@ -22,7 +22,7 @@ export declare const ProcaptchaLanguages: {
22
22
  readonly dutch: "nl";
23
23
  readonly norwegian: "no";
24
24
  readonly polish: "pl";
25
- readonly portugeseBrazil: "pt-br";
25
+ readonly portugeseBrazil: "pt-BR";
26
26
  readonly portuguese: "pt";
27
27
  readonly romanian: "ro";
28
28
  readonly russian: "ru";
@@ -32,7 +32,7 @@ export declare const ProcaptchaLanguages: {
32
32
  readonly turkish: "tr";
33
33
  readonly ukrainian: "uk";
34
34
  readonly vietnamese: "vi";
35
- readonly chinese: "zh";
35
+ readonly chinese: "zh-CN";
36
36
  };
37
37
 
38
38
  export declare interface ProcaptchaRenderOptions {
@@ -50,12 +50,15 @@ export declare interface ProcaptchaRenderOptions {
50
50
  "reset-callback"?: string | (() => void);
51
51
  language?: (typeof ProcaptchaLanguages)[keyof typeof ProcaptchaLanguages];
52
52
  size?: "invisible";
53
+ web3?: boolean;
54
+ userAccountAddress?: string;
53
55
  }
54
56
 
55
57
  export declare enum ProcaptchaType {
56
58
  image = "image",
57
59
  pow = "pow",
58
- frictionless = "frictionless"
60
+ frictionless = "frictionless",
61
+ invisible = "invisible"
59
62
  }
60
63
 
61
64
  declare type RendererFunction = (element: HTMLElement, options: ProcaptchaRenderOptions) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/procaptcha-wrapper",
3
- "version": "2.5.5",
3
+ "version": "2.6.7",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": "20",
@@ -11,12 +11,16 @@
11
11
  "scripts": {
12
12
  "test": "echo \"No test specified\"",
13
13
  "clean": "del-cli ./dist",
14
- "build": "npx vite build"
14
+ "build": "tsc --build",
15
+ "bundle": "vite build"
16
+ },
17
+ "dependencies": {
18
+ "@prosopo/types": "3.0.3",
19
+ "@prosopo/locale": "3.0.2"
15
20
  },
16
21
  "devDependencies": {
17
- "@prosopo/procaptcha-integration-build-config": "1.0.0",
18
- "del-cli": "6.0.0",
19
- "@prosopo/types": "2.5.5"
22
+ "@prosopo/procaptcha-integration-build-config": "1.1.0",
23
+ "del-cli": "6.0.0"
20
24
  },
21
25
  "author": "PROSOPO LIMITED <info@prosopo.io>",
22
26
  "license": "Apache-2.0",