@capillarytech/creatives-library 3.1.27 → 3.1.29

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": "3.1.27",
4
+ "version": "3.1.29",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -88,7 +88,7 @@ export function updateCharCount(content, isUnicodeEnabled) {
88
88
  break;
89
89
  }
90
90
  }
91
- const actual_chars_used = showOptoutCount ? (chars_used + (((optoutUrl && optoutUrl.length) || 0) * noOfOptout) - (optoutTagLength * noOfOptout)) : chars_used;
91
+ chars_used = showOptoutCount ? (chars_used + (((optoutUrl && optoutUrl.length) || 0) * noOfOptout) - (optoutTagLength * noOfOptout)) : chars_used;
92
92
  if (coding == '7bit') {
93
93
  if (chars_used > 160) {
94
94
  var parts = Math.ceil(chars_used / 153);
@@ -147,6 +147,5 @@ export function updateCharCount(content, isUnicodeEnabled) {
147
147
  optouturlLength: (optoutUrl && optoutUrl.length) || 0,
148
148
  optoutUrlPresent: noOfOptout > 0,
149
149
  responseState,
150
- actual_chars_used,
151
150
  };
152
151
  }