@prosopo/angular-procaptcha-wrapper 1.0.0 → 1.1.4

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,34 @@
1
+ # @prosopo/angular-procaptcha-wrapper
2
+
3
+ ## 1.1.4
4
+ ### Patch Changes
5
+
6
+ - @prosopo/procaptcha-wrapper@2.6.6
7
+
8
+ ## 1.1.3
9
+ ### Patch Changes
10
+
11
+ - @prosopo/procaptcha-wrapper@2.6.5
12
+
13
+ ## 1.1.2
14
+ ### Patch Changes
15
+
16
+ - @prosopo/procaptcha-wrapper@2.6.4
17
+
18
+ ## 1.1.1
19
+ ### Patch Changes
20
+
21
+ - dead520: fix dep versions
22
+ - Updated dependencies [dead520]
23
+ - @prosopo/procaptcha-wrapper@2.6.3
24
+
25
+ ## 1.1.0
26
+
27
+ ### Minor Changes
28
+
29
+ - a0bfc8a: bump all pkg versions since independent versioning applied
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [a0bfc8a]
34
+ - @prosopo/procaptcha-wrapper@2.6.0
@@ -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.7", ngImport: i0, type: ProcaptchaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.7", 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: "19.2.14", ngImport: i0, type: ProcaptchaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", 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.7", ngImport: i0, type: ProcaptchaComponent, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", 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;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;;IAGP,WAAW,GAAA;QACjB,IAAI,CAAC,MAAM,EAAE;;IAGN,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;;QAGF,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC;;uGAxBnD,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;8BAOvB,QAAQ,EAAA,CAAA;sBADP,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAGzB,cAAc,EAAA,CAAA;sBADb;;;AC/BF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;;AAEG;;;;"}
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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MAca,mBAAmB,CAAA;AAC/B,IAAA,UAA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": "module",
5
5
  "engines": {
6
6
  "node": "20",
@@ -22,7 +22,7 @@
22
22
  "dev": "npm run build -- --watch"
23
23
  },
24
24
  "dependencies": {
25
- "@prosopo/procaptcha-wrapper": ">=2.5.4"
25
+ "@prosopo/procaptcha-wrapper": "2.6.6"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "@angular/core": "^19.2.0"