lightspeed-retail-sdk 2.0.8 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,7 +4,7 @@ A JavaScript SDK for interacting with the Lightspeed Retail API. This SDK provid
4
4
 
5
5
  ## Update
6
6
 
7
- I have updated this package so it can be used with either index.cjs or index.mjs for imports.
7
+ This package has been enhanced to support both CommonJS and module usage.
8
8
 
9
9
  ## Features
10
10
 
@@ -23,7 +23,7 @@ npm install lightspeed-retail-sdk
23
23
  ## Get started:
24
24
 
25
25
  ```
26
- import LightspeedRetailSDK from "lightspeed-retail-sdk/index.mjs";
26
+ import LightspeedRetailSDK from "lightspeed-retail-sdk";
27
27
 
28
28
  const api = new LightspeedRetailSDK({
29
29
  accountID: "Your Account No.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lightspeed-retail-sdk",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "Another unofficial Lightspeed Retail API SDK for Node.js",
5
5
  "type": "module",
6
6
  "main": "index.cjs",