iotaledger / iota-sdk

The IOTA SDK provides developers with a seamless experience to develop on IOTA by providing account abstractions and clients to interact with node APIs.
Apache License 2.0
54 stars 39 forks source link

Nodejs: fix NativeTokenFeature #2182

Closed Thoralf-M closed 3 months ago

Thoralf-M commented 3 months ago

Description of change

Fix NativeTokenFeature in Nodejs

Links to any relevant issues

Fixes https://github.com/iotaledger/iota-sdk/issues/2147

Type of change

How the change has been tested

Running this where the output contains a native token feature

        const output = await client.getOutput(
            '0x9b1d47d673af02f082f381241e93492b0c2f89077e7679197be72b7fe104f898d8a500000100',
        );