Commit 8d1d35f
chore(audience-core): remove 9 dead exports from public surface
Strip exports that no consumer outside core ever imports:
- getAnonymousId (internal to cookie.ts)
- setCookie (internal to cookie.ts)
- storage namespace (internal to queue.ts)
- SESSION_MAX_AGE (internal to session.ts)
- getOrCreateSessionId (consumers use getOrCreateSession instead)
- getSessionId (same)
- truncateSource (internal to validation.ts)
- clearAttribution (never imported externally)
- ConsentUpdatePayload (internal consent wire type)
Shrinks the public API surface of @imtbl/audience-core. No consumer
code changes needed — nothing imported these.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 40b4c63 commit 8d1d35f
1 file changed
Lines changed: 5 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | 21 | | |
24 | | - | |
25 | 22 | | |
26 | 23 | | |
27 | | - | |
28 | 24 | | |
29 | 25 | | |
30 | 26 | | |
| |||
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
37 | | - | |
38 | 33 | | |
39 | 34 | | |
40 | 35 | | |
| |||
43 | 38 | | |
44 | 39 | | |
45 | 40 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 41 | + | |
| 42 | + | |
52 | 43 | | |
53 | 44 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 45 | + | |
60 | 46 | | |
61 | | - | |
| 47 | + | |
62 | 48 | | |
63 | 49 | | |
64 | | - | |
| 50 | + | |
65 | 51 | | |
66 | 52 | | |
67 | 53 | | |
| |||
0 commit comments