@postman/sdk-config 0.5.0 → 0.6.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/README.md +15 -0
- package/dist/index.cjs +176 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +173 -2
- package/dist/index.js.map +1 -1
- package/dist/sdk-config/index.cjs +135 -1
- package/dist/sdk-config/index.cjs.map +1 -1
- package/dist/sdk-config/index.d.cts +1 -1
- package/dist/sdk-config/index.d.ts +1 -1
- package/dist/sdk-config/index.js +135 -2
- package/dist/sdk-config/index.js.map +1 -1
- package/dist/sdk-config/v1/index.cjs +135 -1
- package/dist/sdk-config/v1/index.cjs.map +1 -1
- package/dist/sdk-config/v1/index.d.cts +3367 -3329
- package/dist/sdk-config/v1/index.d.ts +3367 -3329
- package/dist/sdk-config/v1/index.js +135 -2
- package/dist/sdk-config/v1/index.js.map +1 -1
- package/dist/sdk-config-ir/index.cjs +150 -0
- package/dist/sdk-config-ir/index.cjs.map +1 -1
- package/dist/sdk-config-ir/index.d.cts +1 -1
- package/dist/sdk-config-ir/index.d.ts +1 -1
- package/dist/sdk-config-ir/index.js +148 -1
- package/dist/sdk-config-ir/index.js.map +1 -1
- package/dist/sdk-config-ir/v1/index.cjs +150 -0
- package/dist/sdk-config-ir/v1/index.cjs.map +1 -1
- package/dist/sdk-config-ir/v1/index.d.cts +26 -1
- package/dist/sdk-config-ir/v1/index.d.ts +26 -1
- package/dist/sdk-config-ir/v1/index.js +148 -1
- package/dist/sdk-config-ir/v1/index.js.map +1 -1
- package/package.json +1 -1
- package/src/sdk-config/v1/README.md +5 -3
- package/src/sdk-config-ir/v1/README.md +6 -0
|
@@ -60,6 +60,12 @@ messages. Valid IR requests route only to the IR bridge and never fall through t
|
|
|
60
60
|
required `enabled` boolean so settings can be added without changing its shape.
|
|
61
61
|
- User-defined maps are permitted only when their values have a stable schema. The temporary
|
|
62
62
|
`legacyInput.value` JSON object is the deliberate migration exception.
|
|
63
|
+
- V1 evolves additively: new properties are optional, and existing properties are not removed,
|
|
64
|
+
renamed, narrowed, or made required. Incompatible changes require a new IR version.
|
|
65
|
+
- Generator transport uses `serializeSdkConfigIrV1`, which omits versioned defaults and reports the
|
|
66
|
+
capabilities required by semantically active fields. Generators use
|
|
67
|
+
`parseSdkConfigIrV1ForConsumption` to ignore unknown additive object fields at the wire boundary;
|
|
68
|
+
strict parsing remains the authoring and producer-validation contract.
|
|
63
69
|
|
|
64
70
|
Examples of the boolean rule:
|
|
65
71
|
|