Skip to content

Commit

Permalink
Merge pull request #172 from quiltt/techdebt-deployment
Browse files Browse the repository at this point in the history
[Internal] Rename Deployments to Clients in Auth
  • Loading branch information
sirwolfgang authored Dec 20, 2023
2 parents 9aae4d1 + f633be3 commit b928a5e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .changeset/honest-donkeys-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@quiltt/core": patch
"@quiltt/react": patch
"@quiltt/react-native": patch
"@quiltt/react-test-nextjs": patch
---

[Internal] Rename Deployments to Clients in Auth
2 changes: 1 addition & 1 deletion ECMAScript/core/src/JsonWebToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type RegisteredClaims = {
export type PrivateClaims = {
oid: string // Organization ID
eid: string // Environment ID
did: string // Deployment ID
cid: string // Client ID
aid: string // Administrator ID
ver: number // Session Token Version
}
Expand Down
2 changes: 1 addition & 1 deletion ECMAScript/core/src/api/rest/AuthAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export class AuthAPI {

return {
session: {
deploymentId: this.clientId, // Rename API?
clientId: this.clientId,
...payload,
},
}
Expand Down

0 comments on commit b928a5e

Please sign in to comment.