- 958a0ce: support for token exchange auth
- Updated dependencies [958a0ce]
- @nestjs-shopify/[email protected]
- 46810b8: chore(deps): update dependency @shopify/shopify-api to v10
- 71d76a0: Rewrite core to allow Express and Fastify specific modules. See upgrade guide
- Updated dependencies [71d76a0]
- @nestjs-shopify/[email protected]
- 2b99147: update dependencies @shopify/shopify-api to 9.0.1 and @shopify/shopify-app-session-storage to 2.0.3, also allow those versions in peerDependencies
- e83d181: update dependencies @shopify/shopify-api to 8.0.1 and @shopify/shopify-app-session-storage to 2.0.0, also allow those versions in peerDependencies
- 1857bfc: Disallow @nestjs versions lower than
9.0.0
. Older versions will not work.
- 83687c1: Upgrade to
"@shopify/shopify-api": "^7.0.0"
. See changelog of@shopify/shopify-api
for the required changes: https://github.com/Shopify/shopify-api-js/blob/main/CHANGELOG.md
- Updated dependencies [83687c1]
- @nestjs-shopify/[email protected]
- ee2b939: Refactored online and offline auth controller path override
- 699ec5e: Remove
override readonly
keyword usage in online and offline auth controllers
- 2c9293f: Respect
shopifyApi.hostScheme
andshopifyApi.hostname
in OAuth redirect, see #166
- c9a89c6: Add and use
@InjectShopify()
and@InjectShopifySessionStorage()
decorators.
-
bd636c5: Removed
ShopifyAuthGuard.register()
. Before you had to import theShopifyAuthGuard
as followingbe to be able to use@UseShopifyAuth()
:@Module({ imports: [ShopifyAuthGuard.register()], controllers: [MyControllerUsingShopifyAuth], }) class MyModule {}
This call is now not required anymore. All you have to do is ensure is that
ShopifyAuthGuard.forRootOnline
orShopifyAuthGuard.forRootOffline
is imported your root module (usually calledAppModule
).That means that you should remove any references to to
ShopifyAuthGuard.register()
:@Module({ - imports: [ShopifyAuthGuard.register()], controllers: [MyControllerUsingShopifyAuth], }) class MyModule {}
- 71ec7c8: Fix offline auth always being invalid due to not having an expires in session (issue #110)
- Fix deployment issue in npmjs.com
- 34f4133: Add missing
jsonwebtoken
dependency
- Updated dependencies [8782b25]
- @nestjs-shopify/[email protected]
-
e6a3891: GraphQL proxy moved to own package.
Install
@nestjs-shopify/graphql
and use it as following:import { ShopifyCoreModule } from "@nestjs-shopify/core"; import { ShopifyAuthModule } from "@nestjs-shopify/auth"; import { ShopifyGraphqlProxyModule } from "@nestjs-shopify/graphql"; @Module({ imports: [ // ... ShopifyCoreModule.forRoot(/* ... */), ShopifyAuthModule.forRootOnline(/* ... */), ShopifyGraphqlProxyModule, // ... ], }) export class AppModule {}
-
e6a3891: Upgrade to v6.0.0 of
@shopify/shopify-api
.See the upgrade guide of
@shopify/shopify-api
Run
npm install @shopify/[email protected]
oryarn add @shopify/[email protected]
together with the upgrade of all@nestjs-shopify/*
packages.
- Updated dependencies [e6a3891]
- Updated dependencies [e6a3891]
- @nestjs-shopify/[email protected]