@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.
- package/README.md +6 -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
|
-
|
|
84
|
-
|
|
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
|
});
|