@dropins/tools 1.3.1-alpha013 → 1.3.1-alpha014

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.
Files changed (35) hide show
  1. package/chunks/Image.js +1 -1
  2. package/chunks/icons/Add.js +1 -1
  3. package/chunks/initializer.js +2 -2
  4. package/components.js +1 -1
  5. package/components.js.map +1 -1
  6. package/initializer.js +2 -2
  7. package/lib/aem/assets.js +1 -1
  8. package/lib/aem/assets.js.map +1 -1
  9. package/lib/aem/assets.test.d.ts +1 -0
  10. package/lib/aem/assets.test.js +4 -0
  11. package/lib/aem/assets.test.js.map +1 -0
  12. package/lib/aem/configs.js +1 -1
  13. package/lib/aem/configs.test.d.ts +1 -0
  14. package/lib/aem/configs.test.js +4 -0
  15. package/lib/aem/configs.test.js.map +1 -0
  16. package/package.json +1 -1
  17. package/preact-compat.js +1 -1
  18. package/preact-hooks.js +1 -1
  19. package/recaptcha.js +2 -2
  20. package/recaptcha.js.map +1 -1
  21. package/types/elsie/src/components/Icon/Icon.d.ts +2 -2
  22. package/types/elsie/src/lib/aem/assets.d.ts +30 -77
  23. package/types/fetch-graphql/src/index.d.ts +166 -0
  24. package/types/recaptcha/src/configs/index.d.ts +12 -0
  25. package/types/recaptcha/src/configs/message.config.d.ts +16 -0
  26. package/types/recaptcha/src/configs/recaptchaBadgeSelector.config.d.ts +10 -0
  27. package/types/recaptcha/src/configs/typeForms.config.d.ts +10 -0
  28. package/types/recaptcha/src/graphql/recaptchaConfig.graphql.d.ts +10 -0
  29. package/types/recaptcha/src/index.d.ts +44 -0
  30. package/types/recaptcha/src/lib/_checkRecaptchaBadge.d.ts +10 -0
  31. package/types/recaptcha/src/lib/_convertKeysToCamelCase.d.ts +14 -0
  32. package/types/recaptcha/src/lib/_extendConfig.d.ts +4 -0
  33. package/types/recaptcha/src/lib/_storageConfig.d.ts +6 -0
  34. package/types/recaptcha/src/lib/index.d.ts +13 -0
  35. package/types/recaptcha/src/services/recaptcha.service.d.ts +6 -0
@@ -0,0 +1,10 @@
1
+ /********************************************************************
2
+ * Copyright 2024 Adobe
3
+ * All Rights Reserved.
4
+ *
5
+ * NOTICE: Adobe permits you to use, modify, and distribute this
6
+ * file in accordance with the terms of the Adobe license agreement
7
+ * accompanying it.
8
+ *******************************************************************/
9
+ export declare const checkRecaptchaBadge: () => Promise<boolean>;
10
+ //# sourceMappingURL=_checkRecaptchaBadge.d.ts.map
@@ -0,0 +1,14 @@
1
+ /********************************************************************
2
+ * Copyright 2024 Adobe
3
+ * All Rights Reserved.
4
+ *
5
+ * NOTICE: Adobe permits you to use, modify, and distribute this
6
+ * file in accordance with the terms of the Adobe license agreement
7
+ * accompanying it.
8
+ *******************************************************************/
9
+ export declare const convertKeysToCamelCase: (obj: {
10
+ [key: string]: any;
11
+ }) => {
12
+ [key: string]: string | number | boolean;
13
+ };
14
+ //# sourceMappingURL=_convertKeysToCamelCase.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { ReCaptchaV3Model } from '../types/recaptcha.types';
2
+
3
+ export declare const extendConfig: (config: ReCaptchaV3Model, modifyParams: any[]) => ReCaptchaV3Model | undefined;
4
+ //# sourceMappingURL=_extendConfig.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { ReCaptchaV3Model } from '../types/recaptcha.types';
2
+
3
+ declare const getConfigStorage: (storageKey: string, retries?: number, delay?: number) => Promise<ReCaptchaV3Model | null>;
4
+ declare const setConfigStorage: (storageKey: string, config: ReCaptchaV3Model, logger: boolean) => null | undefined;
5
+ export { getConfigStorage, setConfigStorage };
6
+ //# sourceMappingURL=_storageConfig.d.ts.map
@@ -0,0 +1,13 @@
1
+ /********************************************************************
2
+ * Copyright 2024 Adobe
3
+ * All Rights Reserved.
4
+ *
5
+ * NOTICE: Adobe permits you to use, modify, and distribute this
6
+ * file in accordance with the terms of the Adobe license agreement
7
+ * accompanying it.
8
+ *******************************************************************/
9
+ export * from './_extendConfig';
10
+ export * from './_storageConfig';
11
+ export * from './_checkRecaptchaBadge';
12
+ export * from './_convertKeysToCamelCase';
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { ReCaptchaV3Model } from '../types/recaptcha.types';
2
+
3
+ export declare const getRecaptchaToken: (websiteKey: string) => Promise<string>;
4
+ export declare const waitForReCaptcha: () => Promise<unknown>;
5
+ export declare const verifyReCaptchaLoad: (badgeId: string, config: ReCaptchaV3Model, logger: boolean) => Promise<void>;
6
+ //# sourceMappingURL=recaptcha.service.d.ts.map