Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arcblock/forge-message

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcblock/forge-message - npm Package Compare versions

Comparing version 0.20.5 to 0.21.0

20

lib/message.js

@@ -58,2 +58,4 @@ /**

*
* @public
* @static
* @param {string} type

@@ -133,2 +135,4 @@ * @returns {object}

*
* @public
* @static
* @param {string} type - input type

@@ -243,2 +247,4 @@ * @param {object} data - input data

*
* @public
* @static
* @param {string} type - message type defined in forge-proto

@@ -346,2 +352,4 @@ * @param {object} params - message content

*
* @public
* @static
* @param {object} data encoded data object

@@ -375,2 +383,4 @@ * @returns {object} Object%{type, value}

*
* @public
* @static
* @param {object} data

@@ -407,2 +417,4 @@ * @returns {object} google.protobuf.Any

*
* @public
* @static
* @param {string|object} value

@@ -437,2 +449,4 @@ * @returns {object} instanceof google.protobuf.Timestamp

*
* @public
* @static
* @param {object} data

@@ -454,2 +468,4 @@ * @returns {strong} String timestamp

*
* @public
* @static
* @param {buffer|string|number} value - value to encode

@@ -483,2 +499,4 @@ * @param {string} type - type names defined in forge-proto

*
* @public
* @static
* @link https://stackoverflow.com/questions/23948278/how-to-convert-byte-array-into-a-signed-big-integer-in-javascript

@@ -499,2 +517,3 @@ * @param {object} data - usually from encodeBigInt

*
* @private
* @param {object} data

@@ -515,2 +534,3 @@ * @param {string} type

*
* @private
* @param {object} data

@@ -517,0 +537,0 @@ * @param {string} type

8

package.json
{
"name": "@arcblock/forge-message",
"description": "Utility functions to encode and decode message that can send to forge",
"version": "0.20.5",
"version": "0.21.0",
"author": "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)",

@@ -21,4 +21,4 @@ "engines": {

"dependencies": {
"@arcblock/forge-proto": "^0.20.5",
"@arcblock/forge-util": "^0.20.5",
"@arcblock/forge-proto": "^0.21.0",
"@arcblock/forge-util": "^0.21.0",
"camelcase": "^5.0.0",

@@ -75,3 +75,3 @@ "debug": "^4.1.1",

},
"gitHead": "b8526f942e8a04bcbeb47b0d6e1bd77570a29dd2"
"gitHead": "70d1b0561d18f4a2082d379d836ef44ef7ac5317"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc