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