ng-recaptcha
Advanced tools
Comparing version 4.3.0-beta.1 to 4.3.0
@@ -0,1 +1,11 @@ | ||
<a name="4.3.0"></a> | ||
# [4.3.0](https://github.com/DethAriel/ng-recaptcha/compare/v4.3.0-beta.1...v4.3.0) (2019-06-04) | ||
### Bug Fixes | ||
* **component-v3:** fix a potential metadata error in v3 service ([ed885b5](https://github.com/DethAriel/ng-recaptcha/commit/ed885b5)) | ||
<a name="4.3.0-beta.1"></a> | ||
@@ -2,0 +12,0 @@ # [4.3.0-beta.1](https://github.com/DethAriel/ng-recaptcha/compare/v4.2.1...v4.3.0-beta.1) (2019-02-08) |
{ | ||
"name": "ng-recaptcha", | ||
"version": "4.3.0-beta.1", | ||
"version": "4.3.0", | ||
"description": "Angular component for Google reCAPTCHA", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -7,2 +7,7 @@ /// <reference types="grecaptcha" /> | ||
export declare const RECAPTCHA_NONCE: InjectionToken<string>; | ||
declare global { | ||
interface Window { | ||
ng2recaptchaloaded: () => void; | ||
} | ||
} | ||
export declare function loadScript(renderMode: 'explicit' | string, onLoaded: (grecaptcha: ReCaptchaV2.ReCaptcha) => void, urlParams: string, url?: string, nonce?: string): void; | ||
@@ -9,0 +14,0 @@ export declare class RecaptchaLoaderService { |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"RECAPTCHA_LANGUAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":10,"character":38},"arguments":["recaptcha-language"]},"RECAPTCHA_BASE_URL":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":38},"arguments":["recaptcha-base-url"]},"RECAPTCHA_NONCE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":12,"character":35},"arguments":["recaptcha-nonce-tag"]},"loadScript":{"__symbolic":"function"},"RecaptchaLoaderService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":38,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":57,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":57,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":58,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":58,"character":17},"arguments":[{"__symbolic":"reference","name":"RECAPTCHA_LANGUAGE"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":59,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":59,"character":17},"arguments":[{"__symbolic":"reference","name":"RECAPTCHA_BASE_URL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":60,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":60,"character":17},"arguments":[{"__symbolic":"reference","name":"RECAPTCHA_NONCE"}]}]],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}],"init":[{"__symbolic":"method"}]},"statics":{"ready":null}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"RECAPTCHA_LANGUAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":10,"character":38},"arguments":["recaptcha-language"]},"RECAPTCHA_BASE_URL":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":38},"arguments":["recaptcha-base-url"]},"RECAPTCHA_NONCE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":12,"character":35},"arguments":["recaptcha-nonce-tag"]},"loadScript":{"__symbolic":"function"},"RecaptchaLoaderService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":44,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":63,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":63,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":64,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":64,"character":17},"arguments":[{"__symbolic":"reference","name":"RECAPTCHA_LANGUAGE"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":65,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":65,"character":17},"arguments":[{"__symbolic":"reference","name":"RECAPTCHA_BASE_URL"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":66,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":66,"character":17},"arguments":[{"__symbolic":"reference","name":"RECAPTCHA_NONCE"}]}]],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}],"init":[{"__symbolic":"method"}]},"statics":{"ready":null}}}}] |
@@ -21,3 +21,3 @@ import { InjectionToken, NgZone } from '@angular/core'; | ||
export declare class ReCaptchaV3Service { | ||
constructor(zone: NgZone, siteKey: string, platformId: {}, baseUrl?: string, nonce?: string); | ||
constructor(zone: NgZone, siteKey: string, platformId: any, baseUrl?: string, nonce?: string); | ||
readonly onExecute: Observable<OnExecuteData>; | ||
@@ -24,0 +24,0 @@ /** |
@@ -15,3 +15,5 @@ "use strict"; | ||
var ReCaptchaV3Service = /** @class */ (function () { | ||
function ReCaptchaV3Service(zone, siteKey, platformId, baseUrl, nonce) { | ||
function ReCaptchaV3Service(zone, siteKey, | ||
// tslint:disable-next-line:no-any | ||
platformId, baseUrl, nonce) { | ||
var _this = this; | ||
@@ -18,0 +20,0 @@ /** @internal */ |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"RECAPTCHA_V3_SITE_KEY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":41},"arguments":["recaptcha-v3-site-key"]},"OnExecuteData":{"__symbolic":"interface"},"ReCaptchaV3Service":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":27,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":51,"character":5},"arguments":[{"__symbolic":"reference","name":"RECAPTCHA_V3_SITE_KEY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":52,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":52,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":53,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":53,"character":17},"arguments":[{"__symbolic":"reference","module":"./recaptcha-loader.service","name":"RECAPTCHA_BASE_URL","line":53,"character":24}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":54,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":54,"character":17},"arguments":[{"__symbolic":"reference","module":"./recaptcha-loader.service","name":"RECAPTCHA_NONCE","line":54,"character":24}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":50,"character":10},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":52,"character":37},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}],"execute":[{"__symbolic":"method"}],"executeActionWithSubject":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"RECAPTCHA_V3_SITE_KEY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":6,"character":41},"arguments":["recaptcha-v3-site-key"]},"OnExecuteData":{"__symbolic":"interface"},"ReCaptchaV3Service":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":27,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":51,"character":5},"arguments":[{"__symbolic":"reference","name":"RECAPTCHA_V3_SITE_KEY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":53,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":53,"character":12}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":54,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":54,"character":17},"arguments":[{"__symbolic":"reference","module":"./recaptcha-loader.service","name":"RECAPTCHA_BASE_URL","line":54,"character":24}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":55,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":55,"character":17},"arguments":[{"__symbolic":"reference","module":"./recaptcha-loader.service","name":"RECAPTCHA_NONCE","line":55,"character":24}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":50,"character":10},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}],"execute":[{"__symbolic":"method"}],"executeActionWithSubject":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}]}}}}] |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
81667
637
0
38