Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module '"@baking-bad/tezos-etherlink-bridge-sdk"' has no exported member 'createDefaultTokenBridge'. #2

Open
devon-n opened this issue Nov 15, 2024 · 2 comments

Comments

@devon-n
Copy link

devon-n commented Nov 15, 2024

I'm following along with the readme but at this part I get that createDefaultTokenBridge is not exported.

The browser confirms this TypeError: (0 , baking_bad_tezos_etherlink_bridge_sdk__WEBPACK_IMPORTED_MODULE_7_.createDefaultTokenBridge) is not a function

I searched in the repo and couldn't find createDefaultTokenBridge

@obamna1
Copy link

obamna1 commented Nov 21, 2024

I got around this by cloning the demo https://github.com/skubarenko/tezos-etherlink-bridge-ts-sdk-demo/blob/master/src/tokens.ts and importing the pairings there.

@ztepler
Copy link
Member

ztepler commented Dec 25, 2024

Hi @devon-n,

Apologies for the delayed response. The createDefaultTokenBridge function has been deprecated. However, the README.md file has been updated to align with the current SDK version, and the code examples are now up-to-date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants