@taquito/contracts-library 20.0.0-beta.1 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -129,6 +129,11 @@ class RpcWrapperContractsLibrary {
129
129
  return this.rpc.getBigMapExpr(id, expr, { block });
130
130
  });
131
131
  }
132
+ getAllDelegates(args, { block } = rpc_1.defaultRPCOptions) {
133
+ return __awaiter(this, void 0, void 0, function* () {
134
+ return this.rpc.getAllDelegates(args, { block });
135
+ });
136
+ }
132
137
  getDelegates(address, { block } = rpc_1.defaultRPCOptions) {
133
138
  return __awaiter(this, void 0, void 0, function* () {
134
139
  return this.rpc.getDelegates(address, { block });
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
5
5
  exports.VERSION = {
6
- "commitHash": "4c6e079465fdb978c1627dfdcced0435c9ef87fc",
7
- "version": "20.0.0-beta.1"
6
+ "commitHash": "45fea4a361f29598063e448574800220c4687001",
7
+ "version": "20.0.0"
8
8
  };
@@ -1,5 +1,5 @@
1
1
  import { BigNumber } from 'bignumber.js';
2
- 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';
2
+ 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';
3
3
  import { ContractsLibrary } from './taquito-contracts-library';
4
4
  /**
5
5
  * @deprecated RpcWrapperContractsLibrary has been deprecated in favor of ReadWrapperContractsLibrary
@@ -26,6 +26,7 @@ export declare class RpcWrapperContractsLibrary implements RpcClientInterface {
26
26
  getDelegate(address: string, { block }?: RPCOptions): Promise<DelegateResponse>;
27
27
  getBigMapKey(address: string, key: BigMapKey, { block }?: RPCOptions): Promise<MichelsonV1Expression>;
28
28
  getBigMapExpr(id: string, expr: string, { block }?: RPCOptions): Promise<BigMapResponse>;
29
+ getAllDelegates(args: AllDelegatesQueryArguments, { block }?: RPCOptions): Promise<string[]>;
29
30
  getDelegates(address: string, { block }?: RPCOptions): Promise<DelegatesResponse>;
30
31
  getVotingInfo(address: string, { block }?: RPCOptions): Promise<VotingInfoResponse>;
31
32
  getConstants({ block }?: RPCOptions): Promise<ConstantsResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/contracts-library",
3
- "version": "20.0.0-beta.1",
3
+ "version": "20.0.0",
4
4
  "description": "Can be used as an extension on the TezosToolkit to provide contracts data",
5
5
  "keywords": [
6
6
  "tezos"
@@ -67,10 +67,10 @@
67
67
  ]
68
68
  },
69
69
  "dependencies": {
70
- "@taquito/core": "^20.0.0-beta.1",
71
- "@taquito/rpc": "^20.0.0-beta.1",
72
- "@taquito/taquito": "^20.0.0-beta.1",
73
- "@taquito/utils": "^20.0.0-beta.1",
70
+ "@taquito/core": "^20.0.0",
71
+ "@taquito/rpc": "^20.0.0",
72
+ "@taquito/taquito": "^20.0.0",
73
+ "@taquito/utils": "^20.0.0",
74
74
  "bignumber.js": "^9.1.2"
75
75
  },
76
76
  "devDependencies": {
@@ -101,5 +101,5 @@
101
101
  "ts-toolbelt": "^9.6.0",
102
102
  "typescript": "~5.2.2"
103
103
  },
104
- "gitHead": "55491dbb67866d3196843b167ca9303f803b1a99"
104
+ "gitHead": "4871f03155be8dfce81ff24cb45fe0e3049c7646"
105
105
  }