Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@taquito/rpc

Package Overview
Dependencies
Maintainers
2
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taquito/rpc - npm Package Compare versions

Comparing version 5.0.1-beta.2 to 5.1.0-beta.1

116

dist/lib/taquito-rpc.js

@@ -88,2 +88,6 @@ "use strict";

}
RpcClient.prototype.createURL = function (path) {
// Trim trailing slashes because it is assumed to be included in path
return "" + this.url.replace(/\/+$/g, '') + path;
};
/**

@@ -104,3 +108,3 @@ *

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/hash",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/hash"),
method: 'GET',

@@ -131,3 +135,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/balance",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/balance"),
method: 'GET',

@@ -156,3 +160,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/storage",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/storage"),
method: 'GET',

@@ -177,3 +181,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/script",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/script"),
method: 'GET',

@@ -200,3 +204,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address,
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address),
method: 'GET',

@@ -227,3 +231,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager"),
method: 'GET',

@@ -248,3 +252,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager_key",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager_key"),
method: 'GET',

@@ -269,3 +273,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/delegate",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/delegate"),
method: 'GET',

@@ -290,3 +294,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/big_map_get",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/big_map_get"),
method: 'POST',

@@ -299,2 +303,23 @@ }, key)];

*
* @param id Big Map ID
* @param expr Expression hash to query (A b58check encoded Blake2b hash of the expression (The expression can be packed using the pack_data method))
* @param options contains generic configuration for rpc calls
*
* @description Access the value associated with a key in a big map.
*
* @see https://tezos.gitlab.io/mainnet/api/rpc.html#get-block-id-context-big-maps-big-map-id-script-expr
*/
RpcClient.prototype.getBigMapExpr = function (id, expr, _a) {
var block = (_a === void 0 ? defaultRPCOptions : _a).block;
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_b) {
return [2 /*return*/, this.httpBackend.createRequest({
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/big_maps/" + id + "/" + expr),
method: 'GET',
})];
});
});
};
/**
*
* @param address delegate address which we want to retrieve

@@ -314,3 +339,3 @@ * @param options contains generic configuration for rpc calls

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/delegates/" + address,
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/delegates/" + address),
method: 'GET',

@@ -352,3 +377,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/constants",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/constants"),
method: 'GET',

@@ -391,3 +416,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block,
url: this.createURL("/chains/" + this.chain + "/blocks/" + block),
method: 'GET',

@@ -417,3 +442,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/header",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/header"),
method: 'GET',

@@ -443,3 +468,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/metadata",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/metadata"),
method: 'GET',

@@ -471,3 +496,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/baking_rights",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/baking_rights"),
method: 'GET',

@@ -500,3 +525,3 @@ query: args,

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/endorsing_rights",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/endorsing_rights"),
method: 'GET',

@@ -526,3 +551,3 @@ query: args,

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/ballot_list",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/ballot_list"),
method: 'GET',

@@ -552,3 +577,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/ballots",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/ballots"),
method: 'GET',

@@ -578,3 +603,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/current_period_kind",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/current_period_kind"),
method: 'GET',

@@ -604,3 +629,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/current_proposal",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/current_proposal"),
method: 'GET',

@@ -630,3 +655,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/current_quorum",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/current_quorum"),
method: 'GET',

@@ -656,3 +681,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/listings",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/listings"),
method: 'GET',

@@ -682,3 +707,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/proposals",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/proposals"),
method: 'GET',

@@ -707,3 +732,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/forge/operations",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/forge/operations"),
method: 'POST',

@@ -726,3 +751,3 @@ }, data)];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/injection/operation",
url: this.createURL("/injection/operation"),
method: 'POST',

@@ -749,3 +774,3 @@ }, signedOpBytes)];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/preapply/operations",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/preapply/operations"),
method: 'POST',

@@ -777,3 +802,3 @@ }, ops)];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + contract + "/entrypoints",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + contract + "/entrypoints"),
method: 'GET',

@@ -803,3 +828,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/scripts/run_operation",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/scripts/run_operation"),
method: 'POST',

@@ -818,3 +843,3 @@ }, op)];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/chain_id",
url: this.createURL("/chains/" + this.chain + "/chain_id"),
method: 'GET',

@@ -825,2 +850,35 @@ })];

};
/**
*
* @param data Data to pack
* @param options contains generic configuration for rpc calls
*
* @description Computes the serialized version of a data expression using the same algorithm as script instruction PACK
*
* @example packData({ data: { string: "test" }, type: { prim: "string" } })
*
* @see http://tezos.gitlab.io/mainnet/api/rpc.html#post-block-id-helpers-scripts-pack-data
*/
RpcClient.prototype.packData = function (data, _a) {
var block = (_a === void 0 ? defaultRPCOptions : _a).block;
return __awaiter(this, void 0, void 0, function () {
var _b, gas, rest, formattedGas, tryBigNumber;
return __generator(this, function (_c) {
switch (_c.label) {
case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/scripts/pack_data"),
method: 'POST',
}, data)];
case 1:
_b = _c.sent(), gas = _b.gas, rest = __rest(_b, ["gas"]);
formattedGas = gas;
tryBigNumber = new bignumber_js_1.default(gas || '');
if (!tryBigNumber.isNaN()) {
formattedGas = tryBigNumber;
}
return [2 /*return*/, __assign({ gas: formattedGas }, rest)];
}
});
});
};
return RpcClient;

@@ -827,0 +885,0 @@ }());

@@ -137,2 +137,6 @@ import { HttpBackend } from '@taquito/http-utils';

}
RpcClient.prototype.createURL = function (path) {
// Trim trailing slashes because it is assumed to be included in path
return "" + this.url.replace(/\/+$/g, '') + path;
};
/**

@@ -153,3 +157,3 @@ *

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/hash",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/hash"),
method: 'GET',

@@ -180,3 +184,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/balance",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/balance"),
method: 'GET',

@@ -205,3 +209,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/storage",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/storage"),
method: 'GET',

@@ -226,3 +230,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/script",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/script"),
method: 'GET',

@@ -249,3 +253,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address,
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address),
method: 'GET',

@@ -276,3 +280,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager"),
method: 'GET',

@@ -297,3 +301,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager_key",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager_key"),
method: 'GET',

@@ -318,3 +322,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/delegate",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/delegate"),
method: 'GET',

@@ -339,3 +343,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/big_map_get",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/big_map_get"),
method: 'POST',

@@ -348,2 +352,23 @@ }, key)];

*
* @param id Big Map ID
* @param expr Expression hash to query (A b58check encoded Blake2b hash of the expression (The expression can be packed using the pack_data method))
* @param options contains generic configuration for rpc calls
*
* @description Access the value associated with a key in a big map.
*
* @see https://tezos.gitlab.io/mainnet/api/rpc.html#get-block-id-context-big-maps-big-map-id-script-expr
*/
RpcClient.prototype.getBigMapExpr = function (id, expr, _a) {
var block = (_a === void 0 ? defaultRPCOptions : _a).block;
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_b) {
return [2 /*return*/, this.httpBackend.createRequest({
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/big_maps/" + id + "/" + expr),
method: 'GET',
})];
});
});
};
/**
*
* @param address delegate address which we want to retrieve

@@ -363,3 +388,3 @@ * @param options contains generic configuration for rpc calls

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/delegates/" + address,
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/delegates/" + address),
method: 'GET',

@@ -401,3 +426,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/constants",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/constants"),
method: 'GET',

@@ -440,3 +465,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block,
url: this.createURL("/chains/" + this.chain + "/blocks/" + block),
method: 'GET',

@@ -466,3 +491,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/header",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/header"),
method: 'GET',

@@ -492,3 +517,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/metadata",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/metadata"),
method: 'GET',

@@ -520,3 +545,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/baking_rights",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/baking_rights"),
method: 'GET',

@@ -549,3 +574,3 @@ query: args,

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/endorsing_rights",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/endorsing_rights"),
method: 'GET',

@@ -575,3 +600,3 @@ query: args,

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/ballot_list",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/ballot_list"),
method: 'GET',

@@ -601,3 +626,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/ballots",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/ballots"),
method: 'GET',

@@ -627,3 +652,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/current_period_kind",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/current_period_kind"),
method: 'GET',

@@ -653,3 +678,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/current_proposal",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/current_proposal"),
method: 'GET',

@@ -679,3 +704,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/current_quorum",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/current_quorum"),
method: 'GET',

@@ -705,3 +730,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/listings",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/listings"),
method: 'GET',

@@ -731,3 +756,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/proposals",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/proposals"),
method: 'GET',

@@ -756,3 +781,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/forge/operations",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/forge/operations"),
method: 'POST',

@@ -775,3 +800,3 @@ }, data)];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/injection/operation",
url: this.createURL("/injection/operation"),
method: 'POST',

@@ -798,3 +823,3 @@ }, signedOpBytes)];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/preapply/operations",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/preapply/operations"),
method: 'POST',

@@ -826,3 +851,3 @@ }, ops)];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + contract + "/entrypoints",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + contract + "/entrypoints"),
method: 'GET',

@@ -852,3 +877,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/scripts/run_operation",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/scripts/run_operation"),
method: 'POST',

@@ -867,3 +892,3 @@ }, op)];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/chain_id",
url: this.createURL("/chains/" + this.chain + "/chain_id"),
method: 'GET',

@@ -874,2 +899,35 @@ })];

};
/**
*
* @param data Data to pack
* @param options contains generic configuration for rpc calls
*
* @description Computes the serialized version of a data expression using the same algorithm as script instruction PACK
*
* @example packData({ data: { string: "test" }, type: { prim: "string" } })
*
* @see http://tezos.gitlab.io/mainnet/api/rpc.html#post-block-id-helpers-scripts-pack-data
*/
RpcClient.prototype.packData = function (data, _a) {
var block = (_a === void 0 ? defaultRPCOptions : _a).block;
return __awaiter(this, void 0, void 0, function () {
var _b, gas, rest, formattedGas, tryBigNumber;
return __generator(this, function (_c) {
switch (_c.label) {
case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/scripts/pack_data"),
method: 'POST',
}, data)];
case 1:
_b = _c.sent(), gas = _b.gas, rest = __rest(_b, ["gas"]);
formattedGas = gas;
tryBigNumber = new BigNumber(gas || '');
if (!tryBigNumber.isNaN()) {
formattedGas = tryBigNumber;
}
return [2 /*return*/, __assign({ gas: formattedGas }, rest)];
}
});
});
};
return RpcClient;

@@ -876,0 +934,0 @@ }());

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.taquitoRpc = {}, global.httpUtils, global.BigNumber));
}(this, function (exports, httpUtils, BigNumber) { 'use strict';
}(this, (function (exports, httpUtils, BigNumber) { 'use strict';

@@ -143,2 +143,6 @@ BigNumber = BigNumber && BigNumber.hasOwnProperty('default') ? BigNumber['default'] : BigNumber;

}
RpcClient.prototype.createURL = function (path) {
// Trim trailing slashes because it is assumed to be included in path
return "" + this.url.replace(/\/+$/g, '') + path;
};
/**

@@ -159,3 +163,3 @@ *

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/hash",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/hash"),
method: 'GET',

@@ -186,3 +190,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/balance",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/balance"),
method: 'GET',

@@ -211,3 +215,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/storage",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/storage"),
method: 'GET',

@@ -232,3 +236,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/script",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/script"),
method: 'GET',

@@ -255,3 +259,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address,
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address),
method: 'GET',

@@ -282,3 +286,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager"),
method: 'GET',

@@ -303,3 +307,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager_key",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/manager_key"),
method: 'GET',

@@ -324,3 +328,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/delegate",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/delegate"),
method: 'GET',

@@ -345,3 +349,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/big_map_get",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + address + "/big_map_get"),
method: 'POST',

@@ -354,2 +358,23 @@ }, key)];

*
* @param id Big Map ID
* @param expr Expression hash to query (A b58check encoded Blake2b hash of the expression (The expression can be packed using the pack_data method))
* @param options contains generic configuration for rpc calls
*
* @description Access the value associated with a key in a big map.
*
* @see https://tezos.gitlab.io/mainnet/api/rpc.html#get-block-id-context-big-maps-big-map-id-script-expr
*/
RpcClient.prototype.getBigMapExpr = function (id, expr, _a) {
var block = (_a === void 0 ? defaultRPCOptions : _a).block;
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_b) {
return [2 /*return*/, this.httpBackend.createRequest({
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/big_maps/" + id + "/" + expr),
method: 'GET',
})];
});
});
};
/**
*
* @param address delegate address which we want to retrieve

@@ -369,3 +394,3 @@ * @param options contains generic configuration for rpc calls

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/delegates/" + address,
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/delegates/" + address),
method: 'GET',

@@ -407,3 +432,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/constants",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/constants"),
method: 'GET',

@@ -446,3 +471,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block,
url: this.createURL("/chains/" + this.chain + "/blocks/" + block),
method: 'GET',

@@ -472,3 +497,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/header",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/header"),
method: 'GET',

@@ -498,3 +523,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/metadata",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/metadata"),
method: 'GET',

@@ -526,3 +551,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/baking_rights",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/baking_rights"),
method: 'GET',

@@ -555,3 +580,3 @@ query: args,

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/endorsing_rights",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/endorsing_rights"),
method: 'GET',

@@ -581,3 +606,3 @@ query: args,

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/ballot_list",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/ballot_list"),
method: 'GET',

@@ -607,3 +632,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/ballots",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/ballots"),
method: 'GET',

@@ -633,3 +658,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/current_period_kind",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/current_period_kind"),
method: 'GET',

@@ -659,3 +684,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/current_proposal",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/current_proposal"),
method: 'GET',

@@ -685,3 +710,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/current_quorum",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/current_quorum"),
method: 'GET',

@@ -711,3 +736,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/listings",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/listings"),
method: 'GET',

@@ -737,3 +762,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/votes/proposals",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/votes/proposals"),
method: 'GET',

@@ -762,3 +787,3 @@ })];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/forge/operations",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/forge/operations"),
method: 'POST',

@@ -781,3 +806,3 @@ }, data)];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/injection/operation",
url: this.createURL("/injection/operation"),
method: 'POST',

@@ -804,3 +829,3 @@ }, signedOpBytes)];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/preapply/operations",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/preapply/operations"),
method: 'POST',

@@ -832,3 +857,3 @@ }, ops)];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + contract + "/entrypoints",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/context/contracts/" + contract + "/entrypoints"),
method: 'GET',

@@ -858,3 +883,3 @@ })];

case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/blocks/" + block + "/helpers/scripts/run_operation",
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/scripts/run_operation"),
method: 'POST',

@@ -873,3 +898,3 @@ }, op)];

return [2 /*return*/, this.httpBackend.createRequest({
url: this.url + "/chains/" + this.chain + "/chain_id",
url: this.createURL("/chains/" + this.chain + "/chain_id"),
method: 'GET',

@@ -880,2 +905,35 @@ })];

};
/**
*
* @param data Data to pack
* @param options contains generic configuration for rpc calls
*
* @description Computes the serialized version of a data expression using the same algorithm as script instruction PACK
*
* @example packData({ data: { string: "test" }, type: { prim: "string" } })
*
* @see http://tezos.gitlab.io/mainnet/api/rpc.html#post-block-id-helpers-scripts-pack-data
*/
RpcClient.prototype.packData = function (data, _a) {
var block = (_a === void 0 ? defaultRPCOptions : _a).block;
return __awaiter(this, void 0, void 0, function () {
var _b, gas, rest, formattedGas, tryBigNumber;
return __generator(this, function (_c) {
switch (_c.label) {
case 0: return [4 /*yield*/, this.httpBackend.createRequest({
url: this.createURL("/chains/" + this.chain + "/blocks/" + block + "/helpers/scripts/pack_data"),
method: 'POST',
}, data)];
case 1:
_b = _c.sent(), gas = _b.gas, rest = __rest(_b, ["gas"]);
formattedGas = gas;
tryBigNumber = new BigNumber(gas || '');
if (!tryBigNumber.isNaN()) {
formattedGas = tryBigNumber;
}
return [2 /*return*/, __assign({ gas: formattedGas }, rest)];
}
});
});
};
return RpcClient;

@@ -888,3 +946,3 @@ }());

}));
})));
//# sourceMappingURL=taquito-rpc.umd.js.map
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, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, ManagerResponse, OperationHash, PeriodKindResponse, PreapplyParams, PreapplyResponse, ProposalsResponse, RPCRunOperationParam, ScriptResponse, StorageResponse, VotesListingsResponse } from './types';
import BigNumber from 'bignumber.js';
import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, BallotListResponse, BallotsResponse, BigMapGetResponse, BigMapKey, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, EndorsingRightsQueryArguments, EndorsingRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, ManagerResponse, OperationHash, PackDataParams, PeriodKindResponse, PreapplyParams, PreapplyResponse, ProposalsResponse, RPCRunOperationParam, ScriptResponse, StorageResponse, VotesListingsResponse } from './types';
export * from './types';

@@ -25,2 +26,3 @@ export * from './types.common';

constructor(url?: string, chain?: string, httpBackend?: HttpBackend);
private createURL;
/**

@@ -133,2 +135,15 @@ *

*
* @param id Big Map ID
* @param expr Expression hash to query (A b58check encoded Blake2b hash of the expression (The expression can be packed using the pack_data method))
* @param options contains generic configuration for rpc calls
*
* @description Access the value associated with a key in a big map.
*
* @see https://tezos.gitlab.io/mainnet/api/rpc.html#get-block-id-context-big-maps-big-map-id-script-expr
*/
getBigMapExpr(id: string, expr: string, { block }?: {
block: string;
}): Promise<BigMapResponse>;
/**
*
* @param address delegate address which we want to retrieve

@@ -312,2 +327,17 @@ * @param options contains generic configuration for rpc calls

getChainId(): Promise<string>;
/**
*
* @param data Data to pack
* @param options contains generic configuration for rpc calls
*
* @description Computes the serialized version of a data expression using the same algorithm as script instruction PACK
*
* @example packData({ data: { string: "test" }, type: { prim: "string" } })
*
* @see http://tezos.gitlab.io/mainnet/api/rpc.html#post-block-id-helpers-scripts-pack-data
*/
packData(data: PackDataParams, { block }?: RPCOptions): Promise<{
packed: string;
gas: BigNumber | "unaccounted" | undefined;
}>;
}

@@ -353,2 +353,13 @@ import BigNumber from 'bignumber.js';

}
export interface PackDataParams {
data: MichelsonV1Expression;
type: MichelsonV1Expression;
gas?: BigNumber;
}
export declare type HexString = string;
export interface PackDataResponse {
packed: HexString;
gas?: BigNumber | 'unaccounted';
}
export declare type BigMapResponse = MichelsonV1Expression | MichelsonV1Expression[];
export declare type PreapplyParams = OperationObject[];

@@ -355,0 +366,0 @@ export declare type PreapplyResponse = {

{
"name": "@taquito/rpc",
"version": "5.0.1-beta.2",
"version": "5.1.0-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.2",
"@taquito/http-utils": "^5.1.0-beta.1",
"bignumber.js": "^9.0.0",

@@ -101,3 +101,3 @@ "lodash": "^4.17.15"

},
"gitHead": "e09eb813afa12fae51ae3a43e0dc04641c457979"
"gitHead": "eacdf7b79577ed401c726286a782c579ec52c3d2"
}

@@ -9,11 +9,11 @@ {

"path": "dist/taquito-rpc.es5.js",
"sha512": "44d9b338d178bd1b9ee317dc0008eafb014448c5e5c27c6ef779a88ce29cf8fa0fec3bf25566e434d122969acb2432a4fca9783732acb9f4308d71258c1d4962"
"sha512": "feeea71de624de47957aa7deba9cfe518103d0cdae8706ad52bb1adfdf55e00d9167cd4c4a0b16dc04f4811468471bf6f9d2abdc61c4273ad38471e763ff2854"
},
{
"path": "dist/lib/taquito-rpc.js",
"sha512": "2deb7e0706fa372e8ead46b2c6db6e8353ef5c0ca51e168160466522eecf3ff371c8c891d715112af71c985d257c1055745f8dc870888909e478b36f8542dfe0"
"sha512": "9358a1312df89f4116cef354cb14bc07d7f873dd0b9d7c7b2857ffb8977abbc2dc0c2d653bfc0c35caa8158ad7a1702cafd1073aefbbcaf380202d37179773d8"
},
{
"path": "dist/taquito-rpc.umd.js",
"sha512": "9af4a3ce156a87fdfb945c9f5a2447c30020137caa77e5b79ff963fb812fcc265d64d7fc2ad4c9a6aedc4df3f5706030e5637f306df8c1afe68b5c7b5432f042"
"sha512": "8f892e5a0f0444c8a383a548421f0d5db73dfe702f5e723a21ef95d114124354dc4fd56624ddde049c1adb42594652df2bae78d175e55e7ab3873829007ad63b"
},

@@ -42,11 +42,11 @@ {

"path": "dist/taquito-rpc.es5.js.map",
"sha512": "942b3426b5dd76dadb0969769a1608824808323acb5b4629baf18fbf7b2d30ad4470b6d482679eeb2383bcfaf249aa767aa9bfe8776cfd722aad9c7c628de8ba"
"sha512": "c71d1054e8cd32ec8e97894e8e1318b58e1d3add6aa73dced176be2840787179d7c4dc3cbef3d15eae029ad0c13d6ed35f4fe045d23dd5f8a045f2381667236b"
},
{
"path": "dist/lib/taquito-rpc.js.map",
"sha512": "7c90a853f8627e6ca231253b64812fe1cf182d1bb6cac381809be2727e1abb013f559c48c23df9040906e6636709b254ba2b2e3147adb3d47851a765a67dba9a"
"sha512": "93c9519d3377d7329d65acf96158acc7f401bf450944ca615c6821e4e1a626e99b16c0e5882d651b95862619a3d68c17bed4f9d4f1676ec0c1f2023e08a8305f"
},
{
"path": "dist/taquito-rpc.umd.js.map",
"sha512": "927fd86d2dd043409457a4561b7648ac4223125baa20a50e51e68c82f1f0c7137b990f91485891fad042e86ba55e213130edac7098bf6086afffa671fbd03923"
"sha512": "691e48bd343f6e18eb9f3111245062d8f7ff7b99a3f4874873da396b311e1a160243ead320f481fc9261ec5def1b148046e9587ea170740216fd9d52f6dc320d"
},

@@ -79,3 +79,3 @@ {

"path": "dist/types/taquito-rpc.d.ts",
"sha512": "18d5b19ccc2356d69a1959a88ef09039ac7cf314f4a149a4be55958ee995582ba3a9d8163f24e157747b416bcf7c26fadcabbe4e5797f48246b9ec23aea487bd"
"sha512": "e73d92cad4d3f23984463f2789f9137a0b27c1a5ae853bb60b2a4037b7c238cde83b6691d8b6f59cbb836effdd7e570035abb51175d9e39d5d8a6f51f8d5bd2e"
},

@@ -96,3 +96,3 @@ {

"path": "dist/types/types.d.ts",
"sha512": "a19339f8bd5137b42eee1095d2cdc0f461dacd0191168391e151fd1eb052a7883026899f6b3d9bc479c1a96dceb3720afb7187bd6f40d66780635b3a5a4142fd"
"sha512": "0ae413a4c190fe52e10953da17cd106d815871f032e8cbb82a10786bfda31870a9dfec2ebc847ce5bcf460e864296dea11b1c9350198ad537921225ef149b2af"
},

@@ -137,3 +137,3 @@ {

],
"sha512": "5f96296a059e2efd4f033ec6754c0f1d4a1b779063234fe545f6fda5790e9d243e2e51187d41e4db7a979038fd0f585e78aa3f87e813070533dcfa9dfa550269"
"sha512": "c9d3a6d4b86a351b077fa59ab42a29074daa8baf13d76e28382071bbde77d410f0ab3aeaf35894914c818a7bbfc6cd8f2c5d1de9ee713752f25e28b6e9a0f03d"
}

@@ -146,3 +146,3 @@ },

"name": "@taquito/rpc",
"version": "5.0.1-beta.2",
"version": "5.1.0-beta.1",
"description": "Provides low level methods, and types to invoke RPC calls from a Nomadic Tezos RPC node",

@@ -213,3 +213,3 @@ "keywords": [

"dependencies": {
"@taquito/http-utils": "^5.0.1-beta.2",
"@taquito/http-utils": "^5.1.0-beta.1",
"bignumber.js": "^9.0.0",

@@ -249,3 +249,3 @@ "lodash": "^4.17.15"

],
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJdphLgCRAD9Qy5GYHsngAAHggQAIYx/u3VCDoaTvvgm/iX9jB9\n1o+6Vl9haQpC3jv9s+hVB0JwnA9IADOmbOO5YpqG9bcxM2oCveZFW0kmaf8yceWm\na5Qwq+duMr6FLJY/VqTY19NmgUCGXIPSLwbd9OXzo2Ng/MCNHzikAzcFZfIyOtU+\nzqL4GE7uQcD5dZGJk/6dawVqU1UaIqnRigV7T4erpL4u5QDgcg6eBL6WyDEfYc4O\n0+k2l6fOPQ0mN/417s88yLMx7soxSQvOHjaTWUzqve2jMu0NtTCpp6eIB6EPJEqJ\nYxH9GFKZPVk5lw6wbXHb3flRKYbJWMJOZ+c7CSPpE0bm1bNj8fvuFqQFnK6sceyU\nwhCb8WeNn/JD5Clz/ulMaCnPtKo41PzL15ZMXtTRjEA57toTN5Dg7D/xbLyPNOEj\nELOkN1itodVq4YzU/WRv3TIj/kGFPWkM7kmaszUcWceJV9dLhCZFdZEVHi4H6QJZ\nGw0lre71xNG88WEGsutpwQ9iq+uwLvuP1GMARVzcWdXdHMo2ry+YCh55+gKNEBQy\n5xEb5wrIqVz8M+CgvUlitziuUCYCZs3yUZB7AvrUdO7MfZarb9s9b7tYqIMRqBDV\n0MyomnhDS/SICUI/wX8Dq5kCAEQmKCJmzCE86MPFnOMRBdeaDomm4/QN80+xNCOi\nUqNNOb25zGTI+gcExQvg\n=d4UJ\n-----END PGP SIGNATURE-----\n"
"signature": "-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJdsz2fCRAD9Qy5GYHsngAAWtYQAIU85KZworfx6y75qUBgSe7o\n6GYK5H84iDaB0g3i7zHCRCIwxyZvOU3T7rStjK2yytn3163IIUnOUMvYmnplQdV8\n0K2+PBypJ298nE4GNhtPmL3iRAUeuGDbiiVVCv25Qcylm+5WfN4XN1KW6mT3LHXZ\n8okkwJAl0KXHPtZmLnHYOKukN+rNsh6TSMO323A+QCVxTMvgXOTV6nHSkWbY9iGG\necEeMEZsSk6L+wtAxmrwqdAWFGxIjGeckzXPru8HlVV2l5yFTd8/AMHsOhlX9uWr\nNMiX1+Sk+lFk0THK9wIGA+BqN9mpKRnCeft1quFfiZw0XuXh8Wu5wggppa3zQtF2\nQDEJm3VoCl4MTifZ094JpNmh3cZ3+hs+ElYALB8sO+iOGH2psslRRGzc9aKXs6tr\niTQN8rrNrUenAqvBQ4taCcYRkXo3Cl2fIleSy03+uvOKg1R+AhPLor9avg8rtzdl\n3wWfgh3YJFejGWMYus981rnacNpZdX2kFiLudrYKhtNCTl1CY4pk73CPXZCfJm1X\nntDpJzsh8jVH73c9d/SuhOniwjXGhJkOteQ03VDpBBTEiZZ2vgN3ERn8Sf02Paud\nLzh7XeI2TS8VoBulSMbseK1dQHyXIjL7JgMjWY8Jumda1A1i6OrhznmXDKuVjolp\nTXkO+jaUUtLDsN9zSFDC\n=Rjrl\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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc