From c0d5b737ed04014feff889dceaf27b25b7a67835 Mon Sep 17 00:00:00 2001 From: hyochan Date: Thu, 30 Apr 2026 10:32:03 +0900 Subject: [PATCH 1/2] docs: surface IAPKit open-source + source link consistently MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit example.tsx and validation.tsx already mention that IAPKit is open source (MIT) and link to packages/kit. Bring three more references into line so anyone landing on getting-started, the API index, or the type page sees the same info — with a clickable source link instead of plain text. Co-Authored-By: Claude Opus 4.7 (1M context) --- packages/docs/src/pages/docs/apis/index.tsx | 10 ++++++++- .../docs/src/pages/docs/getting-started.tsx | 21 ++++++++++++++++--- .../verify-purchase-with-provider-props.tsx | 10 ++++++++- 3 files changed, 36 insertions(+), 5 deletions(-) diff --git a/packages/docs/src/pages/docs/apis/index.tsx b/packages/docs/src/pages/docs/apis/index.tsx index b2da78373..2b4319d01 100644 --- a/packages/docs/src/pages/docs/apis/index.tsx +++ b/packages/docs/src/pages/docs/apis/index.tsx @@ -332,7 +332,15 @@ function APIsIndex() { Verify via a managed provider without standing up your own server. The PurchaseVerificationProvider enum - currently exposes only IAPKit. + currently exposes only IAPKit (open source, MIT — source at{' '} + + packages/kit + + ). diff --git a/packages/docs/src/pages/docs/getting-started.tsx b/packages/docs/src/pages/docs/getting-started.tsx index d203f5ebb..14abff012 100644 --- a/packages/docs/src/pages/docs/getting-started.tsx +++ b/packages/docs/src/pages/docs/getting-started.tsx @@ -456,9 +456,24 @@ await iap.request_purchase(props)`}
  • Validation — server-side - verification (your own backend or IAPKit — open source, hosted at - kit.openiap.dev or self-host from packages/kit under - MIT) + verification (your own backend or IAPKit — open source under MIT, + hosted free at{' '} + + kit.openiap.dev + {' '} + or self-host from{' '} + + packages/kit + + )
  • API Reference — every function with diff --git a/packages/docs/src/pages/docs/types/verify-purchase-with-provider-props.tsx b/packages/docs/src/pages/docs/types/verify-purchase-with-provider-props.tsx index 4303b1bae..d74772c18 100644 --- a/packages/docs/src/pages/docs/types/verify-purchase-with-provider-props.tsx +++ b/packages/docs/src/pages/docs/types/verify-purchase-with-provider-props.tsx @@ -35,7 +35,15 @@ function VerifyPurchaseWithProviderProps() {

    Input to verifyPurchaseWithProvider — pick a managed validator. The PurchaseVerificationProvider enum - currently exposes only IAPKit. See{' '} + currently exposes only IAPKit (open source under MIT — source at{' '} + + packages/kit + + ). See{' '} Date: Thu, 30 Apr 2026 11:02:54 +0900 Subject: [PATCH 2/2] fix(docs): collapse JSX whitespace before closing parens for IAPKit links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per Gemini review on PR #122: JSX renders a literal space when a closing parenthesis sits on the line after , producing \"packages/kit ).\" instead of \"packages/kit).\". Wrap the trailing punctuation in {\`).\`} expressions so the children become adjacent tokens with no whitespace, on: - packages/docs/src/pages/docs/apis/index.tsx - packages/docs/src/pages/docs/getting-started.tsx - packages/docs/src/pages/docs/types/verify-purchase-with-provider-props.tsx Also normalize \"open source, MIT\" → \"open source under MIT\" in apis/index.tsx for consistency with the other two pages. Co-Authored-By: Claude Opus 4.7 (1M context) --- packages/docs/src/pages/docs/apis/index.tsx | 4 ++-- packages/docs/src/pages/docs/getting-started.tsx | 2 +- .../pages/docs/types/verify-purchase-with-provider-props.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/docs/src/pages/docs/apis/index.tsx b/packages/docs/src/pages/docs/apis/index.tsx index 2b4319d01..54c07ac97 100644 --- a/packages/docs/src/pages/docs/apis/index.tsx +++ b/packages/docs/src/pages/docs/apis/index.tsx @@ -332,7 +332,7 @@ function APIsIndex() { Verify via a managed provider without standing up your own server. The PurchaseVerificationProvider enum - currently exposes only IAPKit (open source, MIT — source at{' '} + currently exposes only IAPKit (open source under MIT — source at{' '} packages/kit - ). + {`).`} diff --git a/packages/docs/src/pages/docs/getting-started.tsx b/packages/docs/src/pages/docs/getting-started.tsx index 14abff012..b8124abf4 100644 --- a/packages/docs/src/pages/docs/getting-started.tsx +++ b/packages/docs/src/pages/docs/getting-started.tsx @@ -473,7 +473,7 @@ await iap.request_purchase(props)`} > packages/kit - ) + {`)`}

  • API Reference — every function with diff --git a/packages/docs/src/pages/docs/types/verify-purchase-with-provider-props.tsx b/packages/docs/src/pages/docs/types/verify-purchase-with-provider-props.tsx index d74772c18..4baf34071 100644 --- a/packages/docs/src/pages/docs/types/verify-purchase-with-provider-props.tsx +++ b/packages/docs/src/pages/docs/types/verify-purchase-with-provider-props.tsx @@ -43,7 +43,7 @@ function VerifyPurchaseWithProviderProps() { > packages/kit - ). See{' '} + {`).`} See{' '}