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
93
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.0.2-beta.2 to 21.0.0-beta.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": "943d5fd11790da35f4a3e6ecfcaae3c4f0399a97",
"version": "20.0.2-beta.2"
"commitHash": "bbfe9f5a28ecf81757bf3895aaba6d2aeaa656cb",
"version": "21.0.0-beta.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>;

import { BigNumber } from 'bignumber.js';
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, MichelsonV1Expression, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RpcClientInterface, RPCOptions, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsV1, PendingOperationsV2, PendingOperationsQueryArguments, RPCSimulateOperationParam, AILaunchCycleResponse, AllDelegatesQueryArguments } from '@taquito/rpc';
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, MichelsonV1Expression, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RpcClientInterface, RPCOptions, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsV2, PendingOperationsQueryArguments, RPCSimulateOperationParam, AILaunchCycleResponse, AllDelegatesQueryArguments } from '@taquito/rpc';
import { ContractsLibrary } from './taquito-contracts-library';

@@ -15,2 +15,5 @@ /**

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>;

@@ -69,3 +72,3 @@ getStakedBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;

getAdaptiveIssuanceLaunchCycle({ block, }?: RPCOptions): Promise<AILaunchCycleResponse>;
getPendingOperations(args: PendingOperationsQueryArguments): Promise<PendingOperationsV1 | PendingOperationsV2>;
getPendingOperations(args: PendingOperationsQueryArguments): Promise<PendingOperationsV2>;
}
{
"name": "@taquito/contracts-library",
"version": "20.0.2-beta.2",
"version": "21.0.0-beta.0",
"description": "Can be used as an extension on the TezosToolkit to provide contracts data",

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

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

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

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

@@ -106,3 +106,3 @@ },

},
"gitHead": "f0f9e4d22a374c72913abbb1991b0e5b34f4c978"
"gitHead": "44bfadbebbff97b8bf6beaef091b0aae72e2e8a6"
}

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