Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@taquito/contracts-library

Package Overview
Dependencies
Maintainers
0
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taquito/contracts-library - npm Package Compare versions

Comparing version 20.2.0-beta.0 to 21.0.0-RC.0

3

dist/lib/read-provider-wrapper.js

@@ -43,2 +43,5 @@ "use strict";

}
getSpendable(address, block) {
return this.readProvider.getSpendable(address, block);
}
getDelegate(address, block) {

@@ -45,0 +48,0 @@ return this.readProvider.getDelegate(address, block);

@@ -62,2 +62,17 @@ "use strict";

}
getSpendable(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getSpendable(address, { block });
});
}
getBalanceAndFrozenBonds(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getBalanceAndFrozenBonds(address, { block });
});
}
getSpendableAndFrozenBonds(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getSpendableAndFrozenBonds(address, { block });
});
}
getFullBalance(address_1) {

@@ -64,0 +79,0 @@ return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {

4

dist/lib/version.js

@@ -6,4 +6,4 @@ "use strict";

exports.VERSION = {
"commitHash": "3e5b607831fe4d2e3ec023b1648b84a890c0035e",
"version": "20.2.0-beta.0"
"commitHash": "721b5ae690b0a3df4a0148901f1529da553bb5da",
"version": "21.0.0-RC.0"
};

@@ -80,2 +80,5 @@ import { validateAddress, ValidationResult, invalidDetail } from '@taquito/utils';

}
getSpendable(address, block) {
return this.readProvider.getSpendable(address, block);
}
getDelegate(address, block) {

@@ -82,0 +85,0 @@ return this.readProvider.getDelegate(address, block);

@@ -83,2 +83,5 @@ (function (global, factory) {

}
getSpendable(address, block) {
return this.readProvider.getSpendable(address, block);
}
getDelegate(address, block) {

@@ -85,0 +88,0 @@ return this.readProvider.getDelegate(address, block);

@@ -12,2 +12,3 @@ import { BigNumber } from 'bignumber.js';

getBalance(address: string, block: BlockIdentifier): Promise<BigNumber>;
getSpendable(address: string, block: BlockIdentifier): Promise<BigNumber>;
getDelegate(address: string, block: BlockIdentifier): Promise<string | null>;

@@ -14,0 +15,0 @@ getNextProtocol(block: BlockIdentifier): Promise<string>;

@@ -15,2 +15,5 @@ import { BigNumber } from 'bignumber.js';

getBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
getSpendable(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
getBalanceAndFrozenBonds(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
getSpendableAndFrozenBonds(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
getFullBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;

@@ -17,0 +20,0 @@ getStakedBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;

{
"name": "@taquito/contracts-library",
"version": "20.2.0-beta.0",
"version": "21.0.0-RC.0",
"description": "Can be used as an extension on the TezosToolkit to provide contracts data",

@@ -25,3 +25,3 @@ "keywords": [

"engines": {
"node": ">=20"
"node": ">=18"
},

@@ -71,6 +71,6 @@ "scripts": {

"dependencies": {
"@taquito/core": "^20.2.0-beta.0",
"@taquito/rpc": "^20.2.0-beta.0",
"@taquito/taquito": "^20.2.0-beta.0",
"@taquito/utils": "^20.2.0-beta.0",
"@taquito/core": "^21.0.0-RC.0",
"@taquito/rpc": "^21.0.0-RC.0",
"@taquito/taquito": "^21.0.0-RC.0",
"@taquito/utils": "^21.0.0-RC.0",
"bignumber.js": "^9.1.2"

@@ -81,3 +81,3 @@ },

"@types/jest": "^29.5.12",
"@types/node": "^22",
"@types/node": "^18",
"@types/superagent": "^8.1.8",

@@ -107,3 +107,3 @@ "@typescript-eslint/eslint-plugin": "^6.21.0",

},
"gitHead": "de49571826b30682dd74d3ebc17a0e191128c617"
"gitHead": "59c34fa54e004973acb11afb485969a3110a5bbf"
}

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