arky-sdk 0.3.24 → 0.3.26

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
@@ -303,22 +303,6 @@ import type {
303
303
  } from 'arky-sdk'
304
304
  ```
305
305
 
306
- ## Migration from Newsletter Module
307
-
308
- Newsletters are now CMS Collections with `type: 'NEWSLETTER'`:
309
-
310
- ```typescript
311
- // Old (deprecated)
312
- await sdk.newsletter.subscribe({ newsletterId, email })
313
-
314
- // New
315
- await sdk.cms.subscribeToCollection({
316
- collectionId: newsletterId,
317
- email,
318
- planId: 'plan_free', // Required
319
- })
320
- ```
321
-
322
306
  ## License
323
307
 
324
308
  MIT
package/dist/index.cjs CHANGED
@@ -271,13 +271,6 @@ var createBusinessApi = (apiConfig) => {
271
271
  async getSubscription(params, options) {
272
272
  return apiConfig.httpClient.get(`/v1/businesses/${apiConfig.businessId}/subscription`, options);
273
273
  },
274
- async createSubscription(params, options) {
275
- return apiConfig.httpClient.post(
276
- `/v1/businesses/${apiConfig.businessId}/subscription`,
277
- params,
278
- options
279
- );
280
- },
281
274
  async updateSubscription(params, options) {
282
275
  return apiConfig.httpClient.put(
283
276
  `/v1/businesses/${apiConfig.businessId}/subscription`,
@@ -1496,7 +1489,7 @@ async function injectSvgIntoElement(mediaObject, targetElement, className) {
1496
1489
  }
1497
1490
 
1498
1491
  // src/index.ts
1499
- var SDK_VERSION = "0.3.24";
1492
+ var SDK_VERSION = "0.3.25";
1500
1493
  var SUPPORTED_FRAMEWORKS = [
1501
1494
  "astro",
1502
1495
  "react",