UNPKG

@open-oracle-origami/origami-js-mill-coingecko

Version:
13 lines (12 loc) 581 B
"use strict"; 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;