@ticketapp-dev/shop-sdk 1.0.41 → 1.0.42

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3947,7 +3947,7 @@ class Tn {
3947
3947
  async getCategories(t) {
3948
3948
  try {
3949
3949
  this.debugLog("Fetching all categories", { organizationId: this.config.organizationId });
3950
- const n = await this.sdk.findAllPublicCategoriesByOrganizationId({ organizationId: this.config.organizationId, dateRange: t });
3950
+ const n = await this.sdk.findAllPublicCategoriesByOrganizationId({ organizationId: this.config.organizationId, dateRange: t ?? null });
3951
3951
  if (n?.findAllPublicHostingsByOrganizationId) {
3952
3952
  const i = n.findAllPublicHostingsByOrganizationId, r = n.findAllPublicLocationsByOrganizationId;
3953
3953
  return this.debugLog("Categories fetched", { count: i.count + r.count, dataLength: i.data.length + r.data.length }), [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticketapp-dev/shop-sdk",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "description": "TicketApp Shop SDK",
5
5
  "type": "module",
6
6
  "files": [