@nucypher/taco
Version:
### [`nucypher/taco-web`](../../README.md)
18 lines • 826 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RpcCondition = exports.RpcConditionType = exports.rpcConditionSchema = void 0;
const condition_1 = require("../condition");
const rpc_1 = require("../schemas/rpc");
var rpc_2 = require("../schemas/rpc");
Object.defineProperty(exports, "rpcConditionSchema", { enumerable: true, get: function () { return rpc_2.rpcConditionSchema; } });
Object.defineProperty(exports, "RpcConditionType", { enumerable: true, get: function () { return rpc_2.RpcConditionType; } });
class RpcCondition extends condition_1.Condition {
constructor(value) {
super(rpc_1.rpcConditionSchema, {
conditionType: rpc_1.RpcConditionType,
...value,
});
}
}
exports.RpcCondition = RpcCondition;
//# sourceMappingURL=rpc.js.map