@open-oracle-origami/origami-js-mill-coingecko
Version:
Open Oracle Origami Node JS CoinGecko Mill
13 lines (12 loc) • 581 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const origami_js_sdk_1 = require("@open-oracle-origami/origami-js-sdk");
const main_1 = __importDefault(require("./main"));
const CoinGeckoMill = ({ id = 'coingecko', emitter, ...rest }) => {
const init = ({ press }) => (0, main_1.default)({ press, ...rest });
return origami_js_sdk_1.Mill.create({ id, emitter, init });
};
exports.default = CoinGeckoMill;