@cakemail-org/ui-components-v2 2.1.35 → 2.1.37

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/dist/cjs/index.js CHANGED
@@ -8234,9 +8234,9 @@ var css_248z$m = ".ui-kit-v2-wrapper {\n width: 100%;\n flex: 1;\n display: f
8234
8234
  styleInject(css_248z$m);
8235
8235
 
8236
8236
  function BrandWrapper(_a) {
8237
- _a.onInit; var _b = _a.onBrandSuccess, onBrandSuccess = _b === void 0 ? function () { } : _b, _c = _a.onBrandError, onBrandError = _c === void 0 ? function () { } : _c, MUITheme = _a.MUITheme, brandId = _a.brandId, _d = _a.brandHost, brandHost = _d === void 0 ? "" : _d, children = _a.children, _e = _a.noFetch, noFetch = _e === void 0 ? false : _e, _f = _a.setPageHead, setPageHead = _f === void 0 ? true : _f, _g = _a.includeHandlers, includeHandlers = _g === void 0 ? true : _g, brandThemeContext = _a.brandThemeContext, styleOverride = _a.styleOverride;
8237
+ _a.onInit; var _b = _a.onBrandSuccess, onBrandSuccess = _b === void 0 ? function () { } : _b, _c = _a.onBrandError, onBrandError = _c === void 0 ? function () { } : _c, MUITheme = _a.MUITheme, brandId = _a.brandId, brandHost = _a.brandHost, children = _a.children, _d = _a.noFetch, noFetch = _d === void 0 ? false : _d, _e = _a.setPageHead, setPageHead = _e === void 0 ? true : _e, _f = _a.includeHandlers, includeHandlers = _f === void 0 ? true : _f, brandThemeContext = _a.brandThemeContext, styleOverride = _a.styleOverride;
8238
8238
  var fBrandPath = "/brands/".concat(brandId ? brandId + "/" : "", "compiledBrand.json");
8239
- var fBrandHost = brandHost || "https://us-central1-brand-prod.cloudfunctions.net";
8239
+ var fBrandHost = brandHost || uiKitConfig.GATEWAY_PROXY || "https://us-central1-brand-prod.cloudfunctions.net";
8240
8240
  var dialogRef = React.useRef(undefined);
8241
8241
  var actionsBarContainerRef = React.useRef(undefined);
8242
8242
  var overlayRef = React.useRef(undefined);
@@ -1,5 +1,5 @@
1
1
  import { TApiV2LogType, TApiV2LogUserAgent } from "../../types";
2
- import { TExport } from "../tasks/types";
2
+ import { TTask } from "../tasks/types";
3
3
  export declare enum ECampaignStatuses {
4
4
  "active" = "active",
5
5
  "delivering" = "delivering",
@@ -88,7 +88,7 @@ export type TCampaignLogs = {
88
88
  clickthru_url: string;
89
89
  user_agent: TCampaignUserAgent;
90
90
  };
91
- export interface TCampaignLogsExport extends TExport {
91
+ export interface TCampaignLogsExport extends TTask {
92
92
  campaign_id: number;
93
93
  }
94
94
  export type TCampaignLogType = TApiV2LogType;
package/dist/esm/index.js CHANGED
@@ -8214,9 +8214,9 @@ var css_248z$m = ".ui-kit-v2-wrapper {\n width: 100%;\n flex: 1;\n display: f
8214
8214
  styleInject(css_248z$m);
8215
8215
 
8216
8216
  function BrandWrapper(_a) {
8217
- _a.onInit; var _b = _a.onBrandSuccess, onBrandSuccess = _b === void 0 ? function () { } : _b, _c = _a.onBrandError, onBrandError = _c === void 0 ? function () { } : _c, MUITheme = _a.MUITheme, brandId = _a.brandId, _d = _a.brandHost, brandHost = _d === void 0 ? "" : _d, children = _a.children, _e = _a.noFetch, noFetch = _e === void 0 ? false : _e, _f = _a.setPageHead, setPageHead = _f === void 0 ? true : _f, _g = _a.includeHandlers, includeHandlers = _g === void 0 ? true : _g, brandThemeContext = _a.brandThemeContext, styleOverride = _a.styleOverride;
8217
+ _a.onInit; var _b = _a.onBrandSuccess, onBrandSuccess = _b === void 0 ? function () { } : _b, _c = _a.onBrandError, onBrandError = _c === void 0 ? function () { } : _c, MUITheme = _a.MUITheme, brandId = _a.brandId, brandHost = _a.brandHost, children = _a.children, _d = _a.noFetch, noFetch = _d === void 0 ? false : _d, _e = _a.setPageHead, setPageHead = _e === void 0 ? true : _e, _f = _a.includeHandlers, includeHandlers = _f === void 0 ? true : _f, brandThemeContext = _a.brandThemeContext, styleOverride = _a.styleOverride;
8218
8218
  var fBrandPath = "/brands/".concat(brandId ? brandId + "/" : "", "compiledBrand.json");
8219
- var fBrandHost = brandHost || "https://us-central1-brand-prod.cloudfunctions.net";
8219
+ var fBrandHost = brandHost || uiKitConfig.GATEWAY_PROXY || "https://us-central1-brand-prod.cloudfunctions.net";
8220
8220
  var dialogRef = useRef(undefined);
8221
8221
  var actionsBarContainerRef = useRef(undefined);
8222
8222
  var overlayRef = useRef(undefined);
@@ -1,5 +1,5 @@
1
1
  import { TApiV2LogType, TApiV2LogUserAgent } from "../../types";
2
- import { TExport } from "../tasks/types";
2
+ import { TTask } from "../tasks/types";
3
3
  export declare enum ECampaignStatuses {
4
4
  "active" = "active",
5
5
  "delivering" = "delivering",
@@ -88,7 +88,7 @@ export type TCampaignLogs = {
88
88
  clickthru_url: string;
89
89
  user_agent: TCampaignUserAgent;
90
90
  };
91
- export interface TCampaignLogsExport extends TExport {
91
+ export interface TCampaignLogsExport extends TTask {
92
92
  campaign_id: number;
93
93
  }
94
94
  export type TCampaignLogType = TApiV2LogType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.1.35",
3
+ "version": "2.1.37",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",