@betterstore/sdk 0.3.98 → 0.3.99

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.99
4
+
5
+ ### Patch Changes
6
+
7
+ - bug fix
8
+
3
9
  ## 0.3.98
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -769,7 +769,7 @@ var Products = class {
769
769
  }
770
770
  if ("id" in params && typeof (params == null ? void 0 : params.id) === "string") {
771
771
  const data = yield this.apiClient.get(
772
- `/products/${params.id}`
772
+ `/products/id/${params.id}`
773
773
  );
774
774
  if ("isError" in data && data.isError || !data || !("id" in data)) {
775
775
  console.error(`Product with id ${params.id} not found`);
package/dist/index.mjs CHANGED
@@ -732,7 +732,7 @@ var Products = class {
732
732
  }
733
733
  if ("id" in params && typeof (params == null ? void 0 : params.id) === "string") {
734
734
  const data = yield this.apiClient.get(
735
- `/products/${params.id}`
735
+ `/products/id/${params.id}`
736
736
  );
737
737
  if ("isError" in data && data.isError || !data || !("id" in data)) {
738
738
  console.error(`Product with id ${params.id} not found`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.98",
3
+ "version": "0.3.99",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {