@funnelsgrove/cli 0.1.94 → 0.1.96

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.
@@ -4,10 +4,10 @@
4
4
  "minimumCliVersion": "0.1.20",
5
5
  "entries": [
6
6
  {
7
- "repositoryCliVersion": "0.1.94",
7
+ "repositoryCliVersion": "0.1.96",
8
8
  "manifest": {
9
9
  "schemaVersion": 1,
10
- "bundleVersion": "2.0.83",
10
+ "bundleVersion": "2.0.85",
11
11
  "stepContractVersion": 3,
12
12
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
13
13
  "managedFiles": [
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
48
- "sha256": "118be5acdfeb1b1d73b1a83667a3f1e42e178f11180614d18c4dcb9c426bd266"
48
+ "sha256": "74aa4089312533fbafe2dcfef1044038cfe88dd9fbdcd2da65143dbb7a316e41"
49
49
  },
50
50
  {
51
51
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -145,16 +145,16 @@
145
145
  },
146
146
  {
147
147
  "path": "funnel-docs.config.json",
148
- "sha256": "dbb35c46981b0dc9f62c1d249d59f0f034c4743e3a388736fb6d0ba9521dfb31"
148
+ "sha256": "3b5146eafa49ffb2a0ccf1f0004c1aab0abefe410a2f7994154e1a45ae70a32f"
149
149
  }
150
150
  ]
151
151
  }
152
152
  },
153
153
  {
154
- "repositoryCliVersion": "0.1.93",
154
+ "repositoryCliVersion": "0.1.95",
155
155
  "manifest": {
156
156
  "schemaVersion": 1,
157
- "bundleVersion": "2.0.82",
157
+ "bundleVersion": "2.0.84",
158
158
  "stepContractVersion": 3,
159
159
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
160
160
  "managedFiles": [
@@ -192,7 +192,7 @@
192
192
  },
193
193
  {
194
194
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
195
- "sha256": "fd5ec5a46442cc09109f7e847a8f5e92ab2110c45cfb7ffa6a58fe9920345450"
195
+ "sha256": "c5314d0a369e449542919ac4bf4a9d2658d598f7bd1da0f124ae87548ba1484a"
196
196
  },
197
197
  {
198
198
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -292,16 +292,16 @@
292
292
  },
293
293
  {
294
294
  "path": "funnel-docs.config.json",
295
- "sha256": "88b1ff5404679a4ca3a85547a6aab25fc6472648fb26a92596fcf0f24f909d13"
295
+ "sha256": "cb8bbc961ee816f661f2b3d65cc4c310655a4a22be6bb68f6b10c5992c482213"
296
296
  }
297
297
  ]
298
298
  }
299
299
  },
300
300
  {
301
- "repositoryCliVersion": "0.1.92",
301
+ "repositoryCliVersion": "0.1.94",
302
302
  "manifest": {
303
303
  "schemaVersion": 1,
304
- "bundleVersion": "2.0.81",
304
+ "bundleVersion": "2.0.83",
305
305
  "stepContractVersion": 3,
306
306
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
307
307
  "managedFiles": [
@@ -339,7 +339,7 @@
339
339
  },
340
340
  {
341
341
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
342
- "sha256": "acade71994561bdcfd52526bd4b97043a1ee1125493c01a8e07d1d099daeaa85"
342
+ "sha256": "118be5acdfeb1b1d73b1a83667a3f1e42e178f11180614d18c4dcb9c426bd266"
343
343
  },
344
344
  {
345
345
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -439,16 +439,16 @@
439
439
  },
440
440
  {
441
441
  "path": "funnel-docs.config.json",
442
- "sha256": "7509cbaf23f1829d3744a4c363dd5ad4cbb87f7d0d9e818c860ced80206240c6"
442
+ "sha256": "dbb35c46981b0dc9f62c1d249d59f0f034c4743e3a388736fb6d0ba9521dfb31"
443
443
  }
444
444
  ]
445
445
  }
446
446
  },
447
447
  {
448
- "repositoryCliVersion": "0.1.91",
448
+ "repositoryCliVersion": "0.1.93",
449
449
  "manifest": {
450
450
  "schemaVersion": 1,
451
- "bundleVersion": "2.0.80",
451
+ "bundleVersion": "2.0.82",
452
452
  "stepContractVersion": 3,
453
453
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
454
454
  "managedFiles": [
@@ -486,7 +486,7 @@
486
486
  },
487
487
  {
488
488
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
489
- "sha256": "4f7ee09583c85958a870814635f4ee4c6d916ccd5b7cc42968988520c17b852a"
489
+ "sha256": "fd5ec5a46442cc09109f7e847a8f5e92ab2110c45cfb7ffa6a58fe9920345450"
490
490
  },
491
491
  {
492
492
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -586,16 +586,16 @@
586
586
  },
587
587
  {
588
588
  "path": "funnel-docs.config.json",
589
- "sha256": "e6fce188252d2ad6063a1c854e14380bd08d25795d13794431bafdf2993e33b4"
589
+ "sha256": "88b1ff5404679a4ca3a85547a6aab25fc6472648fb26a92596fcf0f24f909d13"
590
590
  }
591
591
  ]
592
592
  }
593
593
  },
594
594
  {
595
- "repositoryCliVersion": "0.1.90",
595
+ "repositoryCliVersion": "0.1.92",
596
596
  "manifest": {
597
597
  "schemaVersion": 1,
598
- "bundleVersion": "2.0.79",
598
+ "bundleVersion": "2.0.81",
599
599
  "stepContractVersion": 3,
600
600
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
601
601
  "managedFiles": [
@@ -633,7 +633,7 @@
633
633
  },
634
634
  {
635
635
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
636
- "sha256": "396ab94a2577461d4fdb8d7973bf276c7260ae223238935401c4a06255818a13"
636
+ "sha256": "acade71994561bdcfd52526bd4b97043a1ee1125493c01a8e07d1d099daeaa85"
637
637
  },
638
638
  {
639
639
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -733,16 +733,16 @@
733
733
  },
734
734
  {
735
735
  "path": "funnel-docs.config.json",
736
- "sha256": "35d29e8317be6bbe258e7945ac7966504d9b25bc343fa2502d0d4f52990c2eb9"
736
+ "sha256": "7509cbaf23f1829d3744a4c363dd5ad4cbb87f7d0d9e818c860ced80206240c6"
737
737
  }
738
738
  ]
739
739
  }
740
740
  },
741
741
  {
742
- "repositoryCliVersion": "0.1.89",
742
+ "repositoryCliVersion": "0.1.91",
743
743
  "manifest": {
744
744
  "schemaVersion": 1,
745
- "bundleVersion": "2.0.78",
745
+ "bundleVersion": "2.0.80",
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": "b99cbb6911d62d0bcc2da3a293381088dc22442516a557cc6af546df57e4772f"
783
+ "sha256": "4f7ee09583c85958a870814635f4ee4c6d916ccd5b7cc42968988520c17b852a"
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": "1ef47578f359fcefabf23abb246f5e709847c03dca3bbb23b354512d586568ed"
883
+ "sha256": "e6fce188252d2ad6063a1c854e14380bd08d25795d13794431bafdf2993e33b4"
884
884
  }
885
885
  ]
886
886
  }
887
887
  },
888
888
  {
889
- "repositoryCliVersion": "0.1.88",
889
+ "repositoryCliVersion": "0.1.90",
890
890
  "manifest": {
891
891
  "schemaVersion": 1,
892
- "bundleVersion": "2.0.77",
892
+ "bundleVersion": "2.0.79",
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": "5aaf06fd56f3a5c1d2988103f5ffbb2bf62d79af574f7ee876147852d3c5b51c"
930
+ "sha256": "396ab94a2577461d4fdb8d7973bf276c7260ae223238935401c4a06255818a13"
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": "df5dbd07655d33816088d0262af5630b5fdb66ba15bc314c0ee600d81bc84322"
1030
+ "sha256": "35d29e8317be6bbe258e7945ac7966504d9b25bc343fa2502d0d4f52990c2eb9"
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.94",
3
+ "version": "0.1.96",
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.11",
37
+ "@funnelsgrove/runtime": "0.7.12",
38
38
  "commander": "^12.0.0",
39
39
  "typescript": "^5.8.3"
40
40
  },
41
41
  "devDependencies": {
42
- "@funnelsgrove/analytics": "0.1.60",
43
- "@funnelsgrove/payments": "0.7.4",
42
+ "@funnelsgrove/analytics": "0.1.61",
43
+ "@funnelsgrove/payments": "0.7.5",
44
44
  "vitest": "^3.0.0"
45
45
  }
46
46
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.83",
3
+ "bundleVersion": "2.0.85",
4
4
  "stepContractVersion": 3,
5
5
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
6
6
  "managedFiles": [
@@ -38,7 +38,7 @@
38
38
  },
39
39
  {
40
40
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
41
- "sha256": "118be5acdfeb1b1d73b1a83667a3f1e42e178f11180614d18c4dcb9c426bd266"
41
+ "sha256": "74aa4089312533fbafe2dcfef1044038cfe88dd9fbdcd2da65143dbb7a316e41"
42
42
  },
43
43
  {
44
44
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -138,7 +138,7 @@
138
138
  },
139
139
  {
140
140
  "path": "funnel-docs.config.json",
141
- "sha256": "dbb35c46981b0dc9f62c1d249d59f0f034c4743e3a388736fb6d0ba9521dfb31"
141
+ "sha256": "3b5146eafa49ffb2a0ccf1f0004c1aab0abefe410a2f7994154e1a45ae70a32f"
142
142
  }
143
143
  ]
144
144
  }
@@ -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.11` first, then `@funnelsgrove/analytics` `0.1.60`, then `@funnelsgrove/payments` `0.7.4`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.94`. Publishing packages and deploying production remain separately approved operational actions.
20
+ Release `@funnelsgrove/runtime` `0.7.12` first, then `@funnelsgrove/analytics` `0.1.61`, then `@funnelsgrove/payments` `0.7.5`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.96`. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.83",
3
+ "bundleVersion": "2.0.85",
4
4
  "contractSource": "funnelsgrove-repository://apps/funnel-runtime/contracts/step-contract-v2.json",
5
5
  "fullyGenerated": [
6
6
  ".funnelsgrove-docs.json",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.83",
3
+ "bundleVersion": "2.0.85",
4
4
  "stepContractVersion": 3,
5
5
  "contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
6
6
  "managedFiles": [
@@ -38,7 +38,7 @@
38
38
  },
39
39
  {
40
40
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
41
- "sha256": "118be5acdfeb1b1d73b1a83667a3f1e42e178f11180614d18c4dcb9c426bd266"
41
+ "sha256": "74aa4089312533fbafe2dcfef1044038cfe88dd9fbdcd2da65143dbb7a316e41"
42
42
  },
43
43
  {
44
44
  "path": "docs/funnelsgrove/qa/analytics.md",
@@ -138,7 +138,7 @@
138
138
  },
139
139
  {
140
140
  "path": "funnel-docs.config.json",
141
- "sha256": "dbb35c46981b0dc9f62c1d249d59f0f034c4743e3a388736fb6d0ba9521dfb31"
141
+ "sha256": "3b5146eafa49ffb2a0ccf1f0004c1aab0abefe410a2f7994154e1a45ae70a32f"
142
142
  }
143
143
  ]
144
144
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "sourceTreeHash": "1d8439cf0a7c30d276b6e11c9f8f6161e852783f7d4526c22f6b02dde64add3c",
3
+ "sourceTreeHash": "f161a579258485ad61a428b552f03c8181cda5638ed3082307c33b955ce40072",
4
4
  "stepContractVersion": 3,
5
- "docsBundleVersion": "2.0.83",
5
+ "docsBundleVersion": "2.0.85",
6
6
  "files": [
7
7
  {
8
8
  "path": ".env.example",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  {
18
18
  "path": ".funnelsgrove-docs.json",
19
- "sha256": "506a98e41eb43dcf328ebe76544887036bd28fc1ab71151fbdf3a805e813d51f",
19
+ "sha256": "205926b30dc2671825d2fb0007c46be691b9e2d3e138c4cbfce61d01eb9c6f79",
20
20
  "mode": "100644"
21
21
  },
22
22
  {
@@ -101,7 +101,7 @@
101
101
  },
102
102
  {
103
103
  "path": "docs/funnelsgrove/migrations/step-contract-v3.md",
104
- "sha256": "118be5acdfeb1b1d73b1a83667a3f1e42e178f11180614d18c4dcb9c426bd266",
104
+ "sha256": "74aa4089312533fbafe2dcfef1044038cfe88dd9fbdcd2da65143dbb7a316e41",
105
105
  "mode": "100644"
106
106
  },
107
107
  {
@@ -236,7 +236,7 @@
236
236
  },
237
237
  {
238
238
  "path": "funnel-docs.config.json",
239
- "sha256": "dbb35c46981b0dc9f62c1d249d59f0f034c4743e3a388736fb6d0ba9521dfb31",
239
+ "sha256": "3b5146eafa49ffb2a0ccf1f0004c1aab0abefe410a2f7994154e1a45ae70a32f",
240
240
  "mode": "100644"
241
241
  },
242
242
  {
@@ -261,12 +261,12 @@
261
261
  },
262
262
  {
263
263
  "path": "package-lock.json",
264
- "sha256": "50fa75240e7cd62cfb95d33986f05d2fb3900ce0ec9087b789c2befbc1da40fc",
264
+ "sha256": "baf83174a1007a25b5e7ae133555da2a028f4f1e885d7dc4ebc014520b14e6da",
265
265
  "mode": "100644"
266
266
  },
267
267
  {
268
268
  "path": "package.json",
269
- "sha256": "045c29a6c63d65c166d5231c508cca2a970fd2dbf0bd8cd4da7d04627817628a",
269
+ "sha256": "be33c9a903346fe98ee82556660f9f822b6a0224520c11740e197dbd629fd2c5",
270
270
  "mode": "100644"
271
271
  },
272
272
  {
@@ -551,7 +551,7 @@
551
551
  },
552
552
  {
553
553
  "path": "src/steps/step-32-paywall.tsx",
554
- "sha256": "1183d51bbe9713edad329fe82bc8ba72c485af65fd09f755260673c120cce022",
554
+ "sha256": "a39be5512037b184a0c2f298b00720eae4cbaa21f1bda1ffc68aa966e5308242",
555
555
  "mode": "100644"
556
556
  },
557
557
  {
@@ -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.11` first, then `@funnelsgrove/analytics` `0.1.60`, then `@funnelsgrove/payments` `0.7.4`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.94`. Publishing packages and deploying production remain separately approved operational actions.
20
+ Release `@funnelsgrove/runtime` `0.7.12` first, then `@funnelsgrove/analytics` `0.1.61`, then `@funnelsgrove/payments` `0.7.5`. Deploy the API and funnel template, then confirm production `/health` reports the new docs identity. Only then publish `@funnelsgrove/cli` `0.1.96`. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.83",
3
+ "bundleVersion": "2.0.85",
4
4
  "contractSource": "funnelsgrove-repository://apps/funnel-runtime/contracts/step-contract-v2.json",
5
5
  "fullyGenerated": [
6
6
  ".funnelsgrove-docs.json",
@@ -8,9 +8,9 @@
8
8
  "name": "funnel-template",
9
9
  "version": "0.1.0",
10
10
  "dependencies": {
11
- "@funnelsgrove/analytics": "^0.1.60",
12
- "@funnelsgrove/payments": "^0.7.4",
13
- "@funnelsgrove/runtime": "^0.7.11",
11
+ "@funnelsgrove/analytics": "^0.1.61",
12
+ "@funnelsgrove/payments": "^0.7.5",
13
+ "@funnelsgrove/runtime": "^0.7.12",
14
14
  "@stripe/react-stripe-js": "^5.6.0",
15
15
  "@stripe/stripe-js": "^8.7.0",
16
16
  "lucide-react": "^0.553.0",
@@ -938,20 +938,20 @@
938
938
  }
939
939
  },
940
940
  "node_modules/@funnelsgrove/analytics": {
941
- "version": "0.1.60",
942
- "resolved": "https://registry.npmjs.org/@funnelsgrove/analytics/-/analytics-0.1.60.tgz",
943
- "integrity": "sha512-Her20yj5J849KpFUuFre4CszGQmbeyO40q9Q1i7ephFay3TaC3q+zgGlCAGprKhylcmNrAGISpmNmzoEZCQR+A==",
941
+ "version": "0.1.61",
942
+ "resolved": "https://registry.npmjs.org/@funnelsgrove/analytics/-/analytics-0.1.61.tgz",
943
+ "integrity": "sha512-Z9+4Eu3m7EpXUNKlSELho+wmq3LGCVtWIiX/Ihsv12K4QPAzgmGAHyqXVVPA3m68q3QKF4tIcxBRs4WivSA76g==",
944
944
  "dependencies": {
945
- "@funnelsgrove/runtime": "0.7.11"
945
+ "@funnelsgrove/runtime": "0.7.12"
946
946
  }
947
947
  },
948
948
  "node_modules/@funnelsgrove/payments": {
949
- "version": "0.7.4",
950
- "resolved": "https://registry.npmjs.org/@funnelsgrove/payments/-/payments-0.7.4.tgz",
951
- "integrity": "sha512-FrHi+tSy9GeIiAa5w4ceTIul4LvvVrUHcqNECJFDD9ALEWg8J/66dFWS8c9x2/+f2QNpHjvZhUFHpMGYCXxULQ==",
949
+ "version": "0.7.5",
950
+ "resolved": "https://registry.npmjs.org/@funnelsgrove/payments/-/payments-0.7.5.tgz",
951
+ "integrity": "sha512-THPFQ9nO2MxlBuM5culTu4G1eWTEDj2//ZB2P5l176xG1LEPaot6tQ3RX6zxppuJVp8sBZhG/ARq+8UN5XMzBA==",
952
952
  "dependencies": {
953
- "@funnelsgrove/analytics": "^0.1.52",
954
- "@funnelsgrove/runtime": "^0.7.3",
953
+ "@funnelsgrove/analytics": "^0.1.61",
954
+ "@funnelsgrove/runtime": "^0.7.12",
955
955
  "@solidgate/react-sdk": "1.34.0",
956
956
  "@stripe/react-stripe-js": "^5.6.0",
957
957
  "@stripe/stripe-js": "^8.7.0",
@@ -961,9 +961,9 @@
961
961
  }
962
962
  },
963
963
  "node_modules/@funnelsgrove/runtime": {
964
- "version": "0.7.11",
965
- "resolved": "https://registry.npmjs.org/@funnelsgrove/runtime/-/runtime-0.7.11.tgz",
966
- "integrity": "sha512-Pkc0pk0/xdkirfsisj2208eh/18STnXDJOb+ceQlz78CCB3kF0VIWQGNKZi6FWqKWEoJQZIS7z1fmyAbT4LOmg==",
964
+ "version": "0.7.12",
965
+ "resolved": "https://registry.npmjs.org/@funnelsgrove/runtime/-/runtime-0.7.12.tgz",
966
+ "integrity": "sha512-CBpH85yTZc2Vmy+MR4egKS9a0Ngec7bluf9cvVqV/OqNnxEHYhZTfz5t3Uf8QmUbl8sHzXnZBcSd+IfdBrHDTw==",
967
967
  "dependencies": {
968
968
  "posthog-js": "^1.369.2",
969
969
  "react": "19.2.3",
@@ -12,9 +12,9 @@
12
12
  "validate:funnel": "vite-node --config src/contract/funnel-validator.vite.config.ts src/contract/validate-funnel.cli.ts"
13
13
  },
14
14
  "dependencies": {
15
- "@funnelsgrove/analytics": "^0.1.60",
16
- "@funnelsgrove/payments": "^0.7.4",
17
- "@funnelsgrove/runtime": "^0.7.11",
15
+ "@funnelsgrove/analytics": "^0.1.61",
16
+ "@funnelsgrove/payments": "^0.7.5",
17
+ "@funnelsgrove/runtime": "^0.7.12",
18
18
  "@stripe/react-stripe-js": "^5.6.0",
19
19
  "@stripe/stripe-js": "^8.7.0",
20
20
  "lucide-react": "^0.553.0",
@@ -26,6 +26,7 @@ import {
26
26
  import { getPathForStep } from '@/runtime/funnel-runtime';
27
27
  import {
28
28
  SharedCheckoutSpecialOfferDialog,
29
+ SolidgateCheckoutDialog,
29
30
  SharedStripeCheckoutV2Dialog,
30
31
  StripeSubscriptionWalletSurface,
31
32
  activateSecondPaywallDiscount,
@@ -96,6 +97,22 @@ const checkoutCurrencyFormatter = new Intl.NumberFormat('en-US', {
96
97
  minimumFractionDigits: 2,
97
98
  maximumFractionDigits: 2,
98
99
  });
100
+ const inactiveBillingDiscounts = buildBillingDiscountCatalog([
101
+ {
102
+ stage: 'first',
103
+ couponId: '__inactive_first__',
104
+ discountPercent: 0,
105
+ durationSeconds: 0,
106
+ previousDiscountPercent: null,
107
+ },
108
+ {
109
+ stage: 'second',
110
+ couponId: '__inactive_second__',
111
+ discountPercent: 0,
112
+ durationSeconds: 0,
113
+ previousDiscountPercent: 0,
114
+ },
115
+ ]);
99
116
 
100
117
  function formatCheckoutAmount(amountCents: number): string {
101
118
  return checkoutCurrencyFormatter.format(amountCents / 100);
@@ -143,8 +160,12 @@ function StepPaywallRuntime({
143
160
  [checkoutMode, featureFlags, publishedRuntime.config],
144
161
  );
145
162
  const activeBillingDiscounts = useMemo(
146
- () => activeBillingRuntime.discounts ?? buildBillingDiscountCatalog(billingDiscountList),
147
- [activeBillingRuntime.discounts],
163
+ () => activeBillingRuntime.discounts ?? (
164
+ activeBillingRuntime.provider === 'stripe'
165
+ ? buildBillingDiscountCatalog(billingDiscountList)
166
+ : inactiveBillingDiscounts
167
+ ),
168
+ [activeBillingRuntime.discounts, activeBillingRuntime.provider],
148
169
  );
149
170
  const availablePlans = activeBillingRuntime.plans;
150
171
  const initialPlanId = useMemo(
@@ -159,6 +180,7 @@ function StepPaywallRuntime({
159
180
  initialPlanId,
160
181
  );
161
182
  const [checkoutDialogOpen, setCheckoutDialogOpen] = useState(false);
183
+ const [solidgateAttemptKey, setSolidgateAttemptKey] = useState<string | null>(null);
162
184
  const [specialOfferDialogOpen, setSpecialOfferDialogOpen] = useState(() => {
163
185
  if (typeof window === 'undefined') {
164
186
  return false;
@@ -217,6 +239,7 @@ function StepPaywallRuntime({
217
239
  }, [displayPlans, initialPlanId, selectedPlanId]);
218
240
  const checkoutSummaryLabel =
219
241
  selectedDisplayPlan?.checkoutSummaryLabel?.trim() || selectedDisplayPlan?.title || 'Selected plan';
242
+ const checkoutProvider = activeBillingRuntime.provider;
220
243
  const storyOptions = useMemo<readonly StoryOption[]>(
221
244
  () =>
222
245
  content.stories.items.map((item, index) => ({
@@ -316,10 +339,17 @@ function StepPaywallRuntime({
316
339
  if (user.id) {
317
340
  successUrl.searchParams.set('user_id', user.id);
318
341
  }
319
- successUrl.searchParams.set('source', 'stripe-elements');
342
+ successUrl.searchParams.set(
343
+ 'source',
344
+ checkoutProvider === 'solidgate' ? 'solidgate' : 'stripe-elements',
345
+ );
320
346
 
321
347
  return successUrl.toString();
322
- }, [user.id]);
348
+ }, [checkoutProvider, user.id]);
349
+ const checkoutPageUrl = useMemo(
350
+ () => typeof window === 'undefined' ? '' : window.location.href,
351
+ [],
352
+ );
323
353
  const checkoutSession = useStripeSubscriptionCheckoutSession({
324
354
  analyticsMetadata: checkoutAnalyticsMetadata,
325
355
  checkoutMode,
@@ -327,7 +357,7 @@ function StepPaywallRuntime({
327
357
  customerEmail: checkoutEmail || user.email,
328
358
  displayPlan: selectedDisplayPlan,
329
359
  onError: setError,
330
- plan: selectedPlan,
360
+ plan: checkoutProvider === 'stripe' ? selectedPlan : null,
331
361
  returnUrl: successReturnUrl,
332
362
  runtimeConfig: checkoutRuntimeConfig,
333
363
  userId: user.id,
@@ -358,8 +388,18 @@ function StepPaywallRuntime({
358
388
  user.name,
359
389
  ],
360
390
  );
361
- const checkoutDisabled = !checkoutSession.configured || !selectedPlan || !selectedDisplayPlan;
391
+ const solidgateCheckoutConfigured = Boolean(
392
+ user.id.trim()
393
+ && activeBillingRuntime.offerSetId.trim()
394
+ && selectedPlan?.projectPlanId?.trim(),
395
+ );
396
+ const checkoutDisabled = !selectedPlan || !selectedDisplayPlan || (
397
+ checkoutProvider === 'solidgate'
398
+ ? !solidgateCheckoutConfigured
399
+ : !checkoutSession.configured
400
+ );
362
401
  const checkoutDialogReady =
402
+ checkoutProvider === 'stripe' &&
363
403
  checkoutDialogOpen &&
364
404
  Boolean(checkoutSession.activeClientSecret) &&
365
405
  Boolean(checkoutSession.stripePromise) &&
@@ -408,6 +448,12 @@ function StepPaywallRuntime({
408
448
  });
409
449
  }, [user.email]);
410
450
 
451
+ useEffect(() => {
452
+ setCheckoutDialogOpen(false);
453
+ setSolidgateAttemptKey(null);
454
+ setError(null);
455
+ }, [selectedPlanId]);
456
+
411
457
  useEffect(() => {
412
458
  if (!discountStateReady) {
413
459
  return;
@@ -474,7 +520,13 @@ function StepPaywallRuntime({
474
520
  paywallWalletMethodWrapperClassNames[method];
475
521
 
476
522
  const startCheckout = async () => {
477
- if (checkoutDisabled || checkoutSession.loading.card) {
523
+ if (checkoutDisabled || (checkoutProvider === 'stripe' && checkoutSession.loading.card)) {
524
+ return;
525
+ }
526
+
527
+ if (checkoutProvider === 'solidgate') {
528
+ setSolidgateAttemptKey(crypto.randomUUID());
529
+ setCheckoutDialogOpen(true);
478
530
  return;
479
531
  }
480
532
 
@@ -551,6 +603,7 @@ function StepPaywallRuntime({
551
603
 
552
604
  const closeCheckoutDialog = () => {
553
605
  setCheckoutDialogOpen(false);
606
+ setSolidgateAttemptKey(null);
554
607
  setError(null);
555
608
  if (discountState.stage === 'first' && discountState.status === 'active') {
556
609
  setSpecialOfferDialogOpen(true);
@@ -592,7 +645,7 @@ function StepPaywallRuntime({
592
645
  );
593
646
  }
594
647
 
595
- if (checkoutSession.loading.card) {
648
+ if (checkoutProvider === 'stripe' && checkoutSession.loading.card) {
596
649
  return (
597
650
  <>
598
651
  <div
@@ -612,7 +665,34 @@ function StepPaywallRuntime({
612
665
 
613
666
  return (
614
667
  <>
668
+ {checkoutProvider === 'solidgate' &&
669
+ checkoutDialogOpen &&
670
+ solidgateAttemptKey &&
671
+ selectedPlan?.projectPlanId ? (
672
+ <SolidgateCheckoutDialog
673
+ open
674
+ checkoutAnalytics={checkoutAnalyticsContext}
675
+ request={{
676
+ discountKeyOrProviderId: checkoutPromoActive
677
+ ? selectedDisplayPlan?.couponId ?? null
678
+ : null,
679
+ failUrl: checkoutPageUrl,
680
+ funnelEndUserId: user.id,
681
+ idempotencyKey: solidgateAttemptKey,
682
+ offerSetId: activeBillingRuntime.offerSetId,
683
+ projectBillingPlanId: selectedPlan.projectPlanId,
684
+ returnUrl: checkoutPageUrl,
685
+ runtimeConfig: checkoutRuntimeConfig,
686
+ successUrl: successReturnUrl,
687
+ }}
688
+ onClose={closeCheckoutDialog}
689
+ onError={setError}
690
+ onSuccess={handleCheckoutCompleted}
691
+ />
692
+ ) : null}
693
+
615
694
  {checkoutDialogOpen &&
695
+ checkoutProvider === 'stripe' &&
616
696
  checkoutSession.activeClientSecret &&
617
697
  checkoutSession.stripePromise &&
618
698
  selectedDisplayPlan ? (
@@ -849,7 +929,7 @@ function StepPaywallRuntime({
849
929
  </section>
850
930
 
851
931
  <section className='paywall-v2-payment-stack'>
852
- {selectedDisplayPlan ? (
932
+ {checkoutProvider === 'stripe' && selectedDisplayPlan ? (
853
933
  <StripeSubscriptionWalletSurface
854
934
  amountCents={selectedDisplayPlan.amountCents}
855
935
  applePayPlaceholderLabel={content.checkout.walletPlaceholderLabel}
@@ -876,7 +956,10 @@ function StepPaywallRuntime({
876
956
  type='button'
877
957
  className='paywall-v2-card-button paywall-v2-vibe-cta'
878
958
  onClick={() => void startCheckout()}
879
- disabled={checkoutDisabled || checkoutSession.loading.card}
959
+ disabled={
960
+ checkoutDisabled ||
961
+ (checkoutProvider === 'stripe' && checkoutSession.loading.card)
962
+ }
880
963
  >
881
964
  {content.plans.cardButtonLabel}
882
965
  </button>
@@ -886,7 +969,7 @@ function StepPaywallRuntime({
886
969
  {content.checkout.supportText}{' '}
887
970
  <a href={`mailto:${supportEmail}`}>{supportEmail}</a>
888
971
  </p>
889
- {!checkoutSession.configured ? (
972
+ {checkoutProvider === 'stripe' && !checkoutSession.configured ? (
890
973
  <p className='paywall-v2-note'>{content.plans.stripeUnavailableNote}</p>
891
974
  ) : null}
892
975
  {error ? <p className='paywall-v2-error'>{error}</p> : null}