@voxgig/sdkgen 4.17.3 → 4.17.4

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.17.3'
11
+ const VERSION = '4.17.4'
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.17.3",
3
+ "version": "4.17.4",
4
4
  "main": "dist/sdkgen.js",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -1233,7 +1233,19 @@ main: kit: feature: secrets: {
1233
1233
  # The secret to resolve, for an API whose credential is not
1234
1234
  # apikey-shaped. The resolved value is written to options.apikey
1235
1235
  # regardless, because that is where prepareAuth looks.
1236
- name: 'apikey'
1236
+ #
1237
+ # A DEFAULT, not a fixed value: the secret's name is a fact about the
1238
+ # project's vault, not about sdkgen. univec resolves `sdk:univec` and so
1239
+ # sets `name: 'univec'` in its project.aon — which a concrete value here
1240
+ # cannot accept, because two concrete scalars conflict rather than yield:
1241
+ #
1242
+ # Cannot unify values at path $.main.kit.feature.secrets.config.options.name
1243
+ #
1244
+ # That SDK worked only because its copy of this file had been hand-edited
1245
+ # to star this line, and regeneration overwrites generated model files, so
1246
+ # the edit was lost on every regen. An option a project must set has to be
1247
+ # settable.
1248
+ name: *'apikey' | string
1237
1249
 
1238
1250
  # sekreto caches resolved values by default. Off means every
1239
1251
  # resolve() asks the chain again; redaction still tracks values.
@@ -3,7 +3,7 @@
3
3
  "package": 1
4
4
  },
5
5
  "name": "@voxgig/sdkgen",
6
- "version": "4.17.3",
6
+ "version": "4.17.4",
7
7
  "provides": {
8
8
  "target": [
9
9
  "c",