@fyul/embed-sdk 2.7.4 → 2.7.51

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.
@@ -4,7 +4,9 @@ export interface MockupGenerationData {
4
4
  variantId: number;
5
5
  baseImageUrl: string | null;
6
6
  bgColor: string;
7
+ styleId: number;
7
8
  blob: Blob | null;
9
+ view: string;
8
10
  productId: number;
9
11
  designArea: {
10
12
  width: number;
@@ -13,7 +13,7 @@ class WhiteLabel {
13
13
  params;
14
14
  config;
15
15
  static BASE_URL = globalThis.__FYUL_TESTING_VARS__?.ewlUrl ??
16
- 'https://embed-white-label-fe.nonprod.printify.com/iframe';
16
+ 'https://embed-white-label-fe.nonprod.printify.com/embed';
17
17
  static broadCastEventHandler;
18
18
  jwt;
19
19
  iFrameManager = null;
@@ -55,7 +55,7 @@ class WhiteLabel {
55
55
  return { error: message };
56
56
  }
57
57
  this.iFrameManager = new iFrameManager_1.iFrameManager({
58
- baseUrl: WhiteLabel.BASE_URL + `/${data.tenant_id}`,
58
+ baseUrl: WhiteLabel.BASE_URL + `/${data.tid}`,
59
59
  urlParams: {},
60
60
  class: this.params.iframeClassName,
61
61
  elementToAppendTo: elementToBindTo,
@@ -1,8 +1,8 @@
1
1
  export interface JWTData {
2
- tenant_id: string;
3
- nonce: string;
4
- scopes: string[];
2
+ tid: string;
3
+ nce: string;
4
+ scp: string[];
5
5
  iat: number;
6
6
  exp: number;
7
- external_customer_id: string;
7
+ cid: string;
8
8
  }
@@ -1 +1 @@
1
- export declare const VERSION: "2.7.4";
1
+ export declare const VERSION: "2.7.51";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // AUTO-GENERATED
5
- exports.VERSION = '2.7.4';
5
+ exports.VERSION = '2.7.51';
@@ -4,7 +4,9 @@ export interface MockupGenerationData {
4
4
  variantId: number;
5
5
  baseImageUrl: string | null;
6
6
  bgColor: string;
7
+ styleId: number;
7
8
  blob: Blob | null;
9
+ view: string;
8
10
  productId: number;
9
11
  designArea: {
10
12
  width: number;
@@ -10,7 +10,7 @@ export class WhiteLabel {
10
10
  params;
11
11
  config;
12
12
  static BASE_URL = globalThis.__FYUL_TESTING_VARS__?.ewlUrl ??
13
- 'https://embed-white-label-fe.nonprod.printify.com/iframe';
13
+ 'https://embed-white-label-fe.nonprod.printify.com/embed';
14
14
  static broadCastEventHandler;
15
15
  jwt;
16
16
  iFrameManager = null;
@@ -52,7 +52,7 @@ export class WhiteLabel {
52
52
  return { error: message };
53
53
  }
54
54
  this.iFrameManager = new iFrameManager({
55
- baseUrl: WhiteLabel.BASE_URL + `/${data.tenant_id}`,
55
+ baseUrl: WhiteLabel.BASE_URL + `/${data.tid}`,
56
56
  urlParams: {},
57
57
  class: this.params.iframeClassName,
58
58
  elementToAppendTo: elementToBindTo,
@@ -1,8 +1,8 @@
1
1
  export interface JWTData {
2
- tenant_id: string;
3
- nonce: string;
4
- scopes: string[];
2
+ tid: string;
3
+ nce: string;
4
+ scp: string[];
5
5
  iat: number;
6
6
  exp: number;
7
- external_customer_id: string;
7
+ cid: string;
8
8
  }
@@ -1 +1 @@
1
- export declare const VERSION: "2.7.4";
1
+ export declare const VERSION: "2.7.51";
@@ -1,2 +1,2 @@
1
1
  // AUTO-GENERATED
2
- export const VERSION = '2.7.4';
2
+ export const VERSION = '2.7.51';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fyul/embed-sdk",
3
- "version": "2.7.4",
3
+ "version": "2.7.51",
4
4
  "description": "",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",