New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wharfkit/contract

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wharfkit/contract - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

2

lib/contract.d.ts

@@ -220,3 +220,3 @@ import { ABI, APIClient, API, ABIDef, NameType, Name, PermissionLevelType, BytesType, ABISerializableObject, Action, Blob } from '@wharfkit/antelope';

action(name: any, data: ActionDataType, options?: ActionOptions): Action;
readonly(name: any, data: ActionDataType): Promise<any>;
readonly(name: any, data?: ActionDataType): Promise<any>;
actions(actions: ActionsArgs[], options?: ActionOptions): Action[];

@@ -223,0 +223,0 @@ ricardian(name: NameType): string;

@@ -393,2 +393,5 @@ 'use strict';

return tslib.__awaiter(this, void 0, void 0, function* () {
if (!data) {
data = {};
}
const action = this.action(name, data);

@@ -395,0 +398,0 @@ action.authorization = [];

@@ -366,2 +366,5 @@ import { isInstanceOf, UInt128, UInt64, Float64, Checksum256, Checksum160, Name, Serializer, ABI, Blob, PermissionLevel, Action, Transaction } from '@wharfkit/antelope';

async readonly(name, data) {
if (!data) {
data = {};
}
const action = this.action(name, data);

@@ -368,0 +371,0 @@ action.authorization = [];

{
"name": "@wharfkit/contract",
"description": "ContractKit for Wharf",
"version": "1.1.3",
"version": "1.1.4",
"homepage": "https://github.com/wharfkit/contract",

@@ -6,0 +6,0 @@ "license": "BSD-3-Clause",

@@ -119,3 +119,6 @@ import {

public async readonly(name, data: ActionDataType): Promise<any> {
public async readonly(name, data?: ActionDataType): Promise<any> {
if (!data) {
data = {}
}
// Generate action

@@ -122,0 +125,0 @@ const action = this.action(name, data)

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