TxnLab / use-wallet

A framework agnostic wallet integration library for Algorand dApps
https://txnlab.gitbook.io/use-wallet
MIT License
81 stars 30 forks source link

Cannot parse class method with private name. #131

Closed g-anwuli closed 1 month ago

g-anwuli commented 6 months ago

I can't seem to use useWallet in safari browser, it only works in latest version of safari. i keep getting these errors "SyntaxError: Unexpected private name #composeTransactions. Cannot parse class method with private name."

I would love an alternative approach or solution to this issue thanks.

drichar commented 1 month ago

Need to take a look at the target environment in v3's build config to see what targeting older versions of Safari (before private method support) does to the output bundle.

drichar commented 1 month ago

Closing this but please let me know if you still have issues in older versions of Safari with https://github.com/TxnLab/use-wallet/releases/tag/v3.0.0