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

@bloks/utils

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bloks/utils - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

.eslintrc.js

4

package.json
{
"name": "@bloks/utils",
"version": "3.3.0",
"version": "3.3.1",
"description": "",

@@ -22,3 +22,3 @@ "publishConfig": {

},
"gitHead": "6461a6be62efa7ac11727bf01ade82d164cddbe2"
"gitHead": "5d81240ba8a864eec3d007e3dc179613b1fd53cb"
}

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

import { Serialize } from 'eosjs'
import { Serialize } from '@jafri/eosjs2'
import moment from 'moment'

@@ -149,3 +149,3 @@ import { Long } from 'bytebuffer'

const namebidsType = Serialize.getType(eosioTypes, 'name_bid')
let newActions = []

@@ -162,3 +162,3 @@ if (actions) {

}
action['time'] = moment(action['action_trace']['block_time'] + 'Z').utc().valueOf()

@@ -192,7 +192,7 @@ newActions.push(action)

action['dbops'] = op
if (op['op'] === 'INS') {
const arrayNew = hexToUint8Array(op['new']['hex'])
const bufferNew = new Serialize.SerialBuffer({ array: arrayNew })
action['oldRow'] = null

@@ -206,3 +206,3 @@ action['newRow'] = types[op['table']].deserialize(bufferNew, new Serialize.SerializerState({ bytesAsUint8Array: false }))

const bufferOld = new Serialize.SerialBuffer({ array: arrayOld })
action['oldRow'] = types[op['table']].deserialize(bufferOld, new Serialize.SerializerState({ bytesAsUint8Array: false }))

@@ -214,3 +214,3 @@ action['newRow'] = types[op['table']].deserialize(bufferNew, new Serialize.SerializerState({ bytesAsUint8Array: false }))

const bufferOld = new Serialize.SerialBuffer({ array: arrayOld })
action['oldRow'] = types[op['table']].deserialize(bufferOld, new Serialize.SerializerState({ bytesAsUint8Array: false }))

@@ -222,3 +222,3 @@ action['newRow'] = null

}
action['time'] = moment(action['action_trace']['block_time'] + 'Z').utc().valueOf()

@@ -225,0 +225,0 @@ newActions.push(action)

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