3.0.5 • Published 17 days ago

@shopify/shopify-app-session-storage-mongodb v3.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
17 days ago

Session Storage Adapter for MongoDB

This package implements the SessionStorage interface that works with an instance of MongoDB.

import {shopifyApp} from '@shopify/shopify-app-express';
import {MongoDBSessionStorage} from '@shopify/shopify-app-session-storage-mongodb';

const shopify = shopifyApp({
  sessionStorage: new MongoDBSessionStorage(
    'mongodb://username:password@host/',
    'database',
  ),
  // ...
});

// OR

const shopify = shopifyApp({
  sessionStorage: MongoDBSessionStorage.withCredentials(
    'host.com',
    'thedatabase',
    'username',
    'password',
  ),
  // ...
});

If you prefer to use your own implementation of a session storage mechanism that is compatible with the @shopify/shopify-app-express package, see the implementing session storage guide.

3.0.5

17 days ago

3.0.4

25 days ago

3.0.3

1 month ago

3.0.2

2 months ago

3.0.1

3 months ago

3.0.0

3 months ago

2.0.4

4 months ago

2.0.3

4 months ago

2.0.2

5 months ago

1.0.11

10 months ago

1.0.10

10 months ago

1.0.15

8 months ago

1.0.14

8 months ago

2.0.1

7 months ago

1.0.13

9 months ago

2.0.0

7 months ago

1.0.12

9 months ago

1.0.9

11 months ago

1.0.8

12 months ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.0-rc.0

1 year ago