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.96 to 0.0.97

5

assembly/action.ts

@@ -109,2 +109,7 @@ import * as env from "./env";

send_context_free(): void {
let data = this.pack();
env.send_context_free_inline(data.dataStart, data.length);
}
pack(): u8[] {

@@ -111,0 +116,0 @@ let enc = new Encoder(this.getSize());

7

assembly/crypto.ts

@@ -186,2 +186,5 @@ import { check } from "./system";

let enc = new Encoder(this.getSize());
enc.pack(this.key!);
enc.packNumber<u8>(<u8>this.userPresence);
enc.packString(this.rpid);
return enc.getBytes();

@@ -273,4 +276,6 @@ }

enc.pack(this.r1!);
} else {// WebAuthN
} else if (this.keyType == PublicKeyType.WebAuthN) {
enc.pack(this.webAuthN!);
} else {
check(false, "invalid Public Key type");
}

@@ -277,0 +282,0 @@ return enc.getBytes();

@@ -50,2 +50,8 @@ import { PermissionLevel, Action } from "./action"

}
send_context_free(data: T): void {
const permissions = [this.permissionLevel]
const action = new Action(this.contract, this.action, permissions, data.pack())
action.send_context_free()
}
}

@@ -52,0 +58,0 @@

2

package.json
{
"name": "as-chain",
"version": "0.0.96",
"version": "0.0.97",
"description": "chain module for assemblyscript",

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

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