@prosopo/angular-procaptcha-wrapper 1.1.27 → 1.1.36

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,58 @@
1
1
  # @prosopo/angular-procaptcha-wrapper
2
2
 
3
+ ## 1.1.36
4
+ ### Patch Changes
5
+
6
+ - 8ce9205: Change engine requirements
7
+ - b6e98b2: Run npm audit
8
+ - Updated dependencies [8ce9205]
9
+ - Updated dependencies [df79c03]
10
+ - Updated dependencies [b6e98b2]
11
+ - @prosopo/procaptcha-wrapper@2.6.38
12
+ - @prosopo/config@3.1.22
13
+
14
+ ## 1.1.35
15
+ ### Patch Changes
16
+
17
+ - @prosopo/procaptcha-wrapper@2.6.37
18
+
19
+ ## 1.1.34
20
+ ### Patch Changes
21
+
22
+ - @prosopo/procaptcha-wrapper@2.6.36
23
+
24
+ ## 1.1.33
25
+ ### Patch Changes
26
+
27
+ - @prosopo/procaptcha-wrapper@2.6.35
28
+
29
+ ## 1.1.32
30
+ ### Patch Changes
31
+
32
+ - @prosopo/procaptcha-wrapper@2.6.34
33
+
34
+ ## 1.1.31
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [b8185a4]
38
+ - @prosopo/config@3.1.21
39
+ - @prosopo/procaptcha-wrapper@2.6.33
40
+
41
+ ## 1.1.30
42
+ ### Patch Changes
43
+
44
+ - @prosopo/procaptcha-wrapper@2.6.32
45
+
46
+ ## 1.1.29
47
+ ### Patch Changes
48
+
49
+ - @prosopo/procaptcha-wrapper@2.6.31
50
+
51
+ ## 1.1.28
52
+ ### Patch Changes
53
+
54
+ - @prosopo/procaptcha-wrapper@2.6.30
55
+
3
56
  ## 1.1.27
4
57
  ### Patch Changes
5
58
 
@@ -31,10 +31,10 @@ class ProcaptchaComponent {
31
31
  }
32
32
  renderProcaptcha(this.elementRef.nativeElement, this.settings);
33
33
  }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ProcaptchaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ProcaptchaComponent, isStandalone: true, selector: "procaptcha-component", inputs: { settings: "settings", htmlAttributes: "htmlAttributes" }, usesOnChanges: true, ngImport: i0, template: "<div></div>", isInline: true, styles: [""] });
34
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: ProcaptchaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.9", type: ProcaptchaComponent, isStandalone: true, selector: "procaptcha-component", inputs: { settings: "settings", htmlAttributes: "htmlAttributes" }, usesOnChanges: true, ngImport: i0, template: "<div></div>", isInline: true, styles: [""] });
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ProcaptchaComponent, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: ProcaptchaComponent, decorators: [{
38
38
  type: Component,
39
39
  args: [{ selector: "procaptcha-component", imports: [], template: "<div></div>" }]
40
40
  }], propDecorators: { settings: [{
@@ -1 +1 @@
1
- {"version":3,"file":"prosopo-angular-procaptcha-wrapper.mjs","sources":["../../src/lib/procaptcha.component.ts","../../src/public_api.ts","../../src/prosopo-angular-procaptcha-wrapper.ts"],"sourcesContent":["// Copyright 2021-2025 Prosopo (UK) Ltd.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { Component, ElementRef, Input, inject } from \"@angular/core\";\nimport {\n\ttype ProcaptchaRenderOptions,\n\trenderProcaptcha,\n} from \"@prosopo/procaptcha-wrapper\";\n\n@Component({\n\tselector: \"procaptcha-component\",\n\timports: [],\n\ttemplate: \"<div></div>\",\n\tstyles: \"\",\n})\nexport class ProcaptchaComponent {\n\telementRef = inject(ElementRef);\n\n\t@Input({ required: true })\n\tsettings!: ProcaptchaRenderOptions;\n\t@Input()\n\thtmlAttributes: { [key: string]: string } = {};\n\n\tpublic ngOnInit(): void {\n\t\tthis.render();\n\t}\n\n\tpublic ngOnChanges(): void {\n\t\tthis.render();\n\t}\n\n\tprivate render(): void {\n\t\tfor (const attr in this.htmlAttributes) {\n\t\t\tthis.elementRef.nativeElement.setAttribute(\n\t\t\t\tattr,\n\t\t\t\tthis.htmlAttributes[attr],\n\t\t\t);\n\t\t}\n\n\t\trenderProcaptcha(this.elementRef.nativeElement, this.settings);\n\t}\n}\n","// Copyright 2021-2025 Prosopo (UK) Ltd.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type {\n\tProcaptchaLanguages,\n\tProcaptchaRenderOptions,\n\tProcaptchaType,\n} from \"@prosopo/procaptcha-wrapper\";\nimport { ProcaptchaComponent } from \"./lib/procaptcha.component\";\n\nexport {\n\tProcaptchaComponent,\n\ttype ProcaptchaRenderOptions,\n\ttype ProcaptchaType,\n\ttype ProcaptchaLanguages,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AAC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.mjs","sources":["../../src/lib/procaptcha.component.ts","../../src/public_api.ts","../../src/prosopo-angular-procaptcha-wrapper.ts"],"sourcesContent":["// Copyright 2021-2025 Prosopo (UK) Ltd.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { Component, ElementRef, Input, inject } from \"@angular/core\";\nimport {\n\ttype ProcaptchaRenderOptions,\n\trenderProcaptcha,\n} from \"@prosopo/procaptcha-wrapper\";\n\n@Component({\n\tselector: \"procaptcha-component\",\n\timports: [],\n\ttemplate: \"<div></div>\",\n\tstyles: \"\",\n})\nexport class ProcaptchaComponent {\n\telementRef = inject(ElementRef);\n\n\t@Input({ required: true })\n\tsettings!: ProcaptchaRenderOptions;\n\t@Input()\n\thtmlAttributes: { [key: string]: string } = {};\n\n\tpublic ngOnInit(): void {\n\t\tthis.render();\n\t}\n\n\tpublic ngOnChanges(): void {\n\t\tthis.render();\n\t}\n\n\tprivate render(): void {\n\t\tfor (const attr in this.htmlAttributes) {\n\t\t\tthis.elementRef.nativeElement.setAttribute(\n\t\t\t\tattr,\n\t\t\t\tthis.htmlAttributes[attr],\n\t\t\t);\n\t\t}\n\n\t\trenderProcaptcha(this.elementRef.nativeElement, this.settings);\n\t}\n}\n","// Copyright 2021-2025 Prosopo (UK) Ltd.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type {\n\tProcaptchaLanguages,\n\tProcaptchaRenderOptions,\n\tProcaptchaType,\n} from \"@prosopo/procaptcha-wrapper\";\nimport { ProcaptchaComponent } from \"./lib/procaptcha.component\";\n\nexport {\n\tProcaptchaComponent,\n\ttype ProcaptchaRenderOptions,\n\ttype ProcaptchaType,\n\ttype ProcaptchaLanguages,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MAca,mBAAmB,CAAA;AAC/B,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAG/B,IAAA,QAAQ;IAER,cAAc,GAA8B,EAAE;IAEvC,QAAQ,GAAA;QACd,IAAI,CAAC,MAAM,EAAE;IACd;IAEO,WAAW,GAAA;QACjB,IAAI,CAAC,MAAM,EAAE;IACd;IAEQ,MAAM,GAAA;AACb,QAAA,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,cAAc,EAAE;AACvC,YAAA,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,YAAY,CACzC,IAAI,EACJ,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CACzB;QACF;QAEA,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC;IAC/D;uGAzBY,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,yKAHrB,aAAa,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAGX,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,SAAS;+BACC,sBAAsB,EAAA,OAAA,EACvB,EAAE,EAAA,QAAA,EACD,aAAa,EAAA;;sBAMtB,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBAExB;;;AC/BF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;;AAEG;;;;"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,19 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@prosopo/angular-procaptcha-wrapper" />
5
- export * from './public_api';
1
+ import { ProcaptchaRenderOptions } from '@prosopo/procaptcha-wrapper';
2
+ export { ProcaptchaLanguages, ProcaptchaRenderOptions, ProcaptchaType } from '@prosopo/procaptcha-wrapper';
3
+ import * as i0 from '@angular/core';
4
+ import { ElementRef } from '@angular/core';
5
+
6
+ declare class ProcaptchaComponent {
7
+ elementRef: ElementRef<any>;
8
+ settings: ProcaptchaRenderOptions;
9
+ htmlAttributes: {
10
+ [key: string]: string;
11
+ };
12
+ ngOnInit(): void;
13
+ ngOnChanges(): void;
14
+ private render;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProcaptchaComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProcaptchaComponent, "procaptcha-component", never, { "settings": { "alias": "settings"; "required": true; }; "htmlAttributes": { "alias": "htmlAttributes"; "required": false; }; }, {}, never, never, true, never>;
17
+ }
18
+
19
+ export { ProcaptchaComponent };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@prosopo/angular-procaptcha-wrapper",
3
- "version": "1.1.27",
3
+ "version": "1.1.36",
4
4
  "type": "module",
5
5
  "engines": {
6
- "node": "20",
7
- "npm": "10.8.2"
6
+ "node": ">=v20.0.0",
7
+ "npm": ">=10.6.0"
8
8
  },
9
9
  "main": "dist/fesm2022/prosopo-angular-procaptcha-wrapper.mjs",
10
10
  "typings": "dist/index.d.ts",
@@ -15,16 +15,17 @@
15
15
  "dev": "npm run build -- --watch"
16
16
  },
17
17
  "dependencies": {
18
- "@prosopo/procaptcha-wrapper": "2.6.29",
19
- "@prosopo/config": "3.1.20"
18
+ "@prosopo/config": "3.1.22",
19
+ "@prosopo/procaptcha-wrapper": "2.6.38"
20
20
  },
21
21
  "peerDependencies": {
22
- "@angular/core": "^19.2.0"
22
+ "@angular/core": "^20.3.9"
23
23
  },
24
24
  "devDependencies": {
25
+ "@angular/compiler-cli": "20.3.9",
25
26
  "@types/node": "22.10.2",
26
27
  "del-cli": "6.0.0",
27
- "ng-packagr": "19.2.0"
28
+ "ng-packagr": "^20.3.0"
28
29
  },
29
30
  "author": "PROSOPO LIMITED <info@prosopo.io>",
30
31
  "license": "Apache-2.0",
@@ -1,15 +0,0 @@
1
- import { ElementRef } from "@angular/core";
2
- import { type ProcaptchaRenderOptions } from "@prosopo/procaptcha-wrapper";
3
- import * as i0 from "@angular/core";
4
- export declare class ProcaptchaComponent {
5
- elementRef: ElementRef<any>;
6
- settings: ProcaptchaRenderOptions;
7
- htmlAttributes: {
8
- [key: string]: string;
9
- };
10
- ngOnInit(): void;
11
- ngOnChanges(): void;
12
- private render;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<ProcaptchaComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<ProcaptchaComponent, "procaptcha-component", never, { "settings": { "alias": "settings"; "required": true; }; "htmlAttributes": { "alias": "htmlAttributes"; "required": false; }; }, {}, never, never, true, never>;
15
- }
@@ -1,3 +0,0 @@
1
- import type { ProcaptchaLanguages, ProcaptchaRenderOptions, ProcaptchaType } from "@prosopo/procaptcha-wrapper";
2
- import { ProcaptchaComponent } from "./lib/procaptcha.component";
3
- export { ProcaptchaComponent, type ProcaptchaRenderOptions, type ProcaptchaType, type ProcaptchaLanguages, };