@drip-apex/sdk 0.1.0 → 0.3.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 (246) hide show
  1. package/README.md +5 -0
  2. package/dist/bundle-report.json +584 -226
  3. package/dist/define.cjs +123 -0
  4. package/dist/define.cjs.map +7 -0
  5. package/dist/define.mjs +102 -0
  6. package/dist/define.mjs.map +7 -0
  7. package/dist/drip.cjs +19283 -0
  8. package/dist/drip.cjs.map +7 -0
  9. package/dist/drip.debug.js +1 -1
  10. package/dist/drip.debug.js.map +1 -1
  11. package/dist/drip.heatmap.js +1 -1
  12. package/dist/drip.heatmap.js.map +1 -1
  13. package/dist/drip.js +1 -1
  14. package/dist/drip.js.map +1 -1
  15. package/dist/drip.live.js +1 -1
  16. package/dist/drip.live.js.map +1 -1
  17. package/dist/drip.mjs +19267 -0
  18. package/dist/drip.mjs.map +7 -0
  19. package/dist/drip.replay-recorder.js +2 -0
  20. package/dist/drip.replay-recorder.js.map +1 -0
  21. package/dist/editor.js +147 -142
  22. package/dist/editor.js.map +4 -4
  23. package/dist/flags.cjs +1788 -0
  24. package/dist/flags.cjs.map +7 -0
  25. package/dist/flags.mjs +1765 -0
  26. package/dist/flags.mjs.map +7 -0
  27. package/dist/index.mjs +12 -0
  28. package/dist/index.mjs.map +2 -2
  29. package/dist/metafiles/define.cjs.meta.json +28 -0
  30. package/dist/metafiles/define.mjs.meta.json +32 -0
  31. package/dist/metafiles/drip.cjs.meta.json +3193 -0
  32. package/dist/metafiles/drip.debug.meta.json +2859 -574
  33. package/dist/metafiles/drip.heatmap.meta.json +2732 -460
  34. package/dist/metafiles/drip.live.meta.json +2732 -460
  35. package/dist/metafiles/drip.meta.json +2859 -574
  36. package/dist/metafiles/drip.mjs.meta.json +3235 -0
  37. package/dist/metafiles/drip.replay-recorder.meta.json +82 -0
  38. package/dist/metafiles/editor.meta.json +67 -27
  39. package/dist/metafiles/flags.cjs.meta.json +220 -0
  40. package/dist/metafiles/flags.mjs.meta.json +225 -0
  41. package/dist/metafiles/index.meta.json +2717 -491
  42. package/dist/metafiles/index.mjs.meta.json +14 -4
  43. package/dist/react/index.js +16636 -13533
  44. package/dist/react/index.js.map +4 -4
  45. package/dist/sri.json +20 -15
  46. package/dist/types/activation-runtime.d.ts +91 -0
  47. package/dist/types/analytics-runtime.d.ts +166 -0
  48. package/dist/types/antiflicker.d.ts +9 -3
  49. package/dist/types/assignment-cookie-sync.d.ts +31 -0
  50. package/dist/types/assignment-runtime.d.ts +257 -0
  51. package/dist/types/assignment-store.d.ts +4 -8
  52. package/dist/types/bucket.d.ts +1 -2
  53. package/dist/types/compact-store.d.ts +1 -0
  54. package/dist/types/config-runtime.d.ts +313 -0
  55. package/dist/types/consent-evaluation.d.ts +28 -0
  56. package/dist/types/css.d.ts +5 -3
  57. package/dist/types/debug-loader.d.ts +2 -0
  58. package/dist/types/decide-assignments.d.ts +31 -0
  59. package/dist/types/delivery-timing.d.ts +8 -0
  60. package/dist/types/early-interaction-capture.d.ts +79 -0
  61. package/dist/types/early-reassert.d.ts +32 -0
  62. package/dist/types/edge-runtime.d.ts +11 -0
  63. package/dist/types/editor/api.d.ts +3 -0
  64. package/dist/types/editor/controller.d.ts +3 -1
  65. package/dist/types/editor/publication-result.d.ts +11 -0
  66. package/dist/types/editor/types.d.ts +2 -1
  67. package/dist/types/editor/view-kit.d.ts +1 -1
  68. package/dist/types/endpoint.d.ts +8 -0
  69. package/dist/types/exclusion-groups.d.ts +4 -7
  70. package/dist/types/flags.d.ts +2 -0
  71. package/dist/types/goal-eligibility.d.ts +4 -0
  72. package/dist/types/goals.d.ts +10 -1
  73. package/dist/types/guards.d.ts +7 -7
  74. package/dist/types/handover.d.ts +12 -1
  75. package/dist/types/hash.d.ts +8 -4
  76. package/dist/types/hydration.d.ts +2 -1
  77. package/dist/types/index.d.ts +24 -128
  78. package/dist/types/init-test-helpers.d.ts +48 -0
  79. package/dist/types/inline-bootstrap.d.ts +26 -0
  80. package/dist/types/js.d.ts +3 -1
  81. package/dist/types/money.d.ts +12 -0
  82. package/dist/types/mutate.d.ts +45 -6
  83. package/dist/types/performance.d.ts +2 -0
  84. package/dist/types/persistence-decoders.d.ts +12 -0
  85. package/dist/types/public-api.d.ts +209 -0
  86. package/dist/types/qa-assistant-state.d.ts +34 -0
  87. package/dist/types/react/index.d.ts +28 -3
  88. package/dist/types/reassert-sentinel.d.ts +6 -0
  89. package/dist/types/redirect.d.ts +48 -0
  90. package/dist/types/replay-recorder-entry.d.ts +1 -0
  91. package/dist/types/replay-signal-state.d.ts +6 -0
  92. package/dist/types/replay-signals.d.ts +13 -0
  93. package/dist/types/replay.d.ts +110 -0
  94. package/dist/types/router.d.ts +12 -2
  95. package/dist/types/runtime-state.d.ts +166 -0
  96. package/dist/types/sanitize.d.ts +1 -0
  97. package/dist/types/shadow.d.ts +3 -0
  98. package/dist/types/shopify-cart.d.ts +25 -1
  99. package/dist/types/storefront-vitals.d.ts +24 -0
  100. package/dist/types/targeting-diagnostics.d.ts +1 -0
  101. package/dist/types/targeting.d.ts +16 -2
  102. package/dist/types/track.d.ts +15 -1
  103. package/dist/types/types.d.ts +115 -9
  104. package/dist/types/wait.d.ts +14 -1
  105. package/dist/types/weekday-schedule.d.ts +3 -0
  106. package/package.json +17 -8
  107. package/src/activation-runtime.ts +2737 -0
  108. package/src/analytics-runtime.ts +2175 -0
  109. package/src/antiflicker.test.ts +216 -44
  110. package/src/antiflicker.ts +103 -28
  111. package/src/artifact-concurrency.test.ts +1091 -0
  112. package/src/assignment-cookie-sync.test.ts +202 -0
  113. package/src/assignment-cookie-sync.ts +189 -0
  114. package/src/assignment-runtime.ts +3204 -0
  115. package/src/assignment-store.test.ts +56 -0
  116. package/src/assignment-store.ts +7 -38
  117. package/src/bucket.ts +3 -18
  118. package/src/commerce-analytics-lifecycle.test.ts +75 -15
  119. package/src/commerce-config-lifecycle.test.ts +81 -1
  120. package/src/commerce-price-preserve.test.ts +133 -0
  121. package/src/commerce-price.test.ts +97 -0
  122. package/src/commerce-price.ts +74 -20
  123. package/src/commerce-shipping.test.ts +53 -0
  124. package/src/commerce-shipping.ts +5 -11
  125. package/src/compact-store.ts +15 -0
  126. package/src/config-fetch.test.ts +480 -9
  127. package/src/config-runtime.ts +2071 -0
  128. package/src/consent-evaluation-borlabs.test.ts +41 -0
  129. package/src/consent-evaluation-cookiescript.test.ts +50 -0
  130. package/src/consent-evaluation.ts +151 -0
  131. package/src/css.test.ts +30 -0
  132. package/src/css.ts +120 -6
  133. package/src/cwv.test.ts +60 -77
  134. package/src/debug-loader.test.ts +214 -0
  135. package/src/debug-loader.ts +41 -0
  136. package/src/decide-assignments.test.ts +196 -0
  137. package/src/decide-assignments.ts +204 -0
  138. package/src/delivery-timing.test.ts +104 -0
  139. package/src/delivery-timing.ts +89 -0
  140. package/src/early-interaction-capture.test.ts +451 -0
  141. package/src/early-interaction-capture.ts +230 -0
  142. package/src/early-reassert.test.ts +207 -0
  143. package/src/early-reassert.ts +152 -0
  144. package/src/edge-adoption.test.ts +435 -0
  145. package/src/edge-runtime.ts +30 -0
  146. package/src/editor/api.test.ts +109 -0
  147. package/src/editor/api.ts +34 -3
  148. package/src/editor/controller.test.ts +297 -14
  149. package/src/editor/controller.ts +69 -5
  150. package/src/editor/index.test.ts +2 -0
  151. package/src/editor/index.ts +1 -0
  152. package/src/editor/publication-result.ts +58 -0
  153. package/src/editor/types.ts +10 -1
  154. package/src/editor/view-kit.ts +2 -1
  155. package/src/editor/view.test.ts +108 -0
  156. package/src/editor/view.ts +49 -7
  157. package/src/endpoint.test.ts +15 -0
  158. package/src/endpoint.ts +10 -0
  159. package/src/exclusion-groups.ts +8 -18
  160. package/src/flags.test.ts +88 -1
  161. package/src/flags.ts +29 -29
  162. package/src/global-runtime-reconciler.test.ts +271 -0
  163. package/src/goal-eligibility.test.ts +29 -0
  164. package/src/goal-eligibility.ts +17 -0
  165. package/src/goals.test.ts +144 -1
  166. package/src/goals.ts +97 -18
  167. package/src/guards.test.ts +99 -1
  168. package/src/guards.ts +34 -15
  169. package/src/handover-cache-order.test.ts +6 -3
  170. package/src/handover.test.ts +154 -8
  171. package/src/handover.ts +122 -12
  172. package/src/hash.ts +29 -54
  173. package/src/holdout.test.ts +26 -0
  174. package/src/hydration.test.ts +73 -2
  175. package/src/hydration.ts +18 -9
  176. package/src/index.ts +130 -7287
  177. package/src/init-analytics.test.ts +1694 -0
  178. package/src/init-anti-flicker.test.ts +1211 -0
  179. package/src/init-cart-attributes.test.ts +2003 -0
  180. package/src/init-config-resolution.test.ts +999 -0
  181. package/src/init-consent.test.ts +971 -0
  182. package/src/init-empty.test.ts +11 -5406
  183. package/src/init-integrations.test.ts +846 -0
  184. package/src/init-page-activation.test.ts +5064 -0
  185. package/src/init-qa-loading.test.ts +740 -0
  186. package/src/init-redirects.test.ts +2156 -0
  187. package/src/init-test-helpers.ts +287 -0
  188. package/src/inline-bootstrap.test.ts +184 -0
  189. package/src/inline-bootstrap.ts +73 -0
  190. package/src/js.test.ts +51 -1
  191. package/src/js.ts +86 -2
  192. package/src/money.test.ts +55 -1
  193. package/src/money.ts +104 -2
  194. package/src/money.web-parity.contract.test.ts +85 -0
  195. package/src/mutate.test.ts +474 -10
  196. package/src/mutate.ts +739 -230
  197. package/src/page-trigger.test.ts +218 -8
  198. package/src/performance.ts +10 -0
  199. package/src/persistence-decoders.ts +18 -0
  200. package/src/public-api.ts +1828 -0
  201. package/src/qa-assistant-state.test.ts +249 -3
  202. package/src/qa-assistant-state.ts +146 -6
  203. package/src/qa-assistant-view.test.ts +220 -2
  204. package/src/qa-assistant-view.ts +102 -5
  205. package/src/react/index.test.tsx +37 -0
  206. package/src/react/index.tsx +19 -3
  207. package/src/reassert-sentinel.test.ts +155 -1
  208. package/src/reassert-sentinel.ts +168 -8
  209. package/src/redirect.test.ts +541 -0
  210. package/src/redirect.ts +572 -0
  211. package/src/replay-recorder-entry.ts +115 -0
  212. package/src/replay-signal-state.ts +100 -0
  213. package/src/replay-signals.test.ts +249 -0
  214. package/src/replay-signals.ts +151 -0
  215. package/src/replay.test.ts +764 -0
  216. package/src/replay.ts +514 -0
  217. package/src/router.test.ts +61 -2
  218. package/src/router.ts +50 -12
  219. package/src/runtime-state.ts +507 -0
  220. package/src/runtime.test.ts +174 -7
  221. package/src/runtime.ts +88 -14
  222. package/src/sanitize.test.ts +34 -0
  223. package/src/sanitize.ts +23 -12
  224. package/src/shadow.test.ts +187 -0
  225. package/src/shadow.ts +99 -0
  226. package/src/shopify-cart.test.ts +733 -23
  227. package/src/shopify-cart.ts +402 -49
  228. package/src/storefront-vitals.test.ts +217 -0
  229. package/src/storefront-vitals.ts +206 -0
  230. package/src/surface-signals.ts +6 -0
  231. package/src/targeting-conformance.test.ts +9 -0
  232. package/src/targeting-diagnostics.ts +38 -8
  233. package/src/targeting-parity-corpus.json +559 -0
  234. package/src/targeting-parity-corpus.test.ts +18 -0
  235. package/src/targeting.detailed.test.ts +105 -0
  236. package/src/targeting.test.ts +211 -0
  237. package/src/targeting.ts +88 -207
  238. package/src/track.test.ts +147 -0
  239. package/src/track.ts +125 -26
  240. package/src/types.ts +120 -13
  241. package/src/wait.test.ts +23 -0
  242. package/src/wait.ts +129 -13
  243. package/src/weekday-delivery.test.ts +56 -0
  244. package/src/weekday-schedule-parity-corpus.json +92 -0
  245. package/src/weekday-schedule.test.ts +69 -0
  246. package/src/weekday-schedule.ts +20 -0
@@ -2,225 +2,359 @@
2
2
  "schemaVersion": 1,
3
3
  "budget": {
4
4
  "baseline": {
5
- "rawBytes": 228182,
6
- "gzipBytes": 69215
5
+ "rawBytes": 338642,
6
+ "gzipBytes": 101140
7
7
  },
8
8
  "regressionLimit": {
9
- "rawBytes": 240182,
10
- "gzipBytes": 71815
9
+ "rawBytes": 350642,
10
+ "gzipBytes": 103740
11
11
  },
12
12
  "target": {
13
13
  "rawBytes": 140000,
14
14
  "gzipBytes": 40000
15
15
  },
16
16
  "liveDeltaFromBaseline": {
17
- "rawBytes": 10138,
18
- "gzipBytes": 404
17
+ "rawBytes": 5368,
18
+ "gzipBytes": 1973
19
19
  },
20
- "targetMet": false
20
+ "targetMet": false,
21
+ "artifacts": {
22
+ "drip.replay-recorder.js": {
23
+ "rawBytes": 200000,
24
+ "gzipBytes": 65000
25
+ }
26
+ }
21
27
  },
22
28
  "variants": {
23
- "drip.debug.js": {
24
- "rawBytes": 327182,
25
- "gzipBytes": 95383,
26
- "rawDeltaFromFull": 6,
27
- "gzipDeltaFromFull": 3,
29
+ "define.cjs": {
30
+ "rawBytes": 4423,
31
+ "gzipBytes": 1594,
32
+ "rawDeltaFromFull": -437798,
33
+ "gzipDeltaFromFull": -130601,
28
34
  "topContributors": [
29
35
  {
30
- "input": "src/index.ts",
31
- "bytes": 111031
36
+ "input": "src/define.ts",
37
+ "bytes": 3570
38
+ }
39
+ ]
40
+ },
41
+ "define.mjs": {
42
+ "rawBytes": 3450,
43
+ "gzipBytes": 1256,
44
+ "rawDeltaFromFull": -438771,
45
+ "gzipDeltaFromFull": -130939,
46
+ "topContributors": [
47
+ {
48
+ "input": "src/define.ts",
49
+ "bytes": 3316
50
+ }
51
+ ]
52
+ },
53
+ "drip.cjs": {
54
+ "rawBytes": 748813,
55
+ "gzipBytes": 162369,
56
+ "rawDeltaFromFull": 306592,
57
+ "gzipDeltaFromFull": 30174,
58
+ "topContributors": [
59
+ {
60
+ "input": "src/assignment-runtime.ts",
61
+ "bytes": 82981
32
62
  },
33
63
  {
34
- "input": "src/qa-assistant-view.ts",
35
- "bytes": 31222
64
+ "input": "src/activation-runtime.ts",
65
+ "bytes": 78917
36
66
  },
37
67
  {
38
- "input": "src/shopify-cart.ts",
39
- "bytes": 16010
68
+ "input": "src/analytics-runtime.ts",
69
+ "bytes": 62571
40
70
  },
41
71
  {
42
- "input": "src/targeting.ts",
43
- "bytes": 15279
72
+ "input": "src/config-runtime.ts",
73
+ "bytes": 47188
44
74
  },
45
75
  {
46
- "input": "src/commerce-gift.ts",
47
- "bytes": 11711
76
+ "input": "src/shopify-cart.ts",
77
+ "bytes": 46822
48
78
  },
49
79
  {
50
- "input": "src/devtools.ts",
51
- "bytes": 11695
80
+ "input": "src/public-api.ts",
81
+ "bytes": 44718
82
+ },
83
+ {
84
+ "input": "src/commerce-gift.ts",
85
+ "bytes": 27200
52
86
  },
53
87
  {
54
88
  "input": "src/commerce-price.ts",
55
- "bytes": 9847
89
+ "bytes": 26117
56
90
  },
57
91
  {
58
- "input": "src/qa-toolbar.ts",
59
- "bytes": 8631
92
+ "input": "src/targeting.ts",
93
+ "bytes": 25674
60
94
  },
61
95
  {
62
- "input": "src/track.ts",
63
- "bytes": 8537
96
+ "input": "src/mutate.ts",
97
+ "bytes": 22993
64
98
  },
65
99
  {
66
- "input": "src/qa-assistant-state.ts",
67
- "bytes": 8157
100
+ "input": "src/track.ts",
101
+ "bytes": 16757
68
102
  },
69
103
  {
70
- "input": "src/targeting-diagnostics.ts",
71
- "bytes": 6769
104
+ "input": "src/redirect.ts",
105
+ "bytes": 15545
72
106
  },
73
107
  {
74
- "input": "src/audit.ts",
75
- "bytes": 6277
108
+ "input": "src/replay.ts",
109
+ "bytes": 12406
76
110
  },
77
111
  {
78
112
  "input": "src/commerce-shipping.ts",
79
- "bytes": 5816
113
+ "bytes": 11425
80
114
  },
81
115
  {
82
- "input": "src/heatmap.ts",
83
- "bytes": 5543
116
+ "input": "src/handover.ts",
117
+ "bytes": 10637
84
118
  },
85
119
  {
86
- "input": "src/mutate.ts",
87
- "bytes": 4783
120
+ "input": "../event-schema/src/targeting-core.ts",
121
+ "bytes": 10536
88
122
  },
89
123
  {
90
124
  "input": "src/runtime.ts",
91
- "bytes": 4298
125
+ "bytes": 9907
92
126
  },
93
127
  {
94
- "input": "src/semantic.ts",
95
- "bytes": 4040
96
- },
97
- {
98
- "input": "src/handover.ts",
99
- "bytes": 4037
128
+ "input": "src/reassert-sentinel.ts",
129
+ "bytes": 9575
100
130
  },
101
131
  {
102
132
  "input": "src/runtime-tools.ts",
103
- "bytes": 3699
133
+ "bytes": 8952
104
134
  },
105
135
  {
106
- "input": "src/guards.ts",
107
- "bytes": 3319
136
+ "input": "src/wait.ts",
137
+ "bytes": 8278
108
138
  }
109
139
  ]
110
140
  },
111
- "drip.heatmap.js": {
112
- "rawBytes": 243757,
113
- "gzipBytes": 71115,
114
- "rawDeltaFromFull": -83419,
115
- "gzipDeltaFromFull": -24265,
141
+ "drip.debug.js": {
142
+ "rawBytes": 442227,
143
+ "gzipBytes": 132197,
144
+ "rawDeltaFromFull": 6,
145
+ "gzipDeltaFromFull": 2,
116
146
  "topContributors": [
117
147
  {
118
- "input": "src/index.ts",
119
- "bytes": 103870
148
+ "input": "src/assignment-runtime.ts",
149
+ "bytes": 37973
150
+ },
151
+ {
152
+ "input": "src/activation-runtime.ts",
153
+ "bytes": 35684
154
+ },
155
+ {
156
+ "input": "src/qa-assistant-view.ts",
157
+ "bytes": 35594
158
+ },
159
+ {
160
+ "input": "src/analytics-runtime.ts",
161
+ "bytes": 32591
162
+ },
163
+ {
164
+ "input": "src/config-runtime.ts",
165
+ "bytes": 24038
166
+ },
167
+ {
168
+ "input": "src/public-api.ts",
169
+ "bytes": 21331
120
170
  },
121
171
  {
122
172
  "input": "src/shopify-cart.ts",
123
- "bytes": 15965
173
+ "bytes": 20418
124
174
  },
125
175
  {
126
176
  "input": "src/targeting.ts",
127
- "bytes": 15241
177
+ "bytes": 12979
128
178
  },
129
179
  {
130
180
  "input": "src/commerce-gift.ts",
131
- "bytes": 11621
181
+ "bytes": 11709
182
+ },
183
+ {
184
+ "input": "src/devtools.ts",
185
+ "bytes": 11695
132
186
  },
133
187
  {
134
188
  "input": "src/commerce-price.ts",
135
- "bytes": 9745
189
+ "bytes": 10421
190
+ },
191
+ {
192
+ "input": "src/qa-assistant-state.ts",
193
+ "bytes": 10135
136
194
  },
137
195
  {
138
196
  "input": "src/track.ts",
139
- "bytes": 8498
197
+ "bytes": 9980
198
+ },
199
+ {
200
+ "input": "src/mutate.ts",
201
+ "bytes": 9723
202
+ },
203
+ {
204
+ "input": "src/qa-toolbar.ts",
205
+ "bytes": 8631
206
+ },
207
+ {
208
+ "input": "src/targeting-diagnostics.ts",
209
+ "bytes": 7072
210
+ },
211
+ {
212
+ "input": "src/redirect.ts",
213
+ "bytes": 6806
214
+ },
215
+ {
216
+ "input": "src/audit.ts",
217
+ "bytes": 6277
218
+ },
219
+ {
220
+ "input": "src/replay.ts",
221
+ "bytes": 5789
140
222
  },
141
223
  {
142
224
  "input": "src/commerce-shipping.ts",
143
- "bytes": 5755
225
+ "bytes": 5672
226
+ }
227
+ ]
228
+ },
229
+ "drip.heatmap.js": {
230
+ "rawBytes": 350459,
231
+ "gzipBytes": 104740,
232
+ "rawDeltaFromFull": -91762,
233
+ "gzipDeltaFromFull": -27455,
234
+ "topContributors": [
235
+ {
236
+ "input": "src/assignment-runtime.ts",
237
+ "bytes": 34466
144
238
  },
145
239
  {
146
- "input": "src/heatmap.ts",
147
- "bytes": 5544
240
+ "input": "src/activation-runtime.ts",
241
+ "bytes": 33715
148
242
  },
149
243
  {
150
- "input": "src/mutate.ts",
151
- "bytes": 4726
244
+ "input": "src/analytics-runtime.ts",
245
+ "bytes": 32200
152
246
  },
153
247
  {
154
- "input": "src/runtime.ts",
155
- "bytes": 4270
248
+ "input": "src/config-runtime.ts",
249
+ "bytes": 22451
156
250
  },
157
251
  {
158
- "input": "src/semantic.ts",
159
- "bytes": 4041
252
+ "input": "src/public-api.ts",
253
+ "bytes": 20398
160
254
  },
161
255
  {
162
- "input": "src/handover.ts",
163
- "bytes": 4008
256
+ "input": "src/shopify-cart.ts",
257
+ "bytes": 20330
164
258
  },
165
259
  {
166
- "input": "src/runtime-tools.ts",
167
- "bytes": 3665
260
+ "input": "src/targeting.ts",
261
+ "bytes": 12940
168
262
  },
169
263
  {
170
- "input": "src/guards.ts",
171
- "bytes": 3284
264
+ "input": "src/commerce-gift.ts",
265
+ "bytes": 11629
172
266
  },
173
267
  {
174
- "input": "src/hash.ts",
175
- "bytes": 2854
268
+ "input": "src/commerce-price.ts",
269
+ "bytes": 10336
176
270
  },
177
271
  {
178
- "input": "src/signals.ts",
179
- "bytes": 2844
272
+ "input": "src/track.ts",
273
+ "bytes": 9941
180
274
  },
181
275
  {
182
- "input": "src/reassert-sentinel.ts",
183
- "bytes": 2755
276
+ "input": "src/mutate.ts",
277
+ "bytes": 9660
184
278
  },
185
279
  {
186
- "input": "src/surface-signals.ts",
187
- "bytes": 2608
280
+ "input": "src/redirect.ts",
281
+ "bytes": 6752
188
282
  },
189
283
  {
190
- "input": "src/editor-bootstrap.ts",
191
- "bytes": 2569
284
+ "input": "src/replay.ts",
285
+ "bytes": 5722
192
286
  },
193
287
  {
194
- "input": "src/hydration.ts",
195
- "bytes": 2529
288
+ "input": "src/commerce-shipping.ts",
289
+ "bytes": 5606
290
+ },
291
+ {
292
+ "input": "src/heatmap.ts",
293
+ "bytes": 5544
294
+ },
295
+ {
296
+ "input": "src/runtime.ts",
297
+ "bytes": 5346
298
+ },
299
+ {
300
+ "input": "../event-schema/src/targeting-core.ts",
301
+ "bytes": 4971
302
+ },
303
+ {
304
+ "input": "src/handover.ts",
305
+ "bytes": 4947
306
+ },
307
+ {
308
+ "input": "src/reassert-sentinel.ts",
309
+ "bytes": 4762
310
+ },
311
+ {
312
+ "input": "src/consent-evaluation.ts",
313
+ "bytes": 4232
196
314
  }
197
315
  ]
198
316
  },
199
317
  "drip.js": {
200
- "rawBytes": 327176,
201
- "gzipBytes": 95380,
318
+ "rawBytes": 442221,
319
+ "gzipBytes": 132195,
202
320
  "rawDeltaFromFull": 0,
203
321
  "gzipDeltaFromFull": 0,
204
322
  "topContributors": [
205
323
  {
206
- "input": "src/index.ts",
207
- "bytes": 111031
324
+ "input": "src/assignment-runtime.ts",
325
+ "bytes": 37973
326
+ },
327
+ {
328
+ "input": "src/activation-runtime.ts",
329
+ "bytes": 35684
208
330
  },
209
331
  {
210
332
  "input": "src/qa-assistant-view.ts",
211
- "bytes": 31222
333
+ "bytes": 35594
334
+ },
335
+ {
336
+ "input": "src/analytics-runtime.ts",
337
+ "bytes": 32591
338
+ },
339
+ {
340
+ "input": "src/config-runtime.ts",
341
+ "bytes": 24038
342
+ },
343
+ {
344
+ "input": "src/public-api.ts",
345
+ "bytes": 21331
212
346
  },
213
347
  {
214
348
  "input": "src/shopify-cart.ts",
215
- "bytes": 16010
349
+ "bytes": 20418
216
350
  },
217
351
  {
218
352
  "input": "src/targeting.ts",
219
- "bytes": 15279
353
+ "bytes": 12979
220
354
  },
221
355
  {
222
356
  "input": "src/commerce-gift.ts",
223
- "bytes": 11711
357
+ "bytes": 11709
224
358
  },
225
359
  {
226
360
  "input": "src/devtools.ts",
@@ -228,207 +362,323 @@
228
362
  },
229
363
  {
230
364
  "input": "src/commerce-price.ts",
231
- "bytes": 9847
365
+ "bytes": 10421
232
366
  },
233
367
  {
234
- "input": "src/qa-toolbar.ts",
235
- "bytes": 8631
368
+ "input": "src/qa-assistant-state.ts",
369
+ "bytes": 10135
236
370
  },
237
371
  {
238
372
  "input": "src/track.ts",
239
- "bytes": 8537
373
+ "bytes": 9980
240
374
  },
241
375
  {
242
- "input": "src/qa-assistant-state.ts",
243
- "bytes": 8157
376
+ "input": "src/mutate.ts",
377
+ "bytes": 9723
378
+ },
379
+ {
380
+ "input": "src/qa-toolbar.ts",
381
+ "bytes": 8631
244
382
  },
245
383
  {
246
384
  "input": "src/targeting-diagnostics.ts",
247
- "bytes": 6769
385
+ "bytes": 7072
386
+ },
387
+ {
388
+ "input": "src/redirect.ts",
389
+ "bytes": 6806
248
390
  },
249
391
  {
250
392
  "input": "src/audit.ts",
251
393
  "bytes": 6277
252
394
  },
395
+ {
396
+ "input": "src/replay.ts",
397
+ "bytes": 5789
398
+ },
253
399
  {
254
400
  "input": "src/commerce-shipping.ts",
255
- "bytes": 5816
401
+ "bytes": 5672
402
+ }
403
+ ]
404
+ },
405
+ "drip.live.js": {
406
+ "rawBytes": 344010,
407
+ "gzipBytes": 103113,
408
+ "rawDeltaFromFull": -98211,
409
+ "gzipDeltaFromFull": -29082,
410
+ "topContributors": [
411
+ {
412
+ "input": "src/assignment-runtime.ts",
413
+ "bytes": 34466
256
414
  },
257
415
  {
258
- "input": "src/heatmap.ts",
259
- "bytes": 5543
416
+ "input": "src/activation-runtime.ts",
417
+ "bytes": 33715
418
+ },
419
+ {
420
+ "input": "src/analytics-runtime.ts",
421
+ "bytes": 32200
422
+ },
423
+ {
424
+ "input": "src/config-runtime.ts",
425
+ "bytes": 22451
426
+ },
427
+ {
428
+ "input": "src/public-api.ts",
429
+ "bytes": 20398
430
+ },
431
+ {
432
+ "input": "src/shopify-cart.ts",
433
+ "bytes": 20330
434
+ },
435
+ {
436
+ "input": "src/targeting.ts",
437
+ "bytes": 12940
438
+ },
439
+ {
440
+ "input": "src/commerce-gift.ts",
441
+ "bytes": 11629
442
+ },
443
+ {
444
+ "input": "src/commerce-price.ts",
445
+ "bytes": 10336
446
+ },
447
+ {
448
+ "input": "src/track.ts",
449
+ "bytes": 9941
260
450
  },
261
451
  {
262
452
  "input": "src/mutate.ts",
263
- "bytes": 4783
453
+ "bytes": 9660
454
+ },
455
+ {
456
+ "input": "src/redirect.ts",
457
+ "bytes": 6752
458
+ },
459
+ {
460
+ "input": "src/replay.ts",
461
+ "bytes": 5722
462
+ },
463
+ {
464
+ "input": "src/commerce-shipping.ts",
465
+ "bytes": 5606
264
466
  },
265
467
  {
266
468
  "input": "src/runtime.ts",
267
- "bytes": 4298
469
+ "bytes": 5346
268
470
  },
269
471
  {
270
- "input": "src/semantic.ts",
271
- "bytes": 4040
472
+ "input": "../event-schema/src/targeting-core.ts",
473
+ "bytes": 4971
272
474
  },
273
475
  {
274
476
  "input": "src/handover.ts",
275
- "bytes": 4037
477
+ "bytes": 4947
276
478
  },
277
479
  {
278
- "input": "src/runtime-tools.ts",
279
- "bytes": 3699
480
+ "input": "src/reassert-sentinel.ts",
481
+ "bytes": 4762
482
+ },
483
+ {
484
+ "input": "src/consent-evaluation.ts",
485
+ "bytes": 4232
280
486
  },
281
487
  {
282
- "input": "src/guards.ts",
283
- "bytes": 3319
488
+ "input": "src/early-interaction-capture.ts",
489
+ "bytes": 4067
284
490
  }
285
491
  ]
286
492
  },
287
- "drip.live.js": {
288
- "rawBytes": 238320,
289
- "gzipBytes": 69619,
290
- "rawDeltaFromFull": -88856,
291
- "gzipDeltaFromFull": -25761,
493
+ "drip.mjs": {
494
+ "rawBytes": 747405,
495
+ "gzipBytes": 162074,
496
+ "rawDeltaFromFull": 305184,
497
+ "gzipDeltaFromFull": 29879,
292
498
  "topContributors": [
293
499
  {
294
- "input": "src/index.ts",
295
- "bytes": 103870
500
+ "input": "src/assignment-runtime.ts",
501
+ "bytes": 82981
502
+ },
503
+ {
504
+ "input": "src/activation-runtime.ts",
505
+ "bytes": 78917
506
+ },
507
+ {
508
+ "input": "src/analytics-runtime.ts",
509
+ "bytes": 62571
510
+ },
511
+ {
512
+ "input": "src/config-runtime.ts",
513
+ "bytes": 47188
296
514
  },
297
515
  {
298
516
  "input": "src/shopify-cart.ts",
299
- "bytes": 15965
517
+ "bytes": 46822
300
518
  },
301
519
  {
302
- "input": "src/targeting.ts",
303
- "bytes": 15241
520
+ "input": "src/public-api.ts",
521
+ "bytes": 44718
304
522
  },
305
523
  {
306
524
  "input": "src/commerce-gift.ts",
307
- "bytes": 11621
525
+ "bytes": 27200
308
526
  },
309
527
  {
310
528
  "input": "src/commerce-price.ts",
311
- "bytes": 9745
529
+ "bytes": 26117
312
530
  },
313
531
  {
314
- "input": "src/track.ts",
315
- "bytes": 8498
532
+ "input": "src/targeting.ts",
533
+ "bytes": 25674
316
534
  },
317
535
  {
318
- "input": "src/commerce-shipping.ts",
319
- "bytes": 5755
536
+ "input": "src/mutate.ts",
537
+ "bytes": 22993
320
538
  },
321
539
  {
322
- "input": "src/mutate.ts",
323
- "bytes": 4726
540
+ "input": "src/track.ts",
541
+ "bytes": 16757
324
542
  },
325
543
  {
326
- "input": "src/runtime.ts",
327
- "bytes": 4270
544
+ "input": "src/redirect.ts",
545
+ "bytes": 15545
328
546
  },
329
547
  {
330
- "input": "src/semantic.ts",
331
- "bytes": 4041
548
+ "input": "src/replay.ts",
549
+ "bytes": 12406
550
+ },
551
+ {
552
+ "input": "src/commerce-shipping.ts",
553
+ "bytes": 11425
332
554
  },
333
555
  {
334
556
  "input": "src/handover.ts",
335
- "bytes": 4008
557
+ "bytes": 10637
336
558
  },
337
559
  {
338
- "input": "src/runtime-tools.ts",
339
- "bytes": 3665
560
+ "input": "../event-schema/src/targeting-core.ts",
561
+ "bytes": 10536
340
562
  },
341
563
  {
342
- "input": "src/guards.ts",
343
- "bytes": 3284
564
+ "input": "src/runtime.ts",
565
+ "bytes": 9907
344
566
  },
345
567
  {
346
- "input": "src/hash.ts",
347
- "bytes": 2854
568
+ "input": "src/reassert-sentinel.ts",
569
+ "bytes": 9575
348
570
  },
349
571
  {
350
- "input": "src/signals.ts",
351
- "bytes": 2844
572
+ "input": "src/runtime-tools.ts",
573
+ "bytes": 8952
352
574
  },
353
575
  {
354
- "input": "src/reassert-sentinel.ts",
355
- "bytes": 2755
576
+ "input": "src/wait.ts",
577
+ "bytes": 8278
578
+ }
579
+ ]
580
+ },
581
+ "drip.replay-recorder.js": {
582
+ "rawBytes": 191115,
583
+ "gzipBytes": 60056,
584
+ "rawDeltaFromFull": -251106,
585
+ "gzipDeltaFromFull": -72139,
586
+ "topContributors": [
587
+ {
588
+ "input": "../../node_modules/rrweb/dist/rrweb.js",
589
+ "bytes": 181050
356
590
  },
357
591
  {
358
- "input": "src/surface-signals.ts",
359
- "bytes": 2608
592
+ "input": "../../node_modules/fflate/esm/browser.js",
593
+ "bytes": 8105
360
594
  },
361
595
  {
362
- "input": "src/editor-bootstrap.ts",
363
- "bytes": 2569
596
+ "input": "src/replay-signals.ts",
597
+ "bytes": 2679
364
598
  },
365
599
  {
366
- "input": "src/hydration.ts",
367
- "bytes": 2529
600
+ "input": "src/replay-recorder-entry.ts",
601
+ "bytes": 1710
368
602
  },
369
603
  {
370
- "input": "src/wait.ts",
371
- "bytes": 2297
604
+ "input": "src/replay-signal-state.ts",
605
+ "bytes": 1598
372
606
  }
373
607
  ]
374
608
  },
375
609
  "editor.js": {
376
- "rawBytes": 106433,
377
- "gzipBytes": 31127,
378
- "rawDeltaFromFull": -220743,
379
- "gzipDeltaFromFull": -64253,
610
+ "rawBytes": 121189,
611
+ "gzipBytes": 36534,
612
+ "rawDeltaFromFull": -321032,
613
+ "gzipDeltaFromFull": -95661,
380
614
  "topContributors": [
381
615
  {
382
616
  "input": "src/editor/view.ts",
383
- "bytes": 48641
617
+ "bytes": 49754
384
618
  },
385
619
  {
386
620
  "input": "src/editor/command-runtime.ts",
387
621
  "bytes": 12229
388
622
  },
389
623
  {
390
- "input": "src/editor/view-kit.ts",
391
- "bytes": 11395
624
+ "input": "src/editor/controller.ts",
625
+ "bytes": 11675
392
626
  },
393
627
  {
394
- "input": "src/editor/controller.ts",
395
- "bytes": 10199
628
+ "input": "src/editor/view-kit.ts",
629
+ "bytes": 11553
396
630
  },
397
631
  {
398
632
  "input": "src/mutate.ts",
399
- "bytes": 4397
633
+ "bytes": 8748
400
634
  },
401
635
  {
402
- "input": "src/editor/operator.ts",
403
- "bytes": 3565
636
+ "input": "src/editor/api.ts",
637
+ "bytes": 3663
404
638
  },
405
639
  {
406
- "input": "src/editor/api.ts",
407
- "bytes": 3265
640
+ "input": "src/editor/operator.ts",
641
+ "bytes": 3565
408
642
  },
409
643
  {
410
644
  "input": "src/editor/picker.ts",
411
645
  "bytes": 3163
412
646
  },
647
+ {
648
+ "input": "src/reassert-sentinel.ts",
649
+ "bytes": 2865
650
+ },
413
651
  {
414
652
  "input": "src/editor/index.ts",
415
- "bytes": 2439
653
+ "bytes": 2486
416
654
  },
417
655
  {
418
656
  "input": "src/editor/device-preview.ts",
419
657
  "bytes": 2133
420
658
  },
659
+ {
660
+ "input": "src/money.ts",
661
+ "bytes": 2066
662
+ },
421
663
  {
422
664
  "input": "src/editor/selector.ts",
423
- "bytes": 1903
665
+ "bytes": 1910
424
666
  },
425
667
  {
426
668
  "input": "src/editor/artifacts.ts",
427
669
  "bytes": 1504
428
670
  },
671
+ {
672
+ "input": "src/shadow.ts",
673
+ "bytes": 1404
674
+ },
429
675
  {
430
676
  "input": "src/sanitize.ts",
431
- "bytes": 503
677
+ "bytes": 768
678
+ },
679
+ {
680
+ "input": "src/editor/publication-result.ts",
681
+ "bytes": 600
432
682
  },
433
683
  {
434
684
  "input": "src/editor/types.ts",
@@ -436,11 +686,7 @@
436
686
  },
437
687
  {
438
688
  "input": "src/observer-mute.ts",
439
- "bytes": 213
440
- },
441
- {
442
- "input": "src/js.ts",
443
- "bytes": 51
689
+ "bytes": 270
444
690
  },
445
691
  {
446
692
  "input": "src/editor-bootstrap.ts",
@@ -448,11 +694,123 @@
448
694
  }
449
695
  ]
450
696
  },
697
+ "flags.cjs": {
698
+ "rawBytes": 64416,
699
+ "gzipBytes": 16021,
700
+ "rawDeltaFromFull": -377805,
701
+ "gzipDeltaFromFull": -116174,
702
+ "topContributors": [
703
+ {
704
+ "input": "src/targeting.ts",
705
+ "bytes": 24677
706
+ },
707
+ {
708
+ "input": "../event-schema/src/targeting-core.ts",
709
+ "bytes": 10530
710
+ },
711
+ {
712
+ "input": "src/runtime-tools.ts",
713
+ "bytes": 8906
714
+ },
715
+ {
716
+ "input": "src/signals.ts",
717
+ "bytes": 4673
718
+ },
719
+ {
720
+ "input": "src/flags.ts",
721
+ "bytes": 3554
722
+ },
723
+ {
724
+ "input": "src/define.ts",
725
+ "bytes": 3242
726
+ },
727
+ {
728
+ "input": "src/hash.ts",
729
+ "bytes": 2894
730
+ },
731
+ {
732
+ "input": "../shared-runtime/src/weekday-schedule.ts",
733
+ "bytes": 2138
734
+ },
735
+ {
736
+ "input": "../shared-runtime/src/bucketing.ts",
737
+ "bytes": 1809
738
+ },
739
+ {
740
+ "input": "src/data-layer-normalize.ts",
741
+ "bytes": 611
742
+ },
743
+ {
744
+ "input": "src/weekday-schedule.ts",
745
+ "bytes": 126
746
+ },
747
+ {
748
+ "input": "src/edge-runtime.ts",
749
+ "bytes": 78
750
+ }
751
+ ]
752
+ },
753
+ "flags.mjs": {
754
+ "rawBytes": 63408,
755
+ "gzipBytes": 15662,
756
+ "rawDeltaFromFull": -378813,
757
+ "gzipDeltaFromFull": -116533,
758
+ "topContributors": [
759
+ {
760
+ "input": "src/targeting.ts",
761
+ "bytes": 24677
762
+ },
763
+ {
764
+ "input": "../event-schema/src/targeting-core.ts",
765
+ "bytes": 10530
766
+ },
767
+ {
768
+ "input": "src/runtime-tools.ts",
769
+ "bytes": 8906
770
+ },
771
+ {
772
+ "input": "src/signals.ts",
773
+ "bytes": 4673
774
+ },
775
+ {
776
+ "input": "src/flags.ts",
777
+ "bytes": 3265
778
+ },
779
+ {
780
+ "input": "src/define.ts",
781
+ "bytes": 3242
782
+ },
783
+ {
784
+ "input": "src/hash.ts",
785
+ "bytes": 2894
786
+ },
787
+ {
788
+ "input": "../shared-runtime/src/weekday-schedule.ts",
789
+ "bytes": 2138
790
+ },
791
+ {
792
+ "input": "../shared-runtime/src/bucketing.ts",
793
+ "bytes": 1809
794
+ },
795
+ {
796
+ "input": "src/data-layer-normalize.ts",
797
+ "bytes": 611
798
+ },
799
+ {
800
+ "input": "src/weekday-schedule.ts",
801
+ "bytes": 126
802
+ },
803
+ {
804
+ "input": "src/edge-runtime.ts",
805
+ "bytes": 78
806
+ }
807
+ ]
808
+ },
451
809
  "index.mjs": {
452
- "rawBytes": 28188,
453
- "gzipBytes": 6017,
454
- "rawDeltaFromFull": -298988,
455
- "gzipDeltaFromFull": -89363,
810
+ "rawBytes": 28478,
811
+ "gzipBytes": 6112,
812
+ "rawDeltaFromFull": -413743,
813
+ "gzipDeltaFromFull": -126083,
456
814
  "topContributors": [
457
815
  {
458
816
  "input": "src/commerce-gift.ts",
@@ -460,7 +818,7 @@
460
818
  },
461
819
  {
462
820
  "input": "src/shopify-cart.ts",
463
- "bytes": 677
821
+ "bytes": 967
464
822
  },
465
823
  {
466
824
  "input": "src/module.ts",
@@ -473,26 +831,34 @@
473
831
  ]
474
832
  },
475
833
  "react/index.js": {
476
- "rawBytes": 655387,
477
- "gzipBytes": 142622,
478
- "rawDeltaFromFull": 328211,
479
- "gzipDeltaFromFull": 47242,
834
+ "rawBytes": 774994,
835
+ "gzipBytes": 167555,
836
+ "rawDeltaFromFull": 332773,
837
+ "gzipDeltaFromFull": 35360,
480
838
  "topContributors": [
481
839
  {
482
- "input": "src/index.ts",
483
- "bytes": 232383
840
+ "input": "src/assignment-runtime.ts",
841
+ "bytes": 83939
484
842
  },
485
843
  {
486
- "input": "src/qa-assistant-view.ts",
487
- "bytes": 37594
844
+ "input": "src/activation-runtime.ts",
845
+ "bytes": 80197
846
+ },
847
+ {
848
+ "input": "src/analytics-runtime.ts",
849
+ "bytes": 63439
850
+ },
851
+ {
852
+ "input": "src/config-runtime.ts",
853
+ "bytes": 49051
488
854
  },
489
855
  {
490
856
  "input": "src/shopify-cart.ts",
491
- "bytes": 37546
857
+ "bytes": 47356
492
858
  },
493
859
  {
494
- "input": "src/targeting.ts",
495
- "bytes": 29947
860
+ "input": "src/public-api.ts",
861
+ "bytes": 45602
496
862
  },
497
863
  {
498
864
  "input": "src/commerce-gift.ts",
@@ -500,63 +866,55 @@
500
866
  },
501
867
  {
502
868
  "input": "src/commerce-price.ts",
503
- "bytes": 25298
869
+ "bytes": 26648
504
870
  },
505
871
  {
506
- "input": "src/qa-assistant-state.ts",
507
- "bytes": 16845
872
+ "input": "src/targeting.ts",
873
+ "bytes": 26051
508
874
  },
509
875
  {
510
- "input": "src/targeting-diagnostics.ts",
511
- "bytes": 15638
876
+ "input": "src/mutate.ts",
877
+ "bytes": 23293
512
878
  },
513
879
  {
514
880
  "input": "src/track.ts",
515
- "bytes": 15443
881
+ "bytes": 18530
516
882
  },
517
883
  {
518
- "input": "src/devtools.ts",
519
- "bytes": 15102
884
+ "input": "src/redirect.ts",
885
+ "bytes": 15882
520
886
  },
521
887
  {
522
- "input": "src/qa-toolbar.ts",
523
- "bytes": 12446
888
+ "input": "src/replay.ts",
889
+ "bytes": 12823
524
890
  },
525
891
  {
526
892
  "input": "src/commerce-shipping.ts",
527
- "bytes": 11978
528
- },
529
- {
530
- "input": "src/heatmap.ts",
531
- "bytes": 11854
532
- },
533
- {
534
- "input": "src/mutate.ts",
535
- "bytes": 10604
893
+ "bytes": 11777
536
894
  },
537
895
  {
538
- "input": "src/audit.ts",
539
- "bytes": 10544
896
+ "input": "src/handover.ts",
897
+ "bytes": 10783
540
898
  },
541
899
  {
542
- "input": "src/runtime-tools.ts",
543
- "bytes": 9067
900
+ "input": "../event-schema/src/targeting-core.ts",
901
+ "bytes": 10697
544
902
  },
545
903
  {
546
- "input": "src/handover.ts",
547
- "bytes": 8727
904
+ "input": "src/runtime.ts",
905
+ "bytes": 10015
548
906
  },
549
907
  {
550
- "input": "src/runtime.ts",
551
- "bytes": 7786
908
+ "input": "src/reassert-sentinel.ts",
909
+ "bytes": 9821
552
910
  },
553
911
  {
554
- "input": "src/semantic.ts",
555
- "bytes": 7406
912
+ "input": "src/runtime-tools.ts",
913
+ "bytes": 9073
556
914
  },
557
915
  {
558
- "input": "src/signals.ts",
559
- "bytes": 5992
916
+ "input": "src/wait.ts",
917
+ "bytes": 8565
560
918
  }
561
919
  ]
562
920
  }