Concordium / concordium-dapp-libraries

A coherent set of building blocks for making it as easy as possible for developers to build web-based dApps.
Apache License 2.0
7 stars 5 forks source link

SendTransaction: add support for specific schemas #33

Closed shjortConcordium closed 1 year ago

shjortConcordium commented 1 year ago

Purpose

Update schema type to include SchemaWithContext and handle receiving that. (The latest versions of the wallets supports sending the schema as an object)

Changes

Expand type for schema on sendTransaction and handle the different types.

Checklist

bisgardo commented 1 year ago

I find the proposed interface hard to understand and am therefore suggesting to do it like in #34 instead.