wechaty-redux
Version:
Wechaty Redux Plugin Powered By Ducks
12 lines • 532 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWechaty = exports.getPuppet = exports.wechatyRegistry = exports.puppetRegistry = void 0;
const puppetRegistry = new Map();
exports.puppetRegistry = puppetRegistry;
const wechatyRegistry = new Map();
exports.wechatyRegistry = wechatyRegistry;
const getPuppet = (id) => puppetRegistry.get(id);
exports.getPuppet = getPuppet;
const getWechaty = (id) => wechatyRegistry.get(id);
exports.getWechaty = getWechaty;
//# sourceMappingURL=registry.js.map