Skip to content

Uint8Array is not treated as Buffer during cbor encoding #35

@blake-regalia

Description

@blake-regalia

This is counter-intuitive. Passing a TypedArray or ArrayBuffer in a web environment should be allowed.

https://github.com/KeystoneHQ/ur-registry/blob/main/src/lib/cbor-sync.js#L581

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions