spaps 0.3.8 → 0.3.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spaps",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "Sweet Potato Authentication & Payment Service CLI - Zero-config local development and project scaffolding",
5
5
  "main": "bin/spaps.js",
6
6
  "bin": {
@@ -253,9 +253,9 @@ class LocalServer {
253
253
  const productsWithPrices = await Promise.all(
254
254
  products.data
255
255
  .filter(product => {
256
- // Only show products that were synced from SPAPS (have spaps_managed metadata)
257
- // or don't start with prod_local_ (which are local-only placeholders)
258
- return product.metadata?.spaps_managed === 'true' || !product.id.startsWith('prod_local_');
256
+ // Only show products that don't start with prod_local_ (which are local-only placeholders)
257
+ // These are the real Stripe products created from sync
258
+ return !product.id.startsWith('prod_local_');
259
259
  })
260
260
  .map(async (product) => {
261
261
  const prices = await stripe.prices.list({