@taquito/contracts-library 21.0.4 → 22.0.0-RC.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.
@@ -301,6 +301,11 @@ class RpcWrapperContractsLibrary {
301
301
  return this.rpc.getProtocols({ block });
302
302
  });
303
303
  }
304
+ getProtocolActivations() {
305
+ return __awaiter(this, arguments, void 0, function* (protocol = '') {
306
+ return this.rpc.getProtocolActivations(protocol);
307
+ });
308
+ }
304
309
  getStorageUsedSpace(contract_1) {
305
310
  return __awaiter(this, arguments, void 0, function* (contract, { block } = rpc_1.defaultRPCOptions) {
306
311
  return this.rpc.getStorageUsedSpace(contract, { 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": "d4e23f5c1329a03dc8e79a586c80c159559d70fb",
7
- "version": "21.0.4"
6
+ "commitHash": "6936d6bc71e6a805f6d5568b60b1a0f6595a375d",
7
+ "version": "22.0.0-RC.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, AllDelegatesQueryArguments } 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, ProtocolActivationsResponse } from '@taquito/rpc';
3
3
  import { ContractsLibrary } from './taquito-contracts-library';
4
4
  /**
5
5
  * @deprecated RpcWrapperContractsLibrary has been deprecated in favor of ReadWrapperContractsLibrary
@@ -63,6 +63,7 @@ export declare class RpcWrapperContractsLibrary implements RpcClientInterface {
63
63
  getSaplingDiffById(id: string, { block }?: RPCOptions): Promise<SaplingDiffResponse>;
64
64
  getSaplingDiffByContract(contract: string, { block }?: RPCOptions): Promise<SaplingDiffResponse>;
65
65
  getProtocols({ block }?: RPCOptions): Promise<ProtocolsResponse>;
66
+ getProtocolActivations(protocol?: string): Promise<ProtocolActivationsResponse>;
66
67
  getStorageUsedSpace(contract: string, { block }?: RPCOptions): Promise<string>;
67
68
  getStoragePaidSpace(contract: string, { block }?: RPCOptions): Promise<string>;
68
69
  getTicketBalance(contract: string, ticket: TicketTokenParams, { block }?: RPCOptions): Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/contracts-library",
3
- "version": "21.0.4",
3
+ "version": "22.0.0-RC.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": "^21.0.4",
71
- "@taquito/rpc": "^21.0.4",
72
- "@taquito/taquito": "^21.0.4",
73
- "@taquito/utils": "^21.0.4",
70
+ "@taquito/core": "^22.0.0-RC.0",
71
+ "@taquito/rpc": "^22.0.0-RC.0",
72
+ "@taquito/taquito": "^22.0.0-RC.0",
73
+ "@taquito/utils": "^22.0.0-RC.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.5.4"
103
103
  },
104
- "gitHead": "f88197b040074632afbd2ddd9bb971a1b8b6266c"
104
+ "gitHead": "a5501829190e16f53bb3ce8f8b8143d8c0f01834"
105
105
  }