@lit-protocol/contracts
Version:
All configs are in the `./src/config` directory
16 lines (15 loc) • 567 B
JavaScript
;
const UNSUPPORTED_MESSAGE = "@lit-protocol/contracts/custom-network-signatures is not supported in browser environments. Please pre-generate contract signatures in a Node.js process and ship the artifacts instead.";
function throwBrowserUnsupported() {
throw new Error(UNSUPPORTED_MESSAGE);
}
function buildSignaturesFromContext(_options) {
return throwBrowserUnsupported();
}
async function generateSignaturesFromContext(_options) {
throwBrowserUnsupported();
}
module.exports = {
buildSignaturesFromContext,
generateSignaturesFromContext
};