"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MockCachedSolanaRpcFactory = void 0;
var tslib_1 = require("tslib");
var __1 = require("..");
var MockCachedSolanaRpcFactory = (function (_super) {
    tslib_1.__extends(MockCachedSolanaRpcFactory, _super);
    function MockCachedSolanaRpcFactory(mockRetrySolanaRpcFactory) {
        var cachedConstructorParams = [];
        for (var _i = 1; _i < arguments.length; _i++) {
            cachedConstructorParams[_i - 1] = arguments[_i];
        }
        var _this = _super.apply(this, cachedConstructorParams) || this;
        _this.retryTransport = mockRetrySolanaRpcFactory.createTransport();
        _this.retryRpcClient = mockRetrySolanaRpcFactory.createRpcClient();
        return _this;
    }
    return MockCachedSolanaRpcFactory;
}(__1.CachedSolanaRpcFactory));
exports.MockCachedSolanaRpcFactory = MockCachedSolanaRpcFactory;
//# sourceMappingURL=MockCachedSolanaRpcFactory.js.map