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