We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdfe3a2 commit fc5893aCopy full SHA for fc5893a
example/convex/example.ts
@@ -64,7 +64,7 @@ export const {
64
65
// Cancels the current subscription.
66
cancelCurrentSubscription,
67
-} = polar.checkoutApi();
+} = polar.api();
68
69
// In a real app you'll set up authentication, we just use a
70
// fake user for the example.
src/client/index.ts
@@ -301,7 +301,9 @@ export class Polar<
301
}),
302
};
303
}
304
- // Deprecated: use api() instead
+ /**
305
+ * @deprecated: use api() instead
306
+ */
307
checkoutApi() {
308
return this.api();
309
0 commit comments