skyflow-js 1.34.2 → 1.34.3
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 +5 -0
- package/dist/sdkNodeBuild/index.js +1 -1
- package/dist/sdkNodeBuild/index.js.gz +0 -0
- package/package.json +3 -1
- package/types/core/constants.d.ts +6 -0
- package/types/core/external/common/iframe.d.ts +0 -1
- package/types/core/external/skyflow-container.d.ts +1 -1
- package/types/core/internal/reveal/reveal-frame.d.ts +2 -0
- package/types/core/internal/skyflow-frame/skyflow-frame-controller.d.ts +1 -1
|
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.34.
|
|
5
|
+
"version": "1.34.3",
|
|
6
6
|
"author": "Skyflow",
|
|
7
7
|
"description": "Skyflow JavaScript SDK",
|
|
8
8
|
"homepage": "https://github.com/skyflowapi/skyflow-js",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"jss-preset-default": "^10.7.1",
|
|
43
43
|
"jwt-decode": "^3.1.2",
|
|
44
44
|
"lodash": "^4.17.21",
|
|
45
|
+
"mime": "3.0.0",
|
|
45
46
|
"regex-parser": "^2.2.11",
|
|
46
47
|
"set-value": "^4.0.1"
|
|
47
48
|
},
|
|
@@ -60,6 +61,7 @@
|
|
|
60
61
|
"@babel/runtime": "^7.10.2",
|
|
61
62
|
"@types/jest": "^27.0.1",
|
|
62
63
|
"@types/jquery-mask-plugin": "^1.14.3",
|
|
64
|
+
"@types/mime": "^3.0.4",
|
|
63
65
|
"@types/node": "^14.0.5",
|
|
64
66
|
"@typescript-eslint/eslint-plugin": "^4.31.2",
|
|
65
67
|
"@typescript-eslint/parser": "^4.31.2",
|
|
@@ -321,6 +321,12 @@ export declare const REVEAL_ELEMENT_DIV_STYLE: {
|
|
|
321
321
|
justifyContent: string;
|
|
322
322
|
};
|
|
323
323
|
};
|
|
324
|
+
export declare const RENDER_ELEMENT_IMAGE_STYLES: {
|
|
325
|
+
[x: string]: {
|
|
326
|
+
maxHeight: string;
|
|
327
|
+
maxWidth: string;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
324
330
|
export declare const REVEAL_ELEMENT_LABEL_DEFAULT_STYLES: {
|
|
325
331
|
[x: string]: {
|
|
326
332
|
'margin-bottom': string;
|
|
@@ -4,7 +4,6 @@ export default class IFrame {
|
|
|
4
4
|
iframe: HTMLIFrameElement;
|
|
5
5
|
container?: Element;
|
|
6
6
|
constructor(name: any, metadata: any, containerId: any, logLevel: any);
|
|
7
|
-
setAttributess: (responseValue: any) => void;
|
|
8
7
|
mount: (domElement: any) => void;
|
|
9
8
|
setIframeHeight: (height: any) => void;
|
|
10
9
|
unmount: () => void;
|
|
@@ -7,6 +7,6 @@ declare class SkyflowContainer {
|
|
|
7
7
|
getById(getByIdInput: IGetByIdInput): Promise<unknown>;
|
|
8
8
|
get(getInput: IGetInput, options?: IGetOptions): Promise<unknown>;
|
|
9
9
|
delete(records: IDeleteRecordInput, options?: IDeleteOptions): Promise<unknown>;
|
|
10
|
-
renderFile(recordData: any, metaData: any): Promise<unknown>;
|
|
10
|
+
renderFile(recordData: any, metaData: any, containerId: any, iframeName: any): Promise<unknown>;
|
|
11
11
|
}
|
|
12
12
|
export default SkyflowContainer;
|
|
@@ -4,6 +4,6 @@ declare class SkyflowFrameController {
|
|
|
4
4
|
constructor(clientId: any);
|
|
5
5
|
static init(clientId: any): SkyflowFrameController;
|
|
6
6
|
insertData(records: any, options: any): Promise<unknown>;
|
|
7
|
-
renderFile(data: IRevealRecord): Promise<unknown>;
|
|
7
|
+
renderFile(data: IRevealRecord, containerId: any, iframeName: any): Promise<unknown>;
|
|
8
8
|
}
|
|
9
9
|
export default SkyflowFrameController;
|