arky-sdk 0.3.37 → 0.3.38

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
@@ -850,9 +850,8 @@ var createCmsApi = (apiConfig) => {
850
850
  return apiConfig.httpClient.post(
851
851
  `/v1/businesses/${apiConfig.businessId}/collections/${params.collectionId}/subscribe`,
852
852
  {
853
- email: params.email,
854
853
  market: apiConfig.market,
855
- planId: params.planId
854
+ ...params
856
855
  },
857
856
  options
858
857
  );
@@ -1406,7 +1405,7 @@ function createPaymentForCheckout(subtotalMinor, marketId, currency, paymentMeth
1406
1405
  tax,
1407
1406
  total,
1408
1407
  promoCodeId,
1409
- method: paymentMethod
1408
+ type: paymentMethod
1410
1409
  };
1411
1410
  }
1412
1411