@makeco/stripe-kit 0.1.1 → 0.1.2

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 (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -80,8 +80,12 @@ export default defineConfig({
80
80
  adapters: {
81
81
  // Custom property key. Can be postgres, sqlite, turso, myAdapter, etc.
82
82
  postgres: {
83
- // Your PostgreSQL adapter configuration
84
- connectionString: process.env.DATABASE_URL,
83
+ syncProducts: async (products) => { /* Sync Stripe products to your database */ },
84
+ syncPrices: async (prices) => { /* Sync Stripe prices to your database */ },
85
+ clearProducts: async () => { /* Remove all products from your database */ },
86
+ clearPrices: async () => { /* Remove all prices from your database */ },
87
+ getProducts: async () => { /* Optional: Return all products from your database */ },
88
+ getPrices: async () => { /* Optional: Return all prices from your database */ }
85
89
  },
86
90
  },
87
91
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makeco/stripe-kit",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "author": "makeco",
5
5
  "repository": {
6
6
  "type": "git",