@saasquatch/squatch-js 2.4.3-3 → 2.4.3-5
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/dist/squatch.d.ts +1 -1
- package/dist/squatch.esm.js +15 -6
- package/dist/squatch.esm.js.map +1 -1
- package/dist/squatch.js +15 -6
- package/dist/squatch.js.map +1 -1
- package/dist/squatch.min.js +2 -2
- package/dist/stats.html +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/utils/validate.d.ts +1 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
package/dist/utils/validate.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ declare type Required<T> = T extends object ? {
|
|
|
10
10
|
[P in keyof T]-?: NonNullable<T[P]>;
|
|
11
11
|
} : T;
|
|
12
12
|
export declare function validateConfig(raw: unknown): Required<ConfigOptions>;
|
|
13
|
+
export declare function validateLocale(locale?: string): string | undefined;
|
|
13
14
|
export declare function validateWidgetConfig(raw: unknown): WidgetConfig;
|
|
14
15
|
export declare function validatePasswordlessConfig(raw: unknown): WidgetConfig;
|
|
15
16
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasquatch/squatch-js",
|
|
3
|
-
"version": "2.4.3-
|
|
3
|
+
"version": "2.4.3-5",
|
|
4
4
|
"description": "The official Referral SaaSquatch Javascript Web/Browser SDK https://docs.referralsaasquatch.com/developer/squatchjs/",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"types": "dist/squatch.d.ts",
|