2022-01-06 18:37:45 +01:00

17 lines
342 B
JavaScript

// TODO: Remove this file in Babel 8
"use strict";
const hook = require("./hook");
const { LocalClient } = require("./worker-client");
const client = new LocalClient();
function register(opts = {}) {
return hook.register(client, { ...opts });
}
module.exports = Object.assign(register, {
revert: hook.revert,
default: register,
});