Skip to content

Bundle broken in 3.0.1 #415

@sylcastaing

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.

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