3.1.0 • Published 11 months ago

@adearriba/shopify-app-session-storage-cosmosdb v3.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Session Storage for Cosmosdb - Shopify App

Shopify App Session Storage for Azure Cosmos DB

Create an instance by using withCredentials static method:

const cosmosDBSessionStorage = CosmosDBSessionStorage.withCredentials(
    "endpoint",
    "key",
    "dbName"
);

Optionally, you can use an additional configuration by adding a CosmosDBSessionStorageOptions object that includes the ability to change the container name and add ContainerRequest parameter to pass to Azure CosmosDB container creation. Refer to the Official ContainerRequest Docs

const cosmosDBSessionStorage = CosmosDBSessionStorage.withCredentials(
    "endpoint",
    "key",
    "dbName",
    {
        containerName: "shopify_sessions",
        containerRequest: {
            partitionKey: "/id",
            ...
        },
    }
);
3.1.0

11 months ago

2.1.52

1 year ago

2.1.51

1 year ago

3.0.0

1 year ago

2.1.5

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago