@burdenoff/website-sdk 2026.526.2 → 2026.526.3

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.mjs CHANGED
@@ -3218,7 +3218,11 @@ function WaitlistPage({
3218
3218
  }
3219
3219
  setIsSubmitting(true);
3220
3220
  try {
3221
- const result = await joinWaitlist(client, data, config.productId);
3221
+ const result = await joinWaitlist(
3222
+ client,
3223
+ data,
3224
+ product?.id || config.productId
3225
+ );
3222
3226
  if (result.success) {
3223
3227
  toast.success(result.message ?? successMessage);
3224
3228
  reset();
@@ -3367,7 +3371,7 @@ function WaitlistForm({
3367
3371
  const result = await joinWaitlist(
3368
3372
  client,
3369
3373
  { email, name: name || void 0 },
3370
- config.productId
3374
+ product?.id || config.productId
3371
3375
  );
3372
3376
  if (result.success) {
3373
3377
  toast.success(result.message ?? "You have been added to the waitlist!");