Skip to content

Add iter()/into_iter() to JS array wrappers#146

Open
Jr-kenny wants to merge 1 commit into
0xMiden:mainfrom
Jr-kenny:codex/iter-array-helpers
Open

Add iter()/into_iter() to JS array wrappers#146
Jr-kenny wants to merge 1 commit into
0xMiden:mainfrom
Jr-kenny:codex/iter-array-helpers

Conversation

@Jr-kenny
Copy link
Copy Markdown

Summary

  • add internal iter() and into_iter() helpers to the array wrappers generated by declare_js_miden_arrays!
  • switch existing web-client conversions/builders away from direct .__inner access
  • keep the macro warning-free for wrappers that do not consume the helpers yet

Closes #109.

Verification

  • cargo fmt --all --check
  • git diff --check
  • MIDEN_FAST_BUILD=true pnpm --filter @miden-sdk/miden-sdk run build

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.

Add iter()/into_iter() to declare_js_miden_arrays macro

1 participant