Socket
Socket
Sign inDemoInstall

@taquito/taquito

Package Overview
Dependencies
42
Maintainers
2
Versions
195
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0-alpha.1 to 5.0.1-beta.0

dist/lib/contract/estimate.js

7

dist/lib/constants.js

@@ -25,5 +25,8 @@ "use strict";

exports.protocols = {
'004': 'Pt24m4xiPbLDhVgVfABUjirbmda3yohdN82Sp9FeuAXJ4eV9otd',
'005': 'PsBABY5HQTSkA4297zNHfsZNKtxULfL18y95qb3m53QJiXGmrbU',
'004': ['Pt24m4xiPbLDhVgVfABUjirbmda3yohdN82Sp9FeuAXJ4eV9otd'],
'005': [
'PsBABY5HQTSkA4297zNHfsZNKtxULfL18y95qb3m53QJiXGmrbU',
'PsBabyM1eUXZseaJdmXFApDSBqj8YBfwELoxZHHW77EMcAbbwAS',
],
};
//# sourceMappingURL=constants.js.map

@@ -15,2 +15,13 @@ "use strict";

})();
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -52,7 +63,16 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
Object.defineProperty(exports, "__esModule", { value: true });
var michelson_encoder_1 = require("@taquito/michelson-encoder");
var utils_1 = require("@taquito/utils");
var constants_1 = require("../constants");
var format_1 = require("../format");
var operation_emitter_1 = require("../operations/operation-emitter");

@@ -62,6 +82,9 @@ var operations_1 = require("../operations/operations");

var contract_1 = require("./contract");
var prepare_1 = require("./prepare");
var RpcContractProvider = /** @class */ (function (_super) {
__extends(RpcContractProvider, _super);
function RpcContractProvider(context) {
return _super.call(this, context) || this;
function RpcContractProvider(context, estimator) {
var _this = _super.call(this, context) || this;
_this.estimator = estimator;
return _this;
}

@@ -140,2 +163,35 @@ /**

};
RpcContractProvider.prototype.estimate = function (_a, estimator) {
var fee = _a.fee, gasLimit = _a.gasLimit, storageLimit = _a.storageLimit, rest = __rest(_a, ["fee", "gasLimit", "storageLimit"]);
return __awaiter(this, void 0, void 0, function () {
var calculatedFee, calculatedGas, calculatedStorage, estimation;
return __generator(this, function (_b) {
switch (_b.label) {
case 0:
calculatedFee = fee;
calculatedGas = gasLimit;
calculatedStorage = storageLimit;
if (!(fee === undefined || gasLimit === undefined || storageLimit === undefined)) return [3 /*break*/, 2];
return [4 /*yield*/, estimator(__assign({ fee: fee, gasLimit: gasLimit, storageLimit: storageLimit }, rest))];
case 1:
estimation = _b.sent();
if (calculatedFee === undefined) {
calculatedFee = estimation.suggestedFeeMutez;
}
if (calculatedGas === undefined) {
calculatedGas = estimation.gasLimit;
}
if (calculatedStorage === undefined) {
calculatedStorage = estimation.storageLimit;
}
_b.label = 2;
case 2: return [2 /*return*/, {
fee: calculatedFee,
gasLimit: calculatedGas,
storageLimit: calculatedStorage,
}];
}
});
});
};
/**

@@ -147,38 +203,29 @@ *

*
* @warn You cannot specify storage and init at the same time (use init to pass the raw michelson representation of storage)
*
* @param OriginationOperation Originate operation parameter
*/
RpcContractProvider.prototype.originate = function (_a) {
var code = _a.code, init = _a.init, _b = _a.balance, balance = _b === void 0 ? '0' : _b, _c = _a.spendable, spendable = _c === void 0 ? false : _c, _d = _a.delegatable, delegatable = _d === void 0 ? false : _d, delegate = _a.delegate, _e = _a.fee, fee = _e === void 0 ? constants_1.DEFAULT_FEE.ORIGINATION : _e, _f = _a.gasLimit, gasLimit = _f === void 0 ? constants_1.DEFAULT_GAS_LIMIT.ORIGINATION : _f, _g = _a.storageLimit, storageLimit = _g === void 0 ? constants_1.DEFAULT_STORAGE_LIMIT.ORIGINATION : _g;
RpcContractProvider.prototype.originate = function (params) {
return __awaiter(this, void 0, void 0, function () {
var script, publicKeyHash, operation, opBytes, _h, hash, context, forgedBytes, opResponse;
return __generator(this, function (_j) {
switch (_j.label) {
case 0:
script = {
code: Array.isArray(code) ? code : utils_1.ml2mic(code),
storage: typeof init === 'object' ? init : utils_1.sexp2mic(init),
};
var estimate, publicKeyHash, operation, preparedOrigination, forgedOrigination, _a, hash, context, forgedBytes, opResponse;
return __generator(this, function (_b) {
switch (_b.label) {
case 0: return [4 /*yield*/, this.estimate(params, this.estimator.originate.bind(this.estimator))];
case 1:
estimate = _b.sent();
return [4 /*yield*/, this.signer.publicKeyHash()];
case 1:
publicKeyHash = _j.sent();
operation = {
kind: 'origination',
fee: fee,
gas_limit: gasLimit,
storage_limit: storageLimit,
balance: format_1.format('tz', 'mutez', balance).toString(),
manager_pubkey: publicKeyHash,
spendable: spendable,
delegatable: delegatable,
script: script,
};
if (delegate) {
operation.delegate = delegate;
}
return [4 /*yield*/, this.prepareOperation({ operation: operation, source: publicKeyHash })];
case 2:
opBytes = _j.sent();
return [4 /*yield*/, this.signAndInject(opBytes)];
publicKeyHash = _b.sent();
return [4 /*yield*/, prepare_1.createOriginationOperation(__assign(__assign({}, params), estimate), publicKeyHash)];
case 3:
_h = _j.sent(), hash = _h.hash, context = _h.context, forgedBytes = _h.forgedBytes, opResponse = _h.opResponse;
operation = _b.sent();
return [4 /*yield*/, this.prepareOperation({ operation: operation, source: publicKeyHash })];
case 4:
preparedOrigination = _b.sent();
return [4 /*yield*/, this.forge(preparedOrigination)];
case 5:
forgedOrigination = _b.sent();
return [4 /*yield*/, this.signAndInject(forgedOrigination)];
case 6:
_a = _b.sent(), hash = _a.hash, context = _a.context, forgedBytes = _a.forgedBytes, opResponse = _a.opResponse;
return [2 /*return*/, new origination_operation_1.OriginationOperation(hash, forgedBytes, opResponse, context, this)];

@@ -212,3 +259,3 @@ }

};
_e = this.prepareOperation;
_e = this.prepareAndForge;
_f = {

@@ -260,3 +307,3 @@ operation: operation

_e);
return [4 /*yield*/, this.prepareOperation({ operation: operation })];
return [4 /*yield*/, this.prepareAndForge({ operation: operation })];
case 2:

@@ -280,30 +327,19 @@ opBytes = _g.sent();

*/
RpcContractProvider.prototype.transfer = function (_a) {
var to = _a.to, source = _a.source, amount = _a.amount, parameter = _a.parameter, _b = _a.fee, fee = _b === void 0 ? constants_1.DEFAULT_FEE.TRANSFER : _b, _c = _a.gasLimit, gasLimit = _c === void 0 ? constants_1.DEFAULT_GAS_LIMIT.TRANSFER : _c, _d = _a.storageLimit, storageLimit = _d === void 0 ? constants_1.DEFAULT_STORAGE_LIMIT.TRANSFER : _d, _e = _a.mutez, mutez = _e === void 0 ? false : _e, _f = _a.rawParam, rawParam = _f === void 0 ? false : _f;
RpcContractProvider.prototype.transfer = function (params) {
return __awaiter(this, void 0, void 0, function () {
var operation, opBytes, _g, hash, context, forgedBytes, opResponse;
return __generator(this, function (_h) {
switch (_h.label) {
case 0:
operation = {
kind: 'transaction',
fee: fee,
gas_limit: gasLimit,
storage_limit: storageLimit,
amount: mutez ? amount.toString() : format_1.format('tz', 'mutez', amount).toString(),
destination: to,
};
if (parameter) {
operation.parameters = rawParam
? parameter
: typeof parameter === 'string'
? utils_1.sexp2mic(parameter)
: parameter;
}
return [4 /*yield*/, this.prepareOperation({ operation: operation, source: source })];
var estimate, operation, opBytes, _a, hash, context, forgedBytes, opResponse;
return __generator(this, function (_b) {
switch (_b.label) {
case 0: return [4 /*yield*/, this.estimate(params, this.estimator.transfer.bind(this.estimator))];
case 1:
opBytes = _h.sent();
estimate = _b.sent();
return [4 /*yield*/, prepare_1.createTransferOperation(__assign(__assign({}, params), estimate))];
case 2:
operation = _b.sent();
return [4 /*yield*/, this.prepareAndForge({ operation: operation, source: params.source })];
case 3:
opBytes = _b.sent();
return [4 /*yield*/, this.signAndInject(opBytes)];
case 2:
_g = _h.sent(), hash = _g.hash, context = _g.context, forgedBytes = _g.forgedBytes, opResponse = _g.opResponse;
case 4:
_a = _b.sent(), hash = _a.hash, context = _a.context, forgedBytes = _a.forgedBytes, opResponse = _a.opResponse;
return [2 /*return*/, new operations_1.Operation(hash, forgedBytes, opResponse, context)];

@@ -322,3 +358,3 @@ }

metadata = _a.sent();
if (!(metadata.nextProtocol === constants_1.protocols['005'])) return [3 /*break*/, 4];
if (!this.isProto5(metadata.nextProtocol)) return [3 /*break*/, 4];
return [4 /*yield*/, this.rpc.getScript(address)];

@@ -325,0 +361,0 @@ case 2:

@@ -79,3 +79,4 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var counter, counters, promises, requiresReveal, ops, head, publicKeyHash, _b, i, counter_1, _c, header, metadata, headCounter, manager, haveManager, reveal, _d, constructOps, branch, contents, protocol, remoteForgedBytes;
var counter, counters, promises, requiresReveal, ops, head, publicKeyHash, _b, i, counter_1, _c, header, metadata, headCounter, manager, haveManager, reveal, _d, constructOps, branch, contents, protocol;
var _this = this;
return __generator(this, function (_e) {

@@ -182,3 +183,3 @@ switch (_e.label) {

// Protocol 005 remove these from operations content
if (metadata.nextProtocol === constants_1.protocols['005']) {
if (_this.isProto5(metadata.nextProtocol)) {
delete constructedOp.manager_pubkey;

@@ -194,6 +195,37 @@ delete constructedOp.spendable;

protocol = metadata.nextProtocol;
return [4 /*yield*/, this.rpc.forgeOperations({ branch: branch, contents: contents })];
case 10:
remoteForgedBytes = _e.sent();
return [2 /*return*/, {
opOb: {
branch: branch,
contents: contents,
protocol: protocol,
},
counter: counter,
}];
}
});
});
};
OperationEmitter.prototype.prepareAndForge = function (params) {
return __awaiter(this, void 0, void 0, function () {
var prepared;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this.prepareOperation(params)];
case 1:
prepared = _a.sent();
return [2 /*return*/, this.forge(prepared)];
}
});
});
};
OperationEmitter.prototype.forge = function (_a) {
var _b = _a.opOb, branch = _b.branch, contents = _b.contents, protocol = _b.protocol, counter = _a.counter;
return __awaiter(this, void 0, void 0, function () {
var remoteForgedBytes;
return __generator(this, function (_c) {
switch (_c.label) {
case 0: return [4 /*yield*/, this.rpc.forgeOperations({ branch: branch, contents: contents })];
case 1:
remoteForgedBytes = _c.sent();
return [2 /*return*/, {
opbytes: remoteForgedBytes,

@@ -211,2 +243,18 @@ opOb: {

};
OperationEmitter.prototype.simulate = function (op) {
return __awaiter(this, void 0, void 0, function () {
var _a;
return __generator(this, function (_b) {
switch (_b.label) {
case 0:
_a = {};
return [4 /*yield*/, this.rpc.runOperation(op)];
case 1: return [2 /*return*/, (_a.opResponse = _b.sent(),
_a.op = op,
_a.context = this.context.clone(),
_a)];
}
});
});
};
OperationEmitter.prototype.signAndInject = function (forgedBytes) {

@@ -256,2 +304,5 @@ return __awaiter(this, void 0, void 0, function () {

};
OperationEmitter.prototype.isProto5 = function (protocol) {
return constants_1.protocols['005'].indexOf(protocol) !== -1;
};
return OperationEmitter;

@@ -258,0 +309,0 @@ }());

@@ -63,7 +63,3 @@ "use strict";

_this.contractProvider = contractProvider;
var originationOp = Array.isArray(results) && results.find(function (op) { return op.kind === 'origination'; });
var originatedContracts = originationOp &&
originationOp.metadata &&
originationOp.metadata.operation_result &&
originationOp.metadata.operation_result.originated_contracts;
var originatedContracts = _this.operationResults && _this.operationResults.originated_contracts;
if (Array.isArray(originatedContracts)) {

@@ -74,2 +70,38 @@ _this.contractAddress = originatedContracts[0];

}
Object.defineProperty(OriginationOperation.prototype, "operationResults", {
get: function () {
var originationOp = Array.isArray(this.results) && this.results.find(function (op) { return op.kind === 'origination'; });
return originationOp && originationOp.metadata && originationOp.metadata.operation_result;
},
enumerable: true,
configurable: true
});
Object.defineProperty(OriginationOperation.prototype, "consumedGas", {
get: function () {
return this.operationResults && this.operationResults.consumed_gas;
},
enumerable: true,
configurable: true
});
Object.defineProperty(OriginationOperation.prototype, "storageDiff", {
get: function () {
return this.operationResults && this.operationResults.paid_storage_size_diff;
},
enumerable: true,
configurable: true
});
Object.defineProperty(OriginationOperation.prototype, "storageSize", {
get: function () {
return this.operationResults && this.operationResults.storage_size;
},
enumerable: true,
configurable: true
});
Object.defineProperty(OriginationOperation.prototype, "errors", {
get: function () {
return this.operationResults && this.operationResults.errors;
},
enumerable: true,
configurable: true
});
/**

@@ -76,0 +108,0 @@ * @description Provide the contract abstract of the newly originated contract

@@ -49,2 +49,3 @@ "use strict";

var noop_1 = require("./signer/noop");
var rpc_estimate_provider_1 = require("./contract/rpc-estimate-provider");
/**

@@ -60,3 +61,4 @@ * @description Facade class that surfaces all of the libraries capability and allow it's configuration

this._tz = new rpc_tz_provider_1.RpcTzProvider(this._context);
this._contract = new rpc_contract_provider_1.RpcContractProvider(this._context);
this._estimate = new rpc_estimate_provider_1.RPCEstimateProvider(this._context);
this._contract = new rpc_contract_provider_1.RpcContractProvider(this._context, this._estimate);
this.format = format_1.format;

@@ -144,2 +146,12 @@ this.setProvider({ rpc: this._rpcClient });

});
Object.defineProperty(TezosToolkit.prototype, "estimate", {
/**
* @description Provide access to operation estimation utilities
*/
get: function () {
return this._estimate;
},
enumerable: true,
configurable: true
});
Object.defineProperty(TezosToolkit.prototype, "query", {

@@ -146,0 +158,0 @@ /**

@@ -95,3 +95,3 @@ "use strict";

};
return [4 /*yield*/, this.prepareOperation({ operation: [operation], source: pkh })];
return [4 /*yield*/, this.prepareAndForge({ operation: [operation], source: pkh })];
case 1:

@@ -98,0 +98,0 @@ forgedBytes = _b.sent();

@@ -20,4 +20,4 @@ export declare enum DEFAULT_GAS_LIMIT {

export declare const protocols: {
'004': string;
'005': string;
'004': string[];
'005': string[];
};

@@ -6,3 +6,24 @@ import { Schema } from '@taquito/michelson-encoder';

import { OriginationOperation } from '../operations/origination-operation';
import { Estimate } from './estimate';
export declare type ContractSchema = Schema | unknown;
export interface EstimationProvider {
/**
*
* @description Estimate gasLimit, storageLimit and fees for an origination operation
*
* @returns An estimation of gasLimit, storageLimit and fees for the operation
*
* @param OriginationOperation Originate operation parameter
*/
originate(params: OriginateParams): Promise<Estimate>;
/**
*
* @description Estimate gasLimit, storageLimit and fees for an transfer operation
*
* @returns An estimation of gasLimit, storageLimit and fees for the operation
*
* @param TransferOperation Originate operation parameter
*/
transfer({ fee, storageLimit, gasLimit, ...rest }: TransferParams): Promise<Estimate>;
}
export interface ContractProvider {

@@ -9,0 +30,0 @@ /**

@@ -7,5 +7,6 @@ import { Context } from '../context';

import { Contract } from './contract';
import { ContractProvider, ContractSchema } from './interface';
import { ContractProvider, ContractSchema, EstimationProvider } from './interface';
export declare class RpcContractProvider extends OperationEmitter implements ContractProvider {
constructor(context: Context);
private estimator;
constructor(context: Context, estimator: EstimationProvider);
/**

@@ -32,2 +33,3 @@ *

getBigMapKey<T>(contract: string, key: string, schema?: ContractSchema): Promise<T>;
private estimate;
/**

@@ -39,5 +41,7 @@ *

*
* @warn You cannot specify storage and init at the same time (use init to pass the raw michelson representation of storage)
*
* @param OriginationOperation Originate operation parameter
*/
originate({ code, init, balance, spendable, delegatable, delegate, fee, gasLimit, storageLimit, }: OriginateParams): Promise<OriginationOperation>;
originate(params: OriginateParams): Promise<OriginationOperation>;
/**

@@ -69,4 +73,4 @@ *

*/
transfer({ to, source, amount, parameter, fee, gasLimit, storageLimit, mutez, rawParam, }: TransferParams): Promise<Operation>;
transfer(params: TransferParams): Promise<Operation>;
at(address: string): Promise<Contract>;
}

@@ -1,2 +0,2 @@

import { RpcClient } from '@taquito/rpc';
import { RpcClient, RPCRunOperationParam } from '@taquito/rpc';
import { Context } from '../context';

@@ -9,3 +9,33 @@ import { ForgedBytes, PrepareOperationParams } from './types';

constructor(context: Context);
protected prepareOperation({ operation, source, }: PrepareOperationParams): Promise<ForgedBytes>;
protected prepareOperation({ operation, source }: PrepareOperationParams): Promise<{
opOb: {
branch: string;
contents: any[];
protocol: string;
};
counter: number;
}>;
protected prepareAndForge(params: PrepareOperationParams): Promise<{
opbytes: string;
opOb: {
branch: any;
contents: any;
protocol: any;
};
counter: any;
}>;
protected forge({ opOb: { branch, contents, protocol }, counter }: any): Promise<{
opbytes: string;
opOb: {
branch: any;
contents: any;
protocol: any;
};
counter: any;
}>;
protected simulate(op: RPCRunOperationParam): Promise<{
opResponse: any;
op: RPCRunOperationParam;
context: Context;
}>;
protected signAndInject(forgedBytes: ForgedBytes): Promise<{

@@ -17,2 +47,3 @@ hash: string;

}>;
protected isProto5(protocol: string): boolean;
}
import { Context } from '../context';
import { RpcContractProvider } from '../contract/rpc-contract-provider';
import { Operation } from './operations';
declare type Results = any[];
/**

@@ -15,3 +16,8 @@ * @description Origination operation provide utility function to fetch newly originated contract

readonly contractAddress?: string;
constructor(hash: string, raw: {}, results: any, context: Context, contractProvider: RpcContractProvider);
constructor(hash: string, raw: {}, results: Results, context: Context, contractProvider: RpcContractProvider);
private readonly operationResults;
readonly consumedGas: any;
readonly storageDiff: any;
readonly storageSize: any;
readonly errors: any;
/**

@@ -22,1 +28,2 @@ * @description Provide the contract abstract of the newly originated contract

}
export {};
import { OperationObject } from '@taquito/rpc';
/**
* @description Parameters for originate method
*/
export interface OriginateParams {
export declare type OriginateParamsBase = {
balance?: string;
code: string | object[];
init: string | object;
spendable?: boolean;

@@ -15,4 +11,14 @@ delegatable?: boolean;

storageLimit?: number;
}
};
/**
* @description Parameters for originate method
*/
export declare type OriginateParams = OriginateParamsBase & ({
init?: never;
storage: any;
} | {
init: string | object;
storage?: never;
});
/**
* @description RPC origination operation

@@ -19,0 +25,0 @@ */

import { IndexerClient } from '@taquito/indexer';
import { RpcClient } from '@taquito/rpc';
import { ContractProvider } from './contract/interface';
import { ContractProvider, EstimationProvider } from './contract/interface';
import { QueryProvider } from './query/interface';

@@ -27,2 +27,3 @@ import { SubscribeProvider } from './subscribe/interface';

private _tz;
private _estimate;
private _contract;

@@ -49,2 +50,6 @@ readonly format: typeof format;

/**
* @description Provide access to operation estimation utilities
*/
readonly estimate: EstimationProvider;
/**
* @description Provide access to querying utilities backed by an indexer implementation

@@ -51,0 +56,0 @@ */

{
"name": "@taquito/taquito",
"version": "5.0.0-alpha.1",
"version": "5.0.1-beta.0",
"description": "High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.",

@@ -74,7 +74,7 @@ "keywords": [

"dependencies": {
"@taquito/indexer": "^5.0.0-alpha.1",
"@taquito/michelson-encoder": "^5.0.0-alpha.1",
"@taquito/rpc": "^5.0.0-alpha.1",
"@taquito/signer": "^5.0.0-alpha.1",
"@taquito/utils": "^5.0.0-alpha.1",
"@taquito/indexer": "^5.0.1-beta.0",
"@taquito/michelson-encoder": "^5.0.1-beta.0",
"@taquito/rpc": "^5.0.1-beta.0",
"@taquito/signer": "^5.0.1-beta.0",
"@taquito/utils": "^5.0.1-beta.0",
"bignumber.js": "^9.0.0"

@@ -109,3 +109,3 @@ },

},
"gitHead": "f8747ec107de882d75c70bc4801acbd4e857a1ca"
"gitHead": "4ca0a063db081a62ede73188c60b8d456d8adf81"
}

@@ -9,3 +9,3 @@ {

"path": "dist/lib/constants.js",
"sha512": "30d45ae0a1f57296ca47a35bdfdefc57c2efddc2e72338f8d99199dbfb75de5beb88b3003d0e7be66516d7becc433b3ae0cfcb0cacbca870b68c09de4b4fcdf5"
"sha512": "e1a7f3f14474447defb3de92066d29686af6d6e5aae14ef481e92f8395a7c8abfa10b7483c5302559efa3268754c96a951cfbebdd6f5dd787ca43551f738e15d"
},

@@ -21,2 +21,6 @@ {

{
"path": "dist/lib/contract/estimate.js",
"sha512": "7306ec71071f8b7d92cda34fd390312fc47b3a0f45d95613ee476c4e0ccc10adb873e8292bf46056d2e738e57d016f4e35803646ea2848d99040d7aaf0eea4cd"
},
{
"path": "dist/lib/format.js",

@@ -50,2 +54,6 @@ "sha512": "62e82153a40bb6fb22610099cb8f7df83c21c34f7f0f468c952b1d4d45615b072ed5159464b3954ea4f6ac167c056df2ab54dafe95f83b3231dd4dd3b5be224c"

{
"path": "dist/lib/contract/naive-estimate-provider.js",
"sha512": "49573b16c7ee2c6849243454bc24f38147370f63c5bafc6c8d988593a715353d872d044bd22c738cf56e63c627477c1c0ffc2e5ac5911158c44e1e2431320fa4"
},
{
"path": "dist/lib/signer/noop.js",

@@ -56,3 +64,3 @@ "sha512": "8682f88629dbccd8fcc51e2bac65d6d72bfd0d021307cf035bb21bd856088bd6842b099660a5515dceb1aa9468753ee7be490efaca9797637d50bf74b6e64b0f"

"path": "dist/lib/operations/operation-emitter.js",
"sha512": "092cc6b0e373fbb8b9f8c3ae09ef023ee266276cea1af108dcf727e1539d6cc3420b56e8082ab85c1a489d5ec896519e658ef9044a9aa8c95251524735ea442b"
"sha512": "54ed88b1323e5b2c5d6135df8ec4be0ad31c2a5443c19b04b57670b43d2d182f7f07df0467c97aaf7214788ce6f1e51f33bbfd9ae4c73225dccac1afc9bac1ad"
},

@@ -65,3 +73,3 @@ {

"path": "dist/lib/operations/origination-operation.js",
"sha512": "d197e01b133354bcf8222cc9cc8351b88bc22dfe5815a1f9197121bab69f54750cd57a2504ab69c3190c15e433d3430670e42d818f0fceb509ed07d7494a4748"
"sha512": "12a4c50a400ac4b1c640e809ed9bc12d03332c77b3c4fa5cf2f5e608feb2b5b7e509edd9c82ae375c76c71ec66d8cedd123cda0517dc8c5e929fc4f0901e5c2a"
},

@@ -77,20 +85,28 @@ {

{
"path": "dist/lib/contract/prepare.js",
"sha512": "7ec89c42741e2b12848c30fa70181c04f0c12337ac56433b5ca09bf333260d04b64cab91a14282ff11fb736d0415f944df9b92425669c7685c055c7865dda2e2"
},
{
"path": "dist/lib/contract/rpc-contract-provider.js",
"sha512": "7799db9334eaa41f2543ae6b6f602381a6c76c298e46f42a50e1132f17849bedf30e7a7f088bd109df724e55c90a0baddbe41ee199d2d19982c3f52a40c94fc2"
"sha512": "d0139a8998730661aa5c18d410d007627dc6c096b01a5da314c55d5609edbf298e755ea3a12d6cd2f3caf156f29086c30d973ec17efaa8f31b57f3d259e2f897"
},
{
"path": "dist/lib/contract/rpc-estimate-provider.js",
"sha512": "060b98a8010edc1f744f84277d69c64f3930dec4945bc21dc4094516d279024b358504bee7d108b354c36d6bf73a14c5399d6b7cc065337ae1652374bcc4fd6e"
},
{
"path": "dist/lib/tz/rpc-tz-provider.js",
"sha512": "a9ad38919d6032c818d5b922f11d7bb261d1d55f330ddc6e406a94ca374396c3f9490f74dee4ba46cb370a55d1016eabbe68d45ce7c982b1dab0b79ac1a59c6b"
"sha512": "461c075cdc7f896a02d2ccc6133e39731d5c2dec23480d47bdfcd7e39ea1982f4ae55f3350e76072be1ddf1e8ce876d3dc57bbbac5cc8c988f72050a5fd296ab"
},
{
"path": "dist/taquito.es5.js",
"sha512": "c0516e1596be667479fe0e2f7c66adee00c6848999f398a9219873098502ee245f878a48e1f699b08d0ec72d94de8537c74e9eb42864f106b0e396cb60a48e24"
"sha512": "73d63fde7dd81f40bb121d2586fcca67db76f0c45015e56dd65481339aac9def245d547f1d034778f8d44cb08d6d80bf303b8929d2f384200a35868bfad0983a"
},
{
"path": "dist/lib/taquito.js",
"sha512": "c33c4179a5ac4f679d14e1c3a6403799d250b32d40d1c5392021f34ea31e3a2b4a01bd8dcdfa4f5077f19cb49769c946f2d02a3a750ac10ecb1e8ac830b2c2ca"
"sha512": "6398653fdc9cb42e769666aed76af91ffb1321562401736b0975bca9bcbd953ecf980f31b460c2477d7de9e10eac911e85090e9bbfc7ad4dba7ec14079c49d78"
},
{
"path": "dist/taquito.umd.js",
"sha512": "e194a761b89524c364ff42317e0eb6426c301b4cced8cdec21549743c1682ab1cc166e220dfccdbe1c463b2ac34a499f2cce698d56fc32310f94be1d9488b1f4"
"sha512": "502e094ccd97b6e8c2664fe1cbac2b2c872deae861638193001d43bc304b38fcafac686b631af9f268a1396ff39273e955fe958b4d3e177a84b84f39bcc069f3"
},

@@ -103,3 +119,3 @@ {

"path": "dist/lib/constants.js.map",
"sha512": "a6cf85d420409bc0eda4aebf908a69f3af093e2a3f6af54112b29bdd6684e14f40054064a5f16eb672ddb46f7fcefe9288c4f34b7ec30a4797a5a62d5b0f1730"
"sha512": "7d9e90cf2a64b38c1c8c381845bd51fad51542ead1825b25ddbc2074bb43e46928d3f9cfd5314fd438e895180cc58bd6669e8b43056d36d4ca5ae63cc3423169"
},

@@ -115,2 +131,6 @@ {

{
"path": "dist/lib/contract/estimate.js.map",
"sha512": "aa96fb0d8ec3157e6cfa086d949761dd5241e289eefef21ab7cbfaf118006ac66b6bba7c5ff6ee433a2f8debf0286214718962ed50de8a9af709cc422158cd84"
},
{
"path": "dist/lib/format.js.map",

@@ -144,2 +164,6 @@ "sha512": "686952dfead100b6f8c336e93a9afb6ecde408fa7f1dab3d22a968f2f2f895bd456ceeaea5dfcd6aeaee12d0cf662672b3506f55b2795bcb51ad22e95e36094d"

{
"path": "dist/lib/contract/naive-estimate-provider.js.map",
"sha512": "5c24a75fb2687fc46d1b1770a3bdce51b00f4e96e817a41f9805bce4511ceb88e36de9b6da828e4448c1c7940247892a0b3978129360adbd8a6f9a61d8873545"
},
{
"path": "dist/lib/signer/noop.js.map",

@@ -150,3 +174,3 @@ "sha512": "dda5e781cc08107e7193b41c596a424da65275111e3f564862dcc021111b7c97bf0cf1509fb61ea138c6624d3503b306e1148c95c7239b9a8804d1de26fc8753"

"path": "dist/lib/operations/operation-emitter.js.map",
"sha512": "2ef520397ed0394446e38b8252d2f2e232b294727835ca59293ef9b6d313aa10290ce0c44dcf7907aa94d9df18637b000fccb5768887cd8aa582258c6ab987d5"
"sha512": "afd83c67dad99e42459e3e083c9090d0af5573c73f8b045a521f774943b78699597e327584fb9601b50bd14ca2ef7b63d046c0c47e449c1a4c97587e0462b47e"
},

@@ -159,3 +183,3 @@ {

"path": "dist/lib/operations/origination-operation.js.map",
"sha512": "2a460a820f7bb17d075c24509e6d2eb3bde216aeac0d87ad382910b97ea4be946f606fd04eb42e831b83a089f4dd99435ab78fc9e77898da75a5f275d1d4a1b3"
"sha512": "d7b5aa5a3fd6e26738b9ad89ffb871d911328a6cb1c4292b57b6e516a1edfea0d53c716de8a0fc75282addf0f3647f587837448d55100a0b5b77321529cf982e"
},

@@ -167,20 +191,28 @@ {

{
"path": "dist/lib/contract/prepare.js.map",
"sha512": "a3a28f313544e27ab8d2884073654e4837d4435675a71a9aaea727320ed98edbf1c95a0c29edf683fbbb89065be0209d6344b917ba8f0b5f5ad9c9afedcf5f48"
},
{
"path": "dist/lib/contract/rpc-contract-provider.js.map",
"sha512": "127bbf791c65ea29cab7ff8a948dde8a8160ffec5c159ad3fad949b7b64fab3a8045c88a7c7bc60250dbcf98315654885922e65f80d19719130c0d9efcc0d387"
"sha512": "1e34da4837dc5b31666bfec288f212be69e2cd21b63299a6229886a7f57b5f003f7336dbb59fd15a45544a911e951905c529088da05418334f02dd639d7fff22"
},
{
"path": "dist/lib/contract/rpc-estimate-provider.js.map",
"sha512": "fb6898899cd2e4827fc41c481a29d945f465c572b91acf347586d2e0383b8436f532f3cf3fba3347ae0afb4ed2e5fb6e9aa564edfe3353fece901e5ddb603fff"
},
{
"path": "dist/lib/tz/rpc-tz-provider.js.map",
"sha512": "6c0e8ddc3c00304e8b8e242d5009e45581d1bf75132e4af7ab7790ff253ca1a5d4798bc6a1693f9b89c15740c45ee6c980dfb7359d1e628bcbdebef1d2a81be8"
"sha512": "a6e8049f565b7657d107792fb530c3d91853c98eb67297290e8c5c085d484284f08a75bac604a5ff0f0e4d95905ec1ffb234b85e0a496a50584c7d8f29d266b9"
},
{
"path": "dist/taquito.es5.js.map",
"sha512": "7c9772aefc09360248e4b66ece520525f40547d72aa539035f116ef3ed068fc79cae8f2d9790e41bf7b3dadee7938a1541c2a64e2f8eae96f9f113fdff770338"
"sha512": "5d408a9222db2032c3704bfdcbc550d47a918b0580f3cf57fd654bd9fc71350ec07df648de84247fedfed6ad8f8174762c3449d3a465c72d357f8d6ea6abd4ee"
},
{
"path": "dist/lib/taquito.js.map",
"sha512": "dfecd2ec92c7a7baf26d2ab4bf506f03879f8c30b4d638964071dbf64c23192deb2a975ee34ea223c88a5a0bc2e03c35426eb57928214e2763b24cabc035c2c5"
"sha512": "8e8898f8acf97a9093846796a3ba5ebdd3f923f5cb0fb6c6c8d61ca200edca2fddddc16c2bdcac576c1f642b7828692bd5c35e19f3d1df8cf57a03b714cff559"
},
{
"path": "dist/taquito.umd.js.map",
"sha512": "d751f51abb1be94e299da8b19ad86772fd9aa8626cb927e00a4a74278829717e843d67c89440e2950610d35f378dc94b3ef07083fbf98ea1d2104492be819d3e"
"sha512": "7a58a510d9c007032d7ff93d343cf5e16bb735fec1883bee2734c8e3d0a1dee79cfc0f9173e84e096321f3570dc9817f3b71571f4c43a8cc03b1c2108a182662"
},

@@ -197,3 +229,3 @@ {

"path": "dist/types/constants.d.ts",
"sha512": "18d43feefb55c1ba3179441ada9b519ffc08c8f7c09f202638e7db3a25825f08c8ec0c7681269d53c2ce7aed495ac8bdc0dd5e02b0976114913f6ccad6624f0d"
"sha512": "0c1ffffc20c4f0f55806bc5276033ef90a7d020dede108b5faada01e3419a468597d45cce23bbd15fabfcc4dcbef7bf9f7c47152350266a850f10b5b05921a65"
},

@@ -209,2 +241,6 @@ {

{
"path": "dist/types/contract/estimate.d.ts",
"sha512": "aaad93c462f7ce33be50912dedd8ff788d6f4512837f7f464a495c2560309cebb0fb5f76d61f736fbf7b75d46c63d59431c7cce3d386c4c748204b80582b238d"
},
{
"path": "dist/types/format.d.ts",

@@ -219,3 +255,3 @@ "sha512": "87f3e92f385e22f7742000c26ffeb2dc16cf88f4966fc936124bab1fb384644fe197c62eaa812be79b5f24988d190981fdb95a6c818cd46acd91cd8ab0de5275"

"path": "dist/types/contract/interface.d.ts",
"sha512": "6e61dc58dbe10a921efdc430b9816ecb56d763db28e92e45c3d77172e150c1790fcb93c76afae40a206f1c20f7182ddfae88ab93fb0ad96c1404649d328cda1a"
"sha512": "7750efbe0a569788bc3c91fa81d52b8cecd84d2e6ebdb27c109241cf01a4b6d31a52cffa692c8073a405f609709cf585c593f45eff9056c5e83028ac4ae2a524"
},

@@ -239,2 +275,6 @@ {

{
"path": "dist/types/contract/naive-estimate-provider.d.ts",
"sha512": "7194589b8d3c4749c999893454ef85537ccc66140279f0f3f9f3acc179df24e97183742936079f7374dc8dcbb719cbde4d9043b4d7435e18856c2f87af5f1136"
},
{
"path": "dist/types/signer/noop.d.ts",

@@ -245,3 +285,3 @@ "sha512": "84cc037b9c82a09860ff4e149814fdd00519a2bedeb42dad9dbb762d3d163e8ce5d3c40fb6e6961046164a8111d1330cc4fcb63a4a889258f8ca60c8dd6e9f5e"

"path": "dist/types/operations/operation-emitter.d.ts",
"sha512": "47062dabaee9269d556b0eb0e1dfe1bc94b22f13d517dd0face8accc4a09f2800bac153390fdb53d3726d665edb628e2d84f886cf077ecb6793396a605e32c8c"
"sha512": "3ebfcd6b93f4f2b62f93b703b5e4e93d10669dcb4415c42d86d33d4fd803d8e23a350f09055f28105af401d9f2612f6afaf0afa8d91e79ebfe4a772300ba7d7f"
},

@@ -254,3 +294,3 @@ {

"path": "dist/types/operations/origination-operation.d.ts",
"sha512": "15e295b722e4d016b155832a66a228a75df89dc85f370bda57fb7a0eb9d1e512af9794bfe84289aae73689cb98feb07b94fb81af1bfa24f9085d91e266bc0e04"
"sha512": "16dd129b0664e0552ba37f0da9956691ec77a3d6f74ea980e9b8214fd9e05cfb0881de8de9107382a5bebf7e795a7acbc43857ca711fc7fbab6503da0a81dd87"
},

@@ -262,6 +302,14 @@ {

{
"path": "dist/types/contract/prepare.d.ts",
"sha512": "15e970ba400c8d8ddde5885c30c9874c304b12489199c34ba1a2d49a6a162a85ec73e1c83c1356063ecab365f431d37d23b2097dab011974cd5690b041955b61"
},
{
"path": "dist/types/contract/rpc-contract-provider.d.ts",
"sha512": "ad45a3a6217eb72c5c5d12c508c7292791c8852e1898f52b6eab8030d351bbcf53767de7e474a5e3ed9693ce0ef6e798bbeaa16a87ec82363b3b2bc0717f50b4"
"sha512": "2c8f3675c6042d59fb13d156eccb5ec9bf78c3206ce0f354dcbd8f952c34a96637bdcb15c1f8d85449f656359d2fbb2f74a0a9f1e8aef76fa5a6a062fea2942a"
},
{
"path": "dist/types/contract/rpc-estimate-provider.d.ts",
"sha512": "755a750f8b9907718895d9cc8f31a8f89163048dfdf2f0f20a85b99dbd78abaeca0bd8f2ea179a8616a7145f7434924ddf640831a49db617f2acec50e3b54bb8"
},
{
"path": "dist/types/tz/rpc-tz-provider.d.ts",

@@ -272,7 +320,7 @@ "sha512": "b0e4aa44c5c366da2b341f77d90dc794d09a092bbdb9b7380428d77292b4aca6d43278245f04153938f66ae70405dd81a409ca8c5d615b09a0e9f14fc23f7551"

"path": "dist/types/taquito.d.ts",
"sha512": "c840f8f28a35ec9eb0e16767cc414ba30835500e08963405692f85cffac70ef2290042543b4c94e69b2849fab03bfa6a44cff10ba9172f90be5b04957e901767"
"sha512": "6cec285664a0732fe07a6945e9fcc07b108c87c3ebab9fcbc8760a19f3fecb9a57b58ebdbc7f855d4f6ba4c5aa271000f1247aa3c38d7e4ff5ceffc0f2c77be0"
},
{
"path": "dist/types/operations/types.d.ts",
"sha512": "05f87334b4823602c47a09dd6536e13f9be7feeb50f42a2727c0e709a610d31f6a3a2ab75e5b45ba65916b2302c8d165f29425f3588d3411c34e1feb4c53798e"
"sha512": "f8e5f5e8f300006792a9642ad808df4fd47cd07b6a9d8880768d6273313bb6537747ae1ff684297b052cb36450ceb6f6d15a1c030d89ace0105f17efaa6d24c5"
}

@@ -286,3 +334,3 @@ ]

"identity": {
"keybaseUser": "simrob"
"keybaseUser": "jevonearth"
}

@@ -314,3 +362,3 @@ }

],
"sha512": "e5ba02b2ba53bc6f78094657d44230599773b14bbdd0b4cf86165de63e79c294251c4d10b16512dcf64b23f61a2ba08a186df56daa6210853b5b5d3457bddabc"
"sha512": "575dfee6089180d19dd02020eb1c8544c54e85176ba267323d452bf9a5273987580043c06f48ae59015907d8cf8bee967ecbff5e44a27758d8a8937ea9aa702b"
}

@@ -323,3 +371,3 @@ },

"name": "@taquito/taquito",
"version": "5.0.0-alpha.1",
"version": "5.0.1-beta.0",
"description": "High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.",

@@ -395,7 +443,7 @@ "keywords": [

"dependencies": {
"@taquito/indexer": "^5.0.0-alpha.1",
"@taquito/michelson-encoder": "^5.0.0-alpha.1",
"@taquito/rpc": "^5.0.0-alpha.1",
"@taquito/signer": "^5.0.0-alpha.1",
"@taquito/utils": "^5.0.0-alpha.1",
"@taquito/indexer": "^5.0.1-beta.0",
"@taquito/michelson-encoder": "^5.0.1-beta.0",
"@taquito/rpc": "^5.0.1-beta.0",
"@taquito/signer": "^5.0.1-beta.0",
"@taquito/utils": "^5.0.1-beta.0",
"bignumber.js": "^9.0.0"

@@ -434,3 +482,3 @@ },

],
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJdkBhvCRCwAkEJD2ZwqwAAM2AQACYvpOe55cSXNSaZ7bTMnQDF\nsOo6vTNSKOOI3LVizOe0woQKoj9GhzKfvuc0yaWcOAKCOWLYp3UNz489/4zYjj7i\nTAhXgwLVj4GAUNkCWGVJiIGNif+likfIHCTz7vXMa5l996Z1mQuumL5Tj2YSLoHt\neJI73OtBQUp6aTbgyi1rZw+LjHoL/hIVIutnDlb9Qrnu9z4IvPA14nO6rgX39awe\n6368sszQ/BtIuFYCwvJs6XWKJlTC4cBP/rJIvnRLFNcz7+mE2tjMuQLtYmzSoeag\nm0C3zBMfvgOU/KT7tNiVMy1RcZFu0iTm5MrEvKqE0QAlhpraWXoAbMYq6/Gv9brX\nVOL8NJlvPNR9mzHD6+OtTfzve1GBRncKC6JnZYGEuhI7Gz6CsIcrvlrN3mE5Qm5O\nqaH0J4RJyjMO6H6tQ1pORQJLsjgto+pcrzn1fpGDgDVRoGiaQvu3ZtT8sQEz+Jhi\n2vuO8XcJ+Ze5Z+T5HwnBOj9IpJa3i08R4sI3kAVyDLv/9w5C0q17nkt3ub8vc+OJ\nrKZqn+9+htQgp9s82a/SE6IO0j2M+zDy+I2MJPG5muNhQuilXQ9tpSBGB8jbIpqe\nHe4eLjvP484MFoFItm2MCAn+zBMBVJ2nv9aIchf6LuS2iLcuhPd48FLZheSvxJ6l\nG4UzOTSFOLJ9SEZS+Z4x\n=lJ2o\n-----END PGP SIGNATURE-----\n"
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJdl7p3CRAD9Qy5GYHsngAAqAwQAKaLIDHuYdVissciCgIpSxTX\nH+snARcPd9wrX80Sbf51mKEUuBB5y2f8O29lVp3eu0rOYHAwswxsfPCJ6BntEBRA\n/thyUWn+X/Ds2ucv3AnDk1Cxj3MSa10yQmKVOCG/QZqvyyhAwrvEJEzPUFArirRv\nd5WyOo2Fwt54K0wl+ra2KJ2XqDMI+R69YU6p2Xi1my6lSZN8Ccrzt35/SaMKeFW9\nFOStMsOYUBSwizwxEy3RqX6AksiwLVhLmPocvsmZWjyxjkSrAjAdGgCdW0vEkcX1\nkCoEdk0nRs6xZ+clz4SDeQ9cPhRxfmqq1isMX7lyFrEwH95/xfzM0FYd+z26ulLi\nnV2DrvCRULUzz165BS2UuFFF31ppe81aQEHQ4kdhdlyyMUUvHByzL9iB3iiMQXw+\nyiR5gTbEaXB1W74Z+Mb2WkmV/D3lxbCM3PcOATBRLXH75uLFQOKIX/BTJxvGLMtX\nvqD8jqGz2iP0hjPeblWGkOiNT7qdeneJujhy0nX+RASUBkROPZKTLalJMRZO5xuG\nzYn7196xilQFV0oE7HJmUx0fFKfU05lm9Ri5Q9r/c2uLNn8GXpaBbDb9bctH3RX0\ndrkkMrOPF2O5pd607HFvagwNs+AKHlCGwf8y+5d5mBx6IQH5KLSDveWc4oIb+5i8\niqmRZdbHs4upNwlwCyGc\n=ZGUJ\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

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc