@glif/filecoin-message
Advanced tools
Comparing version 2.0.13 to 2.0.15
@@ -19,13 +19,12 @@ import BigNumber from 'bignumber.js'; | ||
cid: string; | ||
to: Address; | ||
from: Address; | ||
nonce: number; | ||
height: number; | ||
method: number; | ||
params: string; | ||
value: string; | ||
gasFeeCap: string; | ||
gasLimit: string; | ||
gasLimit: number; | ||
gasPremium: string; | ||
height: string; | ||
method: string; | ||
nonce: string; | ||
params: string; | ||
to: Address; | ||
value: string; | ||
version?: string; | ||
}; | ||
@@ -32,0 +31,0 @@ declare type SerializableMessage = ZondaxMessage; |
@@ -157,13 +157,13 @@ "use strict"; | ||
return { | ||
cid: cid, | ||
to: toAddr, | ||
from: fromAddr, | ||
cid: cid, | ||
method: _this.method.toString(), | ||
gasFeeCap: _this.gasFeeCap.toString(), | ||
gasLimit: _this.gasLimit.toString(), | ||
gasPremium: _this.gasPremium.toString(), | ||
nonce: _this.nonce, | ||
height: 0, | ||
method: _this.method, | ||
params: _this.params, | ||
height: '', | ||
value: _this.value.toString(), | ||
nonce: _this.nonce.toString() | ||
gasFeeCap: _this.gasFeeCap.toString(), | ||
gasLimit: _this.gasLimit, | ||
gasPremium: _this.gasPremium.toString() | ||
}; | ||
@@ -170,0 +170,0 @@ }); |
@@ -144,13 +144,13 @@ 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); } | ||
return { | ||
cid: cid, | ||
to: toAddr, | ||
from: fromAddr, | ||
cid: cid, | ||
method: _this.method.toString(), | ||
gasFeeCap: _this.gasFeeCap.toString(), | ||
gasLimit: _this.gasLimit.toString(), | ||
gasPremium: _this.gasPremium.toString(), | ||
nonce: _this.nonce, | ||
height: 0, | ||
method: _this.method, | ||
params: _this.params, | ||
height: '', | ||
value: _this.value.toString(), | ||
nonce: _this.nonce.toString() | ||
gasFeeCap: _this.gasFeeCap.toString(), | ||
gasLimit: _this.gasLimit, | ||
gasPremium: _this.gasPremium.toString() | ||
}; | ||
@@ -157,0 +157,0 @@ }); |
@@ -121,13 +121,13 @@ 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; } | ||
return { | ||
cid, | ||
to: toAddr, | ||
from: fromAddr, | ||
cid, | ||
method: this.method.toString(), | ||
gasFeeCap: this.gasFeeCap.toString(), | ||
gasLimit: this.gasLimit.toString(), | ||
gasPremium: this.gasPremium.toString(), | ||
nonce: this.nonce, | ||
height: 0, | ||
method: this.method, | ||
params: this.params, | ||
height: '', | ||
value: this.value.toString(), | ||
nonce: this.nonce.toString() | ||
gasFeeCap: this.gasFeeCap.toString(), | ||
gasLimit: this.gasLimit, | ||
gasPremium: this.gasPremium.toString() | ||
}; | ||
@@ -134,0 +134,0 @@ }); |
{ | ||
"name": "@glif/filecoin-message", | ||
"version": "2.0.13", | ||
"version": "2.0.15", | ||
"description": "The Filecoin message type, used to transfer tokens and make state changes.", | ||
@@ -43,3 +43,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "81a730fa6139d476494abc7b2c10ff99050a17f7" | ||
"gitHead": "2c8af950fe5a47d2bbc651e750f1f777eba3ea69" | ||
} |
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
101504
803