@betterstore/sdk 0.3.20 → 0.3.21
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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -237,10 +237,10 @@ declare function betterStore(config: {
|
|
|
237
237
|
products: Products;
|
|
238
238
|
customer: Customer;
|
|
239
239
|
};
|
|
240
|
-
declare function createStoreClient(config
|
|
240
|
+
declare function createStoreClient(config?: {
|
|
241
241
|
proxy?: string;
|
|
242
242
|
}): Client;
|
|
243
|
-
declare function createStoreHelpers(config
|
|
243
|
+
declare function createStoreHelpers(config?: {
|
|
244
244
|
proxy?: string;
|
|
245
245
|
}): Helpers;
|
|
246
246
|
|
package/dist/index.d.ts
CHANGED
|
@@ -237,10 +237,10 @@ declare function betterStore(config: {
|
|
|
237
237
|
products: Products;
|
|
238
238
|
customer: Customer;
|
|
239
239
|
};
|
|
240
|
-
declare function createStoreClient(config
|
|
240
|
+
declare function createStoreClient(config?: {
|
|
241
241
|
proxy?: string;
|
|
242
242
|
}): Client;
|
|
243
|
-
declare function createStoreHelpers(config
|
|
243
|
+
declare function createStoreHelpers(config?: {
|
|
244
244
|
proxy?: string;
|
|
245
245
|
}): Helpers;
|
|
246
246
|
|
package/dist/index.js
CHANGED
|
@@ -389,10 +389,10 @@ function betterStore(config) {
|
|
|
389
389
|
};
|
|
390
390
|
}
|
|
391
391
|
function createStoreClient(config) {
|
|
392
|
-
return new client_default(config.proxy);
|
|
392
|
+
return new client_default(config == null ? void 0 : config.proxy);
|
|
393
393
|
}
|
|
394
394
|
function createStoreHelpers(config) {
|
|
395
|
-
return new helpers_default(config.proxy);
|
|
395
|
+
return new helpers_default(config == null ? void 0 : config.proxy);
|
|
396
396
|
}
|
|
397
397
|
// Annotate the CommonJS export names for ESM import in node:
|
|
398
398
|
0 && (module.exports = {
|
package/dist/index.mjs
CHANGED
|
@@ -350,10 +350,10 @@ function betterStore(config) {
|
|
|
350
350
|
};
|
|
351
351
|
}
|
|
352
352
|
function createStoreClient(config) {
|
|
353
|
-
return new client_default(config.proxy);
|
|
353
|
+
return new client_default(config == null ? void 0 : config.proxy);
|
|
354
354
|
}
|
|
355
355
|
function createStoreHelpers(config) {
|
|
356
|
-
return new helpers_default(config.proxy);
|
|
356
|
+
return new helpers_default(config == null ? void 0 : config.proxy);
|
|
357
357
|
}
|
|
358
358
|
export {
|
|
359
359
|
ProductStatus,
|