Skip to content

extra param to bytesToString() #49

@unional

Description

@unional

At https://github.com/go-macaroon/js-macaroon/blob/master/macaroon.js#L1015

Maybe you mean locationStr: bytesToString(v2JSONField(caveat, 'l', false)),?

I'm discover this while I try to add TypeScript definition to this library (actually I think converting to TypeScript is easier).

Are you open to accept PR for the type definition or convert to TypeScript?

Metadata

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