I have an issue when I'm trying to withdraw the funds using the JS SDK. I guess there is a conflict with the new version of spl-token@0.2.0 that I have installed.
The error:
Withdraw error TypeError: Cannot read properties of undefined (reading 'getAssociatedTokenAddress')
at eval (sdk.js?e986:495:1)
at step (sdk.js?e986:44:1)
at Object.eval [as next] (sdk.js?e986:25:46)
at eval (sdk.js?e986:19:1)
at new Promise (<anonymous>)
at __awaiter (sdk.js?e986:15:1)
at ata (sdk.js?e986:492:1)
at Function.eval (sdk.js?e986:206:1)
at step (sdk.js?e986:44:1)
at Object.eval [as next] (sdk.js?e986:25:46)
at fulfilled (sdk.js?e986:16:43)
Hello,
I have an issue when I'm trying to withdraw the funds using the JS SDK. I guess there is a conflict with the new version of spl-token@0.2.0 that I have installed.
The error:
package.json
using an older version (0.1.8) is working fine.
Thank you!