Commit a92939b
chore(audience): post-rebase cleanup for main drift
After rebasing feat/audience-web-sdk-demo onto main, four places still
referenced the pre-review shape of AudienceError that #2841 changed
during review, plus the lockfile carried stale resolutions from before
main drifted:
- src/cdn.ts: AudienceError now lives in @imtbl/audience-core/errors,
not sdk/src/types. Import it from core alongside IdentityType.
- README.md: the AudienceError.code union lost 'UNKNOWN' and gained
'VALIDATION_REJECTED' (terminal failure, 2xx with rejected > 0).
Update the documented shape to match.
- src/cdn.test.ts: the smoke test's fake AudienceError was constructed
with code: 'UNKNOWN', which is no longer a valid AudienceErrorCode.
Use 'NETWORK_ERROR' which matches the test's status: 0 setup.
- pnpm-lock.yaml: reset to main's baseline and reinstall so the only
delta is the new esbuild-plugin-replace dev-dep added by the CDN
bundle build commit. This avoids the rebase carrying over stale
@types/node and peer-context resolutions from before main drifted.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 438d023 commit a92939b
4 files changed
Lines changed: 153 additions & 197 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
0 commit comments