arky-sdk 0.3.41 → 0.3.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.
package/README.md CHANGED
@@ -205,7 +205,6 @@ await arky.cms.subscribeToCollection({
205
205
  planId: 'plan_free', // Required
206
206
  })
207
207
  await arky.cms.getCollectionSubscribers({ id: 'newsletter_id' })
208
- await arky.cms.unsubscribeFromCollection({ token: 'unsubscribe_token' })
209
208
  ```
210
209
 
211
210
  ### E-shop
package/dist/index.cjs CHANGED
@@ -859,15 +859,6 @@ var createCmsApi = (apiConfig) => {
859
859
  },
860
860
  options
861
861
  );
862
- },
863
- async unsubscribeFromCollection(params, options) {
864
- return apiConfig.httpClient.get(
865
- `/v1/businesses/${apiConfig.businessId}/collections/unsubscribe`,
866
- {
867
- ...options,
868
- params
869
- }
870
- );
871
862
  }
872
863
  };
873
864
  };
@@ -1532,7 +1523,7 @@ async function injectSvgIntoElement(mediaObject, targetElement, className) {
1532
1523
  }
1533
1524
 
1534
1525
  // src/index.ts
1535
- var SDK_VERSION = "0.3.41";
1526
+ var SDK_VERSION = "0.3.42";
1536
1527
  var SUPPORTED_FRAMEWORKS = [
1537
1528
  "astro",
1538
1529
  "react",