@glif/filecoin-message
Advanced tools
Comparing version 2.0.25 to 2.0.27
@@ -91,4 +91,4 @@ import BigNumber from 'bignumber.js'; | ||
export default _default; | ||
export declare const getEVMHexFromCid: (cid: string) => string; | ||
export declare const getCidFromEVMHex: (hex: string) => string; | ||
export declare const getFEVMHexFromCid: (cid: string) => string; | ||
export declare const getCidFromFEVMHex: (hex: string) => string; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.getEVMHexFromCid = exports.getCidFromEVMHex = exports["default"] = exports.Message = void 0; | ||
exports.getFEVMHexFromCid = exports.getCidFromFEVMHex = exports["default"] = exports.Message = void 0; | ||
@@ -300,3 +300,3 @@ var _bignumber = _interopRequireDefault(require("bignumber.js")); | ||
var getEVMHexFromCid = function getEVMHexFromCid(cid) { | ||
var getFEVMHexFromCid = function getFEVMHexFromCid(cid) { | ||
try { | ||
@@ -312,5 +312,5 @@ var parsedCid = _cid.CID.parse(cid); | ||
exports.getEVMHexFromCid = getEVMHexFromCid; | ||
exports.getFEVMHexFromCid = getFEVMHexFromCid; | ||
var getCidFromEVMHex = function getCidFromEVMHex(hex) { | ||
var getCidFromFEVMHex = function getCidFromFEVMHex(hex) { | ||
try { | ||
@@ -329,3 +329,3 @@ var hexStr = hex.startsWith('0x') || hex.startsWith('0X') ? hex.slice(2) : hex; | ||
exports.getCidFromEVMHex = getCidFromEVMHex; | ||
exports.getCidFromFEVMHex = getCidFromFEVMHex; | ||
//# sourceMappingURL=index.js.map |
@@ -279,3 +279,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } | ||
}; | ||
export var getEVMHexFromCid = function getEVMHexFromCid(cid) { | ||
export var getFEVMHexFromCid = function getFEVMHexFromCid(cid) { | ||
try { | ||
@@ -289,3 +289,3 @@ var parsedCid = CID.parse(cid); | ||
}; | ||
export var getCidFromEVMHex = function getCidFromEVMHex(hex) { | ||
export var getCidFromFEVMHex = function getCidFromFEVMHex(hex) { | ||
try { | ||
@@ -292,0 +292,0 @@ var hexStr = hex.startsWith('0x') || hex.startsWith('0X') ? hex.slice(2) : hex; |
@@ -257,3 +257,3 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
}; | ||
export const getEVMHexFromCid = cid => { | ||
export const getFEVMHexFromCid = cid => { | ||
try { | ||
@@ -269,3 +269,3 @@ const parsedCid = CID.parse(cid); | ||
}; | ||
export const getCidFromEVMHex = hex => { | ||
export const getCidFromFEVMHex = hex => { | ||
try { | ||
@@ -272,0 +272,0 @@ const hexStr = hex.startsWith('0x') || hex.startsWith('0X') ? hex.slice(2) : hex; |
{ | ||
"name": "@glif/filecoin-message", | ||
"version": "2.0.25", | ||
"version": "2.0.27", | ||
"description": "The Filecoin message type, used to transfer tokens and make state changes.", | ||
@@ -45,3 +45,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "f9bc0501466bbb7e7dec25a439f0d4271517302f" | ||
"gitHead": "330398eb30ce83d1612f84162354022f7c05e6a3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111819