@taquito/rpc 22.0.0-RC.0 → 22.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.
- package/dist/lib/taquito-rpc.js +1 -1
- package/dist/lib/version.js +2 -2
- package/dist/taquito-rpc.es6.js +3 -3
- package/dist/taquito-rpc.umd.js +3 -3
- package/dist/types/rpc-client-interface.d.ts +2 -2
- package/dist/types/rpc-client-modules/rpc-cache.d.ts +2 -2
- package/dist/types/taquito-rpc.d.ts +3 -3
- package/dist/types/types.d.ts +0 -8
- package/package.json +5 -5
package/dist/lib/taquito-rpc.js
CHANGED
|
@@ -1063,7 +1063,7 @@ class RpcClient {
|
|
|
1063
1063
|
* @description List the prevalidated operations in mempool (accessibility of mempool depends on each rpc endpoint)
|
|
1064
1064
|
* @param args has 5 optional properties
|
|
1065
1065
|
* @default args { version: '2', validated: true, refused: true, outdated, true, branchRefused: true, branchDelayed: true, validationPass: undefined, source: undefined, operationHash: undefined }
|
|
1066
|
-
* @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/
|
|
1066
|
+
* @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/rio-mempool-openapi.json
|
|
1067
1067
|
*/
|
|
1068
1068
|
getPendingOperations() {
|
|
1069
1069
|
return __awaiter(this, arguments, void 0, function* (args = {}) {
|
package/dist/lib/version.js
CHANGED
|
@@ -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": "
|
|
7
|
-
"version": "22.0.0
|
|
6
|
+
"commitHash": "6a2c52b9e48b299dfc856149c1fa3388e77180ad",
|
|
7
|
+
"version": "22.0.0"
|
|
8
8
|
};
|
package/dist/taquito-rpc.es6.js
CHANGED
|
@@ -1433,8 +1433,8 @@ var OpKind;
|
|
|
1433
1433
|
|
|
1434
1434
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
1435
1435
|
const VERSION = {
|
|
1436
|
-
"commitHash": "
|
|
1437
|
-
"version": "22.0.0
|
|
1436
|
+
"commitHash": "6a2c52b9e48b299dfc856149c1fa3388e77180ad",
|
|
1437
|
+
"version": "22.0.0"
|
|
1438
1438
|
};
|
|
1439
1439
|
|
|
1440
1440
|
/***
|
|
@@ -2443,7 +2443,7 @@ class RpcClient {
|
|
|
2443
2443
|
* @description List the prevalidated operations in mempool (accessibility of mempool depends on each rpc endpoint)
|
|
2444
2444
|
* @param args has 5 optional properties
|
|
2445
2445
|
* @default args { version: '2', validated: true, refused: true, outdated, true, branchRefused: true, branchDelayed: true, validationPass: undefined, source: undefined, operationHash: undefined }
|
|
2446
|
-
* @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/
|
|
2446
|
+
* @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/rio-mempool-openapi.json
|
|
2447
2447
|
*/
|
|
2448
2448
|
getPendingOperations() {
|
|
2449
2449
|
return __awaiter(this, arguments, void 0, function* (args = {}) {
|
package/dist/taquito-rpc.umd.js
CHANGED
|
@@ -1434,8 +1434,8 @@
|
|
|
1434
1434
|
|
|
1435
1435
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
1436
1436
|
const VERSION = {
|
|
1437
|
-
"commitHash": "
|
|
1438
|
-
"version": "22.0.0
|
|
1437
|
+
"commitHash": "6a2c52b9e48b299dfc856149c1fa3388e77180ad",
|
|
1438
|
+
"version": "22.0.0"
|
|
1439
1439
|
};
|
|
1440
1440
|
|
|
1441
1441
|
/***
|
|
@@ -2444,7 +2444,7 @@
|
|
|
2444
2444
|
* @description List the prevalidated operations in mempool (accessibility of mempool depends on each rpc endpoint)
|
|
2445
2445
|
* @param args has 5 optional properties
|
|
2446
2446
|
* @default args { version: '2', validated: true, refused: true, outdated, true, branchRefused: true, branchDelayed: true, validationPass: undefined, source: undefined, operationHash: undefined }
|
|
2447
|
-
* @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/
|
|
2447
|
+
* @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/rio-mempool-openapi.json
|
|
2448
2448
|
*/
|
|
2449
2449
|
getPendingOperations() {
|
|
2450
2450
|
return __awaiter(this, arguments, void 0, function* (args = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BigNumber } from 'bignumber.js';
|
|
2
|
-
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingInfoResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances,
|
|
2
|
+
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingInfoResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsV2, PendingOperationsQueryArguments, RPCSimulateOperationParam, AILaunchCycleResponse, AllDelegatesQueryArguments, ProtocolActivationsResponse } from './types';
|
|
3
3
|
export interface RPCOptions {
|
|
4
4
|
block: string;
|
|
5
5
|
version?: 1 | '1';
|
|
@@ -67,7 +67,7 @@ export interface RpcClientInterface {
|
|
|
67
67
|
getTicketBalance(contract: string, ticket: TicketTokenParams, options?: RPCOptions): Promise<string>;
|
|
68
68
|
getAllTicketBalances(contract: string, options?: RPCOptions): Promise<AllTicketBalances>;
|
|
69
69
|
getAdaptiveIssuanceLaunchCycle(options?: RPCOptions): Promise<AILaunchCycleResponse>;
|
|
70
|
-
getPendingOperations(args: PendingOperationsQueryArguments): Promise<
|
|
70
|
+
getPendingOperations(args: PendingOperationsQueryArguments): Promise<PendingOperationsV2>;
|
|
71
71
|
}
|
|
72
72
|
export declare enum RPCMethodName {
|
|
73
73
|
GET_BAKING_RIGHTS = "getBakingRights",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
|
2
2
|
import { RpcClientInterface, RPCOptions } from '../rpc-client-interface';
|
|
3
|
-
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsQueryArguments,
|
|
3
|
+
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsQueryArguments, PendingOperationsV2, RPCSimulateOperationParam, AILaunchCycleResponse, AllDelegatesQueryArguments, ProtocolActivationsResponse } from '../types';
|
|
4
4
|
interface CachedDataInterface {
|
|
5
5
|
[key: string]: {
|
|
6
6
|
handle: () => void;
|
|
@@ -460,6 +460,6 @@ export declare class RpcClientCache implements RpcClientInterface {
|
|
|
460
460
|
* @param args has 5 optional properties
|
|
461
461
|
* @default args { version: '2', validated: true, refused: true, outdated, true, branchRefused: true, branchDelayed: true, validationPass: undefined }
|
|
462
462
|
*/
|
|
463
|
-
getPendingOperations(args?: PendingOperationsQueryArguments): Promise<
|
|
463
|
+
getPendingOperations(args?: PendingOperationsQueryArguments): Promise<PendingOperationsV2>;
|
|
464
464
|
}
|
|
465
465
|
export {};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { HttpBackend } from '@taquito/http-utils';
|
|
6
6
|
import BigNumber from 'bignumber.js';
|
|
7
7
|
import { RpcClientInterface, RPCOptions } from './rpc-client-interface';
|
|
8
|
-
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunViewParam, RPCRunScriptViewParam, RunCodeResult, RunViewResult, RunScriptViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsQueryArguments,
|
|
8
|
+
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, VotingInfoResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunOperationParam, RPCRunViewParam, RPCRunScriptViewParam, RunCodeResult, RunViewResult, RunScriptViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsQueryArguments, PendingOperationsV2, RPCSimulateOperationParam, AILaunchCycleResponse, AllDelegatesQueryArguments, ProtocolActivationsResponse } from './types';
|
|
9
9
|
export { castToBigNumber } from './utils/utils';
|
|
10
10
|
export { RPCOptions, defaultChain, defaultRPCOptions, RpcClientInterface, } from './rpc-client-interface';
|
|
11
11
|
export { RpcClientCache } from './rpc-client-modules/rpc-cache';
|
|
@@ -464,7 +464,7 @@ export declare class RpcClient implements RpcClientInterface {
|
|
|
464
464
|
* @description List the prevalidated operations in mempool (accessibility of mempool depends on each rpc endpoint)
|
|
465
465
|
* @param args has 5 optional properties
|
|
466
466
|
* @default args { version: '2', validated: true, refused: true, outdated, true, branchRefused: true, branchDelayed: true, validationPass: undefined, source: undefined, operationHash: undefined }
|
|
467
|
-
* @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/
|
|
467
|
+
* @see https://gitlab.com/tezos/tezos/-/blob/master/docs/api/rio-mempool-openapi.json
|
|
468
468
|
*/
|
|
469
|
-
getPendingOperations(args?: PendingOperationsQueryArguments): Promise<
|
|
469
|
+
getPendingOperations(args?: PendingOperationsQueryArguments): Promise<PendingOperationsV2>;
|
|
470
470
|
}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -2024,14 +2024,6 @@ export interface PendingOperationsQueryArguments {
|
|
|
2024
2024
|
type FailedProcessedOperation = Pick<OperationEntry, 'hash' | 'protocol' | 'branch' | 'contents' | 'signature'> & {
|
|
2025
2025
|
error: TezosGenericOperationError[];
|
|
2026
2026
|
};
|
|
2027
|
-
export interface PendingOperationsV1 {
|
|
2028
|
-
applied: Pick<OperationEntry, 'hash' | 'branch' | 'contents' | 'signature'>[];
|
|
2029
|
-
refused: FailedProcessedOperation[];
|
|
2030
|
-
outdated: FailedProcessedOperation[];
|
|
2031
|
-
branch_refused: FailedProcessedOperation[];
|
|
2032
|
-
branch_delayed: FailedProcessedOperation[];
|
|
2033
|
-
unprocessed: Pick<OperationEntry, 'hash' | 'protocol' | 'branch' | 'contents' | 'signature'>[];
|
|
2034
|
-
}
|
|
2035
2027
|
export interface PendingOperationsV2 {
|
|
2036
2028
|
validated: Pick<OperationEntry, 'hash' | 'branch' | 'contents' | 'signature'>[];
|
|
2037
2029
|
refused: FailedProcessedOperation[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taquito/rpc",
|
|
3
|
-
"version": "22.0.0
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"description": "Provides low level methods, and types to invoke RPC calls from a Nomadic Tezos RPC node",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tezos",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@taquito/core": "^22.0.0
|
|
70
|
-
"@taquito/http-utils": "^22.0.0
|
|
71
|
-
"@taquito/utils": "^22.0.0
|
|
69
|
+
"@taquito/core": "^22.0.0",
|
|
70
|
+
"@taquito/http-utils": "^22.0.0",
|
|
71
|
+
"@taquito/utils": "^22.0.0",
|
|
72
72
|
"bignumber.js": "^9.1.2"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"ts-toolbelt": "^9.6.0",
|
|
99
99
|
"typescript": "~5.5.4"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "134ec228acbee03b4f40b80c89d78c718557569b"
|
|
102
102
|
}
|