@funnelsgrove/cli 0.1.68 → 0.1.73

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 (26) hide show
  1. package/funnel-contract-compatibility.json +58 -58
  2. package/package.json +4 -4
  3. package/template_docs/.funnelsgrove-docs.json +9 -9
  4. package/template_docs/docs/funnelsgrove/contracts/analytics-events.md +2 -1
  5. package/template_docs/docs/funnelsgrove/contracts/payments.md +6 -1
  6. package/template_docs/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
  7. package/template_docs/docs/funnelsgrove/qa/analytics.md +4 -0
  8. package/template_docs/docs/funnelsgrove/qa/paywall-checkout.md +3 -0
  9. package/template_docs/docs/funnelsgrove/steps/paywall_offer.md +4 -2
  10. package/template_docs/docs/funnelsgrove/steps/upsell_offer.md +3 -2
  11. package/template_docs/funnel-docs.config.json +1 -1
  12. package/template_scaffold/.funnelsgrove-docs.json +9 -9
  13. package/template_scaffold/.funnelsgrove-scaffold.json +16 -16
  14. package/template_scaffold/docs/funnelsgrove/contracts/analytics-events.md +2 -1
  15. package/template_scaffold/docs/funnelsgrove/contracts/payments.md +6 -1
  16. package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
  17. package/template_scaffold/docs/funnelsgrove/qa/analytics.md +4 -0
  18. package/template_scaffold/docs/funnelsgrove/qa/paywall-checkout.md +3 -0
  19. package/template_scaffold/docs/funnelsgrove/steps/paywall_offer.md +4 -2
  20. package/template_scaffold/docs/funnelsgrove/steps/upsell_offer.md +3 -2
  21. package/template_scaffold/funnel-docs.config.json +1 -1
  22. package/template_scaffold/package-lock.json +15 -15
  23. package/template_scaffold/package.json +3 -3
  24. package/template_scaffold/src/steps/step-32-paywall.tsx +89 -106
  25. package/template_scaffold/tests/funnel-agent-docs.test.ts +1 -1
  26. package/template_scaffold/tests/src/steps/step-32-paywall.test.ts +37 -51
@@ -4,10 +4,10 @@
4
4
  "minimumCliVersion": "0.1.20",
5
5
  "entries": [
6
6
  {
7
- "repositoryCliVersion": "0.1.68",
7
+ "repositoryCliVersion": "0.1.73",
8
8
  "manifest": {
9
9
  "schemaVersion": 1,
10
- "bundleVersion": "2.0.57",
10
+ "bundleVersion": "2.0.62",
11
11
  "stepContractVersion": 3,
12
12
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
13
13
  "managedFiles": [
@@ -25,7 +25,7 @@
25
25
  },
26
26
  {
27
27
  "path": "docs/funnelsgrove/contracts/analytics-events.md",
28
- "sha256": "496ebab7c1fd00b40f9a5b29a5d3f8b6605549bf5927eb4280ccdc3023acd3c9"
28
+ "sha256": "4324a89f55f38b148c13ad26cbc65a3efb45b8bd034180881b31b3093622e949"
29
29
  },
30
30
  {
31
31
  "path": "docs/funnelsgrove/contracts/content-answers.md",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  {
39
39
  "path": "docs/funnelsgrove/contracts/payments.md",
40
- "sha256": "3614a2c6e4d48411c9eba21400ce2699a49782d802aa08acc72335ed4ef2421d"
40
+ "sha256": "3e91737d0d9aef3f9e7842d87b5a4e6a922fc68a3f88da7ff4a09538f5f3e36d"
41
41
  },
42
42
  {
43
43
  "path": "docs/funnelsgrove/contracts/step-metadata.md",
@@ -45,11 +45,11 @@
45
45
  },
46
46
  {
47
47
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
48
- "sha256": "d1defd086fb3d785e49ec5dd2114d493261a3bba14f6f9c4c8cd38285c563056"
48
+ "sha256": "54e982ca3f199113646be0d6de1f8e2b8dde87744df82d6d7452d8e33b2b5258"
49
49
  },
50
50
  {
51
51
  "path": "docs/funnelsgrove/qa/analytics.md",
52
- "sha256": "1a42fcb7fccfb35f41fe2df297aadd67d6ea86fa3a9de2960c861664f32cf9ab"
52
+ "sha256": "53d528d318a76b74f57aaeabe73049f2c693b0ab5b3bc4277805ca4fd779b9a8"
53
53
  },
54
54
  {
55
55
  "path": "docs/funnelsgrove/qa/local.md",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  {
59
59
  "path": "docs/funnelsgrove/qa/paywall-checkout.md",
60
- "sha256": "6fc887772e52ddd99ab70d898d8fd9b89869ca49ce1b49152d232cbe32865aae"
60
+ "sha256": "982f18d6e150606dcabe947cea95b654b643b8200f873a56fe7fe43321359b83"
61
61
  },
62
62
  {
63
63
  "path": "docs/funnelsgrove/qa/publish.md",
@@ -101,7 +101,7 @@
101
101
  },
102
102
  {
103
103
  "path": "docs/funnelsgrove/steps/paywall_offer.md",
104
- "sha256": "969ee556ca1da3bfa09c21f530726467735693537452fcbf3065f21644b90669"
104
+ "sha256": "0fe7260fa4c22f10cb218193bbb870da5f48753d964b8a9250ecc79158dd5462"
105
105
  },
106
106
  {
107
107
  "path": "docs/funnelsgrove/steps/progress_interstitial.md",
@@ -137,7 +137,7 @@
137
137
  },
138
138
  {
139
139
  "path": "docs/funnelsgrove/steps/upsell_offer.md",
140
- "sha256": "832ffb5506ccdc72b28c839e1b574e5c9ba0c01755fa6c4be105dbe1136b21d0"
140
+ "sha256": "ba549a9355e9171193c765cc8744f68ae150c279bd9ffa08ef0f6fda0b71847b"
141
141
  },
142
142
  {
143
143
  "path": "docs/funnelsgrove/steps/value_prop_story.md",
@@ -145,16 +145,16 @@
145
145
  },
146
146
  {
147
147
  "path": "funnel-docs.config.json",
148
- "sha256": "6e29f38b19aaf964d22ad205ca766a7a54c6b5c998892700e16103451adfec43"
148
+ "sha256": "7f343fd806a932abcb3cac6463ae84a7532b7c9f583540e6fa06fd7ff7721ddf"
149
149
  }
150
150
  ]
151
151
  }
152
152
  },
153
153
  {
154
- "repositoryCliVersion": "0.1.67",
154
+ "repositoryCliVersion": "0.1.72",
155
155
  "manifest": {
156
156
  "schemaVersion": 1,
157
- "bundleVersion": "2.0.56",
157
+ "bundleVersion": "2.0.61",
158
158
  "stepContractVersion": 3,
159
159
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
160
160
  "managedFiles": [
@@ -172,7 +172,7 @@
172
172
  },
173
173
  {
174
174
  "path": "docs/funnelsgrove/contracts/analytics-events.md",
175
- "sha256": "496ebab7c1fd00b40f9a5b29a5d3f8b6605549bf5927eb4280ccdc3023acd3c9"
175
+ "sha256": "4324a89f55f38b148c13ad26cbc65a3efb45b8bd034180881b31b3093622e949"
176
176
  },
177
177
  {
178
178
  "path": "docs/funnelsgrove/contracts/content-answers.md",
@@ -184,7 +184,7 @@
184
184
  },
185
185
  {
186
186
  "path": "docs/funnelsgrove/contracts/payments.md",
187
- "sha256": "3614a2c6e4d48411c9eba21400ce2699a49782d802aa08acc72335ed4ef2421d"
187
+ "sha256": "3e91737d0d9aef3f9e7842d87b5a4e6a922fc68a3f88da7ff4a09538f5f3e36d"
188
188
  },
189
189
  {
190
190
  "path": "docs/funnelsgrove/contracts/step-metadata.md",
@@ -192,11 +192,11 @@
192
192
  },
193
193
  {
194
194
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
195
- "sha256": "3f89ff9d4d5501c6d3562f4d60d5d2fbc46d0069866353d0fe9a899e4690ac24"
195
+ "sha256": "217b719ef163d485c7a740906b3a1d551f5af37faf9fb721fc61d1fecf5fa9e6"
196
196
  },
197
197
  {
198
198
  "path": "docs/funnelsgrove/qa/analytics.md",
199
- "sha256": "1a42fcb7fccfb35f41fe2df297aadd67d6ea86fa3a9de2960c861664f32cf9ab"
199
+ "sha256": "53d528d318a76b74f57aaeabe73049f2c693b0ab5b3bc4277805ca4fd779b9a8"
200
200
  },
201
201
  {
202
202
  "path": "docs/funnelsgrove/qa/local.md",
@@ -204,7 +204,7 @@
204
204
  },
205
205
  {
206
206
  "path": "docs/funnelsgrove/qa/paywall-checkout.md",
207
- "sha256": "6fc887772e52ddd99ab70d898d8fd9b89869ca49ce1b49152d232cbe32865aae"
207
+ "sha256": "982f18d6e150606dcabe947cea95b654b643b8200f873a56fe7fe43321359b83"
208
208
  },
209
209
  {
210
210
  "path": "docs/funnelsgrove/qa/publish.md",
@@ -248,7 +248,7 @@
248
248
  },
249
249
  {
250
250
  "path": "docs/funnelsgrove/steps/paywall_offer.md",
251
- "sha256": "969ee556ca1da3bfa09c21f530726467735693537452fcbf3065f21644b90669"
251
+ "sha256": "0fe7260fa4c22f10cb218193bbb870da5f48753d964b8a9250ecc79158dd5462"
252
252
  },
253
253
  {
254
254
  "path": "docs/funnelsgrove/steps/progress_interstitial.md",
@@ -284,7 +284,7 @@
284
284
  },
285
285
  {
286
286
  "path": "docs/funnelsgrove/steps/upsell_offer.md",
287
- "sha256": "832ffb5506ccdc72b28c839e1b574e5c9ba0c01755fa6c4be105dbe1136b21d0"
287
+ "sha256": "ba549a9355e9171193c765cc8744f68ae150c279bd9ffa08ef0f6fda0b71847b"
288
288
  },
289
289
  {
290
290
  "path": "docs/funnelsgrove/steps/value_prop_story.md",
@@ -292,16 +292,16 @@
292
292
  },
293
293
  {
294
294
  "path": "funnel-docs.config.json",
295
- "sha256": "44a40a7630f8ffd287390886d48461cbfb982160daaa9c77a816fbdf446df683"
295
+ "sha256": "f9be1a58ba8548ecbf51b2676479964dca89a04a63c9de53f6f805a6ed090fd0"
296
296
  }
297
297
  ]
298
298
  }
299
299
  },
300
300
  {
301
- "repositoryCliVersion": "0.1.66",
301
+ "repositoryCliVersion": "0.1.71",
302
302
  "manifest": {
303
303
  "schemaVersion": 1,
304
- "bundleVersion": "2.0.55",
304
+ "bundleVersion": "2.0.60",
305
305
  "stepContractVersion": 3,
306
306
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
307
307
  "managedFiles": [
@@ -319,7 +319,7 @@
319
319
  },
320
320
  {
321
321
  "path": "docs/funnelsgrove/contracts/analytics-events.md",
322
- "sha256": "496ebab7c1fd00b40f9a5b29a5d3f8b6605549bf5927eb4280ccdc3023acd3c9"
322
+ "sha256": "4324a89f55f38b148c13ad26cbc65a3efb45b8bd034180881b31b3093622e949"
323
323
  },
324
324
  {
325
325
  "path": "docs/funnelsgrove/contracts/content-answers.md",
@@ -331,7 +331,7 @@
331
331
  },
332
332
  {
333
333
  "path": "docs/funnelsgrove/contracts/payments.md",
334
- "sha256": "3614a2c6e4d48411c9eba21400ce2699a49782d802aa08acc72335ed4ef2421d"
334
+ "sha256": "3e91737d0d9aef3f9e7842d87b5a4e6a922fc68a3f88da7ff4a09538f5f3e36d"
335
335
  },
336
336
  {
337
337
  "path": "docs/funnelsgrove/contracts/step-metadata.md",
@@ -339,11 +339,11 @@
339
339
  },
340
340
  {
341
341
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
342
- "sha256": "c27e6c1a0fcf279e9fb36e53249021f46bb99117e7ae1f5cee3d0861b705395f"
342
+ "sha256": "cf02bed62505b7b00ce5f6175eaa2fde99159556b37aad0f304ceba407041173"
343
343
  },
344
344
  {
345
345
  "path": "docs/funnelsgrove/qa/analytics.md",
346
- "sha256": "1a42fcb7fccfb35f41fe2df297aadd67d6ea86fa3a9de2960c861664f32cf9ab"
346
+ "sha256": "53d528d318a76b74f57aaeabe73049f2c693b0ab5b3bc4277805ca4fd779b9a8"
347
347
  },
348
348
  {
349
349
  "path": "docs/funnelsgrove/qa/local.md",
@@ -351,7 +351,7 @@
351
351
  },
352
352
  {
353
353
  "path": "docs/funnelsgrove/qa/paywall-checkout.md",
354
- "sha256": "6fc887772e52ddd99ab70d898d8fd9b89869ca49ce1b49152d232cbe32865aae"
354
+ "sha256": "982f18d6e150606dcabe947cea95b654b643b8200f873a56fe7fe43321359b83"
355
355
  },
356
356
  {
357
357
  "path": "docs/funnelsgrove/qa/publish.md",
@@ -395,7 +395,7 @@
395
395
  },
396
396
  {
397
397
  "path": "docs/funnelsgrove/steps/paywall_offer.md",
398
- "sha256": "969ee556ca1da3bfa09c21f530726467735693537452fcbf3065f21644b90669"
398
+ "sha256": "0fe7260fa4c22f10cb218193bbb870da5f48753d964b8a9250ecc79158dd5462"
399
399
  },
400
400
  {
401
401
  "path": "docs/funnelsgrove/steps/progress_interstitial.md",
@@ -431,7 +431,7 @@
431
431
  },
432
432
  {
433
433
  "path": "docs/funnelsgrove/steps/upsell_offer.md",
434
- "sha256": "832ffb5506ccdc72b28c839e1b574e5c9ba0c01755fa6c4be105dbe1136b21d0"
434
+ "sha256": "ba549a9355e9171193c765cc8744f68ae150c279bd9ffa08ef0f6fda0b71847b"
435
435
  },
436
436
  {
437
437
  "path": "docs/funnelsgrove/steps/value_prop_story.md",
@@ -439,16 +439,16 @@
439
439
  },
440
440
  {
441
441
  "path": "funnel-docs.config.json",
442
- "sha256": "c4c7bf1252585ecc3eaa0d8f93fdb056a50e0d3ded134c2e32a051dabd247959"
442
+ "sha256": "2cd26fc471e315234da4daca6d5f54bf33107d9c7671e1db1a4ba229bc5c2ba0"
443
443
  }
444
444
  ]
445
445
  }
446
446
  },
447
447
  {
448
- "repositoryCliVersion": "0.1.65",
448
+ "repositoryCliVersion": "0.1.70",
449
449
  "manifest": {
450
450
  "schemaVersion": 1,
451
- "bundleVersion": "2.0.54",
451
+ "bundleVersion": "2.0.59",
452
452
  "stepContractVersion": 3,
453
453
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
454
454
  "managedFiles": [
@@ -466,7 +466,7 @@
466
466
  },
467
467
  {
468
468
  "path": "docs/funnelsgrove/contracts/analytics-events.md",
469
- "sha256": "496ebab7c1fd00b40f9a5b29a5d3f8b6605549bf5927eb4280ccdc3023acd3c9"
469
+ "sha256": "4324a89f55f38b148c13ad26cbc65a3efb45b8bd034180881b31b3093622e949"
470
470
  },
471
471
  {
472
472
  "path": "docs/funnelsgrove/contracts/content-answers.md",
@@ -478,7 +478,7 @@
478
478
  },
479
479
  {
480
480
  "path": "docs/funnelsgrove/contracts/payments.md",
481
- "sha256": "3614a2c6e4d48411c9eba21400ce2699a49782d802aa08acc72335ed4ef2421d"
481
+ "sha256": "3e91737d0d9aef3f9e7842d87b5a4e6a922fc68a3f88da7ff4a09538f5f3e36d"
482
482
  },
483
483
  {
484
484
  "path": "docs/funnelsgrove/contracts/step-metadata.md",
@@ -486,11 +486,11 @@
486
486
  },
487
487
  {
488
488
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
489
- "sha256": "1efb49d4c6adf05d1d64524110d4a651ad63b32c1862899d10cf4a9a56d50a41"
489
+ "sha256": "f3a61a8d62eb9644f8cf20f86f856b5664cbf1c94e172694c4becc9a6bd11821"
490
490
  },
491
491
  {
492
492
  "path": "docs/funnelsgrove/qa/analytics.md",
493
- "sha256": "1a42fcb7fccfb35f41fe2df297aadd67d6ea86fa3a9de2960c861664f32cf9ab"
493
+ "sha256": "53d528d318a76b74f57aaeabe73049f2c693b0ab5b3bc4277805ca4fd779b9a8"
494
494
  },
495
495
  {
496
496
  "path": "docs/funnelsgrove/qa/local.md",
@@ -498,7 +498,7 @@
498
498
  },
499
499
  {
500
500
  "path": "docs/funnelsgrove/qa/paywall-checkout.md",
501
- "sha256": "6fc887772e52ddd99ab70d898d8fd9b89869ca49ce1b49152d232cbe32865aae"
501
+ "sha256": "982f18d6e150606dcabe947cea95b654b643b8200f873a56fe7fe43321359b83"
502
502
  },
503
503
  {
504
504
  "path": "docs/funnelsgrove/qa/publish.md",
@@ -542,7 +542,7 @@
542
542
  },
543
543
  {
544
544
  "path": "docs/funnelsgrove/steps/paywall_offer.md",
545
- "sha256": "969ee556ca1da3bfa09c21f530726467735693537452fcbf3065f21644b90669"
545
+ "sha256": "0fe7260fa4c22f10cb218193bbb870da5f48753d964b8a9250ecc79158dd5462"
546
546
  },
547
547
  {
548
548
  "path": "docs/funnelsgrove/steps/progress_interstitial.md",
@@ -578,7 +578,7 @@
578
578
  },
579
579
  {
580
580
  "path": "docs/funnelsgrove/steps/upsell_offer.md",
581
- "sha256": "832ffb5506ccdc72b28c839e1b574e5c9ba0c01755fa6c4be105dbe1136b21d0"
581
+ "sha256": "ba549a9355e9171193c765cc8744f68ae150c279bd9ffa08ef0f6fda0b71847b"
582
582
  },
583
583
  {
584
584
  "path": "docs/funnelsgrove/steps/value_prop_story.md",
@@ -586,16 +586,16 @@
586
586
  },
587
587
  {
588
588
  "path": "funnel-docs.config.json",
589
- "sha256": "f52545efb1bc7fdf11ae4a792feb3b0eb50c45a01a08036136242bbd483162f2"
589
+ "sha256": "ffae3632d0eb3d1c8f58542d89a95f9068e8fcb7540ea46d1a0a3502419fc599"
590
590
  }
591
591
  ]
592
592
  }
593
593
  },
594
594
  {
595
- "repositoryCliVersion": "0.1.64",
595
+ "repositoryCliVersion": "0.1.69",
596
596
  "manifest": {
597
597
  "schemaVersion": 1,
598
- "bundleVersion": "2.0.53",
598
+ "bundleVersion": "2.0.58",
599
599
  "stepContractVersion": 3,
600
600
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
601
601
  "managedFiles": [
@@ -613,7 +613,7 @@
613
613
  },
614
614
  {
615
615
  "path": "docs/funnelsgrove/contracts/analytics-events.md",
616
- "sha256": "496ebab7c1fd00b40f9a5b29a5d3f8b6605549bf5927eb4280ccdc3023acd3c9"
616
+ "sha256": "4324a89f55f38b148c13ad26cbc65a3efb45b8bd034180881b31b3093622e949"
617
617
  },
618
618
  {
619
619
  "path": "docs/funnelsgrove/contracts/content-answers.md",
@@ -625,7 +625,7 @@
625
625
  },
626
626
  {
627
627
  "path": "docs/funnelsgrove/contracts/payments.md",
628
- "sha256": "3614a2c6e4d48411c9eba21400ce2699a49782d802aa08acc72335ed4ef2421d"
628
+ "sha256": "3e91737d0d9aef3f9e7842d87b5a4e6a922fc68a3f88da7ff4a09538f5f3e36d"
629
629
  },
630
630
  {
631
631
  "path": "docs/funnelsgrove/contracts/step-metadata.md",
@@ -633,11 +633,11 @@
633
633
  },
634
634
  {
635
635
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
636
- "sha256": "7488bcd0e73a7070aea003f5f5cbb2be59e63fad1e48c32e136c5a2e9f7f5360"
636
+ "sha256": "6a6f526910ce80032feae59d33fc079f10168554430a582f03b39b73d0109367"
637
637
  },
638
638
  {
639
639
  "path": "docs/funnelsgrove/qa/analytics.md",
640
- "sha256": "1a42fcb7fccfb35f41fe2df297aadd67d6ea86fa3a9de2960c861664f32cf9ab"
640
+ "sha256": "53d528d318a76b74f57aaeabe73049f2c693b0ab5b3bc4277805ca4fd779b9a8"
641
641
  },
642
642
  {
643
643
  "path": "docs/funnelsgrove/qa/local.md",
@@ -645,7 +645,7 @@
645
645
  },
646
646
  {
647
647
  "path": "docs/funnelsgrove/qa/paywall-checkout.md",
648
- "sha256": "6fc887772e52ddd99ab70d898d8fd9b89869ca49ce1b49152d232cbe32865aae"
648
+ "sha256": "982f18d6e150606dcabe947cea95b654b643b8200f873a56fe7fe43321359b83"
649
649
  },
650
650
  {
651
651
  "path": "docs/funnelsgrove/qa/publish.md",
@@ -689,7 +689,7 @@
689
689
  },
690
690
  {
691
691
  "path": "docs/funnelsgrove/steps/paywall_offer.md",
692
- "sha256": "969ee556ca1da3bfa09c21f530726467735693537452fcbf3065f21644b90669"
692
+ "sha256": "0fe7260fa4c22f10cb218193bbb870da5f48753d964b8a9250ecc79158dd5462"
693
693
  },
694
694
  {
695
695
  "path": "docs/funnelsgrove/steps/progress_interstitial.md",
@@ -725,7 +725,7 @@
725
725
  },
726
726
  {
727
727
  "path": "docs/funnelsgrove/steps/upsell_offer.md",
728
- "sha256": "832ffb5506ccdc72b28c839e1b574e5c9ba0c01755fa6c4be105dbe1136b21d0"
728
+ "sha256": "ba549a9355e9171193c765cc8744f68ae150c279bd9ffa08ef0f6fda0b71847b"
729
729
  },
730
730
  {
731
731
  "path": "docs/funnelsgrove/steps/value_prop_story.md",
@@ -733,16 +733,16 @@
733
733
  },
734
734
  {
735
735
  "path": "funnel-docs.config.json",
736
- "sha256": "cf2e7c92984818a28baa7ee330f5979225dc0b5a66aed8a25ffec89a11137e4b"
736
+ "sha256": "ec76219d1d3a50f95fc9f5c5b690eb6747c0d468b81c11a926ed9ec484ffc654"
737
737
  }
738
738
  ]
739
739
  }
740
740
  },
741
741
  {
742
- "repositoryCliVersion": "0.1.64",
742
+ "repositoryCliVersion": "0.1.68",
743
743
  "manifest": {
744
744
  "schemaVersion": 1,
745
- "bundleVersion": "2.0.52",
745
+ "bundleVersion": "2.0.57",
746
746
  "stepContractVersion": 3,
747
747
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
748
748
  "managedFiles": [
@@ -780,7 +780,7 @@
780
780
  },
781
781
  {
782
782
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
783
- "sha256": "7488bcd0e73a7070aea003f5f5cbb2be59e63fad1e48c32e136c5a2e9f7f5360"
783
+ "sha256": "d1defd086fb3d785e49ec5dd2114d493261a3bba14f6f9c4c8cd38285c563056"
784
784
  },
785
785
  {
786
786
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -880,16 +880,16 @@
880
880
  },
881
881
  {
882
882
  "path": "funnel-docs.config.json",
883
- "sha256": "63df77a196cbbf761f46bd5256dcca81fa933d49f3faf9f00619b33ec3cbf96a"
883
+ "sha256": "6e29f38b19aaf964d22ad205ca766a7a54c6b5c998892700e16103451adfec43"
884
884
  }
885
885
  ]
886
886
  }
887
887
  },
888
888
  {
889
- "repositoryCliVersion": "0.1.62",
889
+ "repositoryCliVersion": "0.1.67",
890
890
  "manifest": {
891
891
  "schemaVersion": 1,
892
- "bundleVersion": "2.0.51",
892
+ "bundleVersion": "2.0.56",
893
893
  "stepContractVersion": 3,
894
894
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
895
895
  "managedFiles": [
@@ -927,7 +927,7 @@
927
927
  },
928
928
  {
929
929
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
930
- "sha256": "10cd5853ffbe09a300fe222b18d1f7d7c1dd0f61a02693dd8e6d586b283f2121"
930
+ "sha256": "3f89ff9d4d5501c6d3562f4d60d5d2fbc46d0069866353d0fe9a899e4690ac24"
931
931
  },
932
932
  {
933
933
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -1027,7 +1027,7 @@
1027
1027
  },
1028
1028
  {
1029
1029
  "path": "funnel-docs.config.json",
1030
- "sha256": "06c7a3e1b2885129c83e8dd405a9d37ef6f87a14702d92c420772e5bf733f9cc"
1030
+ "sha256": "44a40a7630f8ffd287390886d48461cbfb982160daaa9c77a816fbdf446df683"
1031
1031
  }
1032
1032
  ]
1033
1033
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnelsgrove/cli",
3
- "version": "0.1.68",
3
+ "version": "0.1.73",
4
4
  "description": "FunnelsGrove command-line tools for editing, syncing, and publishing funnels",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,13 +34,13 @@
34
34
  "test": "vitest run"
35
35
  },
36
36
  "dependencies": {
37
- "@funnelsgrove/runtime": "0.7.2",
37
+ "@funnelsgrove/runtime": "0.7.4",
38
38
  "commander": "^12.0.0",
39
39
  "typescript": "^5.8.3"
40
40
  },
41
41
  "devDependencies": {
42
- "@funnelsgrove/analytics": "0.1.51",
43
- "@funnelsgrove/payments": "0.7.1",
42
+ "@funnelsgrove/analytics": "0.1.53",
43
+ "@funnelsgrove/payments": "0.7.3",
44
44
  "vitest": "^3.0.0"
45
45
  }
46
46
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.57",
3
+ "bundleVersion": "2.0.62",
4
4
  "stepContractVersion": 3,
5
5
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
6
6
  "managedFiles": [
@@ -18,7 +18,7 @@
18
18
  },
19
19
  {
20
20
  "path": "docs/funnelsgrove/contracts/analytics-events.md",
21
- "sha256": "496ebab7c1fd00b40f9a5b29a5d3f8b6605549bf5927eb4280ccdc3023acd3c9"
21
+ "sha256": "4324a89f55f38b148c13ad26cbc65a3efb45b8bd034180881b31b3093622e949"
22
22
  },
23
23
  {
24
24
  "path": "docs/funnelsgrove/contracts/content-answers.md",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  {
32
32
  "path": "docs/funnelsgrove/contracts/payments.md",
33
- "sha256": "3614a2c6e4d48411c9eba21400ce2699a49782d802aa08acc72335ed4ef2421d"
33
+ "sha256": "3e91737d0d9aef3f9e7842d87b5a4e6a922fc68a3f88da7ff4a09538f5f3e36d"
34
34
  },
35
35
  {
36
36
  "path": "docs/funnelsgrove/contracts/step-metadata.md",
@@ -38,11 +38,11 @@
38
38
  },
39
39
  {
40
40
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
41
- "sha256": "d1defd086fb3d785e49ec5dd2114d493261a3bba14f6f9c4c8cd38285c563056"
41
+ "sha256": "54e982ca3f199113646be0d6de1f8e2b8dde87744df82d6d7452d8e33b2b5258"
42
42
  },
43
43
  {
44
44
  "path": "docs/funnelsgrove/qa/analytics.md",
45
- "sha256": "1a42fcb7fccfb35f41fe2df297aadd67d6ea86fa3a9de2960c861664f32cf9ab"
45
+ "sha256": "53d528d318a76b74f57aaeabe73049f2c693b0ab5b3bc4277805ca4fd779b9a8"
46
46
  },
47
47
  {
48
48
  "path": "docs/funnelsgrove/qa/local.md",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  {
52
52
  "path": "docs/funnelsgrove/qa/paywall-checkout.md",
53
- "sha256": "6fc887772e52ddd99ab70d898d8fd9b89869ca49ce1b49152d232cbe32865aae"
53
+ "sha256": "982f18d6e150606dcabe947cea95b654b643b8200f873a56fe7fe43321359b83"
54
54
  },
55
55
  {
56
56
  "path": "docs/funnelsgrove/qa/publish.md",
@@ -94,7 +94,7 @@
94
94
  },
95
95
  {
96
96
  "path": "docs/funnelsgrove/steps/paywall_offer.md",
97
- "sha256": "969ee556ca1da3bfa09c21f530726467735693537452fcbf3065f21644b90669"
97
+ "sha256": "0fe7260fa4c22f10cb218193bbb870da5f48753d964b8a9250ecc79158dd5462"
98
98
  },
99
99
  {
100
100
  "path": "docs/funnelsgrove/steps/progress_interstitial.md",
@@ -130,7 +130,7 @@
130
130
  },
131
131
  {
132
132
  "path": "docs/funnelsgrove/steps/upsell_offer.md",
133
- "sha256": "832ffb5506ccdc72b28c839e1b574e5c9ba0c01755fa6c4be105dbe1136b21d0"
133
+ "sha256": "ba549a9355e9171193c765cc8744f68ae150c279bd9ffa08ef0f6fda0b71847b"
134
134
  },
135
135
  {
136
136
  "path": "docs/funnelsgrove/steps/value_prop_story.md",
@@ -138,7 +138,7 @@
138
138
  },
139
139
  {
140
140
  "path": "funnel-docs.config.json",
141
- "sha256": "6e29f38b19aaf964d22ad205ca766a7a54c6b5c998892700e16103451adfec43"
141
+ "sha256": "7f343fd806a932abcb3cac6463ae84a7532b7c9f583540e6fa06fd7ff7721ddf"
142
142
  }
143
143
  ]
144
144
  }
@@ -34,11 +34,12 @@ The `purchase_completed` event is owned by `trusted-server` and is recorded only
34
34
  - The flow controller emits lifecycle events. Step components do not duplicate them.
35
35
  - `step_engaged` is non-automatic and absent by default; only an explicit, centralized, tested policy may emit it through the approved controller/helper boundary.
36
36
  - `submitEmailCapture` creates `email_captured` transactionally, then routes only after success.
37
- - Named payment helpers emit checkout semantic events at real payment boundaries.
37
+ - Shared payments components emit checkout semantic events at real payment boundaries when given `checkoutAnalytics`: dialog/wallet intent owns `checkout_started`, actual submit owns `add_payment_info`, and verified success owns `checkout_completed`. Funnel components do not call those SDK methods directly.
38
38
  - The terminal helper owns funnel completion.
39
39
  - A trusted backend owns `purchase_completed` after verifying an initial subscription or one-time payment; browser code never emits it. This purchase event is independent from the paywall-reach definition of Quiz completed.
40
40
  - A separate trusted server claim owns `registration_completed` when the purchased subscription is later linked in the app.
41
41
  - Provider adapters and the durable outbox own PostHog and server Meta delivery.
42
+ - Stripe return URLs use `trackStripePaymentCheckoutReturn` only for deduplicated `payment_checkout_succeeded` / `payment_checkout_returned` diagnostics. Browser query parameters never prove a purchase.
42
43
 
43
44
  ## Privacy boundary
44
45
 
@@ -30,11 +30,16 @@ A paywall presents purchasable plans. A reveal, loading state, calculation, or
30
30
  ## Payment rules
31
31
 
32
32
  - Resolve plans, prices, discounts, currencies, provider IDs, and payment mode from shared configuration.
33
- - Use named checkout helpers at actual checkout-started, payment-info, and completed boundaries.
33
+ - Use `SharedStripeCheckoutV2Dialog` for card checkout and one `StripeSubscriptionWalletSurface` per simultaneously visible wallet placement. Never share a `useStripeSubscriptionCheckoutSession` result between card and wallet surfaces or between two visible wallet placements.
34
+ - Pass `checkoutAnalytics` to every shared dialog and wallet surface. The payments package owns `checkout_started`, `add_payment_info`, and verified `checkout_completed`; do not call the corresponding `publicAnalyticsSdk` methods in funnel components.
35
+ - Treat `onSuccess` as the first valid place to call `completeStep` for a purchase flow. Payment-info submission, dialog open, session creation, browser return, and provider-pending state are not lifecycle completion.
36
+ - Use `completeStripeOneClickPayment` for one-click upsells. Do not duplicate the public one-click endpoint, Stripe loader, or `confirmPayment` inside a funnel.
34
37
  - Reuse the same event ID when retrying the same logical conversion.
35
38
  - Keep secrets and trusted provider calls server-side.
36
39
  - Route post-purchase behavior through the manifest and runtime handoff helper.
37
40
 
41
+ On a Stripe return screen, call `trackStripePaymentCheckoutReturn` for browser diagnostics. Query parameters never prove `checkout_completed` or `purchase_completed`.
42
+
38
43
  ## Purchase completion separation
39
44
 
40
45
  Quiz completed counts each unique user who reaches a paywall step. `purchase_completed` remains trusted-server-only purchase verification and does not define Quiz completed. Browser terminal reach and `funnel_completed` remain lifecycle-only and are not purchase conversions.
@@ -17,7 +17,7 @@ Supported read versions: `1`, `2`, `3`. Authoring and publish target version `3`
17
17
 
18
18
  ### Package release order
19
19
 
20
- Release `@funnelsgrove/runtime` `0.7.2` first, then `@funnelsgrove/analytics` `0.1.51`, then `@funnelsgrove/payments` `0.7.1`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.68`. Publishing packages and deploying production remain separately approved operational actions.
20
+ Release `@funnelsgrove/runtime` `0.7.4` first, then `@funnelsgrove/analytics` `0.1.53`, then `@funnelsgrove/payments` `0.7.3`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.73`. Publishing packages and deploying production remain separately approved operational actions.
21
21
  <!-- funnelsgrove:generated:end contract-v3/migration/step-contract-v3 -->
22
22
 
23
23
  ## Version-last policy
@@ -25,6 +25,10 @@ Contract hash: `d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf
25
25
 
26
26
  ## Journey assertions
27
27
 
28
+ - Shared checkout UI receives `checkoutAnalytics`; funnel paywalls do not call `trackCheckoutStarted`, `trackPaymentInfoSubmitted`, or `trackCheckoutCompleted` directly.
29
+ - Card and each visible wallet surface use their own Checkout Session id for semantic-event deduplication.
30
+ - Stripe return query parameters produce only `payment_checkout_succeeded` / `payment_checkout_returned` diagnostics through `trackStripePaymentCheckoutReturn`, never a trusted purchase.
31
+
28
32
  - Funnel start occurs once per run.
29
33
  - Each visit has one start and exactly one completion or exit.
30
34
  - First-step view/click dedupe correctly.
@@ -48,8 +48,11 @@ _Not a choice type._
48
48
 
49
49
  - Verify every plan, price, currency, discount, and eligibility rule.
50
50
  - Test card and every enabled wallet.
51
+ - Confirm every visible wallet placement has its own `StripeSubscriptionWalletSurface` session and the card dialog has a separate `useStripeSubscriptionCheckoutSession`.
51
52
  - Test validation, decline, retry, cancel, double-submit, and provider delay.
52
53
  - Verify named checkout events, complete metadata, one event ID, and retry deduplication.
54
+ - Verify payment-info submission does not call `completeStep`; verified `onSuccess` does.
55
+ - Verify funnel code contains no direct checkout analytics calls, one-click endpoint fetch, or direct Stripe confirmation.
53
56
  - Verify success routing and the `purchase_completed` terminal handoff.
54
57
 
55
58
  Run `fgrove validate` after all checks.
@@ -85,22 +85,24 @@ The controller owns view/start/completion/exit lifecycle. Closing or leaving wit
85
85
 
86
86
  ## Required semantic conversions
87
87
 
88
- Use named helpers for checkout started, payment info, and checkout completed at their real boundaries with one stable event ID.
88
+ Pass `checkoutAnalytics` into `SharedStripeCheckoutV2Dialog` and every `StripeSubscriptionWalletSurface`. Those shared components emit checkout started, payment info, and verified checkout completed with the real Checkout Session identity. Do not call the analytics SDK methods directly.
89
89
 
90
90
  ## Approved shared helpers
91
91
 
92
- Use shared plan resolution, checkout, wallet, and `trackCheckoutStarted`, `trackPaymentInfoSubmitted`, and `trackCheckoutCompleted` helpers.
92
+ Use shared plan resolution, `useStripeSubscriptionCheckoutSession` for the card dialog, `SharedStripeCheckoutV2Dialog`, and one private-session `StripeSubscriptionWalletSurface` per visible wallet placement. Call `completeStep` only from `onSuccess`.
93
93
 
94
94
  ## MUST rules
95
95
 
96
96
  - Keep the primary paywall identity exact; variants use contract-compliant distinct identities.
97
97
  - Present at least one purchasable plan.
98
98
  - Read prices, discounts, provider IDs, and payment mode from shared configuration.
99
+ - Keep card and wallet Checkout Sessions isolated even when they show the same plan.
99
100
 
100
101
  ## NEVER rules
101
102
 
102
103
  - Never classify a reveal/interstitial as a paywall.
103
104
  - Never put secrets, provider IDs, amount math, or provider analytics in JSX.
105
+ - Never complete the step on payment-info submission or manually emit checkout semantic events.
104
106
 
105
107
  ## Golden template or fixture
106
108