@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 +6 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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`);
|