client-sdk-js
Add `TokenSource` token fetching abstraction
#1645
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
54
Changes
View On
GitHub
Commits
feat: port ConnectionCredentials implementation from agent-starter-react and wire it up to Room
1egoman
committed
198 days ago
refactor: move roomName / participantName docs to ConnectionDetails
1egoman
committed
198 days ago
refactor: reorder literal and custom
1egoman
committed
198 days ago
fix: rename SandboxTokenServer -> SandboxTokenServerOptions
1egoman
committed
198 days ago
feat: optimistically regenerate new credentials on disconnect
1egoman
committed
198 days ago
fix: add changeset
1egoman
committed
198 days ago
fix: run prettier
1egoman
committed
198 days ago
fix: add BigInt
1egoman
committed
198 days ago
fix: remove @types/node to try to fix ci build issue
1egoman
committed
198 days ago
fix: migrate back to known good pnpm lock
1egoman
committed
198 days ago
feat: use logger for warnings instead of console
1egoman
committed
198 days ago
feat: add ConnectionCredentials.Response / ConnectionCredentials.Response, and add explicit roomconfig support
1egoman
committed
198 days ago
feat: add mechanism to get room config from token rather than returning it explicitly
1egoman
committed
198 days ago
feat: add ability to explicitly pass ConnectionCredentials.Request into room.connect / room.prepareConnection
1egoman
committed
198 days ago
fix: run npm run format
1egoman
committed
198 days ago
fix: remove dead code
1egoman
committed
198 days ago
feat: re-add accidentally removed roomConfig from SandboxTokenServerOptions
1egoman
committed
198 days ago
fix: address lint issue
1egoman
committed
198 days ago
feat: change ConnectionCredentials so Request gets set ahead of time via a method
1egoman
committed
198 days ago
feat: get rid of `roomName` / `participantName` from response, these values can be gotten from decoding the token
1egoman
committed
198 days ago
feat: get rid of connectionCredentialsRequest parameter when calling `room.connect` / `room.prepareConnection`
1egoman
committed
198 days ago
fix: run npm run format
1egoman
committed
198 days ago
fix: run eslint --fix
1egoman
committed
198 days ago
fix: address issue where token expiry error would always show on the initial generate call for ConnectionCredentials.Literal
1egoman
committed
198 days ago
feat: store currently active credentials fetch and re-use it if multiple credentials refreshes occur concurrently
1egoman
committed
198 days ago
feat: remove ability to inject custom logger name
1egoman
committed
198 days ago
feat: add new ConnectionCredentials.Refreshable abstract base class
1egoman
committed
198 days ago
fix: update class name in docs comment
1egoman
committed
198 days ago
feat: add participantIdentity / participantMetadata / participantAttributes to request and cached response
1egoman
committed
198 days ago
feat: updated deprecation warnings to include mention of ConnectionCredentials.Literal
1egoman
committed
198 days ago
feat: remove SandboxTokenServer security warning, it sounds like something similar will be implemented in another context (web dashboard)
1egoman
committed
198 days ago
feat: rename from ConnectionCredentials -> TokenSource
1egoman
committed
198 days ago
fix: update old token source name
1egoman
committed
198 days ago
feat: remove individual getters and return the whole jwt payload
1egoman
committed
198 days ago
feat: add -Payload suffix to TokenSource.Request / TokenSource.Response, and make the fields snake case
1egoman
committed
198 days ago
feat: add new TokenSource.Endpoint and update TokenSource.SandboxTokenServer to work with new v2 endpoint
1egoman
committed
198 days ago
feat: add old sandbox token server back temporarily as SandboxTokenServerV1
1egoman
committed
198 days ago
fix: update to TokenSource name in changeset
1egoman
committed
198 days ago
fix: update to tokenSource name in Room class
1egoman
committed
198 days ago
feat: migrate to using static method constructors for TokenSource types
1egoman
committed
198 days ago
feat: add TokenSourceRequest/TokenSourceResponse protobuf messages into TokenSource
1egoman
committed
198 days ago
feat: expose protobufs in TokenSource.Custom implementation over raw snake case fields
1egoman
committed
197 days ago
feat: get rid of tokensource integration logic in Room temporarily
1egoman
committed
192 days ago
feat: more over TokenSource modifications from components-js
1egoman
committed
192 days ago
refactor: split up TokenSource into multiple files and add lots of docs
1egoman
committed
192 days ago
fix: update missing instance of RoomConfigurationPayload
1egoman
committed
192 days ago
fix: address linting errors
1egoman
committed
192 days ago
fix: run npm run format
1egoman
committed
192 days ago
fix: rename TokenSource to TokenSourceBase to fix name clash
1egoman
committed
192 days ago
feat: export more tokensource values
1egoman
committed
192 days ago
feat: rename TokenSourceOptions => TokenSourceFetchOptions
1egoman
committed
190 days ago
fix: re-add missing Promise<void>
1egoman
committed
190 days ago
feat: add agentMetadata param alongside agentName
1egoman
committed
190 days ago
fix: allow second parameter to TokenSource.sandboxTokenServer to be omitted
1egoman
committed
190 days ago
Loading