@simplybusiness/services 2.5.2 → 2.6.0

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/index.js +144 -206
  3. package/dist/cjs/index.js.map +3 -3
  4. package/dist/cjs/meta.json +62 -78
  5. package/dist/cjs/snowplow/SnowplowContext.js +144 -205
  6. package/dist/cjs/snowplow/SnowplowContext.js.map +3 -3
  7. package/dist/cjs/snowplow/event-definitions/index.js +144 -206
  8. package/dist/cjs/snowplow/event-definitions/index.js.map +3 -3
  9. package/dist/cjs/snowplow/event-definitions/personalised_cover.js +0 -201
  10. package/dist/cjs/snowplow/event-definitions/personalised_cover.js.map +3 -3
  11. package/dist/cjs/snowplow/index.js +144 -206
  12. package/dist/cjs/snowplow/index.js.map +3 -3
  13. package/dist/cjs/utils/testUtils.js +144 -205
  14. package/dist/cjs/utils/testUtils.js.map +3 -3
  15. package/dist/esm/{chunk-3JWAIW5L.js → chunk-FMM4S4JB.js} +2 -7
  16. package/dist/esm/{chunk-3JWAIW5L.js.map → chunk-FMM4S4JB.js.map} +2 -2
  17. package/dist/esm/{chunk-3SO3SL37.js → chunk-HFULBVWF.js} +1 -64
  18. package/dist/esm/chunk-HFULBVWF.js.map +7 -0
  19. package/dist/esm/{chunk-TRQ236KL.js → chunk-YXKJJ7B7.js} +2 -2
  20. package/dist/esm/index.js +3 -5
  21. package/dist/esm/meta.json +45 -75
  22. package/dist/esm/snowplow/SnowplowContext.js +3 -3
  23. package/dist/esm/snowplow/event-definitions/index.js +2 -4
  24. package/dist/esm/snowplow/event-definitions/personalised_cover.js +1 -3
  25. package/dist/esm/snowplow/index.js +3 -5
  26. package/dist/esm/utils/testUtils.js +3 -3
  27. package/dist/tsconfig.build.tsbuildinfo +1 -1
  28. package/dist/types/snowplow/event-definitions/index.d.ts +0 -1
  29. package/package.json +1 -1
  30. package/src/snowplow/event-definitions/index.ts +0 -5
  31. package/src/snowplow/event-definitions/personalised_cover.test.ts +0 -182
  32. package/src/snowplow/event-definitions/personalised_cover.ts +0 -66
  33. package/dist/esm/chunk-3SO3SL37.js.map +0 -7
  34. /package/dist/esm/{chunk-TRQ236KL.js.map → chunk-YXKJJ7B7.js.map} +0 -0
@@ -69,33 +69,13 @@
69
69
  "imports": [],
70
70
  "format": "esm"
71
71
  },
72
- "src/snowplow/constants.ts": {
73
- "bytes": 56,
74
- "imports": [],
75
- "format": "esm"
76
- },
77
- "src/snowplow/event-definitions/questionnaire/redaction.ts": {
78
- "bytes": 3923,
79
- "imports": [],
80
- "format": "esm"
81
- },
82
72
  "src/snowplow/event-definitions/personalised_cover.ts": {
83
- "bytes": 4466,
73
+ "bytes": 2738,
84
74
  "imports": [
85
75
  {
86
76
  "path": "src/utils/index.ts",
87
77
  "kind": "import-statement",
88
78
  "original": "../../utils"
89
- },
90
- {
91
- "path": "src/snowplow/constants.ts",
92
- "kind": "import-statement",
93
- "original": "../constants"
94
- },
95
- {
96
- "path": "src/snowplow/event-definitions/questionnaire/redaction.ts",
97
- "kind": "import-statement",
98
- "original": "./questionnaire/redaction"
99
79
  }
100
80
  ],
101
81
  "format": "esm"
@@ -111,6 +91,16 @@
111
91
  ],
112
92
  "format": "esm"
113
93
  },
94
+ "src/snowplow/constants.ts": {
95
+ "bytes": 56,
96
+ "imports": [],
97
+ "format": "esm"
98
+ },
99
+ "src/snowplow/event-definitions/questionnaire/redaction.ts": {
100
+ "bytes": 3923,
101
+ "imports": [],
102
+ "format": "esm"
103
+ },
114
104
  "src/snowplow/event-definitions/questionnaire/questionnaire.ts": {
115
105
  "bytes": 8947,
116
106
  "imports": [
@@ -138,7 +128,7 @@
138
128
  "format": "esm"
139
129
  },
140
130
  "src/snowplow/event-definitions/index.ts": {
141
- "bytes": 1481,
131
+ "bytes": 1365,
142
132
  "imports": [
143
133
  {
144
134
  "path": "src/snowplow/event-definitions/base.ts",
@@ -360,7 +350,7 @@
360
350
  "imports": [],
361
351
  "exports": [],
362
352
  "inputs": {},
363
- "bytes": 79346
353
+ "bytes": 76431
364
354
  },
365
355
  "dist/cjs/index.js": {
366
356
  "imports": [
@@ -394,7 +384,7 @@
394
384
  "entryPoint": "src/index.tsx",
395
385
  "inputs": {
396
386
  "src/index.tsx": {
397
- "bytesInOutput": 887
387
+ "bytesInOutput": 821
398
388
  },
399
389
  "src/address-lookup/index.ts": {
400
390
  "bytesInOutput": 2572
@@ -417,18 +407,18 @@
417
407
  "src/snowplow/event-definitions/intervention.ts": {
418
408
  "bytesInOutput": 851
419
409
  },
410
+ "src/snowplow/event-definitions/personalised_cover.ts": {
411
+ "bytesInOutput": 1726
412
+ },
413
+ "src/snowplow/event-definitions/qcp.ts": {
414
+ "bytesInOutput": 8839
415
+ },
420
416
  "src/snowplow/constants.ts": {
421
417
  "bytesInOutput": 21
422
418
  },
423
419
  "src/snowplow/event-definitions/questionnaire/redaction.ts": {
424
420
  "bytesInOutput": 3841
425
421
  },
426
- "src/snowplow/event-definitions/personalised_cover.ts": {
427
- "bytesInOutput": 3224
428
- },
429
- "src/snowplow/event-definitions/qcp.ts": {
430
- "bytesInOutput": 8839
431
- },
432
422
  "src/snowplow/event-definitions/questionnaire/questionnaire.ts": {
433
423
  "bytesInOutput": 7953
434
424
  },
@@ -439,7 +429,7 @@
439
429
  "bytesInOutput": 379
440
430
  },
441
431
  "src/snowplow/event-definitions/index.ts": {
442
- "bytesInOutput": 760
432
+ "bytesInOutput": 655
443
433
  },
444
434
  "src/snowplow/getSnowplowConfig.ts": {
445
435
  "bytesInOutput": 117
@@ -451,7 +441,7 @@
451
441
  "bytesInOutput": 1186
452
442
  }
453
443
  },
454
- "bytes": 43010
444
+ "bytes": 41341
455
445
  },
456
446
  "dist/cjs/utils/index.js.map": {
457
447
  "imports": [],
@@ -517,7 +507,7 @@
517
507
  "imports": [],
518
508
  "exports": [],
519
509
  "inputs": {},
520
- "bytes": 74449
510
+ "bytes": 71539
521
511
  },
522
512
  "dist/cjs/utils/testUtils.js": {
523
513
  "imports": [
@@ -579,18 +569,18 @@
579
569
  "src/snowplow/event-definitions/intervention.ts": {
580
570
  "bytesInOutput": 851
581
571
  },
572
+ "src/snowplow/event-definitions/personalised_cover.ts": {
573
+ "bytesInOutput": 1726
574
+ },
575
+ "src/snowplow/event-definitions/qcp.ts": {
576
+ "bytesInOutput": 8839
577
+ },
582
578
  "src/snowplow/constants.ts": {
583
579
  "bytesInOutput": 21
584
580
  },
585
581
  "src/snowplow/event-definitions/questionnaire/redaction.ts": {
586
582
  "bytesInOutput": 3841
587
583
  },
588
- "src/snowplow/event-definitions/personalised_cover.ts": {
589
- "bytesInOutput": 3224
590
- },
591
- "src/snowplow/event-definitions/qcp.ts": {
592
- "bytesInOutput": 8839
593
- },
594
584
  "src/snowplow/event-definitions/questionnaire/questionnaire.ts": {
595
585
  "bytesInOutput": 7953
596
586
  },
@@ -601,7 +591,7 @@
601
591
  "bytesInOutput": 379
602
592
  },
603
593
  "src/snowplow/event-definitions/index.ts": {
604
- "bytesInOutput": 760
594
+ "bytesInOutput": 655
605
595
  },
606
596
  "src/snowplow/Snowplow.ts": {
607
597
  "bytesInOutput": 4556
@@ -610,7 +600,7 @@
610
600
  "bytesInOutput": 119
611
601
  }
612
602
  },
613
- "bytes": 40470
603
+ "bytes": 38867
614
604
  },
615
605
  "dist/cjs/snowplow/Snowplow.js.map": {
616
606
  "imports": [],
@@ -704,7 +694,7 @@
704
694
  "imports": [],
705
695
  "exports": [],
706
696
  "inputs": {},
707
- "bytes": 71006
697
+ "bytes": 68091
708
698
  },
709
699
  "dist/cjs/snowplow/index.js": {
710
700
  "imports": [
@@ -733,7 +723,7 @@
733
723
  "entryPoint": "src/snowplow/index.ts",
734
724
  "inputs": {
735
725
  "src/snowplow/index.ts": {
736
- "bytesInOutput": 774
726
+ "bytesInOutput": 708
737
727
  },
738
728
  "src/utils/text.ts": {
739
729
  "bytesInOutput": 719
@@ -750,18 +740,18 @@
750
740
  "src/snowplow/event-definitions/intervention.ts": {
751
741
  "bytesInOutput": 851
752
742
  },
743
+ "src/snowplow/event-definitions/personalised_cover.ts": {
744
+ "bytesInOutput": 1726
745
+ },
746
+ "src/snowplow/event-definitions/qcp.ts": {
747
+ "bytesInOutput": 8839
748
+ },
753
749
  "src/snowplow/constants.ts": {
754
750
  "bytesInOutput": 21
755
751
  },
756
752
  "src/snowplow/event-definitions/questionnaire/redaction.ts": {
757
753
  "bytesInOutput": 3841
758
754
  },
759
- "src/snowplow/event-definitions/personalised_cover.ts": {
760
- "bytesInOutput": 3224
761
- },
762
- "src/snowplow/event-definitions/qcp.ts": {
763
- "bytesInOutput": 8839
764
- },
765
755
  "src/snowplow/event-definitions/questionnaire/questionnaire.ts": {
766
756
  "bytesInOutput": 7953
767
757
  },
@@ -772,7 +762,7 @@
772
762
  "bytesInOutput": 379
773
763
  },
774
764
  "src/snowplow/event-definitions/index.ts": {
775
- "bytesInOutput": 760
765
+ "bytesInOutput": 655
776
766
  },
777
767
  "src/snowplow/getSnowplowConfig.ts": {
778
768
  "bytesInOutput": 117
@@ -784,7 +774,7 @@
784
774
  "bytesInOutput": 1186
785
775
  }
786
776
  },
787
- "bytes": 39115
777
+ "bytes": 37446
788
778
  },
789
779
  "dist/cjs/snowplow/types.js.map": {
790
780
  "imports": [],
@@ -807,7 +797,7 @@
807
797
  "imports": [],
808
798
  "exports": [],
809
799
  "inputs": {},
810
- "bytes": 70248
800
+ "bytes": 67338
811
801
  },
812
802
  "dist/cjs/snowplow/SnowplowContext.js": {
813
803
  "imports": [
@@ -853,18 +843,18 @@
853
843
  "src/snowplow/event-definitions/intervention.ts": {
854
844
  "bytesInOutput": 851
855
845
  },
846
+ "src/snowplow/event-definitions/personalised_cover.ts": {
847
+ "bytesInOutput": 1726
848
+ },
849
+ "src/snowplow/event-definitions/qcp.ts": {
850
+ "bytesInOutput": 8839
851
+ },
856
852
  "src/snowplow/constants.ts": {
857
853
  "bytesInOutput": 21
858
854
  },
859
855
  "src/snowplow/event-definitions/questionnaire/redaction.ts": {
860
856
  "bytesInOutput": 3841
861
857
  },
862
- "src/snowplow/event-definitions/personalised_cover.ts": {
863
- "bytesInOutput": 3224
864
- },
865
- "src/snowplow/event-definitions/qcp.ts": {
866
- "bytesInOutput": 8839
867
- },
868
858
  "src/snowplow/event-definitions/questionnaire/questionnaire.ts": {
869
859
  "bytesInOutput": 7953
870
860
  },
@@ -875,13 +865,13 @@
875
865
  "bytesInOutput": 379
876
866
  },
877
867
  "src/snowplow/event-definitions/index.ts": {
878
- "bytesInOutput": 760
868
+ "bytesInOutput": 655
879
869
  },
880
870
  "src/snowplow/Snowplow.ts": {
881
871
  "bytesInOutput": 4556
882
872
  }
883
873
  },
884
- "bytes": 38428
874
+ "bytes": 36825
885
875
  },
886
876
  "dist/cjs/snowplow/event-definitions/base.js.map": {
887
877
  "imports": [],
@@ -921,7 +911,7 @@
921
911
  "imports": [],
922
912
  "exports": [],
923
913
  "inputs": {},
924
- "bytes": 55551
914
+ "bytes": 52635
925
915
  },
926
916
  "dist/cjs/snowplow/event-definitions/index.js": {
927
917
  "imports": [],
@@ -929,7 +919,7 @@
929
919
  "entryPoint": "src/snowplow/event-definitions/index.ts",
930
920
  "inputs": {
931
921
  "src/snowplow/event-definitions/index.ts": {
932
- "bytesInOutput": 1271
922
+ "bytesInOutput": 1100
933
923
  },
934
924
  "src/snowplow/event-definitions/base.ts": {
935
925
  "bytesInOutput": 1634
@@ -940,18 +930,18 @@
940
930
  "src/utils/text.ts": {
941
931
  "bytesInOutput": 70
942
932
  },
933
+ "src/snowplow/event-definitions/personalised_cover.ts": {
934
+ "bytesInOutput": 1726
935
+ },
936
+ "src/snowplow/event-definitions/qcp.ts": {
937
+ "bytesInOutput": 8839
938
+ },
943
939
  "src/snowplow/constants.ts": {
944
940
  "bytesInOutput": 21
945
941
  },
946
942
  "src/snowplow/event-definitions/questionnaire/redaction.ts": {
947
943
  "bytesInOutput": 3841
948
944
  },
949
- "src/snowplow/event-definitions/personalised_cover.ts": {
950
- "bytesInOutput": 3224
951
- },
952
- "src/snowplow/event-definitions/qcp.ts": {
953
- "bytesInOutput": 8839
954
- },
955
945
  "src/snowplow/event-definitions/questionnaire/questionnaire.ts": {
956
946
  "bytesInOutput": 7953
957
947
  },
@@ -962,7 +952,7 @@
962
952
  "bytesInOutput": 379
963
953
  }
964
954
  },
965
- "bytes": 31086
955
+ "bytes": 29417
966
956
  },
967
957
  "dist/cjs/snowplow/event-definitions/intervention.js.map": {
968
958
  "imports": [],
@@ -985,7 +975,7 @@
985
975
  "imports": [],
986
976
  "exports": [],
987
977
  "inputs": {},
988
- "bytes": 14246
978
+ "bytes": 5394
989
979
  },
990
980
  "dist/cjs/snowplow/event-definitions/personalised_cover.js": {
991
981
  "imports": [],
@@ -993,19 +983,13 @@
993
983
  "entryPoint": "src/snowplow/event-definitions/personalised_cover.ts",
994
984
  "inputs": {
995
985
  "src/snowplow/event-definitions/personalised_cover.ts": {
996
- "bytesInOutput": 3440
986
+ "bytesInOutput": 1942
997
987
  },
998
988
  "src/utils/text.ts": {
999
989
  "bytesInOutput": 70
1000
- },
1001
- "src/snowplow/constants.ts": {
1002
- "bytesInOutput": 21
1003
- },
1004
- "src/snowplow/event-definitions/questionnaire/redaction.ts": {
1005
- "bytesInOutput": 3841
1006
990
  }
1007
991
  },
1008
- "bytes": 8446
992
+ "bytes": 2994
1009
993
  },
1010
994
  "dist/cjs/snowplow/event-definitions/qcp.js.map": {
1011
995
  "imports": [],