@betterstore/sdk 0.3.4 → 0.3.5

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.5
4
+
5
+ ### Patch Changes
6
+
7
+ - private changed to public
8
+
3
9
  ## 0.3.4
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -162,7 +162,7 @@ declare class Checkout {
162
162
  }
163
163
 
164
164
  declare class Client {
165
- private proxy?;
165
+ proxy?: string;
166
166
  constructor(proxy?: string);
167
167
  /**
168
168
  * Retrieve a checkout session by ID
package/dist/index.d.ts CHANGED
@@ -162,7 +162,7 @@ declare class Checkout {
162
162
  }
163
163
 
164
164
  declare class Client {
165
- private proxy?;
165
+ proxy?: string;
166
166
  constructor(proxy?: string);
167
167
  /**
168
168
  * Retrieve a checkout session by ID
package/dist/index.js CHANGED
@@ -87,7 +87,7 @@ var createApiClient = (apiKey, proxy) => {
87
87
  apiError.status = 503;
88
88
  apiError.message = "Service unavailable - no response from server";
89
89
  apiError.code = "SERVICE_UNAVAILABLE";
90
- apiError.details = error.request;
90
+ apiError.details = error;
91
91
  } else {
92
92
  apiError.status = 500;
93
93
  apiError.message = "Request configuration error";
package/dist/index.mjs CHANGED
@@ -50,7 +50,7 @@ var createApiClient = (apiKey, proxy) => {
50
50
  apiError.status = 503;
51
51
  apiError.message = "Service unavailable - no response from server";
52
52
  apiError.code = "SERVICE_UNAVAILABLE";
53
- apiError.details = error.request;
53
+ apiError.details = error;
54
54
  } else {
55
55
  apiError.status = 500;
56
56
  apiError.message = "Request configuration error";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {