Skip to content

uint8arrays import style is making oddsdk unusable in starbord #576

Open
@gotjoshua

Description

Summary

when loading oddsdk, uint8arrays tries to use multiformats/basics in bases.js

bases.js:42 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'bases')
    at bases.js:42:15

https://starboard.gg/gotjoshua/oddsdk-fission-esm-broken-nYw9yF3

Problem

something with packaging and bundling is not working, maybe its upstream in uint8arrays...

image

Impact

I can't use odd in starboard

Solution

different bundling strategy?

Detail

uint8arrays is used all over the place...
https://github.com/search?q=repo%3Aoddsdk%2Fts-odd%20%20%20uint8arrays&type=code

To Reproduce
try
https://starboard.gg/gotjoshua/oddsdk-fission-esm-broken-nYw9yF3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions