Socket
Socket
Sign inDemoInstall

@tezos-domains/taquito

Package Overview
Dependencies
80
Maintainers
2
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.2.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [1.2.0](https://gitlab.com/tezos-domains/client/compare/v1.1.0...v1.2.0) (2021-05-12)
### Features
* specify storage limit for operations ([e185915](https://gitlab.com/tezos-domains/client/commit/e1859151ba6272fa9e21075950e01d2d1b757989))
# [1.1.0](https://gitlab.com/tezos-domains/client/compare/v1.0.0...v1.1.0) (2021-04-27)

@@ -8,0 +19,0 @@

5

dist/src/client/client.d.ts

@@ -12,3 +12,6 @@ import { TezosToolkit, BigMapAbstraction, TransactionWalletOperation, WalletTransferParams, WalletOperation } from '@taquito/taquito';

call(params: WalletTransferParams): Promise<TransactionWalletOperation>;
params(contractAddress: string, method: string, parameters: any[], amount?: number): Promise<WalletTransferParams>;
params(contractAddress: string, method: string, parameters: any[], transferParams?: {
storageLimit?: number;
amount?: number;
}): Promise<WalletTransferParams>;
batch(transactionParams: WalletTransferParams[]): Promise<WalletOperation>;

@@ -15,0 +18,0 @@ getPkh(): Promise<string>;

6

dist/taquito.es2015.js

@@ -72,7 +72,7 @@ import { OpKind } from '@taquito/rpc';

}
params(contractAddress, method, parameters, amount) {
params(contractAddress, method, parameters, transferParams) {
return __awaiter(this, void 0, void 0, function* () {
this.tracer.trace(`=> Preparing call for entrypoint '${method}' at '${contractAddress}' with parameters '${JSON.stringify(parameters)}' and amount '${amount ? amount.toString() : 'N/A'}.'`);
this.tracer.trace(`=> Preparing call for entrypoint '${method}' at '${contractAddress}' with parameters '${JSON.stringify(parameters)}' and params '${JSON.stringify(transferParams)}.'`);
const contract = yield this.tezos.wallet.at(contractAddress);
const params = contract.methods[method](...parameters).toTransferParams({ amount, mutez: true });
const params = contract.methods[method](...parameters).toTransferParams(Object.assign(Object.assign({}, (transferParams || {})), { mutez: true }));
this.tracer.trace('<= Prepared params.', params);

@@ -79,0 +79,0 @@ return params;

@@ -76,7 +76,7 @@ (function (global, factory) {

}
params(contractAddress, method, parameters, amount) {
params(contractAddress, method, parameters, transferParams) {
return __awaiter(this, void 0, void 0, function* () {
this.tracer.trace(`=> Preparing call for entrypoint '${method}' at '${contractAddress}' with parameters '${JSON.stringify(parameters)}' and amount '${amount ? amount.toString() : 'N/A'}.'`);
this.tracer.trace(`=> Preparing call for entrypoint '${method}' at '${contractAddress}' with parameters '${JSON.stringify(parameters)}' and params '${JSON.stringify(transferParams)}.'`);
const contract = yield this.tezos.wallet.at(contractAddress);
const params = contract.methods[method](...parameters).toTransferParams({ amount, mutez: true });
const params = contract.methods[method](...parameters).toTransferParams(Object.assign(Object.assign({}, (transferParams || {})), { mutez: true }));
this.tracer.trace('<= Prepared params.', params);

@@ -83,0 +83,0 @@ return params;

@@ -12,3 +12,3 @@ {

],
"version": "1.1.0",
"version": "1.2.0",
"description": "A library for interacting with tezos blockchain using taquito.",

@@ -33,3 +33,3 @@ "author": "Necroskillz <necroskillz@gmail.com>",

"dependencies": {
"@tezos-domains/core": "^1.1.0",
"@tezos-domains/core": "^1.2.0",
"bignumber.js": "^9.0.1",

@@ -59,3 +59,3 @@ "node-cache": "^5.1.2"

},
"gitHead": "cc7a35055936f619a3d1fa4091185b52f641b11d"
"gitHead": "1ce6e680f76878a924290e05054a2f7300b1e447"
}

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc