Skip to content

Commit 4466593

Browse files
⬆ Update Polar SDK and use new API (#3089)
1 parent 4875cb3 commit 4466593

File tree

3 files changed

+26
-7
lines changed

3 files changed

+26
-7
lines changed

landing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@astrojs/sitemap": "^3.2.1",
1818
"@astrojs/tailwind": "^5.1.2",
1919
"@astrojs/vercel": "^7.8.2",
20-
"@polar-sh/sdk": "^0.16.0",
20+
"@polar-sh/sdk": "^0.20.2",
2121
"astro": "^4.16.1",
2222
"shepherd.js": "workspace:*",
2323
"tailwindcss": "^3.4.17",

landing/src/actions/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const server = {
1717
let result;
1818

1919
try {
20-
result = await polar.checkouts.create({
20+
result = await polar.checkouts.custom.create({
2121
productPriceId,
2222
successUrl: 'https://docs.shepherdjs.dev'
2323
});

pnpm-lock.yaml

Lines changed: 24 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)