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

@taquito/rpc

Package Overview
Dependencies
Maintainers
4
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 16.1.2 to 16.2.0-beta-RC.0

19

dist/lib/rpc-client-modules/rpc-cache.js

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

const rpc_client_interface_2 = require("../rpc-client-interface");
const core_1 = require("@taquito/core");
const utils_1 = require("@taquito/utils");

@@ -87,9 +88,11 @@ const defaultTtl = 1000;

validateAddress(address) {
if (utils_1.validateAddress(address) !== utils_1.ValidationResult.VALID) {
throw new utils_1.InvalidAddressError(address);
const addressValidation = utils_1.validateAddress(address);
if (addressValidation !== utils_1.ValidationResult.VALID) {
throw new core_1.InvalidAddressError(address, utils_1.invalidErrorDetail(addressValidation));
}
}
validateContract(address) {
if (utils_1.validateContractAddress(address) !== utils_1.ValidationResult.VALID) {
throw new utils_1.InvalidContractAddressError(address);
const addressValidation = utils_1.validateContractAddress(address);
if (addressValidation !== utils_1.ValidationResult.VALID) {
throw new core_1.InvalidContractAddressError(address, utils_1.invalidErrorDetail(addressValidation));
}

@@ -173,3 +176,3 @@ }

* @param options contains generic configuration for rpc calls
*
* @throws {@link InvalidContractAddressError}
* @description Access the data of the contract.

@@ -200,3 +203,3 @@ *

* @param options contains generic configuration for rpc calls
*
* @throws {@link InvalidContractAddressError}
* @description Access the code and data of the contract.

@@ -228,3 +231,3 @@ *

* @param options contains generic configuration for rpc calls
*
* @throws {@link InvalidContractAddressError}
* @description Access the script of the contract and normalize it using the requested unparsing mode.

@@ -748,3 +751,3 @@ *

* @description Return the list of entrypoints of the contract
*
* @throws {@link InvalidContractAddressError}
* @see https://tezos.gitlab.io/api/rpc.html#get-block-id-context-contracts-contract-id-entrypoints

@@ -751,0 +754,0 @@ *

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

const utils_2 = require("@taquito/utils");
const core_1 = require("@taquito/core");
var utils_3 = require("./utils/utils");

@@ -79,9 +80,11 @@ Object.defineProperty(exports, "castToBigNumber", { enumerable: true, get: function () { return utils_3.castToBigNumber; } });

validateAddress(address) {
if (utils_2.validateAddress(address) !== utils_2.ValidationResult.VALID) {
throw new utils_2.InvalidAddressError(address);
const addressValidation = utils_2.validateAddress(address);
if (addressValidation !== utils_2.ValidationResult.VALID) {
throw new core_1.InvalidAddressError(address, utils_2.invalidErrorDetail(addressValidation));
}
}
validateContract(address) {
if (utils_2.validateContractAddress(address) !== utils_2.ValidationResult.VALID) {
throw new utils_2.InvalidAddressError(address);
const addressValidation = utils_2.validateContractAddress(address);
if (addressValidation !== utils_2.ValidationResult.VALID) {
throw new core_1.InvalidContractAddressError(address, utils_2.invalidErrorDetail(addressValidation));
}

@@ -88,0 +91,0 @@ }

@@ -6,5 +6,5 @@ "use strict";

exports.VERSION = {
"commitHash": "bcc2118ddfafc1995fd125cd74d198fda042bf48",
"version": "16.1.2"
"commitHash": "babcbaf464fd3571a3b88cf7023fefe87809d86d",
"version": "16.2.0-beta-RC.0"
};
//# sourceMappingURL=version.js.map

@@ -70,3 +70,3 @@ import BigNumber from 'bignumber.js';

* @param options contains generic configuration for rpc calls
*
* @throws {@link InvalidContractAddressError}
* @description Access the data of the contract.

@@ -83,3 +83,3 @@ *

* @param options contains generic configuration for rpc calls
*
* @throws {@link InvalidContractAddressError}
* @description Access the code and data of the contract.

@@ -97,3 +97,3 @@ *

* @param options contains generic configuration for rpc calls
*
* @throws {@link InvalidContractAddressError}
* @description Access the script of the contract and normalize it using the requested unparsing mode.

@@ -338,3 +338,3 @@ *

* @description Return the list of entrypoints of the contract
*
* @throws {@link InvalidContractAddressError}
* @see https://tezos.gitlab.io/api/rpc.html#get-block-id-context-contracts-contract-id-entrypoints

@@ -341,0 +341,0 @@ *

{
"name": "@taquito/rpc",
"version": "16.1.2",
"version": "16.2.0-beta-RC.0",
"description": "Provides low level methods, and types to invoke RPC calls from a Nomadic Tezos RPC node",

@@ -70,4 +70,5 @@ "keywords": [

"dependencies": {
"@taquito/http-utils": "^16.1.2",
"@taquito/utils": "^16.1.2",
"@taquito/core": "^16.2.0-beta-RC.0",
"@taquito/http-utils": "^16.2.0-beta-RC.0",
"@taquito/utils": "^16.2.0-beta-RC.0",
"bignumber.js": "^9.1.0"

@@ -103,3 +104,3 @@ },

},
"gitHead": "f44e0fa20e017142543cf0ad49fc8220021f6d1c"
"gitHead": "a909a1e61a626eb5a2e9ad269a80a96aceff4e28"
}

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

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

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