@funnelsgrove/cli 0.1.312 → 0.1.313
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/dist/cli.js +9 -3
- package/dist/emailCommands.d.ts +3 -0
- package/dist/emailCommands.js +16 -7
- package/funnel-contract-compatibility.json +28 -28
- package/package.json +1 -1
- package/template_docs/.funnelsgrove-docs.json +3 -3
- package/template_docs/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_docs/funnel-docs.config.json +1 -1
- package/template_scaffold/.funnelsgrove-docs.json +3 -3
- package/template_scaffold/.funnelsgrove-scaffold.json +5 -5
- package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +1 -1
- package/template_scaffold/funnel-docs.config.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1806,7 +1806,8 @@ emailCommand
|
|
|
1806
1806
|
.option('--variables <json>', 'Template variables as a JSON object', '{}')
|
|
1807
1807
|
.option('--idempotency-key <key>', 'Stable key used to deduplicate retries')
|
|
1808
1808
|
.option('--api-url <url>', 'Emails SDK API URL', process.env.FUNNELSGROVE_EMAILS_API_URL || 'https://sdk-api.funnelsgrove.com')
|
|
1809
|
-
.option('--private-token <token>', '
|
|
1809
|
+
.option('--private-token <token>', 'Project secret key or API key (defaults to FUNNELSGROVE_PRIVATE_TOKEN)', process.env.FUNNELSGROVE_PRIVATE_TOKEN)
|
|
1810
|
+
.option('--project-id <id>', 'Project ID, required with an API key (defaults to FUNNELSGROVE_PROJECT_ID)', process.env.FUNNELSGROVE_PROJECT_ID)
|
|
1810
1811
|
.option('--no-wait', 'Return after the email is queued')
|
|
1811
1812
|
.option('--timeout-seconds <seconds>', 'Maximum time to wait for delivery', '120')
|
|
1812
1813
|
.action(async (options) => {
|
|
@@ -1817,6 +1818,7 @@ emailCommand
|
|
|
1817
1818
|
const result = await executeEmailSend({
|
|
1818
1819
|
apiUrl: options.apiUrl,
|
|
1819
1820
|
privateToken: options.privateToken || '',
|
|
1821
|
+
projectId: options.projectId,
|
|
1820
1822
|
template: options.template,
|
|
1821
1823
|
to: options.to,
|
|
1822
1824
|
variables: parseEmailVariablesJson(options.variables),
|
|
@@ -1835,11 +1837,13 @@ emailCommand
|
|
|
1835
1837
|
.description('Update variables for a queued personalized sequence email')
|
|
1836
1838
|
.requiredOption('--variables <json>', 'Variables to merge as a JSON object')
|
|
1837
1839
|
.option('--api-url <url>', 'Emails SDK API URL', process.env.FUNNELSGROVE_EMAILS_API_URL || 'https://sdk-api.funnelsgrove.com')
|
|
1838
|
-
.option('--private-token <token>', '
|
|
1840
|
+
.option('--private-token <token>', 'Project secret key or API key (defaults to FUNNELSGROVE_PRIVATE_TOKEN)', process.env.FUNNELSGROVE_PRIVATE_TOKEN)
|
|
1841
|
+
.option('--project-id <id>', 'Project ID, required with an API key (defaults to FUNNELSGROVE_PROJECT_ID)', process.env.FUNNELSGROVE_PROJECT_ID)
|
|
1839
1842
|
.action(async (deliveryId, options) => {
|
|
1840
1843
|
const result = await executeEmailUpdateVariables({
|
|
1841
1844
|
apiUrl: options.apiUrl,
|
|
1842
1845
|
privateToken: options.privateToken || '',
|
|
1846
|
+
projectId: options.projectId,
|
|
1843
1847
|
deliveryId,
|
|
1844
1848
|
variables: parseEmailVariablesJson(options.variables),
|
|
1845
1849
|
});
|
|
@@ -2035,11 +2039,13 @@ emailSequenceCommand
|
|
|
2035
2039
|
.option('--reason <reason>', 'Cancellation reason', 'manual')
|
|
2036
2040
|
.option('--dir <path>', 'Directory containing the emails folder', '.')
|
|
2037
2041
|
.option('--api-url <url>', 'Emails SDK API URL', process.env.FUNNELSGROVE_EMAILS_API_URL || 'https://sdk-api.funnelsgrove.com')
|
|
2038
|
-
.option('--private-token <token>', '
|
|
2042
|
+
.option('--private-token <token>', 'Project secret key or API key (defaults to FUNNELSGROVE_PRIVATE_TOKEN)', process.env.FUNNELSGROVE_PRIVATE_TOKEN)
|
|
2043
|
+
.option('--project-id <id>', 'Project ID, required with an API key (defaults to FUNNELSGROVE_PROJECT_ID)', process.env.FUNNELSGROVE_PROJECT_ID)
|
|
2039
2044
|
.action(async (slug, options) => {
|
|
2040
2045
|
const result = await executeEmailSequenceCancel({
|
|
2041
2046
|
apiUrl: options.apiUrl,
|
|
2042
2047
|
privateToken: options.privateToken || '',
|
|
2048
|
+
projectId: options.projectId,
|
|
2043
2049
|
sourceDir: path.resolve(process.cwd(), options.dir),
|
|
2044
2050
|
slug,
|
|
2045
2051
|
funnelEndUserId: options.userId,
|
package/dist/emailCommands.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare const parseEmailVariablesJson: (value: string) => Record<string,
|
|
|
26
26
|
export declare function executeEmailSend(input: {
|
|
27
27
|
apiUrl: string;
|
|
28
28
|
privateToken: string;
|
|
29
|
+
projectId?: string;
|
|
29
30
|
template: string;
|
|
30
31
|
to: string;
|
|
31
32
|
variables: Record<string, string | number | boolean>;
|
|
@@ -41,6 +42,7 @@ export declare function executeEmailSend(input: {
|
|
|
41
42
|
export declare function executeEmailUpdateVariables(input: {
|
|
42
43
|
apiUrl: string;
|
|
43
44
|
privateToken: string;
|
|
45
|
+
projectId?: string;
|
|
44
46
|
deliveryId: string;
|
|
45
47
|
variables: Record<string, string | number | boolean>;
|
|
46
48
|
}, dependencies?: {
|
|
@@ -49,6 +51,7 @@ export declare function executeEmailUpdateVariables(input: {
|
|
|
49
51
|
export declare function executeEmailSequenceCancel(input: {
|
|
50
52
|
apiUrl: string;
|
|
51
53
|
privateToken: string;
|
|
54
|
+
projectId?: string;
|
|
52
55
|
sourceDir: string;
|
|
53
56
|
slug: string;
|
|
54
57
|
funnelEndUserId: string;
|
package/dist/emailCommands.js
CHANGED
|
@@ -21,8 +21,15 @@ export const parseEmailVariablesJson = (value) => {
|
|
|
21
21
|
}
|
|
22
22
|
return parsed;
|
|
23
23
|
};
|
|
24
|
+
const assertEmailCredential = (input) => {
|
|
25
|
+
if (!input.privateToken.trim())
|
|
26
|
+
throw new Error('A private project token is required.');
|
|
27
|
+
if (input.privateToken.trim().startsWith('fg_key_') && !input.projectId?.trim()) {
|
|
28
|
+
throw new Error('--project-id (or FUNNELSGROVE_PROJECT_ID) is required with an API key.');
|
|
29
|
+
}
|
|
30
|
+
};
|
|
24
31
|
const emailApiRequest = async (input) => {
|
|
25
|
-
const response = await input.fetchImpl(`${input.apiUrl.replace(/\/+$/, '')}${input.path}`, {
|
|
32
|
+
const response = await input.fetchImpl(`${input.apiUrl.replace(/\/+$/, '')}${input.path}${input.projectId?.trim() ? `?projectId=${encodeURIComponent(input.projectId.trim())}` : ''}`, {
|
|
26
33
|
method: input.method || 'GET',
|
|
27
34
|
headers: {
|
|
28
35
|
authorization: `Bearer ${input.privateToken}`,
|
|
@@ -52,8 +59,7 @@ const parseEmailSendStatus = (value) => {
|
|
|
52
59
|
return value;
|
|
53
60
|
};
|
|
54
61
|
export async function executeEmailSend(input, dependencies = {}) {
|
|
55
|
-
|
|
56
|
-
throw new Error('A private project token is required.');
|
|
62
|
+
assertEmailCredential(input);
|
|
57
63
|
const fetchImpl = dependencies.fetchImpl || fetch;
|
|
58
64
|
const sleep = dependencies.sleep || ((durationMs) => new Promise((resolve) => {
|
|
59
65
|
setTimeout(resolve, durationMs);
|
|
@@ -62,6 +68,7 @@ export async function executeEmailSend(input, dependencies = {}) {
|
|
|
62
68
|
const receipt = parseEmailSendStatus(await emailApiRequest({
|
|
63
69
|
apiUrl: input.apiUrl,
|
|
64
70
|
privateToken: input.privateToken,
|
|
71
|
+
projectId: input.projectId,
|
|
65
72
|
path: '/integration/v1/email/deliveries',
|
|
66
73
|
method: 'POST',
|
|
67
74
|
idempotencyKey: input.idempotencyKey || `email-cli:${randomUUID()}`,
|
|
@@ -76,6 +83,7 @@ export async function executeEmailSend(input, dependencies = {}) {
|
|
|
76
83
|
const status = parseEmailSendStatus(await emailApiRequest({
|
|
77
84
|
apiUrl: input.apiUrl,
|
|
78
85
|
privateToken: input.privateToken,
|
|
86
|
+
projectId: input.projectId,
|
|
79
87
|
path: `/integration/v1/email/deliveries/${encodeURIComponent(receipt.id)}`,
|
|
80
88
|
fetchImpl,
|
|
81
89
|
}));
|
|
@@ -85,13 +93,13 @@ export async function executeEmailSend(input, dependencies = {}) {
|
|
|
85
93
|
throw new Error(`Timed out waiting for email delivery ${receipt.id}.`);
|
|
86
94
|
}
|
|
87
95
|
export async function executeEmailUpdateVariables(input, dependencies = {}) {
|
|
88
|
-
|
|
89
|
-
throw new Error('A private project token is required.');
|
|
96
|
+
assertEmailCredential(input);
|
|
90
97
|
if (!UUID.test(input.deliveryId))
|
|
91
98
|
throw new Error('Delivery ID must be a UUID.');
|
|
92
99
|
return emailApiRequest({
|
|
93
100
|
apiUrl: input.apiUrl,
|
|
94
101
|
privateToken: input.privateToken,
|
|
102
|
+
projectId: input.projectId,
|
|
95
103
|
path: `/integration/v1/email/deliveries/${encodeURIComponent(input.deliveryId)}/variables`,
|
|
96
104
|
method: 'PATCH',
|
|
97
105
|
body: { variables: input.variables },
|
|
@@ -99,8 +107,7 @@ export async function executeEmailUpdateVariables(input, dependencies = {}) {
|
|
|
99
107
|
});
|
|
100
108
|
}
|
|
101
109
|
export async function executeEmailSequenceCancel(input, dependencies = {}) {
|
|
102
|
-
|
|
103
|
-
throw new Error('A private project token is required.');
|
|
110
|
+
assertEmailCredential(input);
|
|
104
111
|
if (!UUID.test(input.funnelEndUserId))
|
|
105
112
|
throw new Error('Funnel end-user ID must be a UUID.');
|
|
106
113
|
const files = await readEmailFiles(input.sourceDir);
|
|
@@ -113,6 +120,7 @@ export async function executeEmailSequenceCancel(input, dependencies = {}) {
|
|
|
113
120
|
const remote = await emailApiRequest({
|
|
114
121
|
apiUrl: input.apiUrl,
|
|
115
122
|
privateToken: input.privateToken,
|
|
123
|
+
projectId: input.projectId,
|
|
116
124
|
path: `/integration/v1/email/sequences/${encodeURIComponent(sequence.id)}`,
|
|
117
125
|
fetchImpl: dependencies.fetchImpl || fetch,
|
|
118
126
|
});
|
|
@@ -124,6 +132,7 @@ export async function executeEmailSequenceCancel(input, dependencies = {}) {
|
|
|
124
132
|
const response = await emailApiRequest({
|
|
125
133
|
apiUrl: input.apiUrl,
|
|
126
134
|
privateToken: input.privateToken,
|
|
135
|
+
projectId: input.projectId,
|
|
127
136
|
path: `/integration/v1/email/sequences/${encodeURIComponent(sequence.id)}/enrollments/${encodeURIComponent(input.funnelEndUserId)}/cancel`,
|
|
128
137
|
method: 'POST',
|
|
129
138
|
body: { reason: input.reason },
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"minimumCliVersion": "0.1.20",
|
|
5
5
|
"entries": [
|
|
6
6
|
{
|
|
7
|
-
"repositoryCliVersion": "0.1.
|
|
7
|
+
"repositoryCliVersion": "0.1.313",
|
|
8
8
|
"manifest": {
|
|
9
9
|
"schemaVersion": 1,
|
|
10
|
-
"bundleVersion": "2.0.
|
|
10
|
+
"bundleVersion": "2.0.306",
|
|
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": "
|
|
48
|
+
"sha256": "4d9fa0b4846945524ec6d45562a8ee7cc48c64ce8f73510024445106db9e26ce"
|
|
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": "
|
|
148
|
+
"sha256": "61802de19c7144122977a735d98141b175d04e7880fa342e35a80bda6dfe966f"
|
|
149
149
|
}
|
|
150
150
|
]
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
"repositoryCliVersion": "0.1.
|
|
154
|
+
"repositoryCliVersion": "0.1.312",
|
|
155
155
|
"manifest": {
|
|
156
156
|
"schemaVersion": 1,
|
|
157
|
-
"bundleVersion": "2.0.
|
|
157
|
+
"bundleVersion": "2.0.305",
|
|
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": "
|
|
195
|
+
"sha256": "2d1f917a42f99071709e3849d66d5434291bf899798cbb1c0094791cbedd8d96"
|
|
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": "
|
|
295
|
+
"sha256": "d9d21cbd6ecd576f37222e4f5c75808683709410452c34f2779d56b1d44fe445"
|
|
296
296
|
}
|
|
297
297
|
]
|
|
298
298
|
}
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
|
-
"repositoryCliVersion": "0.1.
|
|
301
|
+
"repositoryCliVersion": "0.1.311",
|
|
302
302
|
"manifest": {
|
|
303
303
|
"schemaVersion": 1,
|
|
304
|
-
"bundleVersion": "2.0.
|
|
304
|
+
"bundleVersion": "2.0.304",
|
|
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": "
|
|
342
|
+
"sha256": "95f7f9c522a98f16c42214f93747dc49d8f86b56ef5f56b202e29c7a2725d0f7"
|
|
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": "
|
|
442
|
+
"sha256": "7677b66b8377a90463e559ce5817818e8ab396c0f4192882bc77f2792ab8db47"
|
|
443
443
|
}
|
|
444
444
|
]
|
|
445
445
|
}
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
|
-
"repositoryCliVersion": "0.1.
|
|
448
|
+
"repositoryCliVersion": "0.1.310",
|
|
449
449
|
"manifest": {
|
|
450
450
|
"schemaVersion": 1,
|
|
451
|
-
"bundleVersion": "2.0.
|
|
451
|
+
"bundleVersion": "2.0.303",
|
|
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": "
|
|
489
|
+
"sha256": "dfaf7e01284c3fed5334218cb24a3497acfb8a7a5dbc03a232d5f8a7ac468d6a"
|
|
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": "
|
|
589
|
+
"sha256": "4aae4fd505bfbfc8338354969920a08a46f64e0b1e843bdb20c9462d1327eef0"
|
|
590
590
|
}
|
|
591
591
|
]
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
"repositoryCliVersion": "0.1.
|
|
595
|
+
"repositoryCliVersion": "0.1.309",
|
|
596
596
|
"manifest": {
|
|
597
597
|
"schemaVersion": 1,
|
|
598
|
-
"bundleVersion": "2.0.
|
|
598
|
+
"bundleVersion": "2.0.302",
|
|
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": "
|
|
636
|
+
"sha256": "72d337fa007993d18455f281b9a784e2e15fb46e43038a2934ddfcc82d8c1d28"
|
|
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": "
|
|
736
|
+
"sha256": "e381723d48a0772419a5f8d757de1bb8fc9d7b3fd7838ad6fcde8ce0031d77c3"
|
|
737
737
|
}
|
|
738
738
|
]
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
"repositoryCliVersion": "0.1.
|
|
742
|
+
"repositoryCliVersion": "0.1.308",
|
|
743
743
|
"manifest": {
|
|
744
744
|
"schemaVersion": 1,
|
|
745
|
-
"bundleVersion": "2.0.
|
|
745
|
+
"bundleVersion": "2.0.301",
|
|
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": "
|
|
783
|
+
"sha256": "2c7f7e4ee64cb6fdf5f69c4c35b53bdbf63659494323cd4a93826374e1560f8a"
|
|
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": "
|
|
883
|
+
"sha256": "6c5486fea9dae1e582bd9c1fece156d174919c75008a1555bc3876c5ddc01b91"
|
|
884
884
|
}
|
|
885
885
|
]
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
{
|
|
889
|
-
"repositoryCliVersion": "0.1.
|
|
889
|
+
"repositoryCliVersion": "0.1.307",
|
|
890
890
|
"manifest": {
|
|
891
891
|
"schemaVersion": 1,
|
|
892
|
-
"bundleVersion": "2.0.
|
|
892
|
+
"bundleVersion": "2.0.300",
|
|
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": "
|
|
930
|
+
"sha256": "5c85ab989a7c1675ef36fda22779d50977a926b6cc417880ae1e08bd35380135"
|
|
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": "
|
|
1030
|
+
"sha256": "451b21e025b31e38404784ba88d0a409958e8ed2cf25da163b0a7dd291bb471c"
|
|
1031
1031
|
}
|
|
1032
1032
|
]
|
|
1033
1033
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"bundleVersion": "2.0.
|
|
3
|
+
"bundleVersion": "2.0.306",
|
|
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": "
|
|
41
|
+
"sha256": "4d9fa0b4846945524ec6d45562a8ee7cc48c64ce8f73510024445106db9e26ce"
|
|
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": "
|
|
141
|
+
"sha256": "61802de19c7144122977a735d98141b175d04e7880fa342e35a80bda6dfe966f"
|
|
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/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.40.0`, then `@funnelsgrove/analytics` `0.23.0`, then `@funnelsgrove/payments` `0.55.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.
|
|
20
|
+
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.40.0`, then `@funnelsgrove/analytics` `0.23.0`, then `@funnelsgrove/payments` `0.55.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.313`, 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.
|
|
3
|
+
"bundleVersion": "2.0.306",
|
|
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": "
|
|
41
|
+
"sha256": "4d9fa0b4846945524ec6d45562a8ee7cc48c64ce8f73510024445106db9e26ce"
|
|
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": "
|
|
141
|
+
"sha256": "61802de19c7144122977a735d98141b175d04e7880fa342e35a80bda6dfe966f"
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
144
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"sourceTreeHash": "
|
|
3
|
+
"sourceTreeHash": "08f6adbae1133f21d5d283f7007d0432d024508d945693947793fd61a3930210",
|
|
4
4
|
"stepContractVersion": 3,
|
|
5
|
-
"docsBundleVersion": "2.0.
|
|
5
|
+
"docsBundleVersion": "2.0.306",
|
|
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": "
|
|
19
|
+
"sha256": "2e02faf795a2f61c9e12af9b61d6b34968d0f806d607fb9dc79cdedc887d8655",
|
|
20
20
|
"mode": "100644"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"path": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
79
|
-
"sha256": "
|
|
79
|
+
"sha256": "4d9fa0b4846945524ec6d45562a8ee7cc48c64ce8f73510024445106db9e26ce",
|
|
80
80
|
"mode": "100644"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
"path": "funnel-docs.config.json",
|
|
209
|
-
"sha256": "
|
|
209
|
+
"sha256": "61802de19c7144122977a735d98141b175d04e7880fa342e35a80bda6dfe966f",
|
|
210
210
|
"mode": "100644"
|
|
211
211
|
},
|
|
212
212
|
{
|
|
@@ -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/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.40.0`, then `@funnelsgrove/analytics` `0.23.0`, then `@funnelsgrove/payments` `0.55.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.
|
|
20
|
+
Release `@funnelsgrove/sdk` `0.4.0` first, then `@funnelsgrove/runtime` `0.40.0`, then `@funnelsgrove/analytics` `0.23.0`, then `@funnelsgrove/payments` `0.55.0`. The production deploy verifies the zero-traffic API candidate, publishes and verifies `@funnelsgrove/cli` `0.1.313`, 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
|