@postman/sdk-config 0.4.0 → 0.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postman/sdk-config",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Shared SDK configuration contracts and transformations for Postman SDK generation",
5
5
  "license": "UNLICENSED",
6
6
  "sideEffects": false,
@@ -86,9 +86,14 @@ bytes for the build; the server replaces the customer locator with an internal s
86
86
  SDK Config IR. Customer URLs never become generator fetch URLs. Signed URLs, S3 locations, and
87
87
  server-generated artifact metadata are not valid public locators. The public schema deliberately has
88
88
  no `compatibility`, source-origin, artifact ID, credential-resolution, or server-generated
89
- publishing control fields. Publishing credentials and signing material may appear in output blocks
90
- and must be stored, logged, and transported as secrets. Unknown fields are rejected at every object
91
- boundary. Portable API, client, documentation, package, source settings, and language field schemas
89
+ publishing control fields. Supported registry credentials are flat fields selected by the `registry`
90
+ discriminator: npm and crates accept `token`, PyPI and Maven accept `username` and `password`, and
91
+ Maven accepts a complete `signature` containing `keyId`, `password`, and `secretKey`. Use environment
92
+ expressions such as `${NPM_TOKEN}` for every credential rather than literal values. Unknown fields
93
+ are rejected at every object boundary. Fern migration copies credential fields only when their raw
94
+ `generators.yml` values are exact environment expressions. It never treats normalized or resolved
95
+ output as credential provenance; literals and untraceable values are omitted with credential-safe
96
+ warnings. Portable API, client, documentation, package, source settings, and language field schemas
92
97
  come from a neutral shared domain layer to prevent drift; the public and internal envelopes and
93
98
  their operational extensions remain separate explicit allowlists.
94
99
 
@@ -123,7 +128,7 @@ segments. Absolute paths and `..` traversal are rejected at validation time.
123
128
  "delivery": "zip",
124
129
  "publish": {
125
130
  "registry": "npm",
126
- "credentials": { "token": "npm-token" }
131
+ "token": "${NPM_TOKEN}"
127
132
  }
128
133
  },
129
134
  "generation": {