UNPKG

saepenatus

Version:

Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, mul

14 lines 463 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.encode = exports.decode = void 0; var bytes_1 = require("@ethersproject/bytes"); function decode(textData) { return (0, bytes_1.arrayify)(new Uint8Array(Buffer.from(textData, "base64"))); } exports.decode = decode; ; function encode(data) { return Buffer.from((0, bytes_1.arrayify)(data)).toString("base64"); } exports.encode = encode; //# sourceMappingURL=base64.js.map