@prosopo/angular-procaptcha-wrapper 1.1.44 → 1.1.76

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @prosopo/angular-procaptcha-wrapper@1.1.44 build
2
+ > @prosopo/angular-procaptcha-wrapper@1.1.76 build
3
3
  > ng-packagr -p ng-package.json
4
4
 
5
5
  Building Angular Package
@@ -24,5 +24,5 @@ Built Angular Package
24
24
  - to: /home/runner/work/captcha/captcha/integration/frameworks/angular/angular-procaptcha-wrapper/dist
25
25
  ------------------------------------------------------------------------------
26
26
 
27
- Build at: 2026-01-14T16:58:30.159Z - Time: 5017ms
27
+ Build at: 2026-06-06T08:16:09.500Z - Time: 5113ms
28
28
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,165 @@
1
1
  # @prosopo/angular-procaptcha-wrapper
2
2
 
3
+ ## 1.1.76
4
+ ### Patch Changes
5
+
6
+ - @prosopo/procaptcha-wrapper@2.6.78
7
+
8
+ ## 1.1.75
9
+ ### Patch Changes
10
+
11
+ - @prosopo/procaptcha-wrapper@2.6.77
12
+
13
+ ## 1.1.74
14
+ ### Patch Changes
15
+
16
+ - @prosopo/procaptcha-wrapper@2.6.76
17
+
18
+ ## 1.1.73
19
+ ### Patch Changes
20
+
21
+ - @prosopo/procaptcha-wrapper@2.6.75
22
+
23
+ ## 1.1.72
24
+ ### Patch Changes
25
+
26
+ - @prosopo/procaptcha-wrapper@2.6.74
27
+
28
+ ## 1.1.71
29
+ ### Patch Changes
30
+
31
+ - @prosopo/procaptcha-wrapper@2.6.73
32
+
33
+ ## 1.1.70
34
+ ### Patch Changes
35
+
36
+ - @prosopo/procaptcha-wrapper@2.6.72
37
+
38
+ ## 1.1.69
39
+ ### Patch Changes
40
+
41
+ - @prosopo/procaptcha-wrapper@2.6.71
42
+
43
+ ## 1.1.68
44
+ ### Patch Changes
45
+
46
+ - @prosopo/procaptcha-wrapper@2.6.70
47
+
48
+ ## 1.1.67
49
+ ### Patch Changes
50
+
51
+ - @prosopo/procaptcha-wrapper@2.6.69
52
+
53
+ ## 1.1.66
54
+ ### Patch Changes
55
+
56
+ - @prosopo/procaptcha-wrapper@2.6.68
57
+
58
+ ## 1.1.65
59
+ ### Patch Changes
60
+
61
+ - @prosopo/procaptcha-wrapper@2.6.67
62
+
63
+ ## 1.1.64
64
+ ### Patch Changes
65
+
66
+ - @prosopo/procaptcha-wrapper@2.6.66
67
+
68
+ ## 1.1.63
69
+ ### Patch Changes
70
+
71
+ - @prosopo/procaptcha-wrapper@2.6.65
72
+
73
+ ## 1.1.62
74
+ ### Patch Changes
75
+
76
+ - @prosopo/procaptcha-wrapper@2.6.64
77
+
78
+ ## 1.1.61
79
+ ### Patch Changes
80
+
81
+ - @prosopo/procaptcha-wrapper@2.6.63
82
+
83
+ ## 1.1.60
84
+ ### Patch Changes
85
+
86
+ - @prosopo/procaptcha-wrapper@2.6.62
87
+
88
+ ## 1.1.59
89
+ ### Patch Changes
90
+
91
+ - @prosopo/procaptcha-wrapper@2.6.61
92
+
93
+ ## 1.1.58
94
+ ### Patch Changes
95
+
96
+ - @prosopo/procaptcha-wrapper@2.6.60
97
+
98
+ ## 1.1.57
99
+ ### Patch Changes
100
+
101
+ - @prosopo/procaptcha-wrapper@2.6.59
102
+
103
+ ## 1.1.56
104
+ ### Patch Changes
105
+
106
+ - @prosopo/procaptcha-wrapper@2.6.58
107
+
108
+ ## 1.1.55
109
+ ### Patch Changes
110
+
111
+ - @prosopo/procaptcha-wrapper@2.6.57
112
+
113
+ ## 1.1.54
114
+ ### Patch Changes
115
+
116
+ - @prosopo/procaptcha-wrapper@2.6.56
117
+
118
+ ## 1.1.53
119
+ ### Patch Changes
120
+
121
+ - @prosopo/procaptcha-wrapper@2.6.55
122
+
123
+ ## 1.1.52
124
+ ### Patch Changes
125
+
126
+ - @prosopo/procaptcha-wrapper@2.6.54
127
+
128
+ ## 1.1.51
129
+ ### Patch Changes
130
+
131
+ - @prosopo/procaptcha-wrapper@2.6.53
132
+
133
+ ## 1.1.50
134
+ ### Patch Changes
135
+
136
+ - @prosopo/procaptcha-wrapper@2.6.52
137
+
138
+ ## 1.1.49
139
+ ### Patch Changes
140
+
141
+ - @prosopo/procaptcha-wrapper@2.6.51
142
+
143
+ ## 1.1.48
144
+ ### Patch Changes
145
+
146
+ - @prosopo/procaptcha-wrapper@2.6.50
147
+
148
+ ## 1.1.47
149
+ ### Patch Changes
150
+
151
+ - @prosopo/procaptcha-wrapper@2.6.49
152
+
153
+ ## 1.1.46
154
+ ### Patch Changes
155
+
156
+ - @prosopo/procaptcha-wrapper@2.6.48
157
+
158
+ ## 1.1.45
159
+ ### Patch Changes
160
+
161
+ - @prosopo/procaptcha-wrapper@2.6.47
162
+
3
163
  ## 1.1.44
4
164
  ### Patch Changes
5
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/angular-procaptcha-wrapper",
3
- "version": "1.1.44",
3
+ "version": "1.1.76",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": "^24",
@@ -15,13 +15,13 @@
15
15
  "dev": "npm run build -- --watch"
16
16
  },
17
17
  "dependencies": {
18
- "@prosopo/procaptcha-wrapper": "2.6.46"
18
+ "@prosopo/procaptcha-wrapper": "2.6.78"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "@angular/core": "^20.3.9"
22
22
  },
23
23
  "devDependencies": {
24
- "@prosopo/config": "3.3.0",
24
+ "@prosopo/config": "3.3.1",
25
25
  "@angular/compiler-cli": "20.3.9",
26
26
  "@types/node": "22.10.2",
27
27
  "del-cli": "6.0.0",
@@ -33,5 +33,10 @@
33
33
  "url": "https://github.com/prosopo/captcha/issues"
34
34
  },
35
35
  "homepage": "https://github.com/prosopo/captcha#readme",
36
- "sideEffects": false
36
+ "sideEffects": false,
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "git+https://github.com/prosopo/captcha.git",
40
+ "directory": "integration/frameworks/angular/angular-procaptcha-wrapper"
41
+ }
37
42
  }
@@ -0,0 +1,53 @@
1
+ // Copyright 2021-2026 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 { Component, ElementRef, Input, inject } from "@angular/core";
16
+ import {
17
+ type ProcaptchaRenderOptions,
18
+ renderProcaptcha,
19
+ } from "@prosopo/procaptcha-wrapper";
20
+
21
+ @Component({
22
+ selector: "procaptcha-component",
23
+ imports: [],
24
+ template: "<div></div>",
25
+ styles: "",
26
+ })
27
+ export class ProcaptchaComponent {
28
+ elementRef = inject(ElementRef);
29
+
30
+ @Input({ required: true })
31
+ settings!: ProcaptchaRenderOptions;
32
+ @Input()
33
+ htmlAttributes: { [key: string]: string } = {};
34
+
35
+ public ngOnInit(): void {
36
+ this.render();
37
+ }
38
+
39
+ public ngOnChanges(): void {
40
+ this.render();
41
+ }
42
+
43
+ private render(): void {
44
+ for (const attr in this.htmlAttributes) {
45
+ this.elementRef.nativeElement.setAttribute(
46
+ attr,
47
+ this.htmlAttributes[attr],
48
+ );
49
+ }
50
+
51
+ renderProcaptcha(this.elementRef.nativeElement, this.settings);
52
+ }
53
+ }
@@ -0,0 +1,27 @@
1
+ // Copyright 2021-2026 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 type {
16
+ ProcaptchaLanguages,
17
+ ProcaptchaRenderOptions,
18
+ ProcaptchaType,
19
+ } from "@prosopo/procaptcha-wrapper";
20
+ import { ProcaptchaComponent } from "./lib/procaptcha.component";
21
+
22
+ export {
23
+ ProcaptchaComponent,
24
+ type ProcaptchaRenderOptions,
25
+ type ProcaptchaType,
26
+ type ProcaptchaLanguages,
27
+ };
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "../tsconfig.json",
3
+ "references": [
4
+ {
5
+ "path": "../../../../dev/config/tsconfig.cjs.json"
6
+ },
7
+ {
8
+ "path": "../../../../packages/procaptcha-wrapper"
9
+ }
10
+ ]
11
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "extends": "../tsconfig.json",
3
+ "references": [
4
+ {
5
+ "path": "../../../../dev/config/tsconfig.json"
6
+ },
7
+ {
8
+ "path": "../../../../packages/procaptcha-wrapper"
9
+ }
10
+ ],
11
+ "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json", "src/**/*.d.ts"]
12
+ }