@funnelsgrove/cli 0.1.153 → 0.1.157

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.
@@ -62,7 +62,7 @@ export async function executeEmailSend(input, dependencies = {}) {
62
62
  const receipt = parseEmailSendStatus(await emailApiRequest({
63
63
  apiUrl: input.apiUrl,
64
64
  privateToken: input.privateToken,
65
- path: '/sdk/private/emails/send',
65
+ path: '/integration/v1/email/deliveries',
66
66
  method: 'POST',
67
67
  idempotencyKey: input.idempotencyKey || `email-cli:${randomUUID()}`,
68
68
  body: { template: input.template, to: input.to, variables: input.variables },
@@ -76,7 +76,7 @@ export async function executeEmailSend(input, dependencies = {}) {
76
76
  const status = parseEmailSendStatus(await emailApiRequest({
77
77
  apiUrl: input.apiUrl,
78
78
  privateToken: input.privateToken,
79
- path: `/sdk/private/emails/${encodeURIComponent(receipt.id)}`,
79
+ path: `/integration/v1/email/deliveries/${encodeURIComponent(receipt.id)}`,
80
80
  fetchImpl,
81
81
  }));
82
82
  if (TERMINAL_EMAIL_STATUSES.has(status.status))
@@ -92,7 +92,7 @@ export async function executeEmailUpdateVariables(input, dependencies = {}) {
92
92
  return emailApiRequest({
93
93
  apiUrl: input.apiUrl,
94
94
  privateToken: input.privateToken,
95
- path: `/sdk/private/emails/${encodeURIComponent(input.deliveryId)}/variables`,
95
+ path: `/integration/v1/email/deliveries/${encodeURIComponent(input.deliveryId)}/variables`,
96
96
  method: 'PATCH',
97
97
  body: { variables: input.variables },
98
98
  fetchImpl: dependencies.fetchImpl || fetch,
@@ -4,10 +4,10 @@
4
4
  "minimumCliVersion": "0.1.20",
5
5
  "entries": [
6
6
  {
7
- "repositoryCliVersion": "0.1.153",
7
+ "repositoryCliVersion": "0.1.157",
8
8
  "manifest": {
9
9
  "schemaVersion": 1,
10
- "bundleVersion": "2.0.143",
10
+ "bundleVersion": "2.0.147",
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": "8f171c06f31fcf958fedfa424dfac98744536e71ccf5dee1a4d9115532f3c208"
48
+ "sha256": "89613b9ce40d257a90436833d3e852a77f2680bf9ec7cd23cf9b4eb2d760267e"
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": "1faef087e033f8c9077f8b13e6e80ffd625dfbc5caab2a142e3d160def616c71"
148
+ "sha256": "5c1285eeb0761b07f559899336ea7a9e502f178d9b93c58c2a033af07473c509"
149
149
  }
150
150
  ]
151
151
  }
152
152
  },
153
153
  {
154
- "repositoryCliVersion": "0.1.152",
154
+ "repositoryCliVersion": "0.1.156",
155
155
  "manifest": {
156
156
  "schemaVersion": 1,
157
- "bundleVersion": "2.0.142",
157
+ "bundleVersion": "2.0.146",
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": "f2d02a29bc4c7fc3587f71ebc48f23d0c5a6f7bd06e53ab81db375be0fee5fcb"
195
+ "sha256": "4955bf4528d2fe830b0d97453dd73427a4abad6beecd580c4669151957ee776e"
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": "50ed231287a2dab10fa48820feea1b1c8f97bda954ec318d0461d1b991e51562"
295
+ "sha256": "99b5cbb86f8379bba4752f373980c62c4a97e75d4e770b32a0a26c96be5e99c6"
296
296
  }
297
297
  ]
298
298
  }
299
299
  },
300
300
  {
301
- "repositoryCliVersion": "0.1.151",
301
+ "repositoryCliVersion": "0.1.155",
302
302
  "manifest": {
303
303
  "schemaVersion": 1,
304
- "bundleVersion": "2.0.141",
304
+ "bundleVersion": "2.0.145",
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": "6c4de9587b222ba0f23682905c1ed31c5771c3f8bacab92a13da91653ed79346"
342
+ "sha256": "2a465d3c47537b0010569b7dc384a0458e4724026beb2a0e2216fdd89c916a2e"
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": "d86023b1611bec2e43eb57e1ed2f7b9c870b88e7db51f0bfdb8d30e7e51d05c9"
442
+ "sha256": "000cea4a6781729d92b9c93e6a2edd8fc9eff087008a36cc189900d971c2f980"
443
443
  }
444
444
  ]
445
445
  }
446
446
  },
447
447
  {
448
- "repositoryCliVersion": "0.1.150",
448
+ "repositoryCliVersion": "0.1.154",
449
449
  "manifest": {
450
450
  "schemaVersion": 1,
451
- "bundleVersion": "2.0.140",
451
+ "bundleVersion": "2.0.144",
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": "5d96c365d4f41305b091305f76052aaf612d11cad2b37559506b76bcaaee4d8d"
489
+ "sha256": "935a7a8acba3bcfcabcecde76e666b4b651e99ed6e676ec1cee134b6b31762e6"
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": "1692333f3ae1e1c15b1034581e2c0f4c6bcc6c1e0912ec40c4caf7020e7663d4"
589
+ "sha256": "6f6717766d4705476b0a8609a63541795cd2ab3e19c7639ae057285ffb9e078e"
590
590
  }
591
591
  ]
592
592
  }
593
593
  },
594
594
  {
595
- "repositoryCliVersion": "0.1.149",
595
+ "repositoryCliVersion": "0.1.153",
596
596
  "manifest": {
597
597
  "schemaVersion": 1,
598
- "bundleVersion": "2.0.139",
598
+ "bundleVersion": "2.0.143",
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": "ed37af8588ac8dd5ee2a501db570b95a5aeedb69b2f1f8eaad88d3645dba6fee"
636
+ "sha256": "8f171c06f31fcf958fedfa424dfac98744536e71ccf5dee1a4d9115532f3c208"
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": "ee72e689f98df87616b6c4a8ac3ac43ec223a3786b3605b343c5289e9391848e"
736
+ "sha256": "1faef087e033f8c9077f8b13e6e80ffd625dfbc5caab2a142e3d160def616c71"
737
737
  }
738
738
  ]
739
739
  }
740
740
  },
741
741
  {
742
- "repositoryCliVersion": "0.1.148",
742
+ "repositoryCliVersion": "0.1.152",
743
743
  "manifest": {
744
744
  "schemaVersion": 1,
745
- "bundleVersion": "2.0.138",
745
+ "bundleVersion": "2.0.142",
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": "ccbc9d8fdcd40ff40b3aed6171f0496d856f8dfc6bd9c6cb96ee5bfeddaaaa01"
783
+ "sha256": "f2d02a29bc4c7fc3587f71ebc48f23d0c5a6f7bd06e53ab81db375be0fee5fcb"
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": "09e75871d05290fe9e44817ab35504638d180217242522893ad68cd516deae0f"
883
+ "sha256": "50ed231287a2dab10fa48820feea1b1c8f97bda954ec318d0461d1b991e51562"
884
884
  }
885
885
  ]
886
886
  }
887
887
  },
888
888
  {
889
- "repositoryCliVersion": "0.1.147",
889
+ "repositoryCliVersion": "0.1.151",
890
890
  "manifest": {
891
891
  "schemaVersion": 1,
892
- "bundleVersion": "2.0.137",
892
+ "bundleVersion": "2.0.141",
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": "d540fec73ced6fdcc2d118aac9a2f1f1131dfbd7d4fa6df80d988733725ffcbb"
930
+ "sha256": "6c4de9587b222ba0f23682905c1ed31c5771c3f8bacab92a13da91653ed79346"
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": "66145b48217b80e9e5eb0b21d2d4d8de7186ed980a54b01b56b2a23202822503"
1030
+ "sha256": "d86023b1611bec2e43eb57e1ed2f7b9c870b88e7db51f0bfdb8d30e7e51d05c9"
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.153",
3
+ "version": "0.1.157",
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.30",
37
+ "@funnelsgrove/runtime": "0.8.0",
38
38
  "commander": "^12.0.0",
39
39
  "typescript": "^5.8.3"
40
40
  },
41
41
  "devDependencies": {
42
- "@funnelsgrove/analytics": "0.1.79",
43
- "@funnelsgrove/payments": "0.7.22",
42
+ "@funnelsgrove/analytics": "0.1.81",
43
+ "@funnelsgrove/payments": "0.8.0",
44
44
  "vitest": "^3.0.0"
45
45
  }
46
46
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "bundleVersion": "2.0.143",
3
+ "bundleVersion": "2.0.147",
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": "8f171c06f31fcf958fedfa424dfac98744536e71ccf5dee1a4d9115532f3c208"
41
+ "sha256": "89613b9ce40d257a90436833d3e852a77f2680bf9ec7cd23cf9b4eb2d760267e"
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": "1faef087e033f8c9077f8b13e6e80ffd625dfbc5caab2a142e3d160def616c71"
141
+ "sha256": "5c1285eeb0761b07f559899336ea7a9e502f178d9b93c58c2a033af07473c509"
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.30` first, then `@funnelsgrove/analytics` `0.1.79`, then `@funnelsgrove/payments` `0.7.22`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.153`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
20
+ Release `@funnelsgrove/runtime` `0.8.0` first, then `@funnelsgrove/analytics` `0.1.81`, then `@funnelsgrove/payments` `0.8.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.157`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. 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.143",
3
+ "bundleVersion": "2.0.147",
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.143",
3
+ "bundleVersion": "2.0.147",
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": "8f171c06f31fcf958fedfa424dfac98744536e71ccf5dee1a4d9115532f3c208"
41
+ "sha256": "89613b9ce40d257a90436833d3e852a77f2680bf9ec7cd23cf9b4eb2d760267e"
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": "1faef087e033f8c9077f8b13e6e80ffd625dfbc5caab2a142e3d160def616c71"
141
+ "sha256": "5c1285eeb0761b07f559899336ea7a9e502f178d9b93c58c2a033af07473c509"
142
142
  }
143
143
  ]
144
144
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "sourceTreeHash": "19423a8c7db234d2af5ce41390d8201d0b54ed1d8447d5c40c2ff4558559585c",
3
+ "sourceTreeHash": "fa8267d78fc7e44dbf9cc07562d215212316cbf699395c938232f82c9e2c5f88",
4
4
  "stepContractVersion": 3,
5
- "docsBundleVersion": "2.0.143",
5
+ "docsBundleVersion": "2.0.147",
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": "8ac4e59729b3b129a8278c4c5e84cceeec09653cf06baf14dd5d857694d1ae6a",
19
+ "sha256": "a7df5042715074ff61d0193dd28c2494411a2d13e1b078d9cac2aed975a36a01",
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": "8f171c06f31fcf958fedfa424dfac98744536e71ccf5dee1a4d9115532f3c208",
104
+ "sha256": "89613b9ce40d257a90436833d3e852a77f2680bf9ec7cd23cf9b4eb2d760267e",
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": "1faef087e033f8c9077f8b13e6e80ffd625dfbc5caab2a142e3d160def616c71",
239
+ "sha256": "5c1285eeb0761b07f559899336ea7a9e502f178d9b93c58c2a033af07473c509",
240
240
  "mode": "100644"
241
241
  },
242
242
  {
@@ -261,12 +261,12 @@
261
261
  },
262
262
  {
263
263
  "path": "package-lock.json",
264
- "sha256": "2f6b2301da350e12103ac9883f7fb52d96916dbe868c039c33314ef7d3f69e40",
264
+ "sha256": "f3b137b615168b58568ca20b95f8d41e893c03d90cefa399434b9d4a5c8bacb3",
265
265
  "mode": "100644"
266
266
  },
267
267
  {
268
268
  "path": "package.json",
269
- "sha256": "89065d57bb75120d8d03fed4dd57a65f87e7de13a6a52ce77086000a043b75ed",
269
+ "sha256": "66cb995f51302e0932bf990acd1d38e7f27e9623befa7ae8331d642087f06a6b",
270
270
  "mode": "100644"
271
271
  },
272
272
  {
@@ -321,7 +321,7 @@
321
321
  },
322
322
  {
323
323
  "path": "src/components/FunnelFlow.tsx",
324
- "sha256": "7427fa0e460cc84a1d7f827724588da519cdd1c0d76cd8b9df718939ca0aaf03",
324
+ "sha256": "846aa4002cdc893cc0805483c58bc0ff8b18e50d20e8482ea1877aad6a9aca77",
325
325
  "mode": "100644"
326
326
  },
327
327
  {
@@ -576,7 +576,7 @@
576
576
  },
577
577
  {
578
578
  "path": "src/steps/styles/shared/funnel-base.css",
579
- "sha256": "b399d170c451a858ffb583e42beb19d1733225a5f10c93252427c72ee5cb5384",
579
+ "sha256": "4c3bc80502a2b15abf9594e8659e19440ed8df1abdac2eb6afe2f5f87c790c75",
580
580
  "mode": "100644"
581
581
  },
582
582
  {
@@ -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.30` first, then `@funnelsgrove/analytics` `0.1.79`, then `@funnelsgrove/payments` `0.7.22`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.153`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. Publishing packages and deploying production remain separately approved operational actions.
20
+ Release `@funnelsgrove/runtime` `0.8.0` first, then `@funnelsgrove/analytics` `0.1.81`, then `@funnelsgrove/payments` `0.8.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.157`, and only then promotes the candidate to production traffic. The serving API must never advertise an unpublished preferred CLI. 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.143",
3
+ "bundleVersion": "2.0.147",
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.79",
12
- "@funnelsgrove/payments": "^0.7.22",
13
- "@funnelsgrove/runtime": "^0.7.30",
11
+ "@funnelsgrove/analytics": "^0.1.81",
12
+ "@funnelsgrove/payments": "^0.8.0",
13
+ "@funnelsgrove/runtime": "^0.8.0",
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.79",
942
- "resolved": "https://registry.npmjs.org/@funnelsgrove/analytics/-/analytics-0.1.79.tgz",
943
- "integrity": "sha512-89HwD5ZPqTHs65NpdkhljFXrH0M9BFloL1op7zmUyJAIO15l9kASf8k0JhnENOnuP4A14EVxgL3PiDrcRmwpBw==",
941
+ "version": "0.1.81",
942
+ "resolved": "https://registry.npmjs.org/@funnelsgrove/analytics/-/analytics-0.1.81.tgz",
943
+ "integrity": "sha512-ub6KkK0Vzf/JBZZ7gpC524zriqmV49s/t0ucsgoziXjD3oAwox4wwopFvWArkQSMWf3ayEzfNzznFys67oprDg==",
944
944
  "dependencies": {
945
- "@funnelsgrove/runtime": "0.7.30"
945
+ "@funnelsgrove/runtime": "0.8.0"
946
946
  }
947
947
  },
948
948
  "node_modules/@funnelsgrove/payments": {
949
- "version": "0.7.22",
950
- "resolved": "https://registry.npmjs.org/@funnelsgrove/payments/-/payments-0.7.22.tgz",
951
- "integrity": "sha512-MEdEunDhpdzXgy5+ZSKakAmk74F69U7lEZTcPnv72UMBN2yJbibo8Zrs5ecGA8FR75miF4h6N/Ea8RmkseGvJA==",
949
+ "version": "0.8.0",
950
+ "resolved": "https://registry.npmjs.org/@funnelsgrove/payments/-/payments-0.8.0.tgz",
951
+ "integrity": "sha512-Fs6z/I3x1Qla9QmCIudB+JXhK/a8C9cPfd5FXhLjB+b/8CjrHJc1zQ7b5puFxjNTr5uL0z5QKB8aUaBPWoXifw==",
952
952
  "dependencies": {
953
- "@funnelsgrove/analytics": "^0.1.79",
954
- "@funnelsgrove/runtime": "^0.7.30",
953
+ "@funnelsgrove/analytics": "^0.1.81",
954
+ "@funnelsgrove/runtime": "^0.8.0",
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.30",
965
- "resolved": "https://registry.npmjs.org/@funnelsgrove/runtime/-/runtime-0.7.30.tgz",
966
- "integrity": "sha512-2vN5/l3xng7fbDOhjCMwSuTLOvBrXh701FZCl0j6bSIMBTVoSeTVEwATJjU3uKOOUrg8sN+scJ6mogxGJuoL8w==",
964
+ "version": "0.8.0",
965
+ "resolved": "https://registry.npmjs.org/@funnelsgrove/runtime/-/runtime-0.8.0.tgz",
966
+ "integrity": "sha512-ir29xHVJZyzjWMkXU2hzw5QBrLll/FiJYFYSUyegIxRmLCS+Ynpbq/CcZ9nXjhKsoHfMFy5uLp7m3jYQXnJqsQ==",
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.79",
16
- "@funnelsgrove/payments": "^0.7.22",
17
- "@funnelsgrove/runtime": "^0.7.30",
15
+ "@funnelsgrove/analytics": "^0.1.81",
16
+ "@funnelsgrove/payments": "^0.8.0",
17
+ "@funnelsgrove/runtime": "^0.8.0",
18
18
  "@stripe/react-stripe-js": "^5.6.0",
19
19
  "@stripe/stripe-js": "^8.7.0",
20
20
  "lucide-react": "^0.553.0",
@@ -22,23 +22,23 @@ type FunnelFlowProps = {
22
22
  isPreviewThumbnail?: boolean;
23
23
  };
24
24
 
25
- function RuntimeConfigStatus({ unavailable = false }: { unavailable?: boolean }) {
25
+ function RuntimeConfigLoading() {
26
26
  return (
27
- <section
28
- className="runtime-config-status"
29
- role={unavailable ? 'alert' : 'status'}
30
- aria-live="polite"
31
- >
27
+ <section className="runtime-config-loading" role="status" aria-label="Loading" aria-busy="true">
28
+ <span className="runtime-config-loading__progress" />
29
+ </section>
30
+ );
31
+ }
32
+
33
+ function RuntimeConfigStatus() {
34
+ return (
35
+ <section className="runtime-config-status" role="alert" aria-live="polite">
32
36
  <div className="runtime-config-status__content">
33
- <h1>{unavailable ? 'This experience is temporarily unavailable' : 'Loading your experience…'}</h1>
34
- {unavailable ? (
35
- <>
36
- <p>Please check your connection and try again.</p>
37
- <button type="button" onClick={() => window.location.reload()}>
38
- Try again
39
- </button>
40
- </>
41
- ) : null}
37
+ <h1>This experience is temporarily unavailable</h1>
38
+ <p>Please check your connection and try again.</p>
39
+ <button type="button" onClick={() => window.location.reload()}>
40
+ Try again
41
+ </button>
42
42
  </div>
43
43
  </section>
44
44
  );
@@ -66,9 +66,8 @@ export function FunnelFlow({
66
66
  <FunnelRuntimeConfigBoundary
67
67
  funnelId={runtimePublicConfig.funnelId}
68
68
  funnelVersionId={runtimePublicConfig.funnelVersionId}
69
- disabled={isPreviewRuntime}
70
- loadingFallback={<RuntimeConfigStatus />}
71
- errorFallback={<RuntimeConfigStatus unavailable />}
69
+ loadingFallback={<RuntimeConfigLoading />}
70
+ errorFallback={<RuntimeConfigStatus />}
72
71
  >
73
72
  <FunnelFlowRuntime
74
73
  initialStepId={initialStepId}
@@ -10,13 +10,43 @@
10
10
  font-family: var(--font-family-base);
11
11
  }
12
12
 
13
+ .runtime-config-loading,
13
14
  .runtime-config-status {
14
15
  width: min(100vw, 430px);
15
16
  min-height: 100svh;
17
+ background: var(--color-bg);
18
+ }
19
+
20
+ .runtime-config-loading {
21
+ position: relative;
22
+ overflow: hidden;
23
+ }
24
+
25
+ .runtime-config-loading__progress {
26
+ position: absolute;
27
+ top: 0;
28
+ left: 0;
29
+ width: 100%;
30
+ height: 3px;
31
+ background: var(--color-primary);
32
+ transform-origin: left;
33
+ animation: runtime-config-progress 900ms ease-out 180ms both;
34
+ }
35
+
36
+ @keyframes runtime-config-progress {
37
+ from {
38
+ transform: scaleX(0);
39
+ }
40
+
41
+ to {
42
+ transform: scaleX(0.78);
43
+ }
44
+ }
45
+
46
+ .runtime-config-status {
16
47
  display: grid;
17
48
  place-items: center;
18
49
  padding: 32px;
19
- background: var(--color-bg);
20
50
  color: var(--color-text);
21
51
  font-family: var(--font-family-base);
22
52
  text-align: center;