diff --git a/.changeset/honest-donkeys-smell.md b/.changeset/honest-donkeys-smell.md new file mode 100644 index 00000000..232880fb --- /dev/null +++ b/.changeset/honest-donkeys-smell.md @@ -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 diff --git a/ECMAScript/core/src/JsonWebToken.ts b/ECMAScript/core/src/JsonWebToken.ts index 2641fe6e..354ef763 100644 --- a/ECMAScript/core/src/JsonWebToken.ts +++ b/ECMAScript/core/src/JsonWebToken.ts @@ -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 } diff --git a/ECMAScript/core/src/api/rest/AuthAPI.ts b/ECMAScript/core/src/api/rest/AuthAPI.ts index 35dde65e..042e1a28 100644 --- a/ECMAScript/core/src/api/rest/AuthAPI.ts +++ b/ECMAScript/core/src/api/rest/AuthAPI.ts @@ -106,7 +106,7 @@ export class AuthAPI { return { session: { - deploymentId: this.clientId, // Rename API? + clientId: this.clientId, ...payload, }, }