@taquito/contracts-library
Advanced tools
Comparing version 19.2.1 to 20.0.0-RC.0
@@ -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* () { |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65747
1078
2
+ Added@taquito/core@20.1.1(transitive)
+ Added@taquito/http-utils@20.1.1(transitive)
+ Added@taquito/local-forging@20.1.1(transitive)
+ Added@taquito/michel-codec@20.1.1(transitive)
+ Added@taquito/michelson-encoder@20.1.1(transitive)
+ Added@taquito/rpc@20.1.1(transitive)
+ Added@taquito/taquito@20.1.1(transitive)
+ Added@taquito/utils@20.1.1(transitive)
+ Added@types/node@22.10.1(transitive)
- Removed@taquito/core@19.2.1(transitive)
- Removed@taquito/http-utils@19.2.1(transitive)
- Removed@taquito/local-forging@19.2.1(transitive)
- Removed@taquito/michel-codec@19.2.1(transitive)
- Removed@taquito/michelson-encoder@19.2.1(transitive)
- Removed@taquito/rpc@19.2.1(transitive)
- Removed@taquito/taquito@19.2.1(transitive)
- Removed@taquito/utils@19.2.1(transitive)
- Removed@types/node@22.10.2(transitive)
Updated@taquito/core@^20.0.0-RC.0
Updated@taquito/rpc@^20.0.0-RC.0
Updated@taquito/utils@^20.0.0-RC.0