@vibes.diy/prompts 14.3.246 → 14.3.248

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.
@@ -50,8 +50,8 @@ state.** `useConnection(network)` gives `state` (`pending` | `absent` | `live` |
50
50
 
51
51
  **Offer a Renew button while a connection is `expiring`.** LinkedIn's sign-in
52
52
  lasts 60 days and cannot renew by itself: the person renews it by signing in
53
- again, and while they are still signed in to LinkedIn that takes one tap with
54
- no new consent screen. So `expiring` shows "Connected as … · Renew", and Renew
53
+ again: they confirm the platform's connect card, and while they are still
54
+ signed in to LinkedIn, LinkedIn's own screen passes straight through. So `expiring` shows "Connected as … · Renew", and Renew
55
55
  calls the same `link()` as Connect. A `dead` connection gets a Reconnect button
56
56
  that calls `link()` too. `link()` resolves when the sign-in starts, not when it
57
57
  finishes, so after it the button re-reads with `refresh()` every few seconds,
package/llms/stripe.md CHANGED
@@ -43,8 +43,8 @@ on the Setup screen into an empty field with no sparkle and no example handle
43
43
  happened. It does not mirror a Stripe subscription — cancellation, a failed
44
44
  renewal, an expiry — so a "subscription" or "paid tier" built on a permanently
45
45
  `paid` order would keep unlocking after billing stopped. Build recurring money
46
- as a one-time charge per period the app can see (annual dues, a season pass, a
47
- monthly bundle with its own order each month), say so plainly, and leave
46
+ as a one-time charge per period the app can see (annual dues, a season pass),
47
+ say so plainly, and leave
48
48
  `mode=subscription` out of this recipe. A real subscription — a paid newsletter,
49
49
  a monthly club — is the `stripe-subscriptions` skill, which mirrors Stripe's
50
50
  subscription state into the app and takes the person's cancellations and failed
@@ -1028,6 +1028,16 @@ storefront's own browser-written order goes away. Checkout charges the lines,
1028
1028
  so the storefront's shipping row goes too, unless backend.js prices shipping as
1029
1029
  a line of its own.
1030
1030
 
1031
+ A product listed with a period renews, so it sells on the `stripe-subscriptions` recipe: a line like *Monthly coffee bag, $22* or *Bread club, $30 a month* checks out in subscription mode with `price_data[recurring][interval]`, never as a one-time line in a payment-mode bag.
1032
+
1033
+ The bag pays the one-time products, and each renewing product is a plan with a
1034
+ **Subscribe** button of its own (that recipe's *A page that sells both*), so the
1035
+ starting catalog puts *Monthly coffee bag* on **Plans** and *Single bag* on
1036
+ **Products**. The owner's **Orders** lists each subscription beside the one-time
1037
+ orders, with Stripe's status and the next charge date read from its mirror. A
1038
+ shop whose page says *monthly* while its checkout charges once has broken its
1039
+ word to the buyer.
1040
+
1031
1041
  A shop with a bag shows the bag in the app's header: a link that carries the bag's live item count and jumps down to the bag or opens it as its own tab, so every Add to bag shows it landed.
1032
1042
 
1033
1043
  The header link reads like *Bag (3)*, its count is the sum of the quantities,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/prompts",
3
- "version": "14.3.246",
3
+ "version": "14.3.248",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "exports": {
@@ -39,10 +39,10 @@
39
39
  "license": "Apache-2.0",
40
40
  "dependencies": {
41
41
  "@adviser/cement": "~0.5.34",
42
- "@vibes.diy/api-types": "14.3.246",
43
- "@vibes.diy/call-ai-v2": "14.3.246",
44
- "@vibes.diy/identity": "14.3.246",
45
- "@vibes.diy/use-vibes-types": "14.3.246",
42
+ "@vibes.diy/api-types": "14.3.248",
43
+ "@vibes.diy/call-ai-v2": "14.3.248",
44
+ "@vibes.diy/identity": "14.3.248",
45
+ "@vibes.diy/use-vibes-types": "14.3.248",
46
46
  "arktype": "~2.2.8",
47
47
  "json-schema-faker": "~0.6.3"
48
48
  },