@voxgig/sdkgen 4.25.0 → 4.26.0

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/bin/voxgig-sdkgen CHANGED
@@ -8,7 +8,7 @@ const { Shape, One, Skip } = require('shape')
8
8
 
9
9
  const { SdkGen } = require('../dist/sdkgen.js')
10
10
 
11
- const VERSION = '4.25.0'
11
+ const VERSION = '4.26.0'
12
12
  const KONSOLE = console
13
13
 
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voxgig/sdkgen",
3
- "version": "4.25.0",
3
+ "version": "4.26.0",
4
4
  "main": "dist/sdkgen.js",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -50,6 +50,13 @@ async function runLiveScenarios(SDK, plan, envPrefix, liveDefaults = {}) {
50
50
  excluded: control.skip ? control.reason || 'Excluded by test control' : hint.excluded,
51
51
  run: async (ctx) => {
52
52
  transport.enter(ctx);
53
+ // Every operation point is planned, not only the hinted ones; a hint
54
+ // only decides whether this file is generated. Absent a recipe there
55
+ // is no consent to call the operation, so block rather than
56
+ // synthesize input for it. Blocked fails assertLiveReport, so an
57
+ // omission surfaces instead of passing quietly.
58
+ if (!point.facts.live)
59
+ throw new LiveBlocked('No live recipe: add a live hint for this operation in the guide, or give it an explicit excluded reason');
53
60
  if (point.contractVersion && point.contractVersion !== 1)
54
61
  throw new live_runner_1.LiveBlocked('Unsupported operation contract version');
55
62
  if (point.op === 'remove' || hint.cleanup) {
@@ -41,6 +41,12 @@ export async function runLiveScenarios(SDK: any, plan: any[], envPrefix: string,
41
41
  excluded: control.skip ? control.reason || 'Excluded by test control' : hint.excluded,
42
42
  run: async (ctx: any) => {
43
43
  transport.enter(ctx)
44
+ // Every operation point is planned, not only the hinted ones; a hint
45
+ // only decides whether this file is generated. Absent a recipe there
46
+ // is no consent to call the operation, so block rather than
47
+ // synthesize input for it. Blocked fails assertLiveReport, so an
48
+ // omission surfaces instead of passing quietly.
49
+ if (!point.facts.live) throw new LiveBlocked('No live recipe: add a live hint for this operation in the guide, or give it an explicit excluded reason')
44
50
  if (point.contractVersion && point.contractVersion !== 1) throw new LiveBlocked('Unsupported operation contract version')
45
51
  if (point.op === 'remove' || hint.cleanup) {
46
52
  const owned = recipeNeeds(hint.input).some(id => plan.some(source =>
@@ -3,7 +3,7 @@
3
3
  "package": 1
4
4
  },
5
5
  "name": "@voxgig/sdkgen",
6
- "version": "4.25.0",
6
+ "version": "4.26.0",
7
7
  "provides": {
8
8
  "target": [
9
9
  "c",