Skip to content

Commit af20bba

Browse files
grypezclaude
andcommitted
docs(service-discovery-types): changelog for optional-param conversion
The converter now emits optional parameters from `MethodSchema.required`; record that consumer-observable change under the unreleased section. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 1093ef0 commit af20bba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/service-discovery-types/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- JSON-serializable API schema vocabulary: `TypeSpec`, `ObjectSpec`, `MethodSpec`, `RemotableSpec`
1515
- One-way `MethodSchema``RemotableSpec` converter (`methodsToRemotableSpec`, `methodSchemaToMethodSpec`) for bridging existing discoverable-exo schemas into the new format
1616

17+
### Changed
18+
19+
- `methodSchemaToMethodSpec` marks any parameter absent from the source `MethodSchema.required` as `optional` on its emitted `ValueSpec`, instead of treating every parameter as required ([#958](https://github.com/MetaMask/ocap-kernel/pull/958))
20+
1721
[Unreleased]: https://github.com/MetaMask/ocap-kernel/

0 commit comments

Comments
 (0)