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

@wharfkit/abicache

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wharfkit/abicache - npm Package Compare versions

Comparing version 1.0.1-beta1 to 1.0.1-beta2

4

lib/abicache.d.ts

@@ -6,3 +6,3 @@ import { ABI, API, NameType, ABIDef, APIClient } from '@wharfkit/antelope';

readonly cache: Map<string, ABI>;
readonly pending: Map<string, Promise<API.v1.GetAbiResponse>>;
readonly pending: Map<string, Promise<API.v1.GetRawAbiResponse>>;
getAbi(account: NameType): Promise<ABI>;

@@ -17,3 +17,3 @@ setAbi(account: NameType, abi: ABIDef): void;

readonly cache: Map<string, ABI>;
readonly pending: Map<string, Promise<API.v1.GetAbiResponse>>;
readonly pending: Map<string, Promise<API.v1.GetRawAbiResponse>>;
constructor(client: APIClient);

@@ -20,0 +20,0 @@ getAbi(account: NameType): Promise<ABI>;

@@ -21,3 +21,3 @@ 'use strict';

if (!getAbi) {
getAbi = this.client.v1.chain.get_abi(account);
getAbi = this.client.v1.chain.get_raw_abi(account);
this.pending.set(key, getAbi);

@@ -24,0 +24,0 @@ }

@@ -15,3 +15,3 @@ import { ABI } from '@wharfkit/antelope';

if (!getAbi) {
getAbi = this.client.v1.chain.get_abi(account);
getAbi = this.client.v1.chain.get_raw_abi(account);
this.pending.set(key, getAbi);

@@ -18,0 +18,0 @@ }

{
"name": "@wharfkit/abicache",
"description": "ABI Caching Mechanism for use in Session and Contract Kits",
"version": "1.0.1-beta1",
"version": "1.0.1-beta2",
"homepage": "https://github.com/wharfkit/abicache",

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

@@ -6,3 +6,3 @@ import {ABI, ABIDef, API, APIClient, NameType} from '@wharfkit/antelope'

readonly cache: Map<string, ABI>
readonly pending: Map<string, Promise<API.v1.GetAbiResponse>>
readonly pending: Map<string, Promise<API.v1.GetRawAbiResponse>>
getAbi(account: NameType): Promise<ABI>

@@ -17,3 +17,3 @@ setAbi(account: NameType, abi: ABIDef): void

readonly cache: Map<string, ABI> = new Map()
readonly pending: Map<string, Promise<API.v1.GetAbiResponse>> = new Map()
readonly pending: Map<string, Promise<API.v1.GetRawAbiResponse>> = new Map()

@@ -28,3 +28,3 @@ constructor(readonly client: APIClient) {}

if (!getAbi) {
getAbi = this.client.v1.chain.get_abi(account)
getAbi = this.client.v1.chain.get_raw_abi(account)
this.pending.set(key, getAbi)

@@ -31,0 +31,0 @@ }

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