@moonbase.sh/storefront-api 0.1.88 → 0.1.89

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/dist/index.cjs CHANGED
@@ -199,7 +199,7 @@ var ActivationRequestEndpoints = class {
199
199
  }
200
200
  async isCompleted(requestId) {
201
201
  const response = await this.api.fetch(`/api/customer/activations/${requestId}/completed`);
202
- return import_zod5.z.boolean().parse(response.data);
202
+ return import_zod5.z.boolean().parse(response);
203
203
  }
204
204
  async fulfillLicense(requestId) {
205
205
  const response = await this.api.authenticatedFetch(`/api/customer/activations/${requestId}/license`, "POST");
package/dist/index.js CHANGED
@@ -154,7 +154,7 @@ var ActivationRequestEndpoints = class {
154
154
  }
155
155
  async isCompleted(requestId) {
156
156
  const response = await this.api.fetch(`/api/customer/activations/${requestId}/completed`);
157
- return z5.boolean().parse(response.data);
157
+ return z5.boolean().parse(response);
158
158
  }
159
159
  async fulfillLicense(requestId) {
160
160
  const response = await this.api.authenticatedFetch(`/api/customer/activations/${requestId}/license`, "POST");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/storefront-api",
3
3
  "type": "module",
4
- "version": "0.1.88",
4
+ "version": "0.1.89",
5
5
  "description": "Package to let you build storefronts with Moonbase.sh as payment and delivery provider",
6
6
  "author": "Tobias Lønnerød Madsen <m@dsen.tv>",
7
7
  "license": "MIT",