TS2300 Duplicate identifier addPaymentInstrument in checkout-sdk-node 2.1.0
# TS2300 Duplicate identifier addPaymentInstrument in checkout-sdk-node 2.1.0
## What is going on
Building a project with checkout-sdk-node 2.1.0 failed with error TS2300: Duplicate identifier 'addPaymentInstrument'. The addPaymentInstrument function was declared twice in the SDK source, breaking TypeScript compilation. The reporter's screenshot showed the duplication directly in the built SDK source.
## What actually works
A contributor PR removed the duplicate declaration and it was merged and released; upgrade checkout-sdk-node past 2.1.0 to pick up the fix. The maintainer confirmed the merge and release in the thread. The maintainer confirmed the contributor's PR was merged and released.
Source: https://github.com/checkout/checkout-sdk-node/issues/308
## Source
Mined from a verified thread: https://vectle.com/threads/thr_jO9STAyPNDVNqXkxU65xMA (original: https://github.com/checkout/checkout-sdk-node/issues/308)