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.44 to 0.0.45

12

assembly/helpers.ts

@@ -53,10 +53,12 @@ import { PermissionLevel, Action } from "./action"

export class InlineAction <T extends Packer> {
constructor(
public action: Name
){}
public action: Name
static fromString<T extends Packer>(s: string): InlineAction<T> {
return new InlineAction<T>(Name.fromString(s))
constructor(action: string){
this.action = Name.fromString(action)
}
static fromName<T extends Packer>(name: Name): InlineAction<T> {
return new InlineAction<T>(name.toString())
}
/**

@@ -63,0 +65,0 @@ * Create an action with act given contract, actor, and permission

{
"name": "as-chain",
"version": "0.0.44",
"version": "0.0.45",
"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