skyflow-js 1.30.3 → 1.31.1
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 +14 -1
- package/README.md +4 -0
- package/dist/sdkNodeBuild/index.js +1 -1
- package/dist/sdkNodeBuild/index.js.gz +0 -0
- package/dist/sdkNodeBuild/manifest.json +13 -13
- package/dist/sdkNodeBuild/manifest.json.gz +0 -0
- package/package.json +1 -1
- package/types/core/constants.d.ts +2 -1
- package/types/core/external/common/iframe.d.ts +1 -0
- package/types/core-utils/reveal.d.ts +2 -0
- package/types/utils/constants.d.ts +12 -0
- package/types/utils/logs.d.ts +3 -0
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"index.js": "
|
|
3
|
-
"amex.svg": "
|
|
4
|
-
"unionpay.svg": "
|
|
5
|
-
"maestro.svg": "
|
|
6
|
-
"hipercard.svg": "
|
|
7
|
-
"discover.svg": "
|
|
8
|
-
"jcb.svg": "
|
|
9
|
-
"mastercard.svg": "
|
|
10
|
-
"diners-club.svg": "
|
|
11
|
-
"visa.svg": "
|
|
12
|
-
"copyIcon.svg": "
|
|
13
|
-
"path.svg": "
|
|
14
|
-
"default.svg": "
|
|
2
|
+
"index.js": "index.js",
|
|
3
|
+
"amex.svg": "5408d9cd30b616684aa0.svg",
|
|
4
|
+
"unionpay.svg": "d418de915d45f039ac22.svg",
|
|
5
|
+
"maestro.svg": "407dfd9c3fd800945b74.svg",
|
|
6
|
+
"hipercard.svg": "404966085770d8ec21ca.svg",
|
|
7
|
+
"discover.svg": "9b996d698afd3d404564.svg",
|
|
8
|
+
"jcb.svg": "8062a86943450f142966.svg",
|
|
9
|
+
"mastercard.svg": "08ad88dee7d4519954ec.svg",
|
|
10
|
+
"diners-club.svg": "a9431336dd9f3e17b880.svg",
|
|
11
|
+
"visa.svg": "cbee67fb3d652dad9e25.svg",
|
|
12
|
+
"copyIcon.svg": "362f9fcc6011fc54c62f.svg",
|
|
13
|
+
"path.svg": "54c18b6916f26474cce8.svg",
|
|
14
|
+
"default.svg": "2afb5d11fb02e9292eaf.svg"
|
|
15
15
|
}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -24,6 +24,7 @@ export declare const ELEMENT_EVENTS_TO_CLIENT: {
|
|
|
24
24
|
SUBMIT: string;
|
|
25
25
|
CREATED: string;
|
|
26
26
|
MOUNTED: string;
|
|
27
|
+
HEIGHT: string;
|
|
27
28
|
};
|
|
28
29
|
export declare const ELEMENT_EVENTS_TO_IFRAME: {
|
|
29
30
|
FRAME_READY: string;
|
|
@@ -196,7 +197,6 @@ export declare const ELEMENTS: {
|
|
|
196
197
|
EXPIRATION_YEAR: {
|
|
197
198
|
name: string;
|
|
198
199
|
attributes: {
|
|
199
|
-
maxLength: number;
|
|
200
200
|
type: string;
|
|
201
201
|
inputmode: string;
|
|
202
202
|
autocomplete: string;
|
|
@@ -294,6 +294,7 @@ export declare const ALLOWED_ATTRIBUTES: {
|
|
|
294
294
|
'aria-required': string;
|
|
295
295
|
disabled: string;
|
|
296
296
|
placeholder: string;
|
|
297
|
+
accept: string;
|
|
297
298
|
};
|
|
298
299
|
export declare const ALLOWED_STYLES: string[];
|
|
299
300
|
export declare const ALLOWED_PSEUDO_STYLES: string[];
|
|
@@ -5,11 +5,13 @@ export declare const formatRecordsForIframe: (response: IRevealResponseType) =>
|
|
|
5
5
|
export declare const formatRecordsForClient: (response: IRevealResponseType) => {
|
|
6
6
|
success: {
|
|
7
7
|
token: string;
|
|
8
|
+
valueType: string;
|
|
8
9
|
}[];
|
|
9
10
|
errors: Record<string, any>[];
|
|
10
11
|
} | {
|
|
11
12
|
success: {
|
|
12
13
|
token: string;
|
|
14
|
+
valueType: string;
|
|
13
15
|
}[];
|
|
14
16
|
errors?: undefined;
|
|
15
17
|
} | {
|
|
@@ -347,6 +347,18 @@ declare const SKYFLOW_ERROR_CODE: {
|
|
|
347
347
|
code: number;
|
|
348
348
|
description: string;
|
|
349
349
|
};
|
|
350
|
+
INVALID_ALLOWED_OPTIONS: {
|
|
351
|
+
code: number;
|
|
352
|
+
description: string;
|
|
353
|
+
};
|
|
354
|
+
EMPTY_ALLOWED_OPTIONS_ARRAY: {
|
|
355
|
+
code: number;
|
|
356
|
+
description: string;
|
|
357
|
+
};
|
|
358
|
+
INVALID_ALLOWED_FILETYPE_ARRAY: {
|
|
359
|
+
code: number;
|
|
360
|
+
description: string;
|
|
361
|
+
};
|
|
350
362
|
INVALID_ELEMENT_TYPE: {
|
|
351
363
|
code: number;
|
|
352
364
|
description: string;
|
package/types/utils/logs.d.ts
CHANGED
|
@@ -243,6 +243,9 @@ declare const logs: {
|
|
|
243
243
|
INVALID_INPUT_OPTIONS_FORMAT: string;
|
|
244
244
|
INVALID_INPUT_OPTIONS_TRANSLATION: string;
|
|
245
245
|
EMPTY_COLLECT_CUSTOM_FORMAT: string;
|
|
246
|
+
INVALID_ALLOWED_OPTIONS: string;
|
|
247
|
+
EMPTY_ALLOWED_OPTIONS_ARRAY: string;
|
|
248
|
+
INVALID_ALLOWED_FILETYPE_ARRAY: string;
|
|
246
249
|
};
|
|
247
250
|
warnLogs: {
|
|
248
251
|
INVALID_EXPIRATION_DATE_FORMAT: string;
|