Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/rename-application-id-header.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@nylas/connect": patch
---

Changed the header name from `x-nylas-application-public-id` to improve API consistency.

2 changes: 1 addition & 1 deletion packages/nylas-connect/src/connect-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class NylasConnect {
private static readonly NYLAS_CONNECT_VERSION: string = pkg.version;
private static readonly NYLAS_CONNECT_HEADER = "x-nylas-connect" as const;
private static readonly NYLAS_APPLICATION_ID_HEADER =
"x-nylas-public-application-id" as const;
"x-nylas-application-public-id" as const;

constructor(config: ConnectConfig = {}) {
// Resolve configuration with environment variables and defaults
Expand Down