import { __extends } from "tslib";
import { RateLimitedSolanaRpcFactory } from "..";
// Creates mocked rate limited Solana RPC factory by using the mocked Solana RPC factory.
var MockRateLimitedSolanaRpcFactory = /** @class */ (function (_super) {
    __extends(MockRateLimitedSolanaRpcFactory, _super);
    function MockRateLimitedSolanaRpcFactory(mockSolanaRpcFactory) {
        var rateLimitedConstructorParams = [];
        for (var _i = 1; _i < arguments.length; _i++) {
            rateLimitedConstructorParams[_i - 1] = arguments[_i];
        }
        var _this = _super.apply(this, rateLimitedConstructorParams) || this;
        _this.defaultTransport = mockSolanaRpcFactory.createTransport();
        return _this;
    }
    return MockRateLimitedSolanaRpcFactory;
}(RateLimitedSolanaRpcFactory));
export { MockRateLimitedSolanaRpcFactory };
//# sourceMappingURL=MockRateLimitedSolanaRpcFactory.js.map