@capillarytech/creatives-library 7.12.102 → 7.12.103

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.12.102",
4
+ "version": "7.12.103",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -362,7 +362,7 @@ export const SmsTraiCreate = (props) => {
362
362
  //each header can contain letters or numbers with length in range 3 to 9, no mixing
363
363
  //it cannot contain special characters except {}
364
364
  //eg: valid: "123456" "abcdef" "{123456}" invalid: "abc123" "abc$ef" "1234567"
365
- let senderIdLength=senderIdString.length;
365
+ const senderIdLength = senderIdString.length;
366
366
  if (senderIdLength < 3) {
367
367
  return true;
368
368
  }
@@ -372,7 +372,7 @@ export const SmsTraiCreate = (props) => {
372
372
  senderIdString.split(',').forEach((value) => {
373
373
  const _value = value.trim()?.replace(/[{}]/g, '');
374
374
  if (_value) {
375
- if (! (_value.length >= 3 && _value.length <= 9) ) {
375
+ if (!(_value.length >= 3 && _value.length <= 9) ) {
376
376
  isError = true;
377
377
  return;
378
378
  }