arky-sdk 0.5.34 → 0.5.36
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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +8 -7
- package/dist/types.d.ts +8 -7
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1314,9 +1314,10 @@ var createAudienceApi = (apiConfig) => {
|
|
|
1314
1314
|
return apiConfig.httpClient.post(
|
|
1315
1315
|
`/v1/businesses/${apiConfig.businessId}/audiences/${params.id}/subscribe`,
|
|
1316
1316
|
{
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1317
|
+
email: params.email,
|
|
1318
|
+
...params.priceId && { priceId: params.priceId },
|
|
1319
|
+
...params.successUrl && { successUrl: params.successUrl },
|
|
1320
|
+
...params.cancelUrl && { cancelUrl: params.cancelUrl }
|
|
1320
1321
|
},
|
|
1321
1322
|
options
|
|
1322
1323
|
);
|