@openlettermarketing/olc-react-sdk 2.1.2 → 2.1.3-beta.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.
@@ -38,7 +38,7 @@ declare const envelopeProof: (data: object) => Promise<unknown>;
38
38
  * @returns {Promise<string>} - The file path of the uploaded file.
39
39
  * @throws {object} - The error response if there is an error.
40
40
  */
41
- declare const uploadFile: (file: File) => Promise<string>;
41
+ declare const uploadFile: (file: File) => Promise<any>;
42
42
  /**
43
43
  * Clears template fields.
44
44
  *
@@ -80,6 +80,7 @@ export declare const MESSAGES: {
80
80
  readonly EMPTY_CAMPAIGN: "Please add a Campaign Name to your QR code.";
81
81
  readonly QR_PLACEHOLDER: "Enter QR URL";
82
82
  readonly INVALID_URL: "Please add a valid URL to your QR code.";
83
+ readonly FAILED_QR: "Failed to create QR code";
83
84
  readonly SUBMIT_BUTTON: "Add new QR code";
84
85
  readonly UPDATE_BUTTON: "Update QR code";
85
86
  readonly QR_NOTE: "Add a QR code to track engagement. Select a saved code or create a new one for this template.";
@@ -67,7 +67,7 @@ export interface Product {
67
67
  export declare const drawRestrictedAreaOnPage: (store: any, product: Product, envelopeType: string) => void;
68
68
  export declare const extractFontFamilies: (jsonData: any[]) => string[];
69
69
  export declare const removeBracketsFromRPL: (jsonData: any[]) => any;
70
- export declare const changeColorOfBoxesForSnapPack: (jsonData: any[], preFill?: boolean) => any;
70
+ export declare const changeColorOfBoxesForSnapPack: (jsonData: any[], preFill?: boolean, isLoading?: boolean) => any;
71
71
  export declare const extractCustomRistrictedBoxColor: (jsonData: any) => null;
72
72
  export declare const validateGSV: (pages: any) => boolean;
73
73
  export declare const validateEmoji: (pages: any) => boolean;
@@ -1 +1 @@
1
- export const SDK_VERSION: "2.1.2";
1
+ export const SDK_VERSION: "2.1.3-beta.2";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openlettermarketing/olc-react-sdk",
3
3
  "private": false,
4
- "version": "2.1.2",
4
+ "version": "2.1.3-beta.2",
5
5
  "type": "module",
6
6
  "description": "Simplify template builder integration for any product.",
7
7
  "main": "build/index.js",