"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SolanaDefaultRpcFactory = void 0;
var tslib_1 = require("tslib");
var kit_1 = require("@solana/kit");
var baseRpcFactories_1 = require("./baseRpcFactories");
var SolanaDefaultRpcFactory = (function (_super) {
    tslib_1.__extends(SolanaDefaultRpcFactory, _super);
    function SolanaDefaultRpcFactory() {
        var clusterConstructorParams = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            clusterConstructorParams[_i] = arguments[_i];
        }
        return _super.apply(this, clusterConstructorParams) || this;
    }
    SolanaDefaultRpcFactory.prototype.createTransport = function () {
        return (0, kit_1.createDefaultRpcTransport)({ url: this.clusterUrl });
    };
    return SolanaDefaultRpcFactory;
}(baseRpcFactories_1.SolanaClusterRpcFactory));
exports.SolanaDefaultRpcFactory = SolanaDefaultRpcFactory;
//# sourceMappingURL=defaultRpcFactory.js.map