@taquito/rpc
Advanced tools
Comparing version 5.0.1-beta.0 to 5.0.1-beta.1
@@ -210,2 +210,4 @@ "use strict"; | ||
* | ||
* @deprecated Remove in 005 | ||
* | ||
* @description Access the manager of a contract. | ||
@@ -310,11 +312,11 @@ * | ||
balance: new bignumber_js_1.default(response.balance), | ||
frozenBalance: new bignumber_js_1.default(response.frozen_balance), | ||
frozenBalanceByCycle: response.frozen_balance_by_cycle.map(function (_a) { | ||
frozen_balance: new bignumber_js_1.default(response.frozen_balance), | ||
frozen_balance_by_cycle: response.frozen_balance_by_cycle.map(function (_a) { | ||
var deposit = _a.deposit, fees = _a.fees, rewards = _a.rewards, rest = __rest(_a, ["deposit", "fees", "rewards"]); | ||
return (__assign(__assign({}, rest), { deposit: new bignumber_js_1.default(deposit), fees: new bignumber_js_1.default(fees), rewards: new bignumber_js_1.default(rewards) })); | ||
}), | ||
stakingBalance: new bignumber_js_1.default(response.staking_balance), | ||
delegatedContracts: response.delegated_contracts, | ||
delegatedBalance: new bignumber_js_1.default(response.delegated_balance), | ||
gracePeriod: response.grace_period, | ||
staking_balance: new bignumber_js_1.default(response.staking_balance), | ||
delegated_contracts: response.delegated_contracts, | ||
delegated_balance: new bignumber_js_1.default(response.delegated_balance), | ||
grace_period: response.grace_period, | ||
}]; | ||
@@ -336,3 +338,3 @@ } | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse, castedResponse; | ||
var response, castedResponse; | ||
return __generator(this, function (_b) { | ||
@@ -346,17 +348,16 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = utils_1.camelCaseProps(response); | ||
castedResponse = utils_1.castToBigNumber(convResponse, [ | ||
'timeBetweenBlocks', | ||
'hardGasLimitPerOperation', | ||
'hardGasLimitPerBlock', | ||
'proofOfWorkThreshold', | ||
'tokensPerRoll', | ||
'blockSecurityDeposit', | ||
'endorsementSecurityDeposit', | ||
'blockReward', | ||
'endorsementReward', | ||
'costPerByte', | ||
'hardStorageLimitPerOperation', | ||
castedResponse = utils_1.castToBigNumber(response, [ | ||
'time_between_blocks', | ||
'hard_gas_limit_per_operation', | ||
'hard_gas_limit_per_block', | ||
'proof_of_work_threshold', | ||
'tokens_per_roll', | ||
'block_security_deposit', | ||
'endorsement_security_deposit', | ||
'block_reward', | ||
'endorsement_reward', | ||
'cost_per_byte', | ||
'hard_storage_limit_per_operation', | ||
]); | ||
return [2 /*return*/, __assign(__assign({}, convResponse), castedResponse)]; | ||
return [2 /*return*/, __assign(__assign({}, response), castedResponse)]; | ||
} | ||
@@ -377,3 +378,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -387,4 +388,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = utils_1.camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -405,3 +405,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -415,4 +415,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = utils_1.camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -433,3 +432,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -443,4 +442,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = utils_1.camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -463,3 +461,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -474,4 +472,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = utils_1.camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -494,3 +491,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -505,4 +502,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = utils_1.camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -509,0 +505,0 @@ }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var camelCase = require('lodash/camelCase'); | ||
var getByPath = require('lodash/get'); | ||
@@ -8,32 +7,2 @@ var setByPath = require('lodash/set'); | ||
/** | ||
* iterates over array/object and converts all keys to camelCase | ||
* @param data input object or array | ||
* | ||
* @see https://lodash.com/docs/#camelCase | ||
* | ||
*/ | ||
function camelCaseProps(data) { | ||
// guarding against empty values | ||
if (!data) { | ||
return data; | ||
} | ||
var returnArray = Array.isArray(data); | ||
var response = returnArray ? [] : {}; | ||
Object.entries(data).forEach(function (_a) { | ||
var key = _a[0], value = _a[1]; | ||
if (typeof value !== 'object' || !value) { | ||
response[camelCase(key)] = value; | ||
return; | ||
} | ||
var entries = Object.entries(value); | ||
if (entries.length > 0) { | ||
response[camelCase(key)] = camelCaseProps(value); | ||
return; | ||
} | ||
response[camelCase(key)] = value; | ||
}); | ||
return response; | ||
} | ||
exports.camelCaseProps = camelCaseProps; | ||
/** | ||
* Casts object/array items to BigNumber | ||
@@ -40,0 +9,0 @@ * keys support lodash path notation |
@@ -79,35 +79,5 @@ import { HttpBackend } from '@taquito/http-utils'; | ||
var camelCase = require('lodash/camelCase'); | ||
var getByPath = require('lodash/get'); | ||
var setByPath = require('lodash/set'); | ||
/** | ||
* iterates over array/object and converts all keys to camelCase | ||
* @param data input object or array | ||
* | ||
* @see https://lodash.com/docs/#camelCase | ||
* | ||
*/ | ||
function camelCaseProps(data) { | ||
// guarding against empty values | ||
if (!data) { | ||
return data; | ||
} | ||
var returnArray = Array.isArray(data); | ||
var response = returnArray ? [] : {}; | ||
Object.entries(data).forEach(function (_a) { | ||
var key = _a[0], value = _a[1]; | ||
if (typeof value !== 'object' || !value) { | ||
response[camelCase(key)] = value; | ||
return; | ||
} | ||
var entries = Object.entries(value); | ||
if (entries.length > 0) { | ||
response[camelCase(key)] = camelCaseProps(value); | ||
return; | ||
} | ||
response[camelCase(key)] = value; | ||
}); | ||
return response; | ||
} | ||
/** | ||
* Casts object/array items to BigNumber | ||
@@ -290,2 +260,4 @@ * keys support lodash path notation | ||
* | ||
* @deprecated Remove in 005 | ||
* | ||
* @description Access the manager of a contract. | ||
@@ -390,11 +362,11 @@ * | ||
balance: new BigNumber(response.balance), | ||
frozenBalance: new BigNumber(response.frozen_balance), | ||
frozenBalanceByCycle: response.frozen_balance_by_cycle.map(function (_a) { | ||
frozen_balance: new BigNumber(response.frozen_balance), | ||
frozen_balance_by_cycle: response.frozen_balance_by_cycle.map(function (_a) { | ||
var deposit = _a.deposit, fees = _a.fees, rewards = _a.rewards, rest = __rest(_a, ["deposit", "fees", "rewards"]); | ||
return (__assign(__assign({}, rest), { deposit: new BigNumber(deposit), fees: new BigNumber(fees), rewards: new BigNumber(rewards) })); | ||
}), | ||
stakingBalance: new BigNumber(response.staking_balance), | ||
delegatedContracts: response.delegated_contracts, | ||
delegatedBalance: new BigNumber(response.delegated_balance), | ||
gracePeriod: response.grace_period, | ||
staking_balance: new BigNumber(response.staking_balance), | ||
delegated_contracts: response.delegated_contracts, | ||
delegated_balance: new BigNumber(response.delegated_balance), | ||
grace_period: response.grace_period, | ||
}]; | ||
@@ -416,3 +388,3 @@ } | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse, castedResponse; | ||
var response, castedResponse; | ||
return __generator(this, function (_b) { | ||
@@ -426,17 +398,16 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
castedResponse = castToBigNumber(convResponse, [ | ||
'timeBetweenBlocks', | ||
'hardGasLimitPerOperation', | ||
'hardGasLimitPerBlock', | ||
'proofOfWorkThreshold', | ||
'tokensPerRoll', | ||
'blockSecurityDeposit', | ||
'endorsementSecurityDeposit', | ||
'blockReward', | ||
'endorsementReward', | ||
'costPerByte', | ||
'hardStorageLimitPerOperation', | ||
castedResponse = castToBigNumber(response, [ | ||
'time_between_blocks', | ||
'hard_gas_limit_per_operation', | ||
'hard_gas_limit_per_block', | ||
'proof_of_work_threshold', | ||
'tokens_per_roll', | ||
'block_security_deposit', | ||
'endorsement_security_deposit', | ||
'block_reward', | ||
'endorsement_reward', | ||
'cost_per_byte', | ||
'hard_storage_limit_per_operation', | ||
]); | ||
return [2 /*return*/, __assign(__assign({}, convResponse), castedResponse)]; | ||
return [2 /*return*/, __assign(__assign({}, response), castedResponse)]; | ||
} | ||
@@ -457,3 +428,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -467,4 +438,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -485,3 +455,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -495,4 +465,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -513,3 +482,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -523,4 +492,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -543,3 +511,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -554,4 +522,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -574,3 +541,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -585,4 +552,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -589,0 +555,0 @@ }); |
@@ -84,35 +84,5 @@ (function (global, factory) { | ||
var camelCase = require('lodash/camelCase'); | ||
var getByPath = require('lodash/get'); | ||
var setByPath = require('lodash/set'); | ||
/** | ||
* iterates over array/object and converts all keys to camelCase | ||
* @param data input object or array | ||
* | ||
* @see https://lodash.com/docs/#camelCase | ||
* | ||
*/ | ||
function camelCaseProps(data) { | ||
// guarding against empty values | ||
if (!data) { | ||
return data; | ||
} | ||
var returnArray = Array.isArray(data); | ||
var response = returnArray ? [] : {}; | ||
Object.entries(data).forEach(function (_a) { | ||
var key = _a[0], value = _a[1]; | ||
if (typeof value !== 'object' || !value) { | ||
response[camelCase(key)] = value; | ||
return; | ||
} | ||
var entries = Object.entries(value); | ||
if (entries.length > 0) { | ||
response[camelCase(key)] = camelCaseProps(value); | ||
return; | ||
} | ||
response[camelCase(key)] = value; | ||
}); | ||
return response; | ||
} | ||
/** | ||
* Casts object/array items to BigNumber | ||
@@ -295,2 +265,4 @@ * keys support lodash path notation | ||
* | ||
* @deprecated Remove in 005 | ||
* | ||
* @description Access the manager of a contract. | ||
@@ -395,11 +367,11 @@ * | ||
balance: new BigNumber(response.balance), | ||
frozenBalance: new BigNumber(response.frozen_balance), | ||
frozenBalanceByCycle: response.frozen_balance_by_cycle.map(function (_a) { | ||
frozen_balance: new BigNumber(response.frozen_balance), | ||
frozen_balance_by_cycle: response.frozen_balance_by_cycle.map(function (_a) { | ||
var deposit = _a.deposit, fees = _a.fees, rewards = _a.rewards, rest = __rest(_a, ["deposit", "fees", "rewards"]); | ||
return (__assign(__assign({}, rest), { deposit: new BigNumber(deposit), fees: new BigNumber(fees), rewards: new BigNumber(rewards) })); | ||
}), | ||
stakingBalance: new BigNumber(response.staking_balance), | ||
delegatedContracts: response.delegated_contracts, | ||
delegatedBalance: new BigNumber(response.delegated_balance), | ||
gracePeriod: response.grace_period, | ||
staking_balance: new BigNumber(response.staking_balance), | ||
delegated_contracts: response.delegated_contracts, | ||
delegated_balance: new BigNumber(response.delegated_balance), | ||
grace_period: response.grace_period, | ||
}]; | ||
@@ -421,3 +393,3 @@ } | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse, castedResponse; | ||
var response, castedResponse; | ||
return __generator(this, function (_b) { | ||
@@ -431,17 +403,16 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
castedResponse = castToBigNumber(convResponse, [ | ||
'timeBetweenBlocks', | ||
'hardGasLimitPerOperation', | ||
'hardGasLimitPerBlock', | ||
'proofOfWorkThreshold', | ||
'tokensPerRoll', | ||
'blockSecurityDeposit', | ||
'endorsementSecurityDeposit', | ||
'blockReward', | ||
'endorsementReward', | ||
'costPerByte', | ||
'hardStorageLimitPerOperation', | ||
castedResponse = castToBigNumber(response, [ | ||
'time_between_blocks', | ||
'hard_gas_limit_per_operation', | ||
'hard_gas_limit_per_block', | ||
'proof_of_work_threshold', | ||
'tokens_per_roll', | ||
'block_security_deposit', | ||
'endorsement_security_deposit', | ||
'block_reward', | ||
'endorsement_reward', | ||
'cost_per_byte', | ||
'hard_storage_limit_per_operation', | ||
]); | ||
return [2 /*return*/, __assign(__assign({}, convResponse), castedResponse)]; | ||
return [2 /*return*/, __assign(__assign({}, response), castedResponse)]; | ||
} | ||
@@ -462,3 +433,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -472,4 +443,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -490,3 +460,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -500,4 +470,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -518,3 +487,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -528,4 +497,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -548,3 +516,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -559,4 +527,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -579,3 +546,3 @@ }); | ||
return __awaiter(this, void 0, void 0, function () { | ||
var response, convResponse; | ||
var response; | ||
return __generator(this, function (_b) { | ||
@@ -590,4 +557,3 @@ switch (_b.label) { | ||
response = _b.sent(); | ||
convResponse = camelCaseProps(response); | ||
return [2 /*return*/, __assign({}, convResponse)]; | ||
return [2 /*return*/, response]; | ||
} | ||
@@ -594,0 +560,0 @@ }); |
import { HttpBackend } from '@taquito/http-utils'; | ||
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, EndorsingRightsQueryArguments, EndorsingRightsResponse, ManagerKeyResponse, ManagerResponse, OperationObject, PeriodKindResponse, ProposalsResponse, RPCRunOperationParam, ScriptResponse, StorageResponse, VotesListingsResponse } from './types'; | ||
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, EndorsingRightsQueryArguments, EndorsingRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, ManagerResponse, OperationHash, PeriodKindResponse, PreapplyParams, PreapplyResponse, ProposalsResponse, RPCRunOperationParam, ScriptResponse, StorageResponse, VotesListingsResponse } from './types'; | ||
export * from './types'; | ||
export * from './types.common'; | ||
interface RPCOptions { | ||
@@ -84,2 +85,4 @@ block: string; | ||
* | ||
* @deprecated Remove in 005 | ||
* | ||
* @description Access the manager of a contract. | ||
@@ -267,6 +270,3 @@ * | ||
*/ | ||
forgeOperations(data: { | ||
branch: string; | ||
contents: any[]; | ||
}, { block }?: RPCOptions): Promise<string>; | ||
forgeOperations(data: ForgeOperationsParams, { block }?: RPCOptions): Promise<string>; | ||
/** | ||
@@ -280,3 +280,3 @@ * | ||
*/ | ||
injectOperation(signedOpBytes: string): Promise<string>; | ||
injectOperation(signedOpBytes: string): Promise<OperationHash>; | ||
/** | ||
@@ -291,3 +291,3 @@ * | ||
*/ | ||
preapplyOperations(ops: OperationObject[], { block }?: RPCOptions): Promise<any[]>; | ||
preapplyOperations(ops: PreapplyParams, { block }?: RPCOptions): Promise<PreapplyResponse[]>; | ||
/** | ||
@@ -303,7 +303,3 @@ * | ||
*/ | ||
getEntrypoints(contract: string, { block }?: RPCOptions): Promise<{ | ||
entrypoints: { | ||
[key: string]: Object; | ||
}; | ||
}>; | ||
getEntrypoints(contract: string, { block }?: RPCOptions): Promise<EntrypointsResponse>; | ||
/** | ||
@@ -317,4 +313,4 @@ * @param op Operation to run | ||
*/ | ||
runOperation(op: RPCRunOperationParam, { block }?: RPCOptions): Promise<any>; | ||
runOperation(op: RPCRunOperationParam, { block }?: RPCOptions): Promise<PreapplyResponse>; | ||
getChainId(): Promise<string>; | ||
} |
import BigNumber from 'bignumber.js'; | ||
import { BlockMetadata004, ConstantsResponse004, ContractResponse004, EntrypointsResponse004, OperationContentsAndResultOrigination004, RPCRunOperationParam004 } from './types.004'; | ||
import { BlockMetadata005, ConstantsResponse005, ContractResponse005, EntrypointsResponse005, OperationContentsAndResultOrigination005, RPCRunOperationParam005 } from './types.005'; | ||
import { InternalOperationResult, MichelsonV1Expression, OperationMetadataBalanceUpdates, OperationObject, OperationResultDelegation, OperationResultReveal, OperationResultTransaction, ScriptedContracts, TimeStampMixed } from './types.common'; | ||
export declare type BalanceResponse = BigNumber; | ||
export declare type StorageResponse = unknown; | ||
export declare type ScriptResponse = { | ||
code: { | ||
prim: string; | ||
args: any[]; | ||
}[]; | ||
storage: unknown; | ||
}; | ||
export declare type BigMapGetResponse = unknown; | ||
export declare type StorageResponse = ScriptedContracts['storage']; | ||
export declare type ScriptResponse = ScriptedContracts; | ||
export declare type BigMapGetResponse = MichelsonV1Expression; | ||
export declare type ManagerResponse = { | ||
@@ -19,66 +16,13 @@ manager: string; | ||
export declare type DelegateResponse = string | null; | ||
export interface ConstructedOperation { | ||
kind: string; | ||
level: number; | ||
nonce: string; | ||
pkh: string; | ||
hash: string; | ||
secret: string; | ||
source: string; | ||
period: number; | ||
proposal: string; | ||
ballot: string; | ||
fee: string; | ||
counter: string; | ||
gas_limit: string; | ||
storage_limit: string; | ||
parameters: string; | ||
balance: string; | ||
spendable: boolean; | ||
delegatable: boolean; | ||
delegate: string; | ||
amount: string; | ||
destination: string; | ||
public_key: string; | ||
script: { | ||
code: string; | ||
storage: string; | ||
}; | ||
manager_pubkey: string; | ||
} | ||
export interface OperationObject { | ||
branch?: string; | ||
contents?: ConstructedOperation[]; | ||
protocol?: string; | ||
signature?: string; | ||
} | ||
export declare type RPCRunOperationParam = OperationObject | { | ||
operation: OperationObject; | ||
chain_id: string; | ||
}; | ||
export interface RawDelegatesResponse { | ||
balance: string; | ||
frozen_balance: string; | ||
frozen_balance_by_cycle: RawFrozenbalancebycycle[]; | ||
staking_balance: string; | ||
delegated_contracts: string[]; | ||
delegated_balance: string; | ||
grace_period: number; | ||
deactivated: boolean; | ||
} | ||
interface RawFrozenbalancebycycle { | ||
cycle: number; | ||
deposit: string; | ||
fees: string; | ||
rewards: string; | ||
} | ||
export declare type OperationHash = string; | ||
export declare type RPCRunOperationParam = RPCRunOperationParam004 | RPCRunOperationParam005; | ||
export interface DelegatesResponse { | ||
balance: BigNumber; | ||
frozenBalance: BigNumber; | ||
frozenBalanceByCycle: Frozenbalancebycycle[]; | ||
stakingBalance: BigNumber; | ||
delegatedContracts: string[]; | ||
delegatedBalance: BigNumber; | ||
frozen_balance: BigNumber; | ||
frozen_balance_by_cycle: Frozenbalancebycycle[]; | ||
staking_balance: BigNumber; | ||
delegated_contracts: string[]; | ||
delegated_balance: BigNumber; | ||
deactivated: boolean; | ||
gracePeriod: number; | ||
grace_period: number; | ||
} | ||
@@ -99,37 +43,4 @@ interface Frozenbalancebycycle { | ||
}; | ||
export interface ContractResponse { | ||
manager: string; | ||
balance: BigNumber; | ||
spendable: boolean; | ||
delegate: Delegate; | ||
script: Script; | ||
counter: string; | ||
} | ||
export interface ConstantsResponse { | ||
proofOfWorkNonceSize: number; | ||
nonceLength: number; | ||
maxRevelationsPerBlock: number; | ||
maxOperationDataLength: number; | ||
preservedCycles: number; | ||
blocksPerCycle: number; | ||
blocksPerCommitment: number; | ||
blocksPerRollSnapshot: number; | ||
blocksPerVotingPeriod: number; | ||
timeBetweenBlocks: BigNumber[]; | ||
endorsersPerBlock: number; | ||
hardGasLimitPerOperation: BigNumber; | ||
hardGasLimitPerBlock: BigNumber; | ||
proofOfWorkThreshold: BigNumber; | ||
tokensPerRoll: BigNumber; | ||
michelsonMaximumTypeSize: number; | ||
seedNonceRevelationTip: string; | ||
originationBurn: string; | ||
blockSecurityDeposit: BigNumber; | ||
endorsementSecurityDeposit: BigNumber; | ||
blockReward: BigNumber; | ||
endorsementReward: BigNumber; | ||
costPerByte: BigNumber; | ||
hardStorageLimitPerOperation: BigNumber; | ||
} | ||
export declare type TimeStampMixed = Date | string; | ||
export declare type ContractResponse = ContractResponse004 | ContractResponse005; | ||
export declare type ConstantsResponse = ConstantsResponse004 | ConstantsResponse005; | ||
export interface BlockFullHeader { | ||
@@ -140,9 +51,9 @@ level: number; | ||
timestamp: TimeStampMixed; | ||
validationPass: number; | ||
operationsHash: string; | ||
validation_pass: number; | ||
operations_hash: string; | ||
fitness: string[]; | ||
context: string; | ||
priority: number; | ||
proofOfWorkNonce: string; | ||
seedNonceHash?: string; | ||
proof_of_work_nonce: string; | ||
seed_nonce_hash?: string; | ||
signature: string; | ||
@@ -160,17 +71,2 @@ } | ||
} | ||
export interface MichelsonV1ExpressionBase { | ||
int?: string; | ||
string?: string; | ||
bytes?: string; | ||
} | ||
export interface MichelsonV1ExpressionExtended { | ||
prim: string; | ||
args?: MichelsonV1ExpressionBase[]; | ||
annots?: string[]; | ||
} | ||
export declare type MichelsonV1Expression = MichelsonV1ExpressionBase | MichelsonV1ExpressionBase[] | MichelsonV1ExpressionExtended; | ||
export interface ScriptedContracts { | ||
code: MichelsonV1Expression; | ||
storage: MichelsonV1Expression; | ||
} | ||
export declare type OperationContentsBallotEnum = 'nay' | 'yay' | 'pass'; | ||
@@ -219,5 +115,5 @@ export interface OperationContentsEndorsement { | ||
counter: string; | ||
gasLimit: string; | ||
storageLimit: string; | ||
publicKey: string; | ||
gas_limit: string; | ||
storage_limit: string; | ||
public_key: string; | ||
} | ||
@@ -229,4 +125,4 @@ export interface OperationContentsTransaction { | ||
counter: string; | ||
gasLimit: string; | ||
storageLimit: string; | ||
gas_limit: string; | ||
storage_limit: string; | ||
amount: string; | ||
@@ -241,5 +137,5 @@ destination: string; | ||
counter: string; | ||
gasLimit: string; | ||
storageLimit: string; | ||
managerPubkey: string; | ||
gas_limit: string; | ||
storage_limit: string; | ||
manager_pubkey: string; | ||
balance: string; | ||
@@ -256,75 +152,9 @@ spendable?: boolean; | ||
counter: string; | ||
gasLimit: string; | ||
storageLimit: string; | ||
gas_limit: string; | ||
storage_limit: string; | ||
delegate?: string; | ||
} | ||
export declare type OperationContents = OperationContentsEndorsement | OperationContentsRevelation | OperationContentsDoubleEndorsement | OperationContentsDoubleBaking | OperationContentsActivateAccount | OperationContentsProposals | OperationContentsBallot | OperationContentsReveal | OperationContentsTransaction | OperationContentsOrigination | OperationContentsDelegation; | ||
export declare type MetadataBalanceUpdatesKindEnum = 'contract' | 'freezer'; | ||
export declare type MetadataBalanceUpdatesCategoryEnum = 'rewards' | 'fees' | 'deposits'; | ||
export interface OperationMetadataBalanceUpdates { | ||
kind: MetadataBalanceUpdatesKindEnum; | ||
category?: MetadataBalanceUpdatesCategoryEnum; | ||
contract?: string; | ||
delegate?: string; | ||
cycle?: number; | ||
change: string; | ||
} | ||
export declare type OperationResultStatusEnum = 'applied' | 'failed' | 'skipped' | 'backtracked'; | ||
export interface OperationResultReveal { | ||
status: OperationResultStatusEnum; | ||
consumedGas?: string; | ||
errors?: any; | ||
} | ||
export interface ContractBigMapDiffItem { | ||
keyHash: string; | ||
key: MichelsonV1Expression; | ||
value?: MichelsonV1Expression; | ||
} | ||
export declare type ContractBigMapDiff = ContractBigMapDiffItem[]; | ||
export interface OperationResultTransaction { | ||
status: OperationResultStatusEnum; | ||
storage?: MichelsonV1Expression; | ||
bigMapDiff?: ContractBigMapDiff; | ||
balanceUpdates?: OperationBalanceUpdates; | ||
originatedContracts?: string[]; | ||
consumedGas?: string; | ||
storageSize?: string; | ||
paidStorageSizeDiff?: string; | ||
allocatedDestinationContract?: boolean; | ||
errors?: any; | ||
} | ||
export interface OperationResultDelegation { | ||
status: OperationResultStatusEnum; | ||
consumedGas?: string; | ||
errors?: any; | ||
} | ||
export interface OperationResultOrigination { | ||
status: OperationResultStatusEnum; | ||
balanceUpdates?: OperationBalanceUpdates; | ||
originatedContracts?: string[]; | ||
consumedGas?: string; | ||
storageSize?: string; | ||
paidStorageSizeDiff?: string; | ||
errors?: any; | ||
} | ||
export declare type InternalOperationResultKindEnum = 'reveal' | 'transaction' | 'origination' | 'delegation'; | ||
export declare type InternalOperationResultEnum = OperationResultReveal | OperationResultTransaction | OperationResultDelegation | OperationResultOrigination; | ||
export interface InternalOperationResult { | ||
kind: InternalOperationResultKindEnum; | ||
source: string; | ||
nonce: number; | ||
amount?: string; | ||
destination?: string; | ||
parameters?: MichelsonV1Expression; | ||
publicKey?: string; | ||
managerPubkey?: string; | ||
balance?: string; | ||
spendable?: boolean; | ||
delegatable?: boolean; | ||
delegate?: string; | ||
script?: ScriptedContracts; | ||
result: InternalOperationResultEnum; | ||
} | ||
export interface OperationContentsAndResultMetadataExtended { | ||
balanceUpdates: OperationMetadataBalanceUpdates[]; | ||
balance_updates: OperationMetadataBalanceUpdates[]; | ||
delegate: string; | ||
@@ -334,23 +164,18 @@ slots: number[]; | ||
export interface OperationContentsAndResultMetadataReveal { | ||
balanceUpdates: OperationMetadataBalanceUpdates[]; | ||
operationResult: OperationResultReveal; | ||
internalOperationResults?: InternalOperationResult[]; | ||
balance_updates: OperationMetadataBalanceUpdates[]; | ||
operation_result: OperationResultReveal; | ||
internal_operation_results?: InternalOperationResult[]; | ||
} | ||
export interface OperationContentsAndResultMetadataTransaction { | ||
balanceUpdates: OperationMetadataBalanceUpdates[]; | ||
operationResult: OperationResultTransaction; | ||
internalOperationResults?: InternalOperationResult[]; | ||
balance_updates: OperationMetadataBalanceUpdates[]; | ||
operation_result: OperationResultTransaction; | ||
internal_operation_results?: InternalOperationResult[]; | ||
} | ||
export interface OperationContentsAndResultMetadataOrigination { | ||
balanceUpdates: OperationMetadataBalanceUpdates[]; | ||
operationResult: OperationResultOrigination; | ||
internalOperationResults?: InternalOperationResult[]; | ||
} | ||
export interface OperationContentsAndResultMetadataDelegation { | ||
balanceUpdates: OperationMetadataBalanceUpdates[]; | ||
operationResult: OperationResultDelegation; | ||
internalOperationResults?: InternalOperationResult[]; | ||
balance_updates: OperationMetadataBalanceUpdates[]; | ||
operation_result: OperationResultDelegation; | ||
internal_operation_results?: InternalOperationResult[]; | ||
} | ||
export interface OperationContentsAndResultMetadata { | ||
balanceUpdates: OperationMetadataBalanceUpdates[]; | ||
balance_updates: OperationMetadataBalanceUpdates[]; | ||
} | ||
@@ -406,5 +231,5 @@ export interface OperationContentsAndResultEndorsement { | ||
counter: string; | ||
gasLimit: string; | ||
storageLimit: string; | ||
publicKey: string; | ||
gas_limit: string; | ||
storage_limit: string; | ||
public_key: string; | ||
metadata: OperationContentsAndResultMetadataReveal; | ||
@@ -417,4 +242,4 @@ } | ||
counter: string; | ||
gasLimit: string; | ||
storageLimit: string; | ||
gas_limit: string; | ||
storage_limit: string; | ||
amount: string; | ||
@@ -425,17 +250,2 @@ destination: string; | ||
} | ||
export interface OperationContentsAndResultOrigination { | ||
kind: 'origination'; | ||
source: string; | ||
fee: string; | ||
counter: string; | ||
gasLimit: string; | ||
storageLimit: string; | ||
managerPubkey: string; | ||
balance: string; | ||
spendable?: boolean; | ||
delegatable?: boolean; | ||
delegate?: string; | ||
script?: ScriptedContracts; | ||
metadata: OperationContentsAndResultMetadataOrigination; | ||
} | ||
export interface OperationContentsAndResultDelegation { | ||
@@ -446,11 +256,12 @@ kind: 'delegation'; | ||
counter: string; | ||
gasLimit: string; | ||
storageLimit: string; | ||
gas_limit: string; | ||
storage_limit: string; | ||
delegate?: string; | ||
metadata: OperationContentsAndResultMetadataDelegation; | ||
} | ||
export declare type OperationContentsAndResultOrigination = OperationContentsAndResultOrigination004 | OperationContentsAndResultOrigination005; | ||
export declare type OperationContentsAndResult = OperationContentsAndResultEndorsement | OperationContentsAndResultRevelation | OperationContentsAndResultDoubleEndorsement | OperationContentsAndResultDoubleBaking | OperationContentsAndResultActivateAccount | OperationContentsAndResultProposals | OperationContentsAndResultBallot | OperationContentsAndResultReveal | OperationContentsAndResultTransaction | OperationContentsAndResultOrigination | OperationContentsAndResultDelegation; | ||
export interface OperationEntry { | ||
protocol: string; | ||
chainId: string; | ||
chain_id: string; | ||
hash: string; | ||
@@ -461,55 +272,6 @@ branch: string; | ||
} | ||
export interface TestChainStatus { | ||
status: TestChainStatusEnum; | ||
chainId?: string; | ||
genesis?: string; | ||
protocol?: string; | ||
expiration?: TimeStampMixed; | ||
} | ||
export interface MetadataLevel { | ||
level: number; | ||
levelPosition: number; | ||
cycle: number; | ||
cyclePosition: number; | ||
votingPeriod: number; | ||
votingPeriodPosition: number; | ||
expectedCommitment: boolean; | ||
} | ||
export interface MaxOperationList { | ||
maxSize: number; | ||
maxOp?: number; | ||
} | ||
export declare type BalanceUpdateKindEnum = 'contract' | 'freezer'; | ||
export declare type BalanceUpdateCategoryEnum = 'rewards' | 'fees' | 'deposits'; | ||
export interface OperationBalanceUpdatesItem { | ||
kind: BalanceUpdateKindEnum; | ||
category?: BalanceUpdateCategoryEnum; | ||
delegate?: string; | ||
cycle?: number; | ||
contract?: string; | ||
change: string; | ||
} | ||
export declare type OperationBalanceUpdates = OperationBalanceUpdatesItem[]; | ||
export declare type TestChainStatusEnum = 'not_running' | 'forking' | 'running'; | ||
export declare type VotingPeriodKindEnum = 'proposal' | 'testing_vote' | 'testing' | 'promotion_vote'; | ||
export interface BlockMetadata { | ||
protocol: string; | ||
chainId?: string; | ||
nextProtocol: string; | ||
testChainStatus: TestChainStatus; | ||
maxOperationsTtl: number; | ||
maxOperationDataLength: number; | ||
maxBlockHeaderLength: number; | ||
maxOperationListLength: MaxOperationList[]; | ||
baker: string; | ||
level: MetadataLevel; | ||
votingPeriodKind: VotingPeriodKindEnum; | ||
nonceHash: string | null; | ||
consumedGas: string; | ||
deactivated: string[]; | ||
balanceUpdates: OperationBalanceUpdates; | ||
} | ||
export declare type BlockMetadata = BlockMetadata004 | BlockMetadata005; | ||
export interface BlockResponse { | ||
protocol: string; | ||
chainId: string; | ||
chain_id: string; | ||
hash: string; | ||
@@ -534,3 +296,3 @@ header: BlockFullHeader; | ||
priority: number; | ||
estimatedTime?: Date; | ||
estimated_time?: Date; | ||
} | ||
@@ -550,3 +312,3 @@ export declare type BakingRightsResponse = BakingRightsResponseItem[]; | ||
slots: number[]; | ||
estimatedTime?: Date; | ||
estimated_time?: Date; | ||
} | ||
@@ -575,13 +337,2 @@ export declare type EndorsingRightsResponse = EndorsingRightsResponseItem[]; | ||
export declare type ProposalsResponse = ProposalsResponseItem[]; | ||
interface Script { | ||
code: {}[]; | ||
storage: Storage; | ||
} | ||
interface Storage { | ||
prim: string; | ||
args: {}[]; | ||
} | ||
interface Delegate { | ||
setable: boolean; | ||
} | ||
export interface RawBlockHeaderResponse { | ||
@@ -605,3 +356,3 @@ protocol: string; | ||
protocol: string; | ||
chainId: string; | ||
chain_id: string; | ||
hash: string; | ||
@@ -612,10 +363,16 @@ level: number; | ||
timestamp: string; | ||
validationPass: number; | ||
operationsHash: string; | ||
validation_pass: number; | ||
operations_hash: string; | ||
fitness: string[]; | ||
context: string; | ||
priority: number; | ||
proofOfWorkNonce: string; | ||
proof_of_work_nonce: string; | ||
signature: string; | ||
} | ||
export declare type PreapplyParams = OperationObject[]; | ||
export declare type PreapplyResponse = { | ||
contents: OperationContentsAndResult[]; | ||
}; | ||
export declare type EntrypointsResponse = EntrypointsResponse004 | EntrypointsResponse005; | ||
export declare type ForgeOperationsParams = Pick<OperationObject, 'branch' | 'contents'>; | ||
export {}; |
/** | ||
* iterates over array/object and converts all keys to camelCase | ||
* @param data input object or array | ||
* | ||
* @see https://lodash.com/docs/#camelCase | ||
* | ||
*/ | ||
export declare function camelCaseProps(data: any): any; | ||
/** | ||
* Casts object/array items to BigNumber | ||
@@ -11,0 +3,0 @@ * keys support lodash path notation |
{ | ||
"name": "@taquito/rpc", | ||
"version": "5.0.1-beta.0", | ||
"version": "5.0.1-beta.1", | ||
"description": "Provides low level methods, and types to invoke RPC calls from a Nomadic Tezos RPC node", | ||
@@ -69,3 +69,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@taquito/http-utils": "^5.0.1-beta.0", | ||
"@taquito/http-utils": "^5.0.1-beta.1", | ||
"bignumber.js": "^9.0.0", | ||
@@ -101,3 +101,3 @@ "lodash": "^4.17.15" | ||
}, | ||
"gitHead": "4ca0a063db081a62ede73188c60b8d456d8adf81" | ||
"gitHead": "f804b62394b0faf3e66997430abc49766c5ec800" | ||
} |
@@ -9,13 +9,25 @@ { | ||
"path": "dist/taquito-rpc.es5.js", | ||
"sha512": "a7cf6c0ad4426dc42827916bfb36d562fddc00259aa5d92a09d80f0f53687b65c29db967eaec10246207eb4a7ecb8fe293309153e5ba667f031349cc94cb1052" | ||
"sha512": "44d9b338d178bd1b9ee317dc0008eafb014448c5e5c27c6ef779a88ce29cf8fa0fec3bf25566e434d122969acb2432a4fca9783732acb9f4308d71258c1d4962" | ||
}, | ||
{ | ||
"path": "dist/lib/taquito-rpc.js", | ||
"sha512": "4e694b3e4dffbc7708ff845276e57b625c22ed10fb3862da45bc0e514dc8c952e1b7355b67c4b923c1b5b439644c0c3308eae4646ef410238feebb417ba01810" | ||
"sha512": "2deb7e0706fa372e8ead46b2c6db6e8353ef5c0ca51e168160466522eecf3ff371c8c891d715112af71c985d257c1055745f8dc870888909e478b36f8542dfe0" | ||
}, | ||
{ | ||
"path": "dist/taquito-rpc.umd.js", | ||
"sha512": "6594f4ca9a1543c411a9378b4f7468dd12d16a16e2168f3c7336c370a9b0b5576050c2913f56926faab8f9d6df2dbe35bdedc2300a827abbd67b23e32897f4fb" | ||
"sha512": "9af4a3ce156a87fdfb945c9f5a2447c30020137caa77e5b79ff963fb812fcc265d64d7fc2ad4c9a6aedc4df3f5706030e5637f306df8c1afe68b5c7b5432f042" | ||
}, | ||
{ | ||
"path": "dist/lib/types.004.js", | ||
"sha512": "09d79fa5871dfe5d5e4150a5971c04bde20d1c53686432fa7c419eb6d65cd80c164b8c83888ea248edf5f209c08bcd1b7510a79de4ad7bfed61ad7a422bc23d0" | ||
}, | ||
{ | ||
"path": "dist/lib/types.005.js", | ||
"sha512": "25b6f5e0aee00b554c832b6b7989d6724ec010c1c9f1595f4eaac83cf2e5c4fe3e6b55c25fd5cd12fedae6d1871ad4890a2bc85af79a1005ccb017939814d4a2" | ||
}, | ||
{ | ||
"path": "dist/lib/types.common.js", | ||
"sha512": "cd8ae64f3b9997efcab84e0fd3fbc9fa119661138a595f2aed6960ba7d3550e4aab1a0383bd81d18ddfbf88c5e2382d75cc0f2a840ecd7376e8a80103fdba573" | ||
}, | ||
{ | ||
"path": "dist/lib/types.js", | ||
@@ -26,17 +38,29 @@ "sha512": "9e153af0176a3eb9c340bc30c016b6fc5410466e8f4cd5ce09a73fdb98265c937c30677fbacf526ff7555c93e7da855c8a170fd76798a74693e3fdbcc182380a" | ||
"path": "dist/lib/utils/utils.js", | ||
"sha512": "12001270e815b079ae3be5627418f74a7c7742b3b5dfd59ef256fc3039c2f85e33441f101cb260c5236b5b7ef4f80d2c2a7dcdc5d0560dadbd4e7634e93ee4b8" | ||
"sha512": "214aeffd31c68e7f7e06123ce5f7fe5b5fa811d7e037b5fa8b33f1dfcf08b2e93f02f2ebb46334b4ea7ebfb11b20a99d5b5ba924a32fa2e4221dda6f6508ac1b" | ||
}, | ||
{ | ||
"path": "dist/taquito-rpc.es5.js.map", | ||
"sha512": "2a1913ef562f697d9ad705d9b13310494fd8559f51ffb10699a87dbfdfce52e2c8b46db9e23a25e1d7d0a7cb5d71dc41d4aef08bd66bdd2a718d80cf9f716e5e" | ||
"sha512": "942b3426b5dd76dadb0969769a1608824808323acb5b4629baf18fbf7b2d30ad4470b6d482679eeb2383bcfaf249aa767aa9bfe8776cfd722aad9c7c628de8ba" | ||
}, | ||
{ | ||
"path": "dist/lib/taquito-rpc.js.map", | ||
"sha512": "d0252309fad4c52d7f8271af39fcb133a3d01d582df70a41522222ac5a00c9e0b816cf9fec7f7c540567dac0f7549b3ea95d556e6325ee781fe07020eb162ead" | ||
"sha512": "7c90a853f8627e6ca231253b64812fe1cf182d1bb6cac381809be2727e1abb013f559c48c23df9040906e6636709b254ba2b2e3147adb3d47851a765a67dba9a" | ||
}, | ||
{ | ||
"path": "dist/taquito-rpc.umd.js.map", | ||
"sha512": "04d27d4132701af7cc19705ef51482d5e1c38bb4f5037d75c5d0c370dada902afd931e149e94bcbdadf57d1278fa6066ad1ae6586540f9d9396c7ccc9af6c0e2" | ||
"sha512": "927fd86d2dd043409457a4561b7648ac4223125baa20a50e51e68c82f1f0c7137b990f91485891fad042e86ba55e213130edac7098bf6086afffa671fbd03923" | ||
}, | ||
{ | ||
"path": "dist/lib/types.004.js.map", | ||
"sha512": "334496e0c1b11c3f9407d326c655af6c39d3ebbf9acec74d48ce92f1ecbf13c423e6e3c9f462472e703e842f22ccca0db6d39211dbe73dca1428313be6480bd0" | ||
}, | ||
{ | ||
"path": "dist/lib/types.005.js.map", | ||
"sha512": "855900532a001b24fc64400b2e2b1694060b5ad0bc453a07d542541e865e9eb377858da55fb2cf3eb7228700f770a105050e958725aaf7f653b050f9216d256a" | ||
}, | ||
{ | ||
"path": "dist/lib/types.common.js.map", | ||
"sha512": "237bd4922ccc37cf03374c12caee78039101f94f5fc6f404b3d70838958c1dadbedf6f070ea75334c69d055043ed8826e258f4ec82b1d17679c3c380f9819bed" | ||
}, | ||
{ | ||
"path": "dist/lib/types.js.map", | ||
@@ -47,3 +71,3 @@ "sha512": "74f2b583fe48066885b78689d02c463274b52b71becdb19f1306fb1c7bbaf63fa7987695f725babcb58a23d772b032877b80340181d70d0b612f49a9d0e3d0e2" | ||
"path": "dist/lib/utils/utils.js.map", | ||
"sha512": "e58efca69a7c719599ae9b79f0c7b6bd27a5824ff5980dd406d8d10a346d7c2bca35ff97858bfb2a23587e4344b6df525c5ea340315f8a38434000c14fbc749e" | ||
"sha512": "896e93565059fe22a06acd52417b3833026f17d0394de7980f2aad8142241b16c911ecbb8de5e6fbe11bc1f51bc4a8be03b6986ea5ebaf48d76d09c03657b5b9" | ||
}, | ||
@@ -56,11 +80,23 @@ { | ||
"path": "dist/types/taquito-rpc.d.ts", | ||
"sha512": "e8a10d4cba1b44557ec0d47ad093327c0d41230d046018f705b11e9c966efdbd35a7e34c94fef7226a82c74c4e95d143d9220a3e8043716afe5decea51e22df5" | ||
"sha512": "18d5b19ccc2356d69a1959a88ef09039ac7cf314f4a149a4be55958ee995582ba3a9d8163f24e157747b416bcf7c26fadcabbe4e5797f48246b9ec23aea487bd" | ||
}, | ||
{ | ||
"path": "dist/types/types.004.d.ts", | ||
"sha512": "e14ad853bdd1b57f86f5a07ccaa709eaeb04fa2bd8262a554dbf43bcd25f597018d3de429265297de86c6823d5d431e79cb81a962596a087c954f2e695d82413" | ||
}, | ||
{ | ||
"path": "dist/types/types.005.d.ts", | ||
"sha512": "edc928c497d851ceb3581044f850580ac08db75c3d0b15a8ab7c1fa41c69e7298421b123ad0338e7b0c8a33959d4289ec1a405125b7f186a8e91ecd0d067117f" | ||
}, | ||
{ | ||
"path": "dist/types/types.common.d.ts", | ||
"sha512": "8a3d3d86f765ff2d336a55cca356fa3e21fbd41ec236e36733fe397604993f7354d6812f4fab506b24503099f9d07a9e8d7664a6a42780110248252399fa12cd" | ||
}, | ||
{ | ||
"path": "dist/types/types.d.ts", | ||
"sha512": "f04e15a8b4059cc9949687f95b732004fd8073cc064327215c5cf98d62b3180a050a5055572c2348ef5f2254fe5192909c0443e26f4183cf7e820ef6106b4a15" | ||
"sha512": "a19339f8bd5137b42eee1095d2cdc0f461dacd0191168391e151fd1eb052a7883026899f6b3d9bc479c1a96dceb3720afb7187bd6f40d66780635b3a5a4142fd" | ||
}, | ||
{ | ||
"path": "dist/types/utils/utils.d.ts", | ||
"sha512": "46df7dc7f14df5e5e5d558a34dd6368126bf51febed2fc95b77c49b6c6854171cf10c4755c92fbc41c07b9460fde92e52c2eda66d92443ed00a0843290a4d718" | ||
"sha512": "5006fab10ab85ea4034195bc95d5fbc8e51f374e9fd76b9b6b9d0bc091471209755644247475a153be6ee21fdb6cd6a350512a81e52be321cf0ff56f92acebae" | ||
} | ||
@@ -74,3 +110,3 @@ ] | ||
"identity": { | ||
"keybaseUser": "jevonearth" | ||
"keybaseUser": "simrob" | ||
} | ||
@@ -102,3 +138,3 @@ } | ||
], | ||
"sha512": "48a4f7611613fb4c713d9d8ded9a08d690f9f655ef0b4be9abd7192bf30bd64caa8362596cacf84fc2cd231a80e1469ef714debcf64d08a67689835a72135281" | ||
"sha512": "857bb59241109de252d665f59c28f7e7a41a947847679e14fe3255a35e209b633a6ee04c3abc1c2d8dd1c420e2fdc3c9bf23833b70cf33b60aeabb56c74742a0" | ||
} | ||
@@ -111,3 +147,3 @@ }, | ||
"name": "@taquito/rpc", | ||
"version": "5.0.1-beta.0", | ||
"version": "5.0.1-beta.1", | ||
"description": "Provides low level methods, and types to invoke RPC calls from a Nomadic Tezos RPC node", | ||
@@ -178,3 +214,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@taquito/http-utils": "^5.0.1-beta.0", | ||
"@taquito/http-utils": "^5.0.1-beta.1", | ||
"bignumber.js": "^9.0.0", | ||
@@ -214,3 +250,3 @@ "lodash": "^4.17.15" | ||
], | ||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJdl7p8CRAD9Qy5GYHsngAAEgEQAKF38EDTdrHtOqFjoJNoO1Zl\nA/+VskZ7c1I7JnEzHBStKu9UVXKSA59wM9ciMcwbNa1mUzU6vmkh2bFlQhkYvzz9\nEjl/6awbvXw6ulUlbqxuJv89NfqCIQ3hsgfaXnJKlGsaiwuVZOH2DtAOdrV+IRgf\n1j3aO5FGAAyZSwvA8fG5niMPV0V4XgEsBVt0Zu0/H/2f662LbYCWnGRlbVE8JpaE\nC8oY2wd4iQb/u2S2L1Q+oBPcRmuasmJ/jDuo+ExuUxt2QIO1wxfvz1uq9qCUGKKu\nnvgBmGDBugaiKcqMmj+KOUVzJUxzFAjjmFLog6Hp+XdCnTPFuhtwt0tUIS4MFFSw\ng0V2/ejsETO1qogvrX9DXNZIwmievPaQf21Z+MFBWqJDfB2I7u5RwOS2sOEA9hIX\nWC92pppF0CNfhO+e+o8Du80JhwMu4HSblrAKlC66zNCxAWws7LFEixvnotGYClem\n90JN5nG/eEOjaqLsTmIgxunsFUcYA6dBK2+wEJRkKS3an8Xn2V1cjxvI1piBrzu7\nLogt2xh7MijNU20+STtCun7W5wEKpdCv3RyK6cSo0VVtrRNpAbTZwMviDTMtoVaB\nF1qcsaG9x90vFmdgtPcE69jZEEQ80/4b+a4UOghiuxV573gxurWDHeEUM9DYnO2s\nnIcQhtU9cp0cPQKahy1W\n=/QaT\n-----END PGP SIGNATURE-----\n" | ||
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJdn1SYCRCwAkEJD2ZwqwAA7ugQAAb+TnAxmMOmH2FfCmKXV3AX\nu0furdaOlN3BKeTftlOfX1cc2n3x/Ywb2TVKprdWkNCx/wlcKRBamUgl5rF43XGc\n0l5Cizj07zIEoxDsbFuBpgGTs+WHP4VKl28sX3t/WkxTIeaNlI9sVT3AIbqOLAJn\njb1XtKQMlkBmZF0Q6kUxFnU6mWkxXv4QSMnbdU8z9JjxQUCsUeOuL2Wxg/3IPzUO\n6eGfaP9LTwpNua5tPqmtj6Bf45KCiqTIYLeGy9Fkm4BkKwiQ1uzNL7VMs2bAzpK4\nnx4pGxuPvYIdusPcTK4M/u0fKnwVA5mDI520jG9SKsD9tbtHei9fECKDxCRXKaNi\nsy+7QymWjuPH6PftV5lj3/4h+zPhCtL/e+K9vvFM22GjfGA1peu4aR7RSZzXE7k/\nCaS0zLyWuzWvc/LDSc0R9u6YikLbHA6Rn8su/t/jBCLRYxaBIyq6IfH9FsnoHPUP\nkCLAIymsXAsjAivYGTNNIGw9t6lXIc8EQRjT8U1RfqgvhW25vYrX220O0r3Fs2lz\nVlu3SKMUJcteC3uazgQT0JUDeOtsM0CXJRZ6jv/T5XFyMicBFJ3QCecFeicXCmvj\ndUN6j77hBzLgcLKuAbfzXopqiJc8YRGmhnSbGYSUsNn59uEt2KSB1/JxUY9mEmja\n5pCUeDjwopHwSl9XTsew\n=v2l4\n-----END PGP SIGNATURE-----\n" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
26
3825
245723