diff --git a/gatsby-plugin-use-shopping-cart/README.md b/gatsby-plugin-use-shopping-cart/README.md index 415caa3f..8767f3ef 100644 --- a/gatsby-plugin-use-shopping-cart/README.md +++ b/gatsby-plugin-use-shopping-cart/README.md @@ -1,8 +1,8 @@ # Gatsby Plugin Use-Shopping-Cart -_This is a WIP and not stable yet, use at your own risk._ +_This plugin is in early release, please test and provide any feedback._ -This plugin simplifies the use of [use-shopping-cart](https://useshoppingcart.com/) with your existing Gatsby site by handling the integration of the `` for you. Use-shopping-cart is an API layer to manage shopping cart logic and handle integration with Stripe payments for secure transactions. +This plugin simplifies the use of [Use-Shopping-Cart](https://useshoppingcart.com/) with your existing Gatsby site by handling the integration of the `` for you. Use-Shopping-Cart is an API layer to manage shopping cart logic and handle integration with Stripe payments for secure transactions. Plugin options allow you to configure Use-Shopping-Cart according to their docs. ## Install @@ -36,7 +36,9 @@ plugins: [ ] ``` -## Options +## Plugin Options + +The following options are taken directly from the standard use-shopping-cart API. Default values are provided where possible using Gatsby's plugin configuration API. mode - String cartMode - String diff --git a/gatsby-plugin-use-shopping-cart/gatsby-node.js b/gatsby-plugin-use-shopping-cart/gatsby-node.js index 416ff57f..e497ddef 100644 --- a/gatsby-plugin-use-shopping-cart/gatsby-node.js +++ b/gatsby-plugin-use-shopping-cart/gatsby-node.js @@ -1,5 +1,6 @@ // Current API // mode, +// cartMode, // stripePublicKey, // successUrl, // cancelUrl, diff --git a/gatsby-plugin-use-shopping-cart/package.json b/gatsby-plugin-use-shopping-cart/package.json index a86add78..c97cde19 100644 --- a/gatsby-plugin-use-shopping-cart/package.json +++ b/gatsby-plugin-use-shopping-cart/package.json @@ -1,14 +1,14 @@ { "name": "gatsby-plugin-use-shopping-cart", - "version": "0.0.1", + "version": "0.0.2", "description": "A plugin for use-shopping-cart to kickoff your ecommerce experience with Stripe.", "author": "Eric Howey ", "main": "index.js", "dependencies": { - "use-shopping-cart": "^3.0.0-beta.17" + "use-shopping-cart": "^3.0.3" }, "peerDependencies": { - "gatsby": "^3.6.0", + "gatsby": "^3.0.0", "react": "^17.0.2", "react-dom": "^17.0.2" },