Closed talkol closed 2 years ago
Right now in the browser version, the getHttpEndpoint and all members are exported to window
getHttpEndpoint
Please export to window just a single namespace TonGateway and under it put all the exports, for example TonGateway.getHttpEndpoint()
TonGateway
TonGateway.getHttpEndpoint()
<script src="https://cdn.jsdelivr.net/gh/orbs-network/ton-gateway@1.1.1/dist/index.min.js"></script> <script> document.addEventListener("DOMContentLoaded", function () { TonGateway.getHttpEndpoint().then((endpoint) => {
Right now in the browser version, the
getHttpEndpoint
and all members are exported to windowPlease export to window just a single namespace
TonGateway
and under it put all the exports, for exampleTonGateway.getHttpEndpoint()