3.0.5 • Published 7 days ago
@shopify/shopify-app-session-storage-postgresql v3.0.5
Session Storage Adapter for PostgreSQL
This package implements the SessionStorage
interface that works with an instance of PostgreSQL.
Tested using PostgreSQL v15
import {shopifyApp} from '@shopify/shopify-app-express';
import {PostgreSQLSessionStorage} from '@shopify/shopify-app-session-storage-postgresql';
const shopify = shopifyApp({
sessionStorage: new PostgreSQLSessionStorage(
'postgres://username:password@host/database',
),
// ...
});
// OR
const shopify = shopifyApp({
sessionStorage: new PostgreSQLSessionStorage(
new URL('postgres://username:password@host/database'),
),
// ...
});
// OR
const shopify = shopifyApp({
sessionStorage: PostgreSQLSessionStorage.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
7 days ago
3.0.4
15 days ago
3.0.3
24 days ago
3.0.2
2 months ago
3.0.1
2 months ago
3.0.0
3 months ago
2.0.4
3 months ago
0.0.0-experimental-20240118200208
4 months ago
2.0.3
4 months ago
2.0.2
5 months ago
1.1.9
8 months ago
1.1.8
9 months ago
1.1.7
10 months ago
1.1.6
10 months ago
1.1.11
7 months ago
1.1.10
8 months ago
2.0.1
6 months ago
2.0.0
7 months ago
1.1.5
11 months ago
1.1.4
12 months ago
1.1.3
12 months ago
1.1.2
1 year ago
1.1.1
1 year ago
1.1.0
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.1
1 year ago
1.0.0-rc.0
1 year ago