修改后台权限
This commit is contained in:
10
node_modules/eciesjs/dist/utils/hex.js
generated
vendored
Normal file
10
node_modules/eciesjs/dist/utils/hex.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.decodeHex = exports.remove0x = void 0;
|
||||
var utils_1 = require("@noble/ciphers/utils");
|
||||
var remove0x = function (hex) {
|
||||
return hex.startsWith("0x") || hex.startsWith("0X") ? hex.slice(2) : hex;
|
||||
};
|
||||
exports.remove0x = remove0x;
|
||||
var decodeHex = function (hex) { return (0, utils_1.hexToBytes)((0, exports.remove0x)(hex)); };
|
||||
exports.decodeHex = decodeHex;
|
||||
Reference in New Issue
Block a user