feed-common 1.51.5 → 1.51.6

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.51.6](https://github.com/advertikon/package-maxify-feed-common/compare/v1.51.5...v1.51.6) (2024-10-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove consoles ([4c209c7](https://github.com/advertikon/package-maxify-feed-common/commit/4c209c745172872a2379f2daa4416fb804912275))
7
+
1
8
  ## [1.51.5](https://github.com/advertikon/package-maxify-feed-common/compare/v1.51.4...v1.51.5) (2024-10-13)
2
9
 
3
10
 
@@ -49,17 +49,14 @@ export function parseMacrosString(textContent) {
49
49
  return parts;
50
50
  }
51
51
  function getMacroSubtype(tagValue) {
52
- console.log('tagValue', tagValue);
53
52
  switch (tagValue.trim().split('.')[0]) {
54
53
  case 'action':
55
54
  return 'action';
56
55
  case 'metafield':
57
56
  return 'metafield';
58
57
  case 'source':
59
- console.log('source case');
60
58
  return 'source';
61
59
  default:
62
- console.log('default case');
63
60
  return 'mapping';
64
61
  }
65
62
  }
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,IAAI;IAChB,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAChD,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAE,WAAmB;IAClD,MAAM,OAAO,GAAG,IAAI,CAAC;IACrB,MAAM,QAAQ,GAAG,IAAI,CAAC;IACtB,IAAI,QAAQ,GAAG,CAAC,CAAC;IACjB,MAAM,KAAK,GAAoB,EAAE,CAAC;IAElC,IAAI,CAAC,WAAW,EAAE,CAAC;QACf,OAAO;YACH;gBACI,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,QAAQ;aACjB;SACJ,CAAC;IACN,CAAC;IAED,OAAO,QAAQ,KAAK,CAAC,CAAC,IAAI,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Q,GAAG,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC5C,CAAC;IAED,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAS,eAAe,CAAE,QAAgB;IACtC,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACpC,KAAK,QAAQ;YACT,OAAO,QAAQ,CAAC;QACpB,KAAK,WAAW;YACZ,OAAO,WAAW,CAAC;QACvB,KAAK,QAAQ;YACT,OAAO,QAAQ,CAAC;QACpB;YACI,OAAO,SAAS,CAAC;IACzB,CAAC;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feed-common",
3
- "version": "1.51.5",
3
+ "version": "1.51.6",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -67,17 +67,14 @@ export function parseMacrosString (textContent: string): MacroPartType[] {
67
67
  }
68
68
 
69
69
  function getMacroSubtype (tagValue: string): MacroPartType['subtype'] {
70
- console.log('tagValue', tagValue);
71
70
  switch (tagValue.trim().split('.')[0]) {
72
71
  case 'action':
73
72
  return 'action';
74
73
  case 'metafield':
75
74
  return 'metafield';
76
75
  case 'source':
77
- console.log('source case')
78
76
  return 'source';
79
77
  default:
80
- console.log('default case')
81
78
  return 'mapping';
82
79
  }
83
80
  }