diff --git a/package-lock.json b/package-lock.json index ef63985..155b9c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3454,7 +3454,7 @@ }, "packages/recipes": { "name": "@affitor/recipes", - "version": "0.1.0", + "version": "0.1.1", "license": "MIT", "devDependencies": { "@types/node": "^22.0.0", diff --git a/packages/recipes/CHANGELOG.md b/packages/recipes/CHANGELOG.md new file mode 100644 index 0000000..3fa4cb3 --- /dev/null +++ b/packages/recipes/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog: @affitor/recipes + +## 0.1.1 +- The Stripe Checkout sale snippet reports a sale only when the session carries an Affitor customer key; without one it logs a warning and returns, so your webhook never fails and Stripe never retries it. +- The Stripe renewal snippet does the same for subscriptions started without an Affitor key, and reads the Stripe Basil path (`invoice.parent.subscription_details`) first. +- The Paddle sale snippet skips orders with no `custom_data.user_id` or a $0 total instead of throwing inside your webhook. +- No change to exports or types. + +## 0.1.0 +- First release: per-stack integration recipes (install, checkout metadata, sale and renewal snippets, verify step) used by `affitor onboard` and the `affitor_get_integration_plan` MCP tool. diff --git a/packages/recipes/package.json b/packages/recipes/package.json index 4a82d7b..81ac20a 100644 --- a/packages/recipes/package.json +++ b/packages/recipes/package.json @@ -1,6 +1,6 @@ { "name": "@affitor/recipes", - "version": "0.1.0", + "version": "0.1.1", "description": "Canonical per-stack payment-tracking recipe registry for Affitor — the single source of truth read by the CLI, the MCP server, and the docs. Pure data, no runtime deps.", "type": "module", "main": "./dist/index.js",