UNPKG

@bagsfm/bags-sdk

Version:

TypeScript SDK for Bags

19 lines 902 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BagsSDK = void 0; const token_launch_1 = require("./services/token-launch"); const bags_client_1 = require("./api/bags-client"); const state_1 = require("./services/state"); const config_1 = require("./services/config"); const fees_1 = require("./services/fees"); class BagsSDK { constructor(apiKey, connection, commitment = 'processed') { this.bagsApiClient = new bags_client_1.BagsApiClient(apiKey); this.tokenLaunch = new token_launch_1.TokenLaunchService(apiKey, connection, commitment); this.state = new state_1.StateService(apiKey, connection, commitment); this.config = new config_1.ConfigService(apiKey, connection, commitment); this.fee = new fees_1.FeesService(apiKey, connection, commitment); } } exports.BagsSDK = BagsSDK; //# sourceMappingURL=client.js.map