@simplybusiness/services 2.5.2 → 2.6.1

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 (40) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/index.js +144 -214
  3. package/dist/cjs/index.js.map +3 -3
  4. package/dist/cjs/meta.json +71 -87
  5. package/dist/cjs/snowplow/SnowplowContext.js +144 -213
  6. package/dist/cjs/snowplow/SnowplowContext.js.map +3 -3
  7. package/dist/cjs/snowplow/event-definitions/index.js +144 -214
  8. package/dist/cjs/snowplow/event-definitions/index.js.map +3 -3
  9. package/dist/cjs/snowplow/event-definitions/intervention.js +0 -8
  10. package/dist/cjs/snowplow/event-definitions/intervention.js.map +2 -2
  11. package/dist/cjs/snowplow/event-definitions/personalised_cover.js +0 -201
  12. package/dist/cjs/snowplow/event-definitions/personalised_cover.js.map +3 -3
  13. package/dist/cjs/snowplow/index.js +144 -214
  14. package/dist/cjs/snowplow/index.js.map +3 -3
  15. package/dist/cjs/utils/testUtils.js +144 -213
  16. package/dist/cjs/utils/testUtils.js.map +3 -3
  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-RLSHHBYY.js → chunk-I2GKS3FR.js} +1 -9
  20. package/dist/esm/{chunk-RLSHHBYY.js.map → chunk-I2GKS3FR.js.map} +2 -2
  21. package/dist/esm/{chunk-TRQ236KL.js → chunk-MXPROAPE.js} +2 -2
  22. package/dist/esm/{chunk-3JWAIW5L.js → chunk-VH733I2Z.js} +3 -8
  23. package/dist/esm/{chunk-3JWAIW5L.js.map → chunk-VH733I2Z.js.map} +2 -2
  24. package/dist/esm/index.js +4 -6
  25. package/dist/esm/meta.json +58 -88
  26. package/dist/esm/snowplow/SnowplowContext.js +4 -4
  27. package/dist/esm/snowplow/event-definitions/index.js +3 -5
  28. package/dist/esm/snowplow/event-definitions/intervention.js +1 -1
  29. package/dist/esm/snowplow/event-definitions/personalised_cover.js +1 -3
  30. package/dist/esm/snowplow/index.js +4 -6
  31. package/dist/esm/utils/testUtils.js +4 -4
  32. package/dist/tsconfig.build.tsbuildinfo +1 -1
  33. package/dist/types/snowplow/event-definitions/index.d.ts +0 -1
  34. package/package.json +3 -3
  35. package/src/snowplow/event-definitions/index.ts +0 -5
  36. package/src/snowplow/event-definitions/intervention.ts +0 -8
  37. package/src/snowplow/event-definitions/personalised_cover.test.ts +0 -182
  38. package/src/snowplow/event-definitions/personalised_cover.ts +0 -66
  39. package/dist/esm/chunk-3SO3SL37.js.map +0 -7
  40. /package/dist/esm/{chunk-TRQ236KL.js.map → chunk-MXPROAPE.js.map} +0 -0
@@ -65,37 +65,17 @@
65
65
  "format": "esm"
66
66
  },
67
67
  "src/snowplow/event-definitions/intervention.ts": {
68
- "bytes": 1241,
69
- "imports": [],
70
- "format": "esm"
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,
68
+ "bytes": 1044,
79
69
  "imports": [],
80
70
  "format": "esm"
81
71
  },
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": 76106
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
@@ -415,7 +405,13 @@
415
405
  "bytesInOutput": 1634
416
406
  },
417
407
  "src/snowplow/event-definitions/intervention.ts": {
418
- "bytesInOutput": 851
408
+ "bytesInOutput": 654
409
+ },
410
+ "src/snowplow/event-definitions/personalised_cover.ts": {
411
+ "bytesInOutput": 1726
412
+ },
413
+ "src/snowplow/event-definitions/qcp.ts": {
414
+ "bytesInOutput": 8839
419
415
  },
420
416
  "src/snowplow/constants.ts": {
421
417
  "bytesInOutput": 21
@@ -423,12 +419,6 @@
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": 41144
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": 71214
521
511
  },
522
512
  "dist/cjs/utils/testUtils.js": {
523
513
  "imports": [
@@ -577,7 +567,13 @@
577
567
  "bytesInOutput": 1634
578
568
  },
579
569
  "src/snowplow/event-definitions/intervention.ts": {
580
- "bytesInOutput": 851
570
+ "bytesInOutput": 654
571
+ },
572
+ "src/snowplow/event-definitions/personalised_cover.ts": {
573
+ "bytesInOutput": 1726
574
+ },
575
+ "src/snowplow/event-definitions/qcp.ts": {
576
+ "bytesInOutput": 8839
581
577
  },
582
578
  "src/snowplow/constants.ts": {
583
579
  "bytesInOutput": 21
@@ -585,12 +581,6 @@
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": 38670
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": 67766
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
@@ -748,7 +738,13 @@
748
738
  "bytesInOutput": 1634
749
739
  },
750
740
  "src/snowplow/event-definitions/intervention.ts": {
751
- "bytesInOutput": 851
741
+ "bytesInOutput": 654
742
+ },
743
+ "src/snowplow/event-definitions/personalised_cover.ts": {
744
+ "bytesInOutput": 1726
745
+ },
746
+ "src/snowplow/event-definitions/qcp.ts": {
747
+ "bytesInOutput": 8839
752
748
  },
753
749
  "src/snowplow/constants.ts": {
754
750
  "bytesInOutput": 21
@@ -756,12 +752,6 @@
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": 37249
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": 67013
811
801
  },
812
802
  "dist/cjs/snowplow/SnowplowContext.js": {
813
803
  "imports": [
@@ -851,7 +841,13 @@
851
841
  "bytesInOutput": 1634
852
842
  },
853
843
  "src/snowplow/event-definitions/intervention.ts": {
854
- "bytesInOutput": 851
844
+ "bytesInOutput": 654
845
+ },
846
+ "src/snowplow/event-definitions/personalised_cover.ts": {
847
+ "bytesInOutput": 1726
848
+ },
849
+ "src/snowplow/event-definitions/qcp.ts": {
850
+ "bytesInOutput": 8839
855
851
  },
856
852
  "src/snowplow/constants.ts": {
857
853
  "bytesInOutput": 21
@@ -859,12 +855,6 @@
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": 36628
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": 52310
925
915
  },
926
916
  "dist/cjs/snowplow/event-definitions/index.js": {
927
917
  "imports": [],
@@ -929,29 +919,29 @@
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
936
926
  },
937
927
  "src/snowplow/event-definitions/intervention.ts": {
938
- "bytesInOutput": 851
928
+ "bytesInOutput": 654
939
929
  },
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,13 +952,13 @@
962
952
  "bytesInOutput": 379
963
953
  }
964
954
  },
965
- "bytes": 31086
955
+ "bytes": 29220
966
956
  },
967
957
  "dist/cjs/snowplow/event-definitions/intervention.js.map": {
968
958
  "imports": [],
969
959
  "exports": [],
970
960
  "inputs": {},
971
- "bytes": 1931
961
+ "bytes": 1607
972
962
  },
973
963
  "dist/cjs/snowplow/event-definitions/intervention.js": {
974
964
  "imports": [],
@@ -976,16 +966,16 @@
976
966
  "entryPoint": "src/snowplow/event-definitions/intervention.ts",
977
967
  "inputs": {
978
968
  "src/snowplow/event-definitions/intervention.ts": {
979
- "bytesInOutput": 1039
969
+ "bytesInOutput": 842
980
970
  }
981
971
  },
982
- "bytes": 1930
972
+ "bytes": 1733
983
973
  },
984
974
  "dist/cjs/snowplow/event-definitions/personalised_cover.js.map": {
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": [],