arky-sdk 0.5.81 → 0.5.82

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
@@ -1353,7 +1353,7 @@ var createAudienceApi = (apiConfig) => {
1353
1353
  return apiConfig.httpClient.post(
1354
1354
  `/v1/businesses/${apiConfig.businessId}/audiences/${params.id}/subscribe`,
1355
1355
  {
1356
- email: params.email,
1356
+ customerId: params.customerId,
1357
1357
  ...params.priceId && { priceId: params.priceId },
1358
1358
  ...params.successUrl && { successUrl: params.successUrl },
1359
1359
  ...params.cancelUrl && { cancelUrl: params.cancelUrl },
@@ -1383,7 +1383,7 @@ var createAudienceApi = (apiConfig) => {
1383
1383
  async addSubscriber(params, options) {
1384
1384
  return apiConfig.httpClient.post(
1385
1385
  `/v1/businesses/${apiConfig.businessId}/audiences/${params.id}/subscribers`,
1386
- { email: params.email },
1386
+ { customerId: params.customerId },
1387
1387
  options
1388
1388
  );
1389
1389
  },