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

rclink

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rclink - npm Package Compare versions

Comparing version 1.0.9 to 1.0.11

2

package.json
{
"name": "rclink",
"version": "1.0.9",
"version": "1.0.11",
"main": "./src/index.js",

@@ -5,0 +5,0 @@ "repository": "https://gitee.com/BTAJL/RCNode.git",

@@ -1,2 +0,2 @@

import WebSocket from 'ws';
const WebSocket = require('ws');

@@ -3,0 +3,0 @@ class EventTube {

const protobuf = require("protobufjs");
import EventTube from './events';
const EventTube =require( './events');

@@ -4,0 +4,0 @@

@@ -20,5 +20,4 @@ /*

Crypto: require('./crypto'),
IndexDBRest: require('./indexdbRest').default,
Transaction: require('./transaction').default,
Rest: require('./rest').default
}

@@ -123,4 +123,8 @@ const protobuf = require('protobufjs')

verifySignedTransaction(pubKey, alg){
// 深拷贝
// 深拷贝(相对于"=")
// 实际上使用Object.assign()只能保证第一级属性的深拷贝
// 是满足这里的需求的
let msg = Object.assign({}, txMsg.get(this))
// 使用JSON.parse与JSON.stringify不能复制function等非object的属性
// let msg = JSON.parse(JSON.stringify(txMsg.get(this)))
msg.metadata = null

@@ -127,0 +131,0 @@ let signature = msg.signature

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