mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
feat(core): expose hf-ids as subpath export for @hyperframes/sdk (#1323)
## Summary Exposes `hf-ids` as a dedicated subpath export from `@hyperframes/core` so `@hyperframes/sdk` can import ID-stamping logic without pulling in the full core bundle. - Adds `"exports"` entry for `./hf-ids` in `packages/core/package.json` - No change to the existing top-level export — no breaking change for existing consumers ## Why `@hyperframes/sdk` needs `parseMutable`/`stampHfIds` from core. A subpath export isolates that boundary and keeps the SDK bundle lean. ## Test plan - [ ] `bun run build` — both packages build without errors - [ ] `bun test packages/sdk` — import resolves correctly 🤖 Generated with [Claude Code](https://claude.ai/claude-code)
This commit is contained in:
@@ -66,6 +66,10 @@
|
||||
"import": "./src/runtime/mediaVolumeEnvelope.ts",
|
||||
"types": "./src/runtime/mediaVolumeEnvelope.ts"
|
||||
},
|
||||
"./hf-ids": {
|
||||
"import": "./src/parsers/hfIds.ts",
|
||||
"types": "./src/parsers/hfIds.ts"
|
||||
},
|
||||
"./gsap-parser": {
|
||||
"import": "./src/parsers/gsapParser.ts",
|
||||
"types": "./src/parsers/gsapParser.ts"
|
||||
@@ -141,6 +145,10 @@
|
||||
"import": "./dist/runtime/mediaVolumeEnvelope.js",
|
||||
"types": "./dist/runtime/mediaVolumeEnvelope.d.ts"
|
||||
},
|
||||
"./hf-ids": {
|
||||
"import": "./dist/parsers/hfIds.js",
|
||||
"types": "./dist/parsers/hfIds.d.ts"
|
||||
},
|
||||
"./gsap-parser": {
|
||||
"import": "./dist/parsers/gsapParser.js",
|
||||
"types": "./dist/parsers/gsapParser.d.ts"
|
||||
|
||||
Reference in New Issue
Block a user