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

as-chain

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

as-chain - npm Package Compare versions

Comparing version 0.0.36 to 0.0.37

7

assembly/transaction.ts

@@ -44,7 +44,10 @@ import * as env from "./env";

export function getAction(type: u32, index: u32): u8[] {
export function getAction(type: u32, index: u32): Action {
let size = env.get_action(type, index, 0, 0);
let buff = new Array<u8>(size);
env.get_action(type, index, buff.dataStart, buff.length);
return buff;
const action = new Action()
action.unpack(buff)
return action;
}

@@ -51,0 +54,0 @@

{
"name": "as-chain",
"version": "0.0.36",
"version": "0.0.37",
"description": "chain module for assemblyscript",

@@ -5,0 +5,0 @@ "main": "js/index.js",

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