@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/README.md +7 -4
- package/dist/index.cjs +332 -74
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +332 -74
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +325 -67
- package/dist/sdk-config/index.cjs.map +1 -1
- package/dist/sdk-config/index.js +325 -67
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +325 -67
- package/dist/sdk-config/v1/index.cjs.map +1 -1
- package/dist/sdk-config/v1/index.d.cts +544 -4148
- package/dist/sdk-config/v1/index.d.ts +544 -4148
- package/dist/sdk-config/v1/index.js +325 -67
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/package.json +1 -1
- package/src/sdk-config/v1/README.md +9 -4
package/package.json
CHANGED
|
@@ -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.
|
|
90
|
-
and
|
|
91
|
-
|
|
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
|
-
"
|
|
131
|
+
"token": "${NPM_TOKEN}"
|
|
127
132
|
}
|
|
128
133
|
},
|
|
129
134
|
"generation": {
|