Skip to content

Commit

Permalink
⬆ Update Polar SDK and use new API (#3089)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckcarpenter authored Jan 12, 2025
1 parent 4875cb3 commit 4466593
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 7 deletions.
2 changes: 1 addition & 1 deletion landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@astrojs/sitemap": "^3.2.1",
"@astrojs/tailwind": "^5.1.2",
"@astrojs/vercel": "^7.8.2",
"@polar-sh/sdk": "^0.16.0",
"@polar-sh/sdk": "^0.20.2",
"astro": "^4.16.1",
"shepherd.js": "workspace:*",
"tailwindcss": "^3.4.17",
Expand Down
2 changes: 1 addition & 1 deletion landing/src/actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const server = {
let result;

try {
result = await polar.checkouts.create({
result = await polar.checkouts.custom.create({
productPriceId,
successUrl: 'https://docs.shepherdjs.dev'
});
Expand Down
29 changes: 24 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4466593

Please sign in to comment.