@betterstore/sdk 0.3.1 → 0.3.2

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.2
4
+
5
+ ### Patch Changes
6
+
7
+ - remove client secret from retrieve checkout
8
+
3
9
  ## 0.3.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -172,7 +172,7 @@ var Client = class {
172
172
  */
173
173
  retrieveCheckout(clientSecret, checkoutId) {
174
174
  return __async(this, null, function* () {
175
- const apiClient = createApiClient(clientSecret);
175
+ const apiClient = createApiClient("");
176
176
  const data = yield apiClient.get(
177
177
  `/checkout/${checkoutId}`
178
178
  );
package/dist/index.mjs CHANGED
@@ -135,7 +135,7 @@ var Client = class {
135
135
  */
136
136
  retrieveCheckout(clientSecret, checkoutId) {
137
137
  return __async(this, null, function* () {
138
- const apiClient = createApiClient(clientSecret);
138
+ const apiClient = createApiClient("");
139
139
  const data = yield apiClient.get(
140
140
  `/checkout/${checkoutId}`
141
141
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {