Skip to content

Commit

Permalink
fix: update ixlib to be camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
frederickfogerty committed Mar 24, 2021
1 parent 4e0367b commit 8d831b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/gatsby-transform-node/gatsby-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const setupImgixClientE = ({
.doL(({ imgixClient }) => {
imgixClient.includeLibraryParam = false;
if (options.disableIxlibParam !== true) {
(imgixClient as any).settings.libraryParam = `gatsby-source-url-${packageVersion}`;
(imgixClient as any).settings.libraryParam = `gatsbySourceUrl-${packageVersion}`;
}
return E.right(imgixClient);
})
Expand Down
2 changes: 1 addition & 1 deletion src/modules/gatsby-transform-url/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function buildImageData(
// This is not a public API, so it is not included in the type definitions for ImgixClient
if (includeLibraryParam) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(client as any).settings.libraryParam = `gatsby-transform-url-${VERSION}`;
(client as any).settings.libraryParam = `gatsbyTransformUrl-${VERSION}`;
}

const transformedImgixParams = {
Expand Down

0 comments on commit 8d831b4

Please sign in to comment.