Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nestjs-shopify-auth

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-shopify-auth - npm Package Versions

2

2.1.5

Diff

Changelog

Source

2.1.5

Fixed

  • Fixed missing export for UseShopifyAuth
tolgapaksoy
published 2.1.4 •

Changelog

Source

2.1.4

Fixed

  • Fixed reauth URL in header not containing global app prefix
tolgapaksoy
published 2.1.3 •

Changelog

Source

2.1.3

Fixed

  • Fixed not being able to resolve auth mode options when an Shopify auth exception occurs
tolgapaksoy
published 2.1.2 •

Changelog

Source

2.1.2

Fixed

  • Fixed callback url joining when no global prefix, or empty global prefix was used
tolgapaksoy
published 2.1.1 •

Changelog

Source

2.1.1

Fixed

  • Global prefix is now respected when generating callback URL when redirecting to OAuth screen
tolgapaksoy
published 2.1.0 •

Changelog

Source

2.1.0

Added

  • Add metadata to figure out AccessMode of a controller
  • Add @UseShopifyAuth decorator for usage in controllers to check for Online or Offline sessions

Other

  • Refactoring to simplify ShopfiyAuthExceptionFilter testing
tolgapaksoy
published 2.0.1 •

Changelog

Source

2.0.1

Fixed

  • Remove console.log statement cluttering the log output
  • Remove old explainer from README regarding bodyParser usage
tolgapaksoy
published 2.0.0 •

Changelog

Source

2.0.0

Fixed

  • ⚠️ [Breaking] Rewrite GraphQL handler to not take over the entirety of the request and response.

    This removes the requirement of installing body-parser and disabling the bodyParser logic of NextJS just to use this package.

    Before:

    // main.ts
    import { NestFactory } from '@nestjs/core';
    import { json } from 'body-parser';
    import { AppModule } from './app.module';
    
    async function bootstrap() {
      const jsonParseMiddleware = json();
      const app = await NestFactory.create(AppModule, { bodyParser: false });
      app.use((req, res, next) => {
        // NOTE: Make sure this is the same `path` you pass to the `ShopifyAuthModule.registerOnlineAsync`.
        if (req.path.indexOf('/graphql') === 0) {
          next();
        } else {
          jsonParseMiddleware(req, res, next);
        }
      });
    
      await app.listen(3000);
    }
    bootstrap();
    

    After:

    import { NestFactory } from '@nestjs/core';
    import { AppModule } from './app.module';
    
    async function bootstrap() {
      const app = await NestFactory.create(AppModule);
      await app.listen(3000);
    }
    bootstrap();
    
tolgapaksoy
published 1.0.3 •

tolgapaksoy
published 1.0.2 •

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc