You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
The current Note class doesn't expose the inner JsNote fields, to reach those data the user has to access the inner type
The goal here is to expose the inner type fields
Spec
Fields to expose
Fields are defined in the inner type JsNote after building packages/wasm-utils/build/wasm-utils.d.ts
Getters
getHashFunction(){returnthis.note.hashFunction;}
for importing types from wasm-utils use import type {xxx} from '@webb-tools/wasm-utils EXimport type {HashFunction} from '@webb-tools/wasm-utils'
Tests
Similar to the tests we have in the note.spec.tspackages/sdk-core/src/__test__/note.spec.ts, Add a test that leverages those getters and insure that the values are correct
Overview
The current
Noteclass doesn't expose the innerJsNotefields, to reach those data the user has to access the inner typeThe goal here is to expose the inner type fields
Spec
Fields to expose
Fields are defined in the inner type
JsNoteafter buildingpackages/wasm-utils/build/wasm-utils.d.tsGetters
for importing types from
wasm-utilsuseimport type {xxx} from '@webb-tools/wasm-utilsEX
import type {HashFunction} from '@webb-tools/wasm-utils'Tests
Similar to the tests we have in the
note.spec.tspackages/sdk-core/src/__test__/note.spec.ts, Add a test that leverages those getters and insure that the values are correct