deprecate checkoutApi, avoid breaking

This commit is contained in:
Shawn Erquhart
2025-03-27 15:58:19 -04:00
parent bdfe3a2c93
commit fc5893a71b
2 changed files with 4 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ export const {
// Cancels the current subscription.
cancelCurrentSubscription,
} = polar.checkoutApi();
} = polar.api();
// In a real app you'll set up authentication, we just use a
// fake user for the example.