@cakemail-org/ui-components-v2 2.1.36 → 2.1.38

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
@@ -2423,7 +2423,7 @@ function capitalizeFirstLetter(str) {
2423
2423
  return str.charAt(0).toUpperCase() + str.slice(1);
2424
2424
  }
2425
2425
  function isValidEmail(email) {
2426
- if (/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))(@\d+\)|@)((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(email)) {
2426
+ if (/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))(\(@\d+\)|@)((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(email)) {
2427
2427
  return true;
2428
2428
  }
2429
2429
  return false;
@@ -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
@@ -2403,7 +2403,7 @@ function capitalizeFirstLetter(str) {
2403
2403
  return str.charAt(0).toUpperCase() + str.slice(1);
2404
2404
  }
2405
2405
  function isValidEmail(email) {
2406
- if (/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))(@\d+\)|@)((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(email)) {
2406
+ if (/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))(\(@\d+\)|@)((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(email)) {
2407
2407
  return true;
2408
2408
  }
2409
2409
  return false;
@@ -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.36",
3
+ "version": "2.1.38",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",