Web3API 0.0.1-prealpha.69
Web3API 0.0.1-prealpha.69
Features
- PR-669
Map<K, V>
schema base-type has been added. - PR-761 Modules now subinvoke interface implementation wrappers through the
__w3_subinvokeImplementation
host import. This now gives us a specific import function for these sort of invocations, which can allow for additional types of verification features to be added by clients. - PR-769
@web3api/schema-bind
: Add support forgetImplementations
capability in TypeScript plugin (plugin-ts
) codegen. - PR-763
@web3api/schema-bind
: Theschema-bind
project is now "module agnostic" and accepts an array of arbitrary modules, which it will pass directly to the different binding projects (wasm-as
,plugin-ts
,app-ts
, etc). - PR-759
@web3api/manifest-schemas
: Added thename: string
property to theweb3api
manifest. - PR-759
@web3api/manifest-schemas
: Renamedweb3api.meta
'sname
property todisplayName
. - PR-772
@web3api/manifest-schemas
: Added thetags: string[]
property to theweb3api.meta
manifest, allowing wrapper to developers to add tag keywords to their package's metadata, helping improve searchability on package indexers like The Polywrap Hub. - PR-747
@web3api/ethereum-plugin-js
: Changed all instances of thechainId
property's type toBigInt
fromUInt32
. - PR-776
@web3api/ethereum-plugin-js
: AddedgetBalance
to theQuery
module, allowing callers to check the native balance of arbitrary addresses.
Breaking Changes
- PR-669 Wrappers that utilize the new
Map<K, V>
schema base-type will break forward compatability of Polywrap clients.- Relevant Downstream Dependencies:
@web3api/client-js
- Relevant Downstream Dependencies:
- PR-761 Modules that use the
getImplementations
capability for interfaces will now require the following host imports:__w3_subinvokeImplementation
,__w3_subinvokeImplementation_result_len
,__w3_subinvokeImplementation_result
,__w3_subinvokeImplementation_error_len
,__w3_subinvokeImplementation_error
- Relevant Upstream Dependencies:
@web3api/wasm-as
,@web3api/schema-bind
,@web3api/cli
,@web3api/client-js
- Relevant Upstream Dependencies:
- PR-763
@web3api/schema-bind
: The entry point function's input & output types have changed. - PR-763
@web3api/cli
: The type of the expected export from user-defined codegen scripts has changed from:
generateBinding = (
output: OutputDirectory,
typeInfo: TypeInfo,
schema: string,
config: Record<string, unknown>
) => void;
to
generateBinding = (
options: BindOptions
) => BindOutput;
Bugs
- PR-766
@web3api/client-js
: User-configured interface implementations now extend the default configuration's, instead of overwritting them.