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.22 to 0.0.23

35

assembly/helpers.ts

@@ -22,2 +22,37 @@ import { PermissionLevel, Action } from "./action"

export class Variant implements Packer {
_index: u8;
value: usize;
static new<T, U extends Packer>(value: T): U {
check(false, "not implemented");
return instantiate<U>()
}
getSize(): usize {
check(false, "not implemented");
return 0
}
get<T>(): T {
check(false, "not implemented");
return instantiate<T>()
}
is<T>(): bool {
check(false, "not implemented");
return false
}
pack(): u8[] {
check(false, "not implemented");
return []
}
unpack(data: u8[]): usize {
check(false, "not implemented");
return 0
}
}
export class ActionWrapper {

@@ -24,0 +59,0 @@ constructor(

2

assembly/index.ts

@@ -62,3 +62,3 @@ export { U128, U256 } from "./bignum";

export {Contract, ActionWrapper, Table, InlineAction} from "./helpers"
export {Contract, ActionWrapper, Table, InlineAction, Variant} from "./helpers"

@@ -65,0 +65,0 @@ export {

{
"name": "as-chain",
"version": "0.0.22",
"version": "0.0.23",
"description": "chain module for assemblyscript",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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