-
Notifications
You must be signed in to change notification settings - Fork 293
Compatibility of '@orca-so/[email protected]' and '@solana/[email protected]' (Typescipt) #1112
Copy link
Copy link
Open
Description
After updating SDK Solana and Whirlpools to version 4, incompatibility was discovered:
/.../node_modules/@orca-so/tx-sender/src/sendTransaction.ts:11
assertTransactionIsFullySigned,
^
SyntaxError: The requested module '@solana/kit' does not provide an export named 'assertTransactionIsFullySigned'
at #_instantiate (node:internal/modules/esm/module_job:254:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:362:5)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:665:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:99:5)
This is the first error that crashed program that had been working correctly until update.
But I am sure there may be many problem places:
$ npm ls @solana/kit
project@ /project
├─┬ @orca-so/[email protected]
│ ├─┬ @orca-so/[email protected]
│ │ ├─┬ @solana-program/[email protected]
│ │ │ └── @solana/[email protected] deduped invalid: "^2.1.0" from node_modules/@orca-so/whirlpools, "^2.1.0" from node_modules/@orca-so/tx-sender, "^2.1.0" from node_modules/@orca-so/whirlpools-client, "^2.1.0" from node_modules/@solana-program/memo, "^2.1.0" from node_modules/@solana-program/system, "^2.1.0" from node_modules/@solana-program/token-2022, "^2.1.0" from node_modules/@solana-program/token, "^2.1.0" from node_modules/@solana-program/address-lookup-table
│ │ ├─┬ @solana-program/[email protected]
│ │ │ └── @solana/[email protected] deduped invalid: "^2.1.0" from node_modules/@orca-so/whirlpools, "^2.1.0" from node_modules/@orca-so/tx-sender, "^2.1.0" from node_modules/@orca-so/whirlpools-client, "^2.1.0" from node_modules/@solana-program/memo, "^2.1.0" from node_modules/@solana-program/system, "^2.1.0" from node_modules/@solana-program/token-2022, "^2.1.0" from node_modules/@solana-program/token, "^2.1.0" from node_modules/@solana-program/address-lookup-table, "^2.1.0" from node_modules/@solana-program/compute-budget
│ │ └── @solana/[email protected] deduped invalid: "^2.1.0" from node_modules/@orca-so/whirlpools, "^2.1.0" from node_modules/@orca-so/tx-sender
│ ├─┬ @orca-so/[email protected]
│ │ └── @solana/[email protected] deduped invalid: "^2.1.0" from node_modules/@orca-so/whirlpools, "^2.1.0" from node_modules/@orca-so/tx-sender, "^2.1.0" from node_modules/@orca-so/whirlpools-client
│ ├─┬ @solana-program/[email protected]
│ │ └── @solana/[email protected] deduped invalid: "^2.1.0" from node_modules/@orca-so/whirlpools, "^2.1.0" from node_modules/@orca-so/tx-sender, "^2.1.0" from node_modules/@orca-so/whirlpools-client, "^2.1.0" from node_modules/@solana-program/memo
│ ├─┬ @solana-program/[email protected]
│ │ └── @solana/[email protected] deduped invalid: "^2.1.0" from node_modules/@orca-so/whirlpools, "^2.1.0" from node_modules/@orca-so/tx-sender, "^2.1.0" from node_modules/@orca-so/whirlpools-client, "^2.1.0" from node_modules/@solana-program/memo, "^2.1.0" from node_modules/@solana-program/system
│ ├─┬ @solana-program/[email protected]
│ │ └── @solana/[email protected] deduped invalid: "^2.1.0" from node_modules/@orca-so/whirlpools, "^2.1.0" from node_modules/@orca-so/tx-sender, "^2.1.0" from node_modules/@orca-so/whirlpools-client, "^2.1.0" from node_modules/@solana-program/memo, "^2.1.0" from node_modules/@solana-program/system, "^2.1.0" from node_modules/@solana-program/token-2022
│ ├─┬ @solana-program/[email protected]
│ │ └── @solana/[email protected] deduped invalid: "^2.1.0" from node_modules/@orca-so/whirlpools, "^2.1.0" from node_modules/@orca-so/tx-sender, "^2.1.0" from node_modules/@orca-so/whirlpools-client, "^2.1.0" from node_modules/@solana-program/memo, "^2.1.0" from node_modules/@solana-program/system, "^2.1.0" from node_modules/@solana-program/token-2022, "^2.1.0" from node_modules/@solana-program/token
│ └── @solana/[email protected] deduped invalid: "^2.1.0" from node_modules/@orca-so/whirlpools
└── @solana/[email protected] invalid: "^2.1.0" from node_modules/@orca-so/whirlpools
In this regard, the question is:
are there plans to add compatibility between
“@orca-so/[email protected]” and “@solana/[email protected]” in Typescript SDK ?
Metadata
Metadata
Assignees
Labels
No labels