arky-sdk 0.5.85 → 0.5.86

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
@@ -1154,10 +1154,10 @@ var createCustomerApi = (apiConfig) => {
1154
1154
  );
1155
1155
  },
1156
1156
  async initialize(params, options) {
1157
- const businessId = params.businessId || apiConfig.businessId;
1157
+ const businessId = params?.businessId || apiConfig.businessId;
1158
1158
  return apiConfig.httpClient.post(
1159
1159
  `/v1/businesses/${businessId}/customers/initialize`,
1160
- { email: params.email },
1160
+ { businessId },
1161
1161
  options
1162
1162
  );
1163
1163
  },