@drip-apex/sdk 0.1.0 → 0.2.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 (245) 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 +19262 -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 +19246 -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 +16621 -13539
  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 +27 -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 +2070 -0
  128. package/src/consent-evaluation-cookiescript.test.ts +50 -0
  129. package/src/consent-evaluation.ts +138 -0
  130. package/src/css.test.ts +30 -0
  131. package/src/css.ts +120 -6
  132. package/src/cwv.test.ts +60 -77
  133. package/src/debug-loader.test.ts +214 -0
  134. package/src/debug-loader.ts +41 -0
  135. package/src/decide-assignments.test.ts +196 -0
  136. package/src/decide-assignments.ts +204 -0
  137. package/src/delivery-timing.test.ts +104 -0
  138. package/src/delivery-timing.ts +89 -0
  139. package/src/early-interaction-capture.test.ts +451 -0
  140. package/src/early-interaction-capture.ts +230 -0
  141. package/src/early-reassert.test.ts +207 -0
  142. package/src/early-reassert.ts +152 -0
  143. package/src/edge-adoption.test.ts +435 -0
  144. package/src/edge-runtime.ts +30 -0
  145. package/src/editor/api.test.ts +109 -0
  146. package/src/editor/api.ts +34 -3
  147. package/src/editor/controller.test.ts +297 -14
  148. package/src/editor/controller.ts +69 -5
  149. package/src/editor/index.test.ts +2 -0
  150. package/src/editor/index.ts +1 -0
  151. package/src/editor/publication-result.ts +58 -0
  152. package/src/editor/types.ts +10 -1
  153. package/src/editor/view-kit.ts +2 -1
  154. package/src/editor/view.test.ts +108 -0
  155. package/src/editor/view.ts +49 -7
  156. package/src/endpoint.test.ts +15 -0
  157. package/src/endpoint.ts +10 -0
  158. package/src/exclusion-groups.ts +8 -18
  159. package/src/flags.test.ts +88 -1
  160. package/src/flags.ts +29 -29
  161. package/src/global-runtime-reconciler.test.ts +271 -0
  162. package/src/goal-eligibility.test.ts +29 -0
  163. package/src/goal-eligibility.ts +17 -0
  164. package/src/goals.test.ts +144 -1
  165. package/src/goals.ts +97 -18
  166. package/src/guards.test.ts +99 -1
  167. package/src/guards.ts +34 -15
  168. package/src/handover-cache-order.test.ts +6 -3
  169. package/src/handover.test.ts +154 -8
  170. package/src/handover.ts +122 -12
  171. package/src/hash.ts +29 -54
  172. package/src/holdout.test.ts +26 -0
  173. package/src/hydration.test.ts +73 -2
  174. package/src/hydration.ts +18 -9
  175. package/src/index.ts +130 -7287
  176. package/src/init-analytics.test.ts +1694 -0
  177. package/src/init-anti-flicker.test.ts +1211 -0
  178. package/src/init-cart-attributes.test.ts +2003 -0
  179. package/src/init-config-resolution.test.ts +999 -0
  180. package/src/init-consent.test.ts +971 -0
  181. package/src/init-empty.test.ts +11 -5406
  182. package/src/init-integrations.test.ts +846 -0
  183. package/src/init-page-activation.test.ts +5064 -0
  184. package/src/init-qa-loading.test.ts +740 -0
  185. package/src/init-redirects.test.ts +2156 -0
  186. package/src/init-test-helpers.ts +287 -0
  187. package/src/inline-bootstrap.test.ts +184 -0
  188. package/src/inline-bootstrap.ts +73 -0
  189. package/src/js.test.ts +51 -1
  190. package/src/js.ts +86 -2
  191. package/src/money.test.ts +55 -1
  192. package/src/money.ts +104 -2
  193. package/src/money.web-parity.contract.test.ts +85 -0
  194. package/src/mutate.test.ts +474 -10
  195. package/src/mutate.ts +739 -230
  196. package/src/page-trigger.test.ts +218 -8
  197. package/src/performance.ts +10 -0
  198. package/src/persistence-decoders.ts +18 -0
  199. package/src/public-api.ts +1828 -0
  200. package/src/qa-assistant-state.test.ts +249 -3
  201. package/src/qa-assistant-state.ts +146 -6
  202. package/src/qa-assistant-view.test.ts +220 -2
  203. package/src/qa-assistant-view.ts +102 -5
  204. package/src/react/index.test.tsx +37 -0
  205. package/src/react/index.tsx +19 -3
  206. package/src/reassert-sentinel.test.ts +155 -1
  207. package/src/reassert-sentinel.ts +168 -8
  208. package/src/redirect.test.ts +541 -0
  209. package/src/redirect.ts +572 -0
  210. package/src/replay-recorder-entry.ts +115 -0
  211. package/src/replay-signal-state.ts +100 -0
  212. package/src/replay-signals.test.ts +249 -0
  213. package/src/replay-signals.ts +151 -0
  214. package/src/replay.test.ts +764 -0
  215. package/src/replay.ts +514 -0
  216. package/src/router.test.ts +61 -2
  217. package/src/router.ts +50 -12
  218. package/src/runtime-state.ts +507 -0
  219. package/src/runtime.test.ts +174 -7
  220. package/src/runtime.ts +88 -14
  221. package/src/sanitize.test.ts +34 -0
  222. package/src/sanitize.ts +23 -12
  223. package/src/shadow.test.ts +187 -0
  224. package/src/shadow.ts +99 -0
  225. package/src/shopify-cart.test.ts +733 -23
  226. package/src/shopify-cart.ts +402 -49
  227. package/src/storefront-vitals.test.ts +217 -0
  228. package/src/storefront-vitals.ts +206 -0
  229. package/src/surface-signals.ts +6 -0
  230. package/src/targeting-conformance.test.ts +9 -0
  231. package/src/targeting-diagnostics.ts +38 -8
  232. package/src/targeting-parity-corpus.json +559 -0
  233. package/src/targeting-parity-corpus.test.ts +18 -0
  234. package/src/targeting.detailed.test.ts +105 -0
  235. package/src/targeting.test.ts +211 -0
  236. package/src/targeting.ts +88 -207
  237. package/src/track.test.ts +147 -0
  238. package/src/track.ts +125 -26
  239. package/src/types.ts +120 -13
  240. package/src/wait.test.ts +23 -0
  241. package/src/wait.ts +129 -13
  242. package/src/weekday-delivery.test.ts +56 -0
  243. package/src/weekday-schedule-parity-corpus.json +92 -0
  244. package/src/weekday-schedule.test.ts +69 -0
  245. package/src/weekday-schedule.ts +20 -0
@@ -0,0 +1,82 @@
1
+ {
2
+ "inputs": {
3
+ "../../node_modules/rrweb/dist/rrweb.js": {
4
+ "bytes": 563855,
5
+ "imports": [],
6
+ "format": "esm"
7
+ },
8
+ "../../node_modules/fflate/esm/browser.js": {
9
+ "bytes": 89198,
10
+ "imports": [],
11
+ "format": "esm"
12
+ },
13
+ "src/replay-signal-state.ts": {
14
+ "bytes": 4094,
15
+ "imports": [],
16
+ "format": "esm"
17
+ },
18
+ "src/replay-signals.ts": {
19
+ "bytes": 6465,
20
+ "imports": [
21
+ {
22
+ "path": "src/replay-signal-state.ts",
23
+ "kind": "import-statement",
24
+ "original": "./replay-signal-state"
25
+ }
26
+ ],
27
+ "format": "esm"
28
+ },
29
+ "src/replay-recorder-entry.ts": {
30
+ "bytes": 3622,
31
+ "imports": [
32
+ {
33
+ "path": "../../node_modules/rrweb/dist/rrweb.js",
34
+ "kind": "import-statement",
35
+ "original": "rrweb"
36
+ },
37
+ {
38
+ "path": "../../node_modules/fflate/esm/browser.js",
39
+ "kind": "import-statement",
40
+ "original": "fflate"
41
+ },
42
+ {
43
+ "path": "src/replay-signals.ts",
44
+ "kind": "import-statement",
45
+ "original": "./replay-signals"
46
+ }
47
+ ],
48
+ "format": "esm"
49
+ }
50
+ },
51
+ "outputs": {
52
+ "dist/drip.replay-recorder.js.map": {
53
+ "imports": [],
54
+ "exports": [],
55
+ "inputs": {},
56
+ "bytes": 1052197
57
+ },
58
+ "dist/drip.replay-recorder.js": {
59
+ "imports": [],
60
+ "exports": [],
61
+ "entryPoint": "src/replay-recorder-entry.ts",
62
+ "inputs": {
63
+ "../../node_modules/rrweb/dist/rrweb.js": {
64
+ "bytesInOutput": 181050
65
+ },
66
+ "../../node_modules/fflate/esm/browser.js": {
67
+ "bytesInOutput": 8105
68
+ },
69
+ "src/replay-signal-state.ts": {
70
+ "bytesInOutput": 1598
71
+ },
72
+ "src/replay-signals.ts": {
73
+ "bytesInOutput": 2679
74
+ },
75
+ "src/replay-recorder-entry.ts": {
76
+ "bytesInOutput": 1710
77
+ }
78
+ },
79
+ "bytes": 196110
80
+ }
81
+ }
82
+ }
@@ -1,10 +1,21 @@
1
1
  {
2
2
  "inputs": {
3
- "src/editor/api.ts": {
4
- "bytes": 6413,
3
+ "src/editor/publication-result.ts": {
4
+ "bytes": 1521,
5
5
  "imports": [],
6
6
  "format": "esm"
7
7
  },
8
+ "src/editor/api.ts": {
9
+ "bytes": 7483,
10
+ "imports": [
11
+ {
12
+ "path": "src/editor/publication-result.ts",
13
+ "kind": "import-statement",
14
+ "original": "./publication-result"
15
+ }
16
+ ],
17
+ "format": "esm"
18
+ },
8
19
  "src/editor/selector.ts": {
9
20
  "bytes": 3816,
10
21
  "imports": [],
@@ -27,7 +38,7 @@
27
38
  "format": "esm"
28
39
  },
29
40
  "src/sanitize.ts": {
30
- "bytes": 1174,
41
+ "bytes": 1591,
31
42
  "imports": [],
32
43
  "format": "esm"
33
44
  },
@@ -36,8 +47,13 @@
36
47
  "imports": [],
37
48
  "format": "esm"
38
49
  },
50
+ "src/shadow.ts": {
51
+ "bytes": 3600,
52
+ "imports": [],
53
+ "format": "esm"
54
+ },
39
55
  "src/reassert-sentinel.ts": {
40
- "bytes": 7442,
56
+ "bytes": 13083,
41
57
  "imports": [
42
58
  {
43
59
  "path": "src/mutate.ts",
@@ -48,17 +64,22 @@
48
64
  "path": "src/observer-mute.ts",
49
65
  "kind": "import-statement",
50
66
  "original": "./observer-mute"
67
+ },
68
+ {
69
+ "path": "src/shadow.ts",
70
+ "kind": "import-statement",
71
+ "original": "./shadow"
51
72
  }
52
73
  ],
53
74
  "format": "esm"
54
75
  },
55
- "src/js.ts": {
56
- "bytes": 1910,
76
+ "src/money.ts": {
77
+ "bytes": 6599,
57
78
  "imports": [],
58
79
  "format": "esm"
59
80
  },
60
81
  "src/mutate.ts": {
61
- "bytes": 14766,
82
+ "bytes": 32067,
62
83
  "imports": [
63
84
  {
64
85
  "path": "./types",
@@ -81,15 +102,25 @@
81
102
  "original": "./reassert-sentinel"
82
103
  },
83
104
  {
84
- "path": "src/js.ts",
105
+ "path": "src/money.ts",
85
106
  "kind": "import-statement",
86
- "original": "./js"
107
+ "original": "./money"
108
+ },
109
+ {
110
+ "path": "src/shadow.ts",
111
+ "kind": "import-statement",
112
+ "original": "./shadow"
113
+ },
114
+ {
115
+ "path": "src/sanitize.ts",
116
+ "kind": "import-statement",
117
+ "original": "./sanitize"
87
118
  }
88
119
  ],
89
120
  "format": "esm"
90
121
  },
91
122
  "src/editor/types.ts": {
92
- "bytes": 2226,
123
+ "bytes": 2327,
93
124
  "imports": [],
94
125
  "format": "esm"
95
126
  },
@@ -105,7 +136,7 @@
105
136
  "format": "esm"
106
137
  },
107
138
  "src/editor/controller.ts": {
108
- "bytes": 19127,
139
+ "bytes": 21866,
109
140
  "imports": [
110
141
  {
111
142
  "path": "src/mutate.ts",
@@ -179,12 +210,12 @@
179
210
  "format": "esm"
180
211
  },
181
212
  "src/editor/view-kit.ts": {
182
- "bytes": 12120,
213
+ "bytes": 12278,
183
214
  "imports": [],
184
215
  "format": "esm"
185
216
  },
186
217
  "src/editor/view.ts": {
187
- "bytes": 70159,
218
+ "bytes": 71803,
188
219
  "imports": [
189
220
  {
190
221
  "path": "src/editor-bootstrap.ts",
@@ -225,7 +256,7 @@
225
256
  "format": "esm"
226
257
  },
227
258
  "src/editor/index.ts": {
228
- "bytes": 5510,
259
+ "bytes": 5569,
229
260
  "imports": [
230
261
  {
231
262
  "path": "src/editor/api.ts",
@@ -256,7 +287,7 @@
256
287
  "imports": [],
257
288
  "exports": [],
258
289
  "inputs": {},
259
- "bytes": 283215
290
+ "bytes": 352160
260
291
  },
261
292
  "dist/editor.js": {
262
293
  "imports": [],
@@ -264,28 +295,37 @@
264
295
  "entryPoint": "src/editor/index.ts",
265
296
  "inputs": {
266
297
  "src/editor/index.ts": {
267
- "bytesInOutput": 2439
298
+ "bytesInOutput": 2486
299
+ },
300
+ "src/editor/publication-result.ts": {
301
+ "bytesInOutput": 600
268
302
  },
269
303
  "src/editor/api.ts": {
270
- "bytesInOutput": 3265
304
+ "bytesInOutput": 3663
271
305
  },
272
306
  "src/editor/selector.ts": {
273
- "bytesInOutput": 1903
307
+ "bytesInOutput": 1910
274
308
  },
275
309
  "src/editor/command-runtime.ts": {
276
310
  "bytesInOutput": 12229
277
311
  },
278
312
  "src/sanitize.ts": {
279
- "bytesInOutput": 503
313
+ "bytesInOutput": 768
280
314
  },
281
315
  "src/observer-mute.ts": {
282
- "bytesInOutput": 213
316
+ "bytesInOutput": 270
317
+ },
318
+ "src/shadow.ts": {
319
+ "bytesInOutput": 1404
320
+ },
321
+ "src/reassert-sentinel.ts": {
322
+ "bytesInOutput": 2865
283
323
  },
284
- "src/js.ts": {
285
- "bytesInOutput": 51
324
+ "src/money.ts": {
325
+ "bytesInOutput": 2066
286
326
  },
287
327
  "src/mutate.ts": {
288
- "bytesInOutput": 4397
328
+ "bytesInOutput": 8748
289
329
  },
290
330
  "src/editor/types.ts": {
291
331
  "bytesInOutput": 282
@@ -294,7 +334,7 @@
294
334
  "bytesInOutput": 1504
295
335
  },
296
336
  "src/editor/controller.ts": {
297
- "bytesInOutput": 10199
337
+ "bytesInOutput": 11675
298
338
  },
299
339
  "src/editor-bootstrap.ts": {
300
340
  "bytesInOutput": 36
@@ -309,13 +349,13 @@
309
349
  "bytesInOutput": 3565
310
350
  },
311
351
  "src/editor/view-kit.ts": {
312
- "bytesInOutput": 11395
352
+ "bytesInOutput": 11553
313
353
  },
314
354
  "src/editor/view.ts": {
315
- "bytesInOutput": 48641
355
+ "bytesInOutput": 49754
316
356
  }
317
357
  },
318
- "bytes": 106433
358
+ "bytes": 121189
319
359
  }
320
360
  }
321
361
  }
@@ -0,0 +1,220 @@
1
+ {
2
+ "inputs": {
3
+ "../shared-runtime/src/bucketing.ts": {
4
+ "bytes": 2701,
5
+ "imports": [],
6
+ "format": "esm"
7
+ },
8
+ "src/bucket.ts": {
9
+ "bytes": 231,
10
+ "imports": [
11
+ {
12
+ "path": "../shared-runtime/src/bucketing.ts",
13
+ "kind": "import-statement",
14
+ "original": "@drip/shared-runtime/bucketing"
15
+ }
16
+ ],
17
+ "format": "esm"
18
+ },
19
+ "src/define.ts": {
20
+ "bytes": 7239,
21
+ "imports": [],
22
+ "format": "esm"
23
+ },
24
+ "src/edge-runtime.ts": {
25
+ "bytes": 1048,
26
+ "imports": [],
27
+ "format": "esm"
28
+ },
29
+ "src/hash.ts": {
30
+ "bytes": 5911,
31
+ "imports": [
32
+ {
33
+ "path": "../shared-runtime/src/bucketing.ts",
34
+ "kind": "import-statement",
35
+ "original": "@drip/shared-runtime/bucketing"
36
+ },
37
+ {
38
+ "path": "src/edge-runtime.ts",
39
+ "kind": "import-statement",
40
+ "original": "./edge-runtime"
41
+ },
42
+ {
43
+ "path": "../shared-runtime/src/bucketing.ts",
44
+ "kind": "import-statement",
45
+ "original": "@drip/shared-runtime/bucketing"
46
+ }
47
+ ],
48
+ "format": "esm"
49
+ },
50
+ "src/data-layer-normalize.ts": {
51
+ "bytes": 770,
52
+ "imports": [],
53
+ "format": "esm"
54
+ },
55
+ "src/runtime-tools.ts": {
56
+ "bytes": 12527,
57
+ "imports": [
58
+ {
59
+ "path": "src/data-layer-normalize.ts",
60
+ "kind": "import-statement",
61
+ "original": "./data-layer-normalize"
62
+ }
63
+ ],
64
+ "format": "esm"
65
+ },
66
+ "../event-schema/src/targeting-core.ts": {
67
+ "bytes": 13392,
68
+ "imports": [],
69
+ "format": "esm"
70
+ },
71
+ "src/signals.ts": {
72
+ "bytes": 7061,
73
+ "imports": [],
74
+ "format": "esm"
75
+ },
76
+ "optional-stub:targeting-diagnostics": {
77
+ "bytes": 121,
78
+ "imports": [],
79
+ "format": "esm"
80
+ },
81
+ "src/targeting.ts": {
82
+ "bytes": 31248,
83
+ "imports": [
84
+ {
85
+ "path": "./types",
86
+ "kind": "import-statement",
87
+ "external": true
88
+ },
89
+ {
90
+ "path": "src/runtime-tools.ts",
91
+ "kind": "import-statement",
92
+ "original": "./runtime-tools"
93
+ },
94
+ {
95
+ "path": "../event-schema/src/targeting-core.ts",
96
+ "kind": "import-statement",
97
+ "original": "@drip/event-schema/targeting-core"
98
+ },
99
+ {
100
+ "path": "src/signals.ts",
101
+ "kind": "import-statement",
102
+ "original": "./signals"
103
+ },
104
+ {
105
+ "path": "optional-stub:targeting-diagnostics",
106
+ "kind": "import-statement",
107
+ "original": "./targeting-diagnostics"
108
+ }
109
+ ],
110
+ "format": "esm"
111
+ },
112
+ "../shared-runtime/src/weekday-schedule.ts": {
113
+ "bytes": 2861,
114
+ "imports": [],
115
+ "format": "esm"
116
+ },
117
+ "src/weekday-schedule.ts": {
118
+ "bytes": 520,
119
+ "imports": [
120
+ {
121
+ "path": "../shared-runtime/src/weekday-schedule.ts",
122
+ "kind": "import-statement",
123
+ "original": "@drip/shared-runtime/weekday-schedule"
124
+ },
125
+ {
126
+ "path": "../shared-runtime/src/weekday-schedule.ts",
127
+ "kind": "import-statement",
128
+ "original": "@drip/shared-runtime/weekday-schedule"
129
+ }
130
+ ],
131
+ "format": "esm"
132
+ },
133
+ "src/flags.ts": {
134
+ "bytes": 6474,
135
+ "imports": [
136
+ {
137
+ "path": "src/bucket.ts",
138
+ "kind": "import-statement",
139
+ "original": "./bucket"
140
+ },
141
+ {
142
+ "path": "src/define.ts",
143
+ "kind": "import-statement",
144
+ "original": "./define"
145
+ },
146
+ {
147
+ "path": "src/hash.ts",
148
+ "kind": "import-statement",
149
+ "original": "./hash"
150
+ },
151
+ {
152
+ "path": "src/targeting.ts",
153
+ "kind": "import-statement",
154
+ "original": "./targeting"
155
+ },
156
+ {
157
+ "path": "src/weekday-schedule.ts",
158
+ "kind": "import-statement",
159
+ "original": "./weekday-schedule"
160
+ }
161
+ ],
162
+ "format": "esm"
163
+ }
164
+ },
165
+ "outputs": {
166
+ "dist/flags.cjs.map": {
167
+ "imports": [],
168
+ "exports": [],
169
+ "inputs": {},
170
+ "bytes": 140468
171
+ },
172
+ "dist/flags.cjs": {
173
+ "imports": [],
174
+ "exports": [],
175
+ "entryPoint": "src/flags.ts",
176
+ "inputs": {
177
+ "src/flags.ts": {
178
+ "bytesInOutput": 3554
179
+ },
180
+ "../shared-runtime/src/bucketing.ts": {
181
+ "bytesInOutput": 1809
182
+ },
183
+ "src/bucket.ts": {
184
+ "bytesInOutput": 0
185
+ },
186
+ "src/define.ts": {
187
+ "bytesInOutput": 3242
188
+ },
189
+ "src/edge-runtime.ts": {
190
+ "bytesInOutput": 78
191
+ },
192
+ "src/hash.ts": {
193
+ "bytesInOutput": 2894
194
+ },
195
+ "src/data-layer-normalize.ts": {
196
+ "bytesInOutput": 611
197
+ },
198
+ "src/runtime-tools.ts": {
199
+ "bytesInOutput": 8906
200
+ },
201
+ "../event-schema/src/targeting-core.ts": {
202
+ "bytesInOutput": 10530
203
+ },
204
+ "src/signals.ts": {
205
+ "bytesInOutput": 4673
206
+ },
207
+ "src/targeting.ts": {
208
+ "bytesInOutput": 24677
209
+ },
210
+ "../shared-runtime/src/weekday-schedule.ts": {
211
+ "bytesInOutput": 2138
212
+ },
213
+ "src/weekday-schedule.ts": {
214
+ "bytesInOutput": 126
215
+ }
216
+ },
217
+ "bytes": 64416
218
+ }
219
+ }
220
+ }