skyflow-js 1.29.5 → 1.30.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/README.md +6 -6
- package/dist/sdkNodeBuild/index.js +1 -1
- package/dist/sdkNodeBuild/index.js.gz +0 -0
- package/dist/sdkNodeBuild/manifest.json +1 -1
- package/package.json +3 -3
- package/types/core/constants.d.ts +14 -0
- package/types/core/internal/iframe-form/index.d.ts +1 -1
- package/types/core/internal/index.d.ts +1 -0
- package/types/libs/jss-styles.d.ts +2 -1
- package/types/utils/helpers/index.d.ts +3 -2
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "skyflow-js",
|
|
3
3
|
"preferGlobal": true,
|
|
4
4
|
"analyze": false,
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.30.1",
|
|
6
6
|
"author": "Skyflow",
|
|
7
7
|
"description": "Skyflow JavaScript SDK",
|
|
8
8
|
"homepage": "https://github.com/skyflowapi/skyflow-js",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"fork-ts-checker-webpack-plugin": "^6.3.2",
|
|
78
78
|
"html-webpack-plugin": "^5.5.0",
|
|
79
79
|
"jest": "^27.2.1",
|
|
80
|
-
"typescript": "^
|
|
81
|
-
"webpack": "^5.
|
|
80
|
+
"typescript": "^4.6.3",
|
|
81
|
+
"webpack": "^5.88.2",
|
|
82
82
|
"webpack-bundle-analyzer": "^4.4.2",
|
|
83
83
|
"webpack-cli": "^4.8.0",
|
|
84
84
|
"webpack-dev-server": "^4.7.4",
|
|
@@ -163,6 +163,7 @@ export declare const ELEMENTS: {
|
|
|
163
163
|
attributes: {
|
|
164
164
|
type: string;
|
|
165
165
|
autocomplete: string;
|
|
166
|
+
inputmode: string;
|
|
166
167
|
};
|
|
167
168
|
sensitive: boolean;
|
|
168
169
|
mask: (string | {
|
|
@@ -175,6 +176,7 @@ export declare const ELEMENTS: {
|
|
|
175
176
|
attributes: {
|
|
176
177
|
type: string;
|
|
177
178
|
autocomplete: string;
|
|
179
|
+
inputmode: string;
|
|
178
180
|
};
|
|
179
181
|
sensitive: boolean;
|
|
180
182
|
};
|
|
@@ -183,6 +185,7 @@ export declare const ELEMENTS: {
|
|
|
183
185
|
attributes: {
|
|
184
186
|
maxLength: number;
|
|
185
187
|
type: string;
|
|
188
|
+
inputmode: string;
|
|
186
189
|
autocomplete: string;
|
|
187
190
|
};
|
|
188
191
|
sensitive: boolean;
|
|
@@ -195,6 +198,7 @@ export declare const ELEMENTS: {
|
|
|
195
198
|
attributes: {
|
|
196
199
|
maxLength: number;
|
|
197
200
|
type: string;
|
|
201
|
+
inputmode: string;
|
|
198
202
|
autocomplete: string;
|
|
199
203
|
};
|
|
200
204
|
sensitive: boolean;
|
|
@@ -203,6 +207,7 @@ export declare const ELEMENTS: {
|
|
|
203
207
|
name: string;
|
|
204
208
|
attributes: {
|
|
205
209
|
type: string;
|
|
210
|
+
inputmode: string;
|
|
206
211
|
maxLength: number;
|
|
207
212
|
};
|
|
208
213
|
sensitive: boolean;
|
|
@@ -219,6 +224,7 @@ export declare const ELEMENTS: {
|
|
|
219
224
|
name: string;
|
|
220
225
|
attributes: {
|
|
221
226
|
type: string;
|
|
227
|
+
inputmode: string;
|
|
222
228
|
maxLength: number;
|
|
223
229
|
minLength: number;
|
|
224
230
|
};
|
|
@@ -299,6 +305,8 @@ export declare const STYLE_TYPE: {
|
|
|
299
305
|
COMPLETE: string;
|
|
300
306
|
EMPTY: string;
|
|
301
307
|
INVALID: string;
|
|
308
|
+
GLOBAL: string;
|
|
309
|
+
REQUIRED_ASTERISK: string;
|
|
302
310
|
};
|
|
303
311
|
export declare const REVEAL_ELEMENT_DIV_STYLE: {
|
|
304
312
|
container: {
|
|
@@ -321,6 +329,12 @@ export declare const REVEAL_ELEMENT_ERROR_TEXT = "Invalid Token";
|
|
|
321
329
|
export declare const COLLECT_ELEMENT_LABEL_DEFAULT_STYLES: {
|
|
322
330
|
[x: string]: {
|
|
323
331
|
marginBottom: string;
|
|
332
|
+
display?: undefined;
|
|
333
|
+
color?: undefined;
|
|
334
|
+
} | {
|
|
335
|
+
display: string;
|
|
336
|
+
color: string;
|
|
337
|
+
marginBottom?: undefined;
|
|
324
338
|
};
|
|
325
339
|
};
|
|
326
340
|
export declare const CARD_TYPE_REGEX: {
|
|
@@ -45,7 +45,7 @@ export declare class IFrameFormElement extends EventEmitter {
|
|
|
45
45
|
isEmpty: boolean;
|
|
46
46
|
isComplete: boolean;
|
|
47
47
|
isRequired: boolean;
|
|
48
|
-
value:
|
|
48
|
+
value: any;
|
|
49
49
|
};
|
|
50
50
|
validator(value: any): boolean;
|
|
51
51
|
validateCustomValidations(value?: string): boolean;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export default function getCssClassesFromJss(styles: any, name: any):
|
|
1
|
+
export default function getCssClassesFromJss(styles: any, name: any): import("jss").Classes<string | number | symbol>;
|
|
2
|
+
export declare function generateCssWithoutClass(styles: any): import("jss").Classes<string | number | symbol>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SdkInfo } from '../../client';
|
|
2
2
|
import { IRevealElementOptions } from '../../core/external/reveal/reveal-container';
|
|
3
|
-
import { ContainerType } from '../../skyflow';
|
|
3
|
+
import { ContainerType, ISkyflow } from '../../skyflow';
|
|
4
4
|
export declare const flattenObject: (obj: any, roots?: any, sep?: string) => any;
|
|
5
5
|
export declare function formatFrameNameToId(name: string): string;
|
|
6
6
|
export declare function removeSpaces(inputString: string): string;
|
|
@@ -24,7 +24,7 @@ export declare const handleCopyIconClick: (textToCopy: string, domCopy: any) =>
|
|
|
24
24
|
export declare const fileValidation: (value: any, required?: Boolean) => boolean;
|
|
25
25
|
export declare const styleToString: (style: any) => string;
|
|
26
26
|
export declare const getContainerType: (frameName: string) => ContainerType;
|
|
27
|
-
export declare const addSeperatorToCardNumberMask: (cardNumberMask: any, seperator?: string
|
|
27
|
+
export declare const addSeperatorToCardNumberMask: (cardNumberMask: any, seperator?: string) => any;
|
|
28
28
|
export declare const constructMaskTranslation: (mask: any) => {};
|
|
29
29
|
export declare const formatRevealElementOptions: (options: IRevealElementOptions) => any;
|
|
30
30
|
interface OSInfo {
|
|
@@ -45,4 +45,5 @@ export declare function getMetaObject(sdkDetails: any, metaData: any, navigator:
|
|
|
45
45
|
sdk_os_version: any;
|
|
46
46
|
sdk_runtime_details: string;
|
|
47
47
|
};
|
|
48
|
+
export declare function checkAndSetForCustomUrl(config: ISkyflow): void;
|
|
48
49
|
export {};
|