@taquito/contracts-library
Advanced tools
Comparing version 20.0.2-beta.2 to 21.0.0-beta.0
@@ -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) { |
@@ -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
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
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
67882
1112
+ Added@taquito/core@21.0.0-beta.0(transitive)
+ Added@taquito/http-utils@21.0.0-beta.0(transitive)
+ Added@taquito/local-forging@21.0.0-beta.0(transitive)
+ Added@taquito/michel-codec@21.0.0-beta.0(transitive)
+ Added@taquito/michelson-encoder@21.0.0-beta.0(transitive)
+ Added@taquito/rpc@21.0.0-beta.0(transitive)
+ Added@taquito/taquito@21.0.0-beta.0(transitive)
+ Added@taquito/utils@21.0.0-beta.0(transitive)
- Removed@taquito/core@20.1.0(transitive)
- Removed@taquito/http-utils@20.1.0(transitive)
- Removed@taquito/local-forging@20.1.0(transitive)
- Removed@taquito/michel-codec@20.1.0(transitive)
- Removed@taquito/michelson-encoder@20.1.0(transitive)
- Removed@taquito/rpc@20.1.0(transitive)
- Removed@taquito/taquito@20.1.0(transitive)
- Removed@taquito/utils@20.1.0(transitive)
Updated@taquito/core@^21.0.0-beta.0
Updated@taquito/rpc@^21.0.0-beta.0