skyflow-js 1.36.2 → 1.36.4
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 +22 -0
- package/README.md +67 -0
- package/dist/sdkNodeBuild/index.js +1 -1
- package/dist/sdkNodeBuild/index.js.gz +0 -0
- package/package.json +1 -1
- package/types/core/external/collect/compose-collect-element.d.ts +3 -1
- package/types/libs/element-options.d.ts +1 -2
- package/types/skyflow.d.ts +2 -0
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
declare class ComposableElement {
|
|
2
2
|
#private;
|
|
3
3
|
type: string;
|
|
4
|
-
constructor(name: any, eventEmitter: any);
|
|
4
|
+
constructor(name: any, eventEmitter: any, iframeName: any);
|
|
5
5
|
on(eventName: string, handler: any): void;
|
|
6
|
+
iframeName(): string;
|
|
7
|
+
getID(): string;
|
|
6
8
|
update: (options: any) => void;
|
|
7
9
|
}
|
|
8
10
|
export default ComposableElement;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { CollectElementInput } from '../core/external/collect/collect-container';
|
|
2
1
|
import { IValidationRule } from '../utils/common';
|
|
3
2
|
export declare function validateElementOptions(elementType: string, oldOptions: any, newOptions?: any): void;
|
|
4
3
|
export declare function validateAndSetupGroupOptions(oldGroup: any, newGroup?: any, setup?: boolean): any;
|
|
5
4
|
export declare const getElements: (group: any) => string[];
|
|
6
5
|
export declare const getValueAndItsUnit: (string?: string, defaultValue?: string, defaultUnit?: string) => string[];
|
|
7
|
-
export declare const formatValidations: (
|
|
6
|
+
export declare const formatValidations: (validations?: IValidationRule[]) => IValidationRule[] | undefined;
|
|
8
7
|
export declare const formatOptions: (elementType: any, options: any, logLevel: any) => any;
|
package/types/skyflow.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ElementType, CardType } from './core/constants';
|
|
2
2
|
import RevealContainer from './core/external/reveal/reveal-container';
|
|
3
3
|
import CollectContainer from './core/external/collect/collect-container';
|
|
4
|
+
import SkyflowError from './libs/skyflow-error';
|
|
4
5
|
import { IRevealResponseType, RequestMethod, IInsertRecordInput, IDetokenizeInput, IGetInput, RedactionType, EventName, Env, LogLevel, ValidationRuleType, IGetByIdInput, IInsertOptions, IDeleteRecordInput, IDeleteOptions, IGetOptions } from './utils/common';
|
|
5
6
|
import ComposableContainer from './core/external/collect/compose-collect-container';
|
|
6
7
|
export declare enum ContainerType {
|
|
@@ -33,5 +34,6 @@ declare class Skyflow {
|
|
|
33
34
|
static get Env(): typeof Env;
|
|
34
35
|
static get ValidationRuleType(): typeof ValidationRuleType;
|
|
35
36
|
static get CardType(): typeof CardType;
|
|
37
|
+
static get Error(): typeof SkyflowError;
|
|
36
38
|
}
|
|
37
39
|
export default Skyflow;
|