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

primea-objects

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

primea-objects - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.nyc_output/773fca07a27793ca89bf84361b11c925.json

9

index.js

@@ -87,2 +87,11 @@ const cbor = require('borc')

}
copy () {
return new FunctionRef({
identifier: this.identifier,
actorID: this.actorID,
params: this.params,
gas: this.gas
})
}
}

@@ -89,0 +98,0 @@

4

package.json
{
"name": "primea-objects",
"version": "0.0.1",
"version": "0.0.2",
"description": "Object helper classes for Primea's system Objects",

@@ -19,3 +19,3 @@ "main": "index.js",

"dependencies": {
"borc": "git+https://github.com:dignifiedquire/borc.git#fix/nested-array",
"borc": "git+https://github.com/dignifiedquire/borc.git#fix/nested-array",
"events": "^2.0.0",

@@ -22,0 +22,0 @@ "safe-buffer": "^5.1.1"

@@ -25,2 +25,6 @@ const tape = require('tape')

const funcRef = rmodRef.getFuncRef('name')
funcRef.gas = 1000
const funcRef2 = funcRef.copy()
funcRef2.gas = 500
t.equals(funcRef.gas, 1000, 'should have correct gas amount')
const enFuncRef = cbor.encode(funcRef)

@@ -27,0 +31,0 @@ const rFuncRef = objects.decoder.decodeFirst(enFuncRef)

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