@askdialog/dialog-sdk 1.0.18 → 1.0.19

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
@@ -61,7 +61,7 @@ const client = new Dialog({
61
61
  }: {
62
62
  productId: string;
63
63
  quantity: number;
64
- currency: string;
64
+ currency?: string;
65
65
  variantId?: string;
66
66
  }) => Promise<void>, // required
67
67
  getProduct: async (
@@ -188,7 +188,7 @@ const client = new Dialog({
188
188
  }: {
189
189
  productId: string;
190
190
  quantity: number;
191
- currency: string;
191
+ currency?: string;
192
192
  variantId?: string;
193
193
  }): Promise<void> => {
194
194
  // Call your api to trigger addToCart
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askdialog/dialog-sdk",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "private": false,
5
5
  "description": "Dialog SDK",
6
6
  "main": "dist/index.js",