-
#102
477d3df
Thanks @jribbink! - BREAKING Bumped @onflow/fcl to 1.1.1-alpha.1Developers should note that
[U]Int*
andWord*
types are now decoded into strings by @onflow/fcl and no longer implicitly decoded into numbers. This means that these types will need to be explicitly converted to JavaScript Number types if required.This potentially affects the following flow-cadut features:
sendTransaction
(where event data is[U]Int*
orWord*
)executeScript
(where return value is[U]Int*
orWord*
)- any generated script templates with
[U]Int*
orWord*
return values - any generated transaction templates which emit
[U]Int*
orWord*
event data
Additionally, passing in Number as value for Int is deprecated and will cease to work in future releases of @onflow/types. Going forward, use String as value for Int.
This could potentially affect the following functions in the future:
sendTransaction
(where integer arguments are passed)executeScript
(where integer arguments are passed)- any generated script templates with integer arguments passed
- any generated transaction templates with integer arguments passed
You can learn more (including a guide on common transition paths) here.
-
#104
c5d3a23
Thanks @jribbink! - BREAKING@onflow/flow-cadut
has been converted to a monorepo and partitioned into the following packages:@onflow/flow-cadut
@onflow/flow-cadut-generator
(previously@onflow/flow-cadut/generator
)@onflow/flow-cadut-plugin-find
(previously@onflow/flow-cadut/plugins/find
)@onflow/flow-cadut-plugin-flowns
(previously@onflow/flow-cadut/plugins/flowns
)@onflow/flow-cadut-views
(previously@onflow/flow-cadut/views
)
Note - The
@onflow/flow-cadut
generator CLI has also been moved to@onflow/flow-cadut-generator
.In order to use the
flow-generate
command, you must install the generator package via:npm install -D @onflow/flow-cadut-generator
The generator command may now be used via
npx flow-generate
on the command line. See complete installation instructions here.
- #97
7a09ae7
Thanks @MaxStalker! - Fix contract parser to properly process contracts, which implements some interface