refactor(devframe)!: split auth and rename internal under devframe/node#332
Merged
refactor(devframe)!: split auth and rename internal under devframe/node#332
devframe/node#332Conversation
…rame/internal` to `devframe/node/internal` BREAKING CHANGE: auth helpers (`getTempAuthToken`, `refreshTempAuthToken`, `consumeTempAuthToken`, `getPendingAuth`, `setPendingAuth`, `abortPendingAuth`, `PendingAuthRequest`, `revokeAuthToken`, `revokeActiveConnectionsForToken`) no longer re-export from `devframe/node` — import from `devframe/node/auth`. The `devframe/internal` sub-export is renamed to `devframe/node/internal`, which also now hosts the relocated `context-internal.ts`. End users were never meant to depend on this subpath; first-party adapters update accordingly.
✅ Deploy Preview for devfra ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…uth-export # Conflicts: # alias.ts # devframe/packages/devframe/tsdown.config.ts # packages/core/src/node/rpc/anonymous/auth.ts # packages/core/src/node/ws.ts # tsconfig.base.json
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Carve auth helpers and the internal-context subpath out of the top-level
devframe/nodesurface so each has its own focused entry. Newdevframe/node/authholds the token issuance/validation/revocation helpers;devframe/internalis renamed todevframe/node/internal(where it has always been node-side anyway) and now hosts the relocatedcontext-internal.ts. Clean break — no back-compat shims — with all first-party consumers inpackages/coreandpackages/kitupdated and tsnapi snapshots regenerated.Linked Issues
Additional context
Breaking for anyone importing auth symbols (
getTempAuthToken,consumeTempAuthToken,revokeAuthToken, etc.) fromdevframe/nodeor anything fromdevframe/internal— switch todevframe/node/auth/devframe/node/internal.