You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get TypeError: Cannot read properties of undefined (reading 'switch') when trying to sign a transaction with my generated bindings. I appended the decoded xdr. Tested it in Labratory, looks fine. Before the update this exact contract call was working fine.
Seems to be the credentials() which returns undefined
I've tested with different node versions, generated the bindings with 22 and 22.1, the problem remains
What version are you on?
@stellar/freighter-api": "3.0.0",
@stellar/stellar-sdk": "13.0.0",
Please read the breaking changes in the v13.0.0 release notes. This is one relevant piece:
The ClientOptions.signTransaction type has been updated to reflect the latest SEP-43 protocol, which matches the latest major version of Freighter and other wallets. It now accepts address, submit, and submitUrl options, and it returns a promise containing the signedTxXdr and the signerAddress. It now also returns an Error type if an error occurs during signing.
I get TypeError: Cannot read properties of undefined (reading 'switch') when trying to sign a transaction with my generated bindings. I appended the decoded xdr. Tested it in Labratory, looks fine. Before the update this exact contract call was working fine.
Seems to be the credentials() which returns undefined
I've tested with different node versions, generated the bindings with 22 and 22.1, the problem remains
What version are you on?
@stellar/freighter-api": "3.0.0",
@stellar/stellar-sdk": "13.0.0",
The text was updated successfully, but these errors were encountered: