@fantastic.dev/better-stripe 0.50.2 → 0.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +39 -1748
  3. package/dist/client/connect/payoutAdoptionTestHelpers.d.ts.map +1 -1
  4. package/dist/client/connect/payoutAdoptionTestHelpers.js +12 -1
  5. package/dist/client/connect/payoutAdoptionTestHelpers.js.map +1 -1
  6. package/dist/client/connect/payoutExecutionTestHelpers.d.ts.map +1 -1
  7. package/dist/client/connect/payoutExecutionTestHelpers.js +12 -1
  8. package/dist/client/connect/payoutExecutionTestHelpers.js.map +1 -1
  9. package/dist/client/usage/boundaries.d.ts +132 -0
  10. package/dist/client/usage/boundaries.d.ts.map +1 -0
  11. package/dist/client/usage/boundaries.js +43 -0
  12. package/dist/client/usage/boundaries.js.map +1 -0
  13. package/dist/client/usage/contracts.d.ts +59 -0
  14. package/dist/client/usage/contracts.d.ts.map +1 -0
  15. package/dist/client/usage/contracts.js +63 -0
  16. package/dist/client/usage/contracts.js.map +1 -0
  17. package/dist/client/usage/index.d.ts +7 -0
  18. package/dist/client/usage/index.d.ts.map +1 -0
  19. package/dist/client/usage/index.js +4 -0
  20. package/dist/client/usage/index.js.map +1 -0
  21. package/dist/client/usage/records.d.ts +50 -0
  22. package/dist/client/usage/records.d.ts.map +1 -0
  23. package/dist/client/usage/records.js +54 -0
  24. package/dist/client/usage/records.js.map +1 -0
  25. package/docs/README.md +58 -0
  26. package/docs/architecture.md +80 -0
  27. package/docs/client-api.md +586 -0
  28. package/docs/configuration.md +51 -0
  29. package/docs/development.md +114 -0
  30. package/docs/marketplace.md +165 -0
  31. package/docs/metered-usage.md +289 -37
  32. package/docs/metering-setup.md +183 -0
  33. package/docs/overview.md +140 -0
  34. package/docs/react-api.md +284 -0
  35. package/docs/releasing.md +19 -0
  36. package/docs/testing.md +52 -0
  37. package/docs/webhooks.md +259 -0
  38. package/package.json +17 -2
  39. package/src/client/connect/payoutAdoptionTestHelpers.ts +17 -1
  40. package/src/client/connect/payoutExecutionTestHelpers.ts +17 -1
  41. package/src/client/transferContinuation.test.ts +2 -6
  42. package/src/client/usage/boundaries.test.ts +136 -0
  43. package/src/client/usage/boundaries.ts +182 -0
  44. package/src/client/usage/contracts.test.ts +145 -0
  45. package/src/client/usage/contracts.ts +79 -0
  46. package/src/client/usage/index.ts +34 -0
  47. package/src/client/usage/records.ts +76 -0
  48. package/src/test.ts +17 -1
  49. package/src/vite-env.d.ts +5 -1
package/CHANGELOG.md CHANGED
@@ -26,6 +26,32 @@
26
26
  - Remove internal tracker references from public documentation and add a
27
27
  regression check that prevents their reintroduction.
28
28
 
29
+ ## [0.51.0](https://github.com/FantasticDevHQ/better-stripe/compare/v0.50.3...v0.51.0) (2026-10-18)
30
+
31
+ ### Features
32
+
33
+ - complete scoped usage API and host authorization contracts ([41d58ac](https://github.com/FantasticDevHQ/better-stripe/commit/41d58ac99ff63c89c17143dde5e59de04ee2c80d))
34
+
35
+ ### Documentation
36
+
37
+ - align metering status and index with native sandbox evidence ([d1c1bf5](https://github.com/FantasticDevHQ/better-stripe/commit/d1c1bf57893c6045c91a8c9103ea02103c871ed9))
38
+
39
+ ### Continuous Integration
40
+
41
+ - batch coverage floor increases in weekly PRs ([d648b82](https://github.com/FantasticDevHQ/better-stripe/commit/d648b82f6c910b16c6349096a2022c798777f608))
42
+ - batch coverage floor increases in weekly PRs ([8217f1f](https://github.com/FantasticDevHQ/better-stripe/commit/8217f1fe9e1bdac5c730d98cc1022ea7cd1c385c))
43
+
44
+ ### Tests
45
+
46
+ - ratchet native usage contract coverage floors ([5c8ff1b](https://github.com/FantasticDevHQ/better-stripe/commit/5c8ff1b31913a08db9493cc5a0219601ad540608))
47
+
48
+ ## [0.50.3](https://github.com/FantasticDevHQ/better-stripe/compare/v0.50.2...v0.50.3) (2026-10-18)
49
+
50
+ ### Documentation
51
+
52
+ - move detailed reference guides out of README ([4aa27e0](https://github.com/FantasticDevHQ/better-stripe/commit/4aa27e0fbbc275ccbeed64ba6cba51e1c1e73a9e))
53
+ - shorten README and stabilize documentation verification ([de46f55](https://github.com/FantasticDevHQ/better-stripe/commit/de46f55feed4286963e221096ed47eb07d4e6940))
54
+
29
55
  ## [0.50.2](https://github.com/FantasticDevHQ/better-stripe/compare/v0.50.1...v0.50.2) (2026-10-18)
30
56
 
31
57
  ### Documentation