Expected Behavior
The protocol v14 features on v4.2-dev should be usable from the recommended JavaScript SDK:
Current Behavior
Neither has a JS surface. Both are implemented in Drive/DPP and reachable over gRPC, but the client path stops before JavaScript.
packages/js-evo-sdk has exactly one change between v4.1.0 and v4.2-dev: the package.json version bump from the release commit (#4379). No source file changed.
Since evo-sdk is a thin wrapper over @dashevo/wasm-sdk, the gap starts a layer down: the only ranked-index-related code in wasm-sdk is a GroveElementType declaration plus sum projection in src/queries/system.rs (from #4266). That is low-level GroveDB element typing, not a top-K query API. refersTo has no wasm-sdk plumbing at all.
Client-side v14 work landed in packages/rs-sdk, so these features are currently Rust-only for clients.
Possible Solution
- wasm-sdk: expose ranked/top-K document queries over the existing
RankedEntry / RankedEntries messages in platform.proto.
- wasm-sdk: surface
refersTo reference metadata and its consensus errors.
- evo-sdk: wrap both in the
documents and contracts facades.
Alternatives Considered
N/A
Additional Context
Filed to track the gap, not to report a defect: v4.2-dev is active and these commits landed recently, so the binding work may just be lagging. Close if already planned.
Compared v4.1.0 .. v4.2-dev at eaf3a4890b; v4.2-dev is a moving target.
Expected Behavior
The protocol v14 features on
v4.2-devshould be usable from the recommended JavaScript SDK:refersTo(feat(platform)!: reference validation for documents (refersTo) #2993, feat(platform)!: permanent document references (refersTo permanentDocument) #4390, feat(platform)!: identity public key references (refersTo identityPublicKey) #4397) —permanentDocumentandidentityPublicKeytargets supported when building and validating documents.Current Behavior
Neither has a JS surface. Both are implemented in Drive/DPP and reachable over gRPC, but the client path stops before JavaScript.
packages/js-evo-sdkhas exactly one change betweenv4.1.0andv4.2-dev: thepackage.jsonversion bump from the release commit (#4379). No source file changed.Since evo-sdk is a thin wrapper over
@dashevo/wasm-sdk, the gap starts a layer down: the only ranked-index-related code in wasm-sdk is aGroveElementTypedeclaration plussumprojection insrc/queries/system.rs(from #4266). That is low-level GroveDB element typing, not a top-K query API.refersTohas no wasm-sdk plumbing at all.Client-side v14 work landed in
packages/rs-sdk, so these features are currently Rust-only for clients.Possible Solution
RankedEntry/RankedEntriesmessages inplatform.proto.refersToreference metadata and its consensus errors.documentsandcontractsfacades.Alternatives Considered
N/A
Additional Context
Filed to track the gap, not to report a defect:
v4.2-devis active and these commits landed recently, so the binding work may just be lagging. Close if already planned.Compared
v4.1.0..v4.2-devateaf3a4890b;v4.2-devis a moving target.