atmosx-nwws-parser 1.0.20231 → 1.0.20232

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/eas.cjs CHANGED
@@ -1949,7 +1949,7 @@ var EventParser = class {
1949
1949
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
1950
1950
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
1951
1951
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
1952
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
1952
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
1953
1953
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
1954
1954
  if (props.description) {
1955
1955
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2373,7 +2373,7 @@ var EventParser = class {
2373
2373
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2374
2374
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2375
2375
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2376
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2376
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2377
2377
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2378
2378
  if (props.description) {
2379
2379
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2756,7 +2756,7 @@ var EventParser = class {
2756
2756
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2757
2757
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2758
2758
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2759
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2759
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2760
2760
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2761
2761
  if (props.description) {
2762
2762
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2679,7 +2679,7 @@ var EventParser = class {
2679
2679
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2680
2680
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2681
2681
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2682
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2682
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2683
2683
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2684
2684
  if (props.description) {
2685
2685
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2671,7 +2671,7 @@ var EventParser = class {
2671
2671
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2672
2672
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2673
2673
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2674
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2674
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2675
2675
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2676
2676
  if (props.description) {
2677
2677
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2719,7 +2719,7 @@ var EventParser = class {
2719
2719
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2720
2720
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2721
2721
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2722
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2722
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2723
2723
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2724
2724
  if (props.description) {
2725
2725
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2689,7 +2689,7 @@ var EventParser = class {
2689
2689
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2690
2690
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2691
2691
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2692
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2692
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2693
2693
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2694
2694
  if (props.description) {
2695
2695
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2712,7 +2712,7 @@ var EventParser = class {
2712
2712
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2713
2713
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2714
2714
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2715
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2715
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2716
2716
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2717
2717
  if (props.description) {
2718
2718
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2362,7 +2362,7 @@ var EventParser = class {
2362
2362
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2363
2363
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2364
2364
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2365
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2365
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2366
2366
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2367
2367
  if (props.description) {
2368
2368
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
package/dist/cjs/xmpp.cjs CHANGED
@@ -2362,7 +2362,7 @@ var EventParser = class {
2362
2362
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2363
2363
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2364
2364
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2365
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2365
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2366
2366
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2367
2367
  if (props.description) {
2368
2368
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
package/dist/esm/eas.mjs CHANGED
@@ -1916,7 +1916,7 @@ var EventParser = class {
1916
1916
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
1917
1917
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
1918
1918
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
1919
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
1919
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
1920
1920
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
1921
1921
  if (props.description) {
1922
1922
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2332,7 +2332,7 @@ var EventParser = class {
2332
2332
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2333
2333
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2334
2334
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2335
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2335
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2336
2336
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2337
2337
  if (props.description) {
2338
2338
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2723,7 +2723,7 @@ var EventParser = class {
2723
2723
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2724
2724
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2725
2725
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2726
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2726
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2727
2727
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2728
2728
  if (props.description) {
2729
2729
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2646,7 +2646,7 @@ var EventParser = class {
2646
2646
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2647
2647
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2648
2648
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2649
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2649
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2650
2650
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2651
2651
  if (props.description) {
2652
2652
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2638,7 +2638,7 @@ var EventParser = class {
2638
2638
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2639
2639
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2640
2640
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2641
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2641
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2642
2642
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2643
2643
  if (props.description) {
2644
2644
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2686,7 +2686,7 @@ var EventParser = class {
2686
2686
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2687
2687
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2688
2688
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2689
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2689
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2690
2690
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2691
2691
  if (props.description) {
2692
2692
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2656,7 +2656,7 @@ var EventParser = class {
2656
2656
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2657
2657
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2658
2658
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2659
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2659
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2660
2660
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2661
2661
  if (props.description) {
2662
2662
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2679,7 +2679,7 @@ var EventParser = class {
2679
2679
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2680
2680
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2681
2681
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2682
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2682
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2683
2683
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2684
2684
  if (props.description) {
2685
2685
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
@@ -2329,7 +2329,7 @@ var EventParser = class {
2329
2329
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2330
2330
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2331
2331
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2332
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2332
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2333
2333
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2334
2334
  if (props.description) {
2335
2335
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
package/dist/esm/xmpp.mjs CHANGED
@@ -2329,7 +2329,7 @@ var EventParser = class {
2329
2329
  originalEvent.properties.is_updated = statusCorrelation ? statusCorrelation.update == true && bools.checkExpired : false;
2330
2330
  originalEvent.properties.is_issued = statusCorrelation ? statusCorrelation.new == true && bools.checkExpired : false;
2331
2331
  originalEvent.properties.is_cancelled = statusCorrelation ? statusCorrelation.cancel == true && bools.checkExpired : false;
2332
- const _e2 = originalEvent, { performance: performance2 } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance"]);
2332
+ const _e2 = originalEvent, { performance: performance2, header } = _e2, eventWithoutPerformance = __objRest(_e2, ["performance", "header"]);
2333
2333
  originalEvent.hash = packages.crypto.createHash("md5").update(JSON.stringify(eventWithoutPerformance)).digest("hex");
2334
2334
  if (props.description) {
2335
2335
  const detectedPhrase = definitions.cancelSignatures.find((sig) => props.description.toLowerCase().includes(sig.toLowerCase()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atmosx-nwws-parser",
3
- "version": "1.0.20231",
3
+ "version": "1.0.20232",
4
4
  "description": "NOAA Weather Wire Parser - Built for standalone and Project AtmosphericX Integration.",
5
5
  "main": "dist/cjs/helper.cjs",
6
6
  "repository": {
@@ -183,7 +183,7 @@ export class EventParser {
183
183
  originalEvent.properties.is_updated = statusCorrelation ? (statusCorrelation.update == true && bools.checkExpired) : false;
184
184
  originalEvent.properties.is_issued = statusCorrelation ? (statusCorrelation.new == true && bools.checkExpired) : false;
185
185
  originalEvent.properties.is_cancelled = statusCorrelation ? (statusCorrelation.cancel == true && bools.checkExpired) : false;
186
- const { performance, ...eventWithoutPerformance } = originalEvent;
186
+ const { performance, header, ...eventWithoutPerformance } = originalEvent;
187
187
  originalEvent.hash = loader.packages.crypto.createHash('md5').update(JSON.stringify(eventWithoutPerformance)).digest('hex');
188
188
  if (props.description) {
189
189
  const detectedPhrase = loader.definitions.cancelSignatures.find(sig => props.description.toLowerCase().includes(sig.toLowerCase()));