@openlettermarketing/olc-react-sdk 1.5.1 → 1.5.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.
@@ -7,6 +7,7 @@ export declare const BARCODE_IMAGE_URL: string;
7
7
  export declare const GOOGLE_STREET_VIEW_IMAGE_URL: string;
8
8
  export declare const PRODUCT_LEARN_URL: string;
9
9
  export declare const multiPageLetters: string[];
10
+ export declare const emojiRegex: RegExp;
10
11
  interface TemplateTypes {
11
12
  id: string;
12
13
  label: string;
@@ -15,6 +15,7 @@ export declare const MESSAGES: {
15
15
  readonly POSTCARD_SIZE_REQUIRED: "Postcard Size is required";
16
16
  readonly NAME_LESS_50: "Template Name should be less than or equal to 50 characters";
17
17
  readonly GSV_RESTRICT_ONE_PER_PAGE: "Only one GSV image is allowed per page.";
18
+ readonly EMOJI_NOT_ALLOWED: "Emojis are not allowed in the template. Please remove them before saving.";
18
19
  readonly CREATE: {
19
20
  readonly TITLE: "Create New Template";
20
21
  readonly TEMPLATE_LABEL: "Template Name*";
@@ -17,3 +17,4 @@ export interface Product {
17
17
  export declare const drawRestrictedAreaOnPage: (store: any, product: Product, envelopeType: string) => void;
18
18
  export declare const extractFontFamilies: (jsonData: any[]) => string[];
19
19
  export declare const validateGSV: (pages: any) => boolean;
20
+ export declare const validateEmoji: (pages: any) => boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openlettermarketing/olc-react-sdk",
3
3
  "private": false,
4
- "version": "1.5.1",
4
+ "version": "1.5.2",
5
5
  "type": "module",
6
6
  "description": "Simplify template builder integration for any product.",
7
7
  "main": "build/index.js",