Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Scanning fails due to axios minor update breaking api #149

@losh11

Description

@losh11

The latest minor version of Axios has made a change requiring 'Accept-Encoding': 'application/json' to be sent in the header of a axios reqest with json response, otherwise the response is broken. When broken, it fails to scan addresses for balances. NPM auto updates to this version unfortunately.

Requires adding the addtional header to here: https://github.com/LedgerHQ/xpub-scan/blob/main/src/helpers.ts#L25

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