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

@taquito/contracts-library

Package Overview
Dependencies
Maintainers
6
Versions
95
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 19.2.1 to 20.0.0-RC.0

3

dist/lib/read-provider-wrapper.js

@@ -88,3 +88,6 @@ "use strict";

}
getAdaptiveIssuanceLaunchCycle(block) {
return this.readProvider.getAdaptiveIssuanceLaunchCycle(block);
}
}
exports.ReadWrapperContractsLibrary = ReadWrapperContractsLibrary;

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

}
getFullBalance(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
return this.rpc.getFullBalance(address, { block });
});
}
getStakedBalance(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
return this.rpc.getStakedBalance(address, { block });
});
}
getUnstakedFinalizableBalance(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
return this.rpc.getUnstakedFinalizableBalance(address, { block });
});
}
getUnstakedFrozenBalance(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
return this.rpc.getUnstakedFrozenBalance(address, { block });
});
}
getUnstakeRequests(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
return this.rpc.getUnstakeRequests(address, { block });
});
}
getBlockHash({ block } = rpc_1.defaultRPCOptions) {

@@ -148,7 +173,2 @@ return __awaiter(this, void 0, void 0, function* () {

}
getEndorsingRights(args, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
return this.rpc.getEndorsingRights(args, { block });
});
}
getBallotList({ block } = rpc_1.defaultRPCOptions) {

@@ -286,2 +306,7 @@ return __awaiter(this, void 0, void 0, function* () {

}
getAdaptiveIssuanceLaunchCycle({ block, } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
return this.rpc.getAdaptiveIssuanceLaunchCycle({ block });
});
}
getPendingOperations(args) {

@@ -288,0 +313,0 @@ return __awaiter(this, void 0, void 0, function* () {

4

dist/lib/version.js

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

exports.VERSION = {
"commitHash": "2e05f6f865be17a1b367b284542b24ffa9823271",
"version": "19.2.1"
"commitHash": "8e07853b62879d06b02ba80c84004fb591452edb",
"version": "20.0.0-RC.0"
};

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

}
getAdaptiveIssuanceLaunchCycle(block) {
return this.readProvider.getAdaptiveIssuanceLaunchCycle(block);
}
}

@@ -127,0 +130,0 @@

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

}
getAdaptiveIssuanceLaunchCycle(block) {
return this.readProvider.getAdaptiveIssuanceLaunchCycle(block);
}
}

@@ -130,0 +133,0 @@

import { BigNumber } from 'bignumber.js';
import { BlockResponse, EntrypointsResponse, MichelsonV1Expression, SaplingDiffResponse, ScriptedContracts } from '@taquito/rpc';
import { BlockResponse, EntrypointsResponse, MichelsonV1Expression, SaplingDiffResponse, ScriptedContracts, AILaunchCycleResponse } from '@taquito/rpc';
import { ContractsLibrary } from './taquito-contracts-library';

@@ -35,2 +35,3 @@ import { BigMapQuery, BlockIdentifier, SaplingStateQuery, TzReadProvider } from '@taquito/taquito';

getLiveBlocks(block: BlockIdentifier): Promise<string[]>;
getAdaptiveIssuanceLaunchCycle(block: BlockIdentifier): Promise<AILaunchCycleResponse>;
}
import { BigNumber } from 'bignumber.js';
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, BallotListResponse, BallotsResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EndorsingRightsQueryArguments, EndorsingRightsResponse, 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 } 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, PendingOperationsV1, PendingOperationsV2, PendingOperationsQueryArguments, RPCSimulateOperationParam, AILaunchCycleResponse } from '@taquito/rpc';
import { ContractsLibrary } from './taquito-contracts-library';

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

getBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
getFullBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
getStakedBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
getUnstakedFinalizableBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
getUnstakedFrozenBalance(address: string, { block }?: RPCOptions): Promise<BalanceResponse>;
getUnstakeRequests(address: string, { block }?: RPCOptions): Promise<UnstakeRequestsResponse>;
getBlockHash({ block }?: RPCOptions): Promise<string>;

@@ -33,3 +38,2 @@ getLiveBlocks({ block }?: RPCOptions): Promise<string[]>;

getAttestationRights(args: AttestationRightsQueryArguments, { block }?: RPCOptions): Promise<AttestationRightsResponse>;
getEndorsingRights(args: EndorsingRightsQueryArguments, { block }?: RPCOptions): Promise<EndorsingRightsResponse>;
getBallotList({ block }?: RPCOptions): Promise<BallotListResponse>;

@@ -64,3 +68,4 @@ getBallots({ block }?: RPCOptions): Promise<BallotsResponse>;

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

@@ -70,6 +70,6 @@ "keywords": [

"dependencies": {
"@taquito/core": "^19.2.1",
"@taquito/rpc": "^19.2.1",
"@taquito/taquito": "^19.2.1",
"@taquito/utils": "^19.2.1",
"@taquito/core": "^20.0.0-RC.0",
"@taquito/rpc": "^20.0.0-RC.0",
"@taquito/taquito": "^20.0.0-RC.0",
"@taquito/utils": "^20.0.0-RC.0",
"bignumber.js": "^9.1.2"

@@ -105,3 +105,3 @@ },

},
"gitHead": "3b9dbecb374ffd8136f494ae0817b2d1d530f8d9"
"gitHead": "35bba2dcede224a126fd82e28c441756a5b962e6"
}

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