@drip-apex/sdk 0.1.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 (227) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +46 -0
  3. package/dist/_headers +3 -0
  4. package/dist/bundle-report.json +564 -0
  5. package/dist/drip.debug.js +2 -0
  6. package/dist/drip.debug.js.map +1 -0
  7. package/dist/drip.heatmap.js +2 -0
  8. package/dist/drip.heatmap.js.map +1 -0
  9. package/dist/drip.js +2 -0
  10. package/dist/drip.js.map +1 -0
  11. package/dist/drip.live.js +2 -0
  12. package/dist/drip.live.js.map +1 -0
  13. package/dist/editor.js +480 -0
  14. package/dist/editor.js.map +7 -0
  15. package/dist/index.mjs +645 -0
  16. package/dist/index.mjs.map +7 -0
  17. package/dist/metafiles/drip.debug.meta.json +973 -0
  18. package/dist/metafiles/drip.heatmap.meta.json +918 -0
  19. package/dist/metafiles/drip.live.meta.json +918 -0
  20. package/dist/metafiles/drip.meta.json +973 -0
  21. package/dist/metafiles/editor.meta.json +321 -0
  22. package/dist/metafiles/index.meta.json +1039 -0
  23. package/dist/metafiles/index.mjs.meta.json +78 -0
  24. package/dist/react/index.js +16973 -0
  25. package/dist/react/index.js.map +7 -0
  26. package/dist/sri.json +27 -0
  27. package/dist/types/analytics.d.ts +15 -0
  28. package/dist/types/antiflicker.d.ts +14 -0
  29. package/dist/types/assignment-store.d.ts +30 -0
  30. package/dist/types/audit.d.ts +9 -0
  31. package/dist/types/bucket.d.ts +2 -0
  32. package/dist/types/bucketing-cleanup.d.ts +5 -0
  33. package/dist/types/commerce-gift.d.ts +41 -0
  34. package/dist/types/commerce-price.d.ts +22 -0
  35. package/dist/types/commerce-shipping.d.ts +28 -0
  36. package/dist/types/css.d.ts +5 -0
  37. package/dist/types/cwv.d.ts +10 -0
  38. package/dist/types/data-layer-normalize.d.ts +1 -0
  39. package/dist/types/debug.d.ts +23 -0
  40. package/dist/types/define.d.ts +87 -0
  41. package/dist/types/devtools.d.ts +32 -0
  42. package/dist/types/dom-trigger.d.ts +3 -0
  43. package/dist/types/editor/api.d.ts +37 -0
  44. package/dist/types/editor/artifacts.d.ts +15 -0
  45. package/dist/types/editor/command-runtime.d.ts +48 -0
  46. package/dist/types/editor/controller.d.ts +97 -0
  47. package/dist/types/editor/device-preview.d.ts +23 -0
  48. package/dist/types/editor/index.d.ts +9 -0
  49. package/dist/types/editor/operator.d.ts +39 -0
  50. package/dist/types/editor/picker.d.ts +23 -0
  51. package/dist/types/editor/selector.d.ts +2 -0
  52. package/dist/types/editor/types.d.ts +55 -0
  53. package/dist/types/editor/view-kit.d.ts +33 -0
  54. package/dist/types/editor/view.d.ts +5 -0
  55. package/dist/types/editor-bootstrap.d.ts +37 -0
  56. package/dist/types/exclusion-groups.d.ts +59 -0
  57. package/dist/types/exposure-signals.d.ts +7 -0
  58. package/dist/types/flags.d.ts +65 -0
  59. package/dist/types/goals.d.ts +16 -0
  60. package/dist/types/guards.d.ts +39 -0
  61. package/dist/types/handover.d.ts +10 -0
  62. package/dist/types/hash.d.ts +19 -0
  63. package/dist/types/heatmap.d.ts +8 -0
  64. package/dist/types/hideflicker.d.ts +15 -0
  65. package/dist/types/hydration.d.ts +11 -0
  66. package/dist/types/index.d.ts +144 -0
  67. package/dist/types/js.d.ts +6 -0
  68. package/dist/types/module.d.ts +4 -0
  69. package/dist/types/money.d.ts +14 -0
  70. package/dist/types/mutate.d.ts +34 -0
  71. package/dist/types/observer-mute.d.ts +3 -0
  72. package/dist/types/pii-keys.d.ts +1 -0
  73. package/dist/types/prerequisites.d.ts +12 -0
  74. package/dist/types/qa-assistant-state.d.ts +68 -0
  75. package/dist/types/qa-assistant-view.d.ts +6 -0
  76. package/dist/types/qa-assistant.d.ts +9 -0
  77. package/dist/types/qa-toolbar.d.ts +19 -0
  78. package/dist/types/react/index.d.ts +84 -0
  79. package/dist/types/reassert-sentinel.d.ts +6 -0
  80. package/dist/types/router.d.ts +9 -0
  81. package/dist/types/runtime-tools.d.ts +50 -0
  82. package/dist/types/runtime.d.ts +22 -0
  83. package/dist/types/safe-regex.d.ts +6 -0
  84. package/dist/types/sanitize.d.ts +5 -0
  85. package/dist/types/semantic.d.ts +7 -0
  86. package/dist/types/shopify-cart-events.d.ts +7 -0
  87. package/dist/types/shopify-cart.d.ts +62 -0
  88. package/dist/types/signals.d.ts +31 -0
  89. package/dist/types/surface-signals.d.ts +6 -0
  90. package/dist/types/targeting-diagnostics.d.ts +5 -0
  91. package/dist/types/targeting.d.ts +50 -0
  92. package/dist/types/test-fixtures/commerce.d.ts +12 -0
  93. package/dist/types/track.d.ts +79 -0
  94. package/dist/types/types.d.ts +859 -0
  95. package/dist/types/wait.d.ts +7 -0
  96. package/package.json +74 -0
  97. package/src/analytics.ts +146 -0
  98. package/src/antiflicker.test.ts +127 -0
  99. package/src/antiflicker.ts +147 -0
  100. package/src/assignment-store.test.ts +171 -0
  101. package/src/assignment-store.ts +208 -0
  102. package/src/audit.test.ts +17 -0
  103. package/src/audit.ts +362 -0
  104. package/src/bucket.test.ts +65 -0
  105. package/src/bucket.ts +18 -0
  106. package/src/bucketing-cleanup.test.ts +30 -0
  107. package/src/bucketing-cleanup.ts +72 -0
  108. package/src/bucketing-parity.test.ts +41 -0
  109. package/src/commerce-analytics-lifecycle.test.ts +1416 -0
  110. package/src/commerce-config-lifecycle.test.ts +274 -0
  111. package/src/commerce-epoch-lifecycle.test.ts +62 -0
  112. package/src/commerce-gift.test.ts +1293 -0
  113. package/src/commerce-gift.ts +979 -0
  114. package/src/commerce-offers-display.test.ts +154 -0
  115. package/src/commerce-price.test.ts +1145 -0
  116. package/src/commerce-price.ts +941 -0
  117. package/src/commerce-revocation-lifecycle.test.ts +78 -0
  118. package/src/commerce-shipping.test.ts +630 -0
  119. package/src/commerce-shipping.ts +447 -0
  120. package/src/config-fetch.test.ts +325 -0
  121. package/src/css.ts +54 -0
  122. package/src/cwv.test.ts +95 -0
  123. package/src/cwv.ts +129 -0
  124. package/src/data-layer-normalize.ts +21 -0
  125. package/src/debug.test.ts +83 -0
  126. package/src/debug.ts +138 -0
  127. package/src/define.test.ts +327 -0
  128. package/src/define.ts +208 -0
  129. package/src/devtools.ts +582 -0
  130. package/src/dom-trigger.test.ts +70 -0
  131. package/src/dom-trigger.ts +55 -0
  132. package/src/editor/api.test.ts +154 -0
  133. package/src/editor/api.ts +185 -0
  134. package/src/editor/artifacts.test.ts +57 -0
  135. package/src/editor/artifacts.ts +115 -0
  136. package/src/editor/command-runtime.test.ts +225 -0
  137. package/src/editor/command-runtime.ts +572 -0
  138. package/src/editor/controller.test.ts +371 -0
  139. package/src/editor/controller.ts +596 -0
  140. package/src/editor/device-preview.test.ts +60 -0
  141. package/src/editor/device-preview.ts +120 -0
  142. package/src/editor/index.test.ts +161 -0
  143. package/src/editor/index.ts +169 -0
  144. package/src/editor/operator.test.ts +148 -0
  145. package/src/editor/operator.ts +256 -0
  146. package/src/editor/picker.test.ts +58 -0
  147. package/src/editor/picker.ts +152 -0
  148. package/src/editor/selector.test.ts +44 -0
  149. package/src/editor/selector.ts +110 -0
  150. package/src/editor/types.ts +92 -0
  151. package/src/editor/view-kit.ts +162 -0
  152. package/src/editor/view.test.ts +535 -0
  153. package/src/editor/view.ts +1395 -0
  154. package/src/editor-bootstrap.test.ts +116 -0
  155. package/src/editor-bootstrap.ts +213 -0
  156. package/src/event-schema-contract.test.ts +35 -0
  157. package/src/exclusion-groups.test.ts +383 -0
  158. package/src/exclusion-groups.ts +270 -0
  159. package/src/exposure-signals.test.ts +182 -0
  160. package/src/exposure-signals.ts +110 -0
  161. package/src/flags.test.ts +322 -0
  162. package/src/flags.ts +201 -0
  163. package/src/goals.test.ts +42 -0
  164. package/src/goals.ts +200 -0
  165. package/src/guards.test.ts +249 -0
  166. package/src/guards.ts +250 -0
  167. package/src/handover-cache-order.test.ts +32 -0
  168. package/src/handover.test.ts +349 -0
  169. package/src/handover.ts +309 -0
  170. package/src/hash.ts +214 -0
  171. package/src/heatmap.test.ts +305 -0
  172. package/src/heatmap.ts +373 -0
  173. package/src/hideflicker.ts +21 -0
  174. package/src/hydration.test.ts +252 -0
  175. package/src/hydration.ts +203 -0
  176. package/src/index.ts +7513 -0
  177. package/src/init-empty.test.ts +5572 -0
  178. package/src/js.test.ts +26 -0
  179. package/src/js.ts +61 -0
  180. package/src/module.ts +50 -0
  181. package/src/money.test.ts +35 -0
  182. package/src/money.ts +53 -0
  183. package/src/mutate.test.ts +304 -0
  184. package/src/mutate.ts +469 -0
  185. package/src/observer-mute.test.ts +88 -0
  186. package/src/observer-mute.ts +45 -0
  187. package/src/page-trigger.test.ts +84 -0
  188. package/src/personalization.test.ts +68 -0
  189. package/src/pii-keys.ts +17 -0
  190. package/src/prerequisites.test.ts +39 -0
  191. package/src/prerequisites.ts +94 -0
  192. package/src/qa-assistant-state.test.ts +471 -0
  193. package/src/qa-assistant-state.ts +505 -0
  194. package/src/qa-assistant-view.test.ts +185 -0
  195. package/src/qa-assistant-view.ts +768 -0
  196. package/src/qa-assistant.ts +40 -0
  197. package/src/qa-toolbar.ts +444 -0
  198. package/src/react/index.test.tsx +177 -0
  199. package/src/react/index.tsx +252 -0
  200. package/src/reassert-sentinel.test.ts +314 -0
  201. package/src/reassert-sentinel.ts +191 -0
  202. package/src/router.test.ts +78 -0
  203. package/src/router.ts +92 -0
  204. package/src/runtime-tools.test.ts +112 -0
  205. package/src/runtime-tools.ts +403 -0
  206. package/src/runtime.test.ts +217 -0
  207. package/src/runtime.ts +268 -0
  208. package/src/safe-regex.ts +35 -0
  209. package/src/sanitize.ts +34 -0
  210. package/src/semantic.ts +245 -0
  211. package/src/shopify-cart-events.test.ts +76 -0
  212. package/src/shopify-cart-events.ts +115 -0
  213. package/src/shopify-cart.test.ts +2823 -0
  214. package/src/shopify-cart.ts +1256 -0
  215. package/src/signals.ts +226 -0
  216. package/src/surface-signals.test.ts +83 -0
  217. package/src/surface-signals.ts +165 -0
  218. package/src/targeting-diagnostics.ts +560 -0
  219. package/src/targeting.detailed.test.ts +443 -0
  220. package/src/targeting.test.ts +1054 -0
  221. package/src/targeting.ts +1024 -0
  222. package/src/test-fixtures/commerce.ts +65 -0
  223. package/src/track.test.ts +817 -0
  224. package/src/track.ts +519 -0
  225. package/src/types.ts +991 -0
  226. package/src/wait.test.ts +96 -0
  227. package/src/wait.ts +238 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Drip Trading GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # Apex SDK
2
+
3
+ Browser runtime for Apex experiments, feature flags, DOM mutations, consent-aware tracking, and React bindings.
4
+
5
+ ## Install
6
+
7
+ Use the hosted script for most storefronts:
8
+
9
+ ```html
10
+ <script async src="https://sdk.drip-apex.com/drip.js"></script>
11
+ <script>
12
+ window.Drip.init({
13
+ shopId: "demo-shop",
14
+ endpoint: "https://events.drip-apex.com"
15
+ });
16
+ </script>
17
+ ```
18
+
19
+ Use npm for typed app integrations:
20
+
21
+ ```bash
22
+ npm install @drip-apex/sdk
23
+ ```
24
+
25
+ ```ts
26
+ import { init, trackGoal } from "@drip-apex/sdk";
27
+
28
+ init({
29
+ shopId: "demo-shop",
30
+ endpoint: "https://events.drip-apex.com"
31
+ });
32
+
33
+ trackGoal("add-to-cart-click");
34
+ ```
35
+
36
+ ### Strict CSP storefronts
37
+
38
+ For `script-src 'strict-dynamic'` sites, prefer the self-initializing shop-specific bundle and render its script tag with the page's per-request `nonce`; a host allowlist does not authorize it. If you must use the generic hosted `drip.js` flow above, put the same per-request nonce on every script block, including the inline queue bootstrap and `Drip.init` call: `strict-dynamic` does not authorize inline siblings merely because the external loader is nonced. Add `https://events.drip-apex.com` to `connect-src` so event POSTs are not blocked. npm imports are compiled into the already-authorized application bundle and do not need a separate Apex loader nonce. An already-nonced Google Tag Manager container can load Apex as an alternative, with later execution and therefore weaker first-paint anti-flicker coverage. See the SDK quickstart for the self-initializing example and fully nonced generic fallback.
39
+
40
+ ## Docs
41
+
42
+ - SDK quickstart: https://app.drip-apex.com/docs/sdk/install-quickstart
43
+ - InitConfig reference: https://app.drip-apex.com/docs/sdk/init-config
44
+ - Runtime API: https://app.drip-apex.com/docs/sdk/runtime-api
45
+ - React bindings: https://app.drip-apex.com/docs/sdk/react-bindings
46
+ - CLI GitOps push: https://app.drip-apex.com/docs/cli/push-gitops
package/dist/_headers ADDED
@@ -0,0 +1,3 @@
1
+ /*
2
+ Strict-Transport-Security: max-age=63072000
3
+ X-Content-Type-Options: nosniff
@@ -0,0 +1,564 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "budget": {
4
+ "baseline": {
5
+ "rawBytes": 228182,
6
+ "gzipBytes": 69215
7
+ },
8
+ "regressionLimit": {
9
+ "rawBytes": 240182,
10
+ "gzipBytes": 71815
11
+ },
12
+ "target": {
13
+ "rawBytes": 140000,
14
+ "gzipBytes": 40000
15
+ },
16
+ "liveDeltaFromBaseline": {
17
+ "rawBytes": 10138,
18
+ "gzipBytes": 404
19
+ },
20
+ "targetMet": false
21
+ },
22
+ "variants": {
23
+ "drip.debug.js": {
24
+ "rawBytes": 327182,
25
+ "gzipBytes": 95383,
26
+ "rawDeltaFromFull": 6,
27
+ "gzipDeltaFromFull": 3,
28
+ "topContributors": [
29
+ {
30
+ "input": "src/index.ts",
31
+ "bytes": 111031
32
+ },
33
+ {
34
+ "input": "src/qa-assistant-view.ts",
35
+ "bytes": 31222
36
+ },
37
+ {
38
+ "input": "src/shopify-cart.ts",
39
+ "bytes": 16010
40
+ },
41
+ {
42
+ "input": "src/targeting.ts",
43
+ "bytes": 15279
44
+ },
45
+ {
46
+ "input": "src/commerce-gift.ts",
47
+ "bytes": 11711
48
+ },
49
+ {
50
+ "input": "src/devtools.ts",
51
+ "bytes": 11695
52
+ },
53
+ {
54
+ "input": "src/commerce-price.ts",
55
+ "bytes": 9847
56
+ },
57
+ {
58
+ "input": "src/qa-toolbar.ts",
59
+ "bytes": 8631
60
+ },
61
+ {
62
+ "input": "src/track.ts",
63
+ "bytes": 8537
64
+ },
65
+ {
66
+ "input": "src/qa-assistant-state.ts",
67
+ "bytes": 8157
68
+ },
69
+ {
70
+ "input": "src/targeting-diagnostics.ts",
71
+ "bytes": 6769
72
+ },
73
+ {
74
+ "input": "src/audit.ts",
75
+ "bytes": 6277
76
+ },
77
+ {
78
+ "input": "src/commerce-shipping.ts",
79
+ "bytes": 5816
80
+ },
81
+ {
82
+ "input": "src/heatmap.ts",
83
+ "bytes": 5543
84
+ },
85
+ {
86
+ "input": "src/mutate.ts",
87
+ "bytes": 4783
88
+ },
89
+ {
90
+ "input": "src/runtime.ts",
91
+ "bytes": 4298
92
+ },
93
+ {
94
+ "input": "src/semantic.ts",
95
+ "bytes": 4040
96
+ },
97
+ {
98
+ "input": "src/handover.ts",
99
+ "bytes": 4037
100
+ },
101
+ {
102
+ "input": "src/runtime-tools.ts",
103
+ "bytes": 3699
104
+ },
105
+ {
106
+ "input": "src/guards.ts",
107
+ "bytes": 3319
108
+ }
109
+ ]
110
+ },
111
+ "drip.heatmap.js": {
112
+ "rawBytes": 243757,
113
+ "gzipBytes": 71115,
114
+ "rawDeltaFromFull": -83419,
115
+ "gzipDeltaFromFull": -24265,
116
+ "topContributors": [
117
+ {
118
+ "input": "src/index.ts",
119
+ "bytes": 103870
120
+ },
121
+ {
122
+ "input": "src/shopify-cart.ts",
123
+ "bytes": 15965
124
+ },
125
+ {
126
+ "input": "src/targeting.ts",
127
+ "bytes": 15241
128
+ },
129
+ {
130
+ "input": "src/commerce-gift.ts",
131
+ "bytes": 11621
132
+ },
133
+ {
134
+ "input": "src/commerce-price.ts",
135
+ "bytes": 9745
136
+ },
137
+ {
138
+ "input": "src/track.ts",
139
+ "bytes": 8498
140
+ },
141
+ {
142
+ "input": "src/commerce-shipping.ts",
143
+ "bytes": 5755
144
+ },
145
+ {
146
+ "input": "src/heatmap.ts",
147
+ "bytes": 5544
148
+ },
149
+ {
150
+ "input": "src/mutate.ts",
151
+ "bytes": 4726
152
+ },
153
+ {
154
+ "input": "src/runtime.ts",
155
+ "bytes": 4270
156
+ },
157
+ {
158
+ "input": "src/semantic.ts",
159
+ "bytes": 4041
160
+ },
161
+ {
162
+ "input": "src/handover.ts",
163
+ "bytes": 4008
164
+ },
165
+ {
166
+ "input": "src/runtime-tools.ts",
167
+ "bytes": 3665
168
+ },
169
+ {
170
+ "input": "src/guards.ts",
171
+ "bytes": 3284
172
+ },
173
+ {
174
+ "input": "src/hash.ts",
175
+ "bytes": 2854
176
+ },
177
+ {
178
+ "input": "src/signals.ts",
179
+ "bytes": 2844
180
+ },
181
+ {
182
+ "input": "src/reassert-sentinel.ts",
183
+ "bytes": 2755
184
+ },
185
+ {
186
+ "input": "src/surface-signals.ts",
187
+ "bytes": 2608
188
+ },
189
+ {
190
+ "input": "src/editor-bootstrap.ts",
191
+ "bytes": 2569
192
+ },
193
+ {
194
+ "input": "src/hydration.ts",
195
+ "bytes": 2529
196
+ }
197
+ ]
198
+ },
199
+ "drip.js": {
200
+ "rawBytes": 327176,
201
+ "gzipBytes": 95380,
202
+ "rawDeltaFromFull": 0,
203
+ "gzipDeltaFromFull": 0,
204
+ "topContributors": [
205
+ {
206
+ "input": "src/index.ts",
207
+ "bytes": 111031
208
+ },
209
+ {
210
+ "input": "src/qa-assistant-view.ts",
211
+ "bytes": 31222
212
+ },
213
+ {
214
+ "input": "src/shopify-cart.ts",
215
+ "bytes": 16010
216
+ },
217
+ {
218
+ "input": "src/targeting.ts",
219
+ "bytes": 15279
220
+ },
221
+ {
222
+ "input": "src/commerce-gift.ts",
223
+ "bytes": 11711
224
+ },
225
+ {
226
+ "input": "src/devtools.ts",
227
+ "bytes": 11695
228
+ },
229
+ {
230
+ "input": "src/commerce-price.ts",
231
+ "bytes": 9847
232
+ },
233
+ {
234
+ "input": "src/qa-toolbar.ts",
235
+ "bytes": 8631
236
+ },
237
+ {
238
+ "input": "src/track.ts",
239
+ "bytes": 8537
240
+ },
241
+ {
242
+ "input": "src/qa-assistant-state.ts",
243
+ "bytes": 8157
244
+ },
245
+ {
246
+ "input": "src/targeting-diagnostics.ts",
247
+ "bytes": 6769
248
+ },
249
+ {
250
+ "input": "src/audit.ts",
251
+ "bytes": 6277
252
+ },
253
+ {
254
+ "input": "src/commerce-shipping.ts",
255
+ "bytes": 5816
256
+ },
257
+ {
258
+ "input": "src/heatmap.ts",
259
+ "bytes": 5543
260
+ },
261
+ {
262
+ "input": "src/mutate.ts",
263
+ "bytes": 4783
264
+ },
265
+ {
266
+ "input": "src/runtime.ts",
267
+ "bytes": 4298
268
+ },
269
+ {
270
+ "input": "src/semantic.ts",
271
+ "bytes": 4040
272
+ },
273
+ {
274
+ "input": "src/handover.ts",
275
+ "bytes": 4037
276
+ },
277
+ {
278
+ "input": "src/runtime-tools.ts",
279
+ "bytes": 3699
280
+ },
281
+ {
282
+ "input": "src/guards.ts",
283
+ "bytes": 3319
284
+ }
285
+ ]
286
+ },
287
+ "drip.live.js": {
288
+ "rawBytes": 238320,
289
+ "gzipBytes": 69619,
290
+ "rawDeltaFromFull": -88856,
291
+ "gzipDeltaFromFull": -25761,
292
+ "topContributors": [
293
+ {
294
+ "input": "src/index.ts",
295
+ "bytes": 103870
296
+ },
297
+ {
298
+ "input": "src/shopify-cart.ts",
299
+ "bytes": 15965
300
+ },
301
+ {
302
+ "input": "src/targeting.ts",
303
+ "bytes": 15241
304
+ },
305
+ {
306
+ "input": "src/commerce-gift.ts",
307
+ "bytes": 11621
308
+ },
309
+ {
310
+ "input": "src/commerce-price.ts",
311
+ "bytes": 9745
312
+ },
313
+ {
314
+ "input": "src/track.ts",
315
+ "bytes": 8498
316
+ },
317
+ {
318
+ "input": "src/commerce-shipping.ts",
319
+ "bytes": 5755
320
+ },
321
+ {
322
+ "input": "src/mutate.ts",
323
+ "bytes": 4726
324
+ },
325
+ {
326
+ "input": "src/runtime.ts",
327
+ "bytes": 4270
328
+ },
329
+ {
330
+ "input": "src/semantic.ts",
331
+ "bytes": 4041
332
+ },
333
+ {
334
+ "input": "src/handover.ts",
335
+ "bytes": 4008
336
+ },
337
+ {
338
+ "input": "src/runtime-tools.ts",
339
+ "bytes": 3665
340
+ },
341
+ {
342
+ "input": "src/guards.ts",
343
+ "bytes": 3284
344
+ },
345
+ {
346
+ "input": "src/hash.ts",
347
+ "bytes": 2854
348
+ },
349
+ {
350
+ "input": "src/signals.ts",
351
+ "bytes": 2844
352
+ },
353
+ {
354
+ "input": "src/reassert-sentinel.ts",
355
+ "bytes": 2755
356
+ },
357
+ {
358
+ "input": "src/surface-signals.ts",
359
+ "bytes": 2608
360
+ },
361
+ {
362
+ "input": "src/editor-bootstrap.ts",
363
+ "bytes": 2569
364
+ },
365
+ {
366
+ "input": "src/hydration.ts",
367
+ "bytes": 2529
368
+ },
369
+ {
370
+ "input": "src/wait.ts",
371
+ "bytes": 2297
372
+ }
373
+ ]
374
+ },
375
+ "editor.js": {
376
+ "rawBytes": 106433,
377
+ "gzipBytes": 31127,
378
+ "rawDeltaFromFull": -220743,
379
+ "gzipDeltaFromFull": -64253,
380
+ "topContributors": [
381
+ {
382
+ "input": "src/editor/view.ts",
383
+ "bytes": 48641
384
+ },
385
+ {
386
+ "input": "src/editor/command-runtime.ts",
387
+ "bytes": 12229
388
+ },
389
+ {
390
+ "input": "src/editor/view-kit.ts",
391
+ "bytes": 11395
392
+ },
393
+ {
394
+ "input": "src/editor/controller.ts",
395
+ "bytes": 10199
396
+ },
397
+ {
398
+ "input": "src/mutate.ts",
399
+ "bytes": 4397
400
+ },
401
+ {
402
+ "input": "src/editor/operator.ts",
403
+ "bytes": 3565
404
+ },
405
+ {
406
+ "input": "src/editor/api.ts",
407
+ "bytes": 3265
408
+ },
409
+ {
410
+ "input": "src/editor/picker.ts",
411
+ "bytes": 3163
412
+ },
413
+ {
414
+ "input": "src/editor/index.ts",
415
+ "bytes": 2439
416
+ },
417
+ {
418
+ "input": "src/editor/device-preview.ts",
419
+ "bytes": 2133
420
+ },
421
+ {
422
+ "input": "src/editor/selector.ts",
423
+ "bytes": 1903
424
+ },
425
+ {
426
+ "input": "src/editor/artifacts.ts",
427
+ "bytes": 1504
428
+ },
429
+ {
430
+ "input": "src/sanitize.ts",
431
+ "bytes": 503
432
+ },
433
+ {
434
+ "input": "src/editor/types.ts",
435
+ "bytes": 282
436
+ },
437
+ {
438
+ "input": "src/observer-mute.ts",
439
+ "bytes": 213
440
+ },
441
+ {
442
+ "input": "src/js.ts",
443
+ "bytes": 51
444
+ },
445
+ {
446
+ "input": "src/editor-bootstrap.ts",
447
+ "bytes": 36
448
+ }
449
+ ]
450
+ },
451
+ "index.mjs": {
452
+ "rawBytes": 28188,
453
+ "gzipBytes": 6017,
454
+ "rawDeltaFromFull": -298988,
455
+ "gzipDeltaFromFull": -89363,
456
+ "topContributors": [
457
+ {
458
+ "input": "src/commerce-gift.ts",
459
+ "bytes": 26423
460
+ },
461
+ {
462
+ "input": "src/shopify-cart.ts",
463
+ "bytes": 677
464
+ },
465
+ {
466
+ "input": "src/module.ts",
467
+ "bytes": 528
468
+ },
469
+ {
470
+ "input": "src/shopify-cart-events.ts",
471
+ "bytes": 325
472
+ }
473
+ ]
474
+ },
475
+ "react/index.js": {
476
+ "rawBytes": 655387,
477
+ "gzipBytes": 142622,
478
+ "rawDeltaFromFull": 328211,
479
+ "gzipDeltaFromFull": 47242,
480
+ "topContributors": [
481
+ {
482
+ "input": "src/index.ts",
483
+ "bytes": 232383
484
+ },
485
+ {
486
+ "input": "src/qa-assistant-view.ts",
487
+ "bytes": 37594
488
+ },
489
+ {
490
+ "input": "src/shopify-cart.ts",
491
+ "bytes": 37546
492
+ },
493
+ {
494
+ "input": "src/targeting.ts",
495
+ "bytes": 29947
496
+ },
497
+ {
498
+ "input": "src/commerce-gift.ts",
499
+ "bytes": 27607
500
+ },
501
+ {
502
+ "input": "src/commerce-price.ts",
503
+ "bytes": 25298
504
+ },
505
+ {
506
+ "input": "src/qa-assistant-state.ts",
507
+ "bytes": 16845
508
+ },
509
+ {
510
+ "input": "src/targeting-diagnostics.ts",
511
+ "bytes": 15638
512
+ },
513
+ {
514
+ "input": "src/track.ts",
515
+ "bytes": 15443
516
+ },
517
+ {
518
+ "input": "src/devtools.ts",
519
+ "bytes": 15102
520
+ },
521
+ {
522
+ "input": "src/qa-toolbar.ts",
523
+ "bytes": 12446
524
+ },
525
+ {
526
+ "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
536
+ },
537
+ {
538
+ "input": "src/audit.ts",
539
+ "bytes": 10544
540
+ },
541
+ {
542
+ "input": "src/runtime-tools.ts",
543
+ "bytes": 9067
544
+ },
545
+ {
546
+ "input": "src/handover.ts",
547
+ "bytes": 8727
548
+ },
549
+ {
550
+ "input": "src/runtime.ts",
551
+ "bytes": 7786
552
+ },
553
+ {
554
+ "input": "src/semantic.ts",
555
+ "bytes": 7406
556
+ },
557
+ {
558
+ "input": "src/signals.ts",
559
+ "bytes": 5992
560
+ }
561
+ ]
562
+ }
563
+ }
564
+ }