Skip to content

Update bindings-api.md - #127

Closed
Cofson wants to merge 13 commits into
masterfrom
36/bindings-api-draft
Closed

Update bindings-api.md#127
Cofson wants to merge 13 commits into
masterfrom
36/bindings-api-draft

Conversation

@Cofson

@Cofson Cofson commented Feb 14, 2025

Copy link
Copy Markdown
Contributor

Improved bindings-api.md in the waku/standards/core/36 folder

@Cofson
Cofson requested a review from jimstir February 14, 2025 04:02
@Cofson
Cofson marked this pull request as ready for review April 16, 2025 13:09
Comment on lines 826 to 825
"/ipfs/id/1.0.0",
"/vac/waku/relay/2.0.0",
"/waku/relay/2.0.0",
"/ipfs/ping/1.0.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is not correct, the /vac/waku/relay/2.0.0 is still used. See here

- 1 - The operation failed for any reason.
`onErrCb` will be executed with the reason the function execution failed.
`onErrCb` will be executed with the reason the function execution failed
- 2 - The function is missing the `onOkCb` or `onErrCb` callback

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove the periods?

@jimstir jimstir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you updated the comment about the period for the one line I mentioned. You make the same changes for multiple lines. Check all your changes for period removal as they may not be necessary.

This spec is in draft, but the format does not follow the RFC template. Update this to include things like abstract, etc...

Comment thread waku/standards/core/36/bindings-api.md Outdated
Comment on lines +74 to +77
type JsonMessage* = ref object # https://rfc.vac.dev/spec/36/#jsonmessage-type
payload*: Base64String
contentTopic*: string
version*: uint

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original is correct, you can look at the reference here. Check your other changes to json format does support (*) after variables.

@fbarbu15 fbarbu15 closed this Jul 27, 2026
@fbarbu15
fbarbu15 deleted the 36/bindings-api-draft branch July 27, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants