UNPKG

fsl-js-sdk

Version:
16 lines (15 loc) 515 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getDooar = void 0; var __1 = require(".."); var dooar_impl_1 = require("../../model/dooar/dooar-impl"); /** * Retrieve an instance of the Dooar SDK * @param connection Solana connection class * @returns An instance of Dooar SDK */ function getDooar(connection, network) { if (network === void 0) { network = __1.Network.MAINNET; } return new dooar_impl_1.DooarImpl(connection, network); } exports.getDooar = getDooar;