-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: request headers include
x-nacelle-sdk-version
(#385)
* refactor: use static method to set request headers * docs: add changeset
- Loading branch information
1 parent
9cdc2e2
commit f3a05ca
Showing
5 changed files
with
88 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@nacelle/storefront-sdk': patch | ||
--- | ||
|
||
Adds an `x-nacelle-sdk-version` header to all requests. This improves tracing and observability in the event of a support request. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export const X_NACELLE_PREVIEW_TOKEN = 'x-nacelle-preview-token'; | ||
export const X_NACELLE_SDK_VERSION = 'x-nacelle-sdk-version'; |
f3a05ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nacelle-next-starter – ./starters/next
nacelle-next-starter-git-main-nacelle.vercel.app
nacelle-next-starter-nacelle.vercel.app
nacelle-nextjs-starter.vercel.app
f3a05ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nacelle-gatsby-starter – ./starters/gatsby
nacelle-gatsby-starter.vercel.app
nacelle-gatsby-starter-git-main-nacelle.vercel.app
nacelle-gatsby-starter-nacelle.vercel.app
f3a05ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nacelle-gatsby-reference-store – ./reference-stores/gatsby
nacelle-gatsby-reference-store.vercel.app
nacelle-gatsby-reference-store-nacelle.vercel.app
nacelle-gatsby-reference-store-git-main-nacelle.vercel.app
f3a05ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nacelle-nuxt-reference-store – ./reference-stores/nuxt
nacelle-nuxt-reference-store-nacelle.vercel.app
nacelle-nuxt-reference-store-git-main-nacelle.vercel.app
nacelle-nuxt-reference-store-preview.vercel.app
nacelle-nuxt-reference-store.vercel.app
f3a05ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nacelle-nuxt-starter – ./starters/nuxt
nacelle-nuxt-starter-nacelle.vercel.app
nacelle-nuxt-starter.vercel.app
nacelle-nuxt-starter-git-main-nacelle.vercel.app
f3a05ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nacelle-next-reference-store – ./reference-stores/next
nacelle-next-reference-store-nacelle.vercel.app
nacelle-next-reference-store-git-main-nacelle.vercel.app
nacelle-next-reference-store.vercel.app