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

ES6 Imports Don't Work #81

@osseonews

Description

@osseonews

We are able to successfully use Require to use this library, but using imports doesn't work, and unfortunately our current set up requires imports.

Whenever we import, we get 400 response with "Invalid credentials". We know our credential are fine, as we use them daily in another app which uses require. how do you use this library with Imports?

Our code:

import * as Shippo from 'shippo'
const shippo = new Shippo.default('YOURSHIPPOID');

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