skyflow-js 2.7.1 → 2.7.2

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.
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": "2.7.1",
5
+ "version": "2.7.2",
6
6
  "author": "Skyflow",
7
7
  "description": "Skyflow JavaScript SDK",
8
8
  "homepage": "https://github.com/skyflowapi/skyflow-js",
@@ -452,6 +452,7 @@ export declare const REVEAL_ELEMENT_ERROR_TEXT_DEFAULT_STYLES: {
452
452
  };
453
453
  };
454
454
  export declare const REVEAL_ELEMENT_ERROR_TEXT = "Invalid Token";
455
+ export declare const SIGNED_TOKEN_PREFIX = "signed_token_";
455
456
  export declare const COLLECT_ELEMENT_LABEL_DEFAULT_STYLES: {
456
457
  [x: string]: {
457
458
  marginBottom: string;
@@ -9,6 +9,7 @@ declare class RevealFrame {
9
9
  responseUpdate: (data: any) => void;
10
10
  getConfig: () => void;
11
11
  getData: () => any;
12
+ decodeSignedToken(token: string): string;
12
13
  private sub2;
13
14
  private renderFile;
14
15
  private getExtension;
@@ -301,6 +301,7 @@ declare const logs: {
301
301
  INVALID_OPTION_CARD_SCHEME: string;
302
302
  INVALID_FIELD_SHOW_3DS_CHALLEGNGE: string;
303
303
  NO_FILE_ELEMENT_FOUND: string;
304
+ SIGNED_TOKEN_DECODE_FAILED: string;
304
305
  };
305
306
  warnLogs: {
306
307
  INVALID_EXPIRATION_DATE_FORMAT: string;