Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: mention builtin SDK utilities to validate webhook events #4550

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

frankie567
Copy link
Member

No description provided.

@frankie567 frankie567 enabled auto-merge (rebase) November 27, 2024 14:55
Copy link

vercel bot commented Nov 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
polar 🔄 Building (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 2:55pm
polar-sandbox 🔄 Building (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 2:55pm

Copy link
Contributor

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 154.93 KB (🟡 +1 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Seventy-three Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/(main)/(installation)/github/layout 356 B 155.28 KB 44.37% (🟢 -0.01%)
/(main)/(topbar)/layout 252.26 KB 407.19 KB 116.34% (+/- <0.01%)
/(main)/[organization]/(header)/layout 276.33 KB 431.26 KB 123.22% (+/- <0.01%)
/(main)/[organization]/(header)/issues/page 131.24 KB 286.17 KB 81.76% (+/- <0.01%)
/(main)/[organization]/(header)/posts/[postSlug]/page 237.78 KB 392.71 KB 112.20% (+/- <0.01%)
/(main)/[organization]/(header)/page 144.42 KB 299.35 KB 85.53% (+/- <0.01%)
/(main)/[organization]/(header)/posts/page 192.93 KB 347.87 KB 99.39% (+/- <0.01%)
/(main)/[organization]/[repo]/issues/[number]/(create)/page 205.1 KB 360.03 KB 102.87% (+/- <0.01%)
/(main)/[organization]/[repo]/layout 245 KB 399.93 KB 114.27% (+/- <0.01%)
/(main)/[organization]/[repo]/issues/[number]/status/page 236.8 KB 391.74 KB 111.92% (+/- <0.01%)
/(main)/[organization]/[repo]/page 206.38 KB 361.31 KB 103.23% (+/- <0.01%)
/(main)/backoffice/issue/[id]/page 61.49 KB 216.42 KB 61.83% (+/- <0.01%)
/(main)/backoffice/layout 561.63 KB 716.56 KB 204.73% (+/- <0.01%)
/(main)/backoffice/badge/page 51.56 KB 206.49 KB 59.00% (+/- <0.01%)
/(main)/backoffice/pledges/page 63.75 KB 218.68 KB 62.48% (+/- <0.01%)
/(main)/backoffice/rewards_pending/page 65.51 KB 220.44 KB 62.98% (+/- <0.01%)
/(main)/docs/layout 242.4 KB 397.33 KB 113.52% (+/- <0.01%)
/(main)/(landing)/page 498.18 KB 653.12 KB 186.60% (+/- <0.01%)
/(main)/(topbar)/(backer)/purchases/page 356 B 155.28 KB 44.37% (🟢 -0.01%)
/(main)/(topbar)/(backer)/purchases/products/[id]/page 262.23 KB 417.16 KB 119.19% (+/- <0.01%)
/(main)/(topbar)/(backer)/purchases/products/page 96.9 KB 251.83 KB 71.95% (+/- <0.01%)
/(main)/(topbar)/(backer)/purchases/subscriptions/[id]/page 265.25 KB 420.18 KB 120.05% (+/- <0.01%)
/(main)/(topbar)/(backer)/purchases/subscriptions/page 96.4 KB 251.33 KB 71.81% (+/- <0.01%)
/(main)/(topbar)/(backer)/settings/page 267.29 KB 422.22 KB 120.63% (+/- <0.01%)
/(main)/dashboard/(create)/create/page 159.97 KB 314.9 KB 89.97% (+/- <0.01%)
/(main)/dashboard/(create)/layout 357 B 155.28 KB 44.37% (+/- <0.01%)
/(main)/dashboard/[organization]/storefront/page 361.07 KB 516 KB 147.43% (+/- <0.01%)
/(main)/dashboard/[organization]/layout 54.04 KB 208.97 KB 59.71% (+/- <0.01%)
/(main)/(landing)/(mdx)/layout 357 B 155.28 KB 44.37% (+/- <0.01%)
/(main)/docs/developers/guides/page 357 B 155.28 KB 44.37% (+/- <0.01%)
/(main)/docs/developers/guides/node/page 33.58 KB 188.51 KB 53.86% (+/- <0.01%)
/(main)/docs/developers/open-source/page 33.58 KB 188.51 KB 53.86% (+/- <0.01%)
/(main)/docs/support/(mdx)/faq/page 33.58 KB 188.52 KB 53.86% (+/- <0.01%)
/(main)/(topbar)/(backer)/(sidebar)/funding/page 256.33 KB 411.27 KB 117.50% (+/- <0.01%)
/(main)/(topbar)/(backer)/(sidebar)/layout 143.38 KB 298.31 KB 85.23% (+/- <0.01%)
/(main)/(topbar)/(backer)/finance/account/page 209.77 KB 364.7 KB 104.20% (+/- <0.01%)
/(main)/(topbar)/(backer)/finance/layout 224.14 KB 379.07 KB 108.31% (+/- <0.01%)
/(main)/(topbar)/(backer)/finance/outgoing/page 192.31 KB 347.24 KB 99.21% (+/- <0.01%)
/(main)/(topbar)/(backer)/finance/incoming/page 243.05 KB 397.98 KB 113.71% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/(home)/page 647.09 KB 802.02 KB 229.15% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/layout 561.62 KB 716.55 KB 204.73% (+/- <0.01%)
/(main)/(topbar)/(backer)/finance/rewards/page 122.13 KB 277.06 KB 79.16% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/analytics/page 682.71 KB 837.64 KB 239.33% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/benefits/page 650.24 KB 805.17 KB 230.05% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/benefits/license-keys/page 588.32 KB 743.25 KB 212.36% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/issues/badge/page 584.29 KB 739.22 KB 211.21% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/issues/overview/page 599.18 KB 754.11 KB 215.46% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/initialize/page 149.29 KB 304.23 KB 86.92% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/issues/embed/page 564.08 KB 719.01 KB 205.43% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/issues/organizations/page 564 KB 718.93 KB 205.41% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/posts/page 577 KB 731.93 KB 209.12% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/products/benefits/page 649.78 KB 804.71 KB 229.92% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/members/page 562.49 KB 717.42 KB 204.98% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/products/discounts/page 610.73 KB 765.66 KB 218.76% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/products/[id]/page 647.08 KB 802.01 KB 229.15% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/products/new/page 639.19 KB 794.12 KB 226.89% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/products/page 582.85 KB 737.78 KB 210.79% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/sales/subscriptions/page 591.29 KB 746.22 KB 213.21% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/sales/page 603.13 KB 758.06 KB 216.59% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/settings/page 581.15 KB 736.08 KB 210.31% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/settings/webhooks/page 574.57 KB 729.5 KB 208.43% (+/- <0.01%)
/(main)/dashboard/[organization]/(white)/posts/[post]/page 640.89 KB 795.82 KB 227.38% (+/- <0.01%)
/(main)/dashboard/[organization]/(white)/layout 561.62 KB 716.55 KB 204.73% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/settings/custom-fields/page 593.95 KB 748.88 KB 213.97% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/settings/webhooks/endpoints/[id]/page 592.6 KB 747.53 KB 213.58% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/finance/account/page 159.75 KB 314.68 KB 89.91% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/finance/layout 561.63 KB 716.56 KB 204.73% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/finance/incoming/page 192.89 KB 347.82 KB 99.38% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/finance/outgoing/page 141.77 KB 296.71 KB 84.77% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/finance/issue-funding/page 72.52 KB 227.45 KB 64.98% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/finance/issue-funding/layout 561.63 KB 716.56 KB 204.73% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/finance/issue-funding/rewarded/page 71.79 KB 226.73 KB 64.78% (+/- <0.01%)
/(main)/dashboard/[organization]/(header)/finance/issue-funding/contributors/page 71.8 KB 226.73 KB 64.78% (+/- <0.01%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@frankie567 frankie567 merged commit 88ac5fd into main Nov 27, 2024
13 of 15 checks passed
@frankie567 frankie567 deleted the docs/webhooks branch November 27, 2024 15:00
@vercel vercel bot temporarily deployed to Preview – polar November 27, 2024 15:04 Inactive
@vercel vercel bot temporarily deployed to Preview – polar-sandbox November 27, 2024 15:04 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant