Skip to content

Bundle broken in 3.0.1 #415

Description

@sylcastaing

Environment

  • Checkout SDK version: 3.0.1
  • Platform and version: Node 22
  • Operating System and version:

Description

Bundler error when I try to use checkout SDK :

import { Checkout } from 'checkout-sdk-node';
         ^

SyntaxError: The requested module 'checkout-sdk-node' does not provide an export named 'Checkout'

Expected behavior

I can import Checkout from checkout-sdk-node

Current behavior

  • I may be able to implement this bug fix

Additional information

I see no exports in the dist/index.js file, but it is the entry point of the module. This file imports things from other files but does not export anything.

Activity

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

Metadata

Metadata

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