New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@taquito/taquito

Package Overview
Dependencies
Maintainers
2
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taquito/taquito - npm Package Compare versions

Comparing version 7.2.0-alpha.2 to 8.0.0-alpha.0

6

dist/lib/constants.js

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

Protocols["PsDELPH1"] = "PsDELPH1Kxsxt8f9eWbxQeRxkjfbxoqM52jvs5Y5fBxWWh4ifpo";
Protocols["PtEdoTez"] = "PtEdoTezd3RHSC31mpxxo1npxFjoWWcFgQtxapi51Z8TLu6v6Uq";
})(Protocols = exports.Protocols || (exports.Protocols = {}));

@@ -38,3 +39,4 @@ exports.protocols = {

'006': [Protocols.PsCARTHA],
'007': [Protocols.PsDELPH1]
'007': [Protocols.PsDELPH1],
'008': [Protocols.PtEdoTez] // edonet
};

@@ -46,2 +48,3 @@ var DefaultLambdaAddresses;

DefaultLambdaAddresses["DELPHINET"] = "KT19abMFs3haqyKYwqdLjK9GbtofryZLvpiK";
DefaultLambdaAddresses["EDONET"] = "KT198LTgMryZh2T7eCDqTVQsSQHTH2MxsGLv";
})(DefaultLambdaAddresses = exports.DefaultLambdaAddresses || (exports.DefaultLambdaAddresses = {}));

@@ -53,3 +56,4 @@ var ChainIds;

ChainIds["DELPHINET"] = "NetXm8tYqnMWky1";
ChainIds["EDONET"] = "NetXSp4gfdanies";
})(ChainIds = exports.ChainIds || (exports.ChainIds = {}));
//# sourceMappingURL=constants.js.map

@@ -176,2 +176,5 @@ "use strict";

}
else if (this.chainId === constants_1.ChainIds.EDONET) {
lambdaAddress = constants_1.DefaultLambdaAddresses.EDONET;
}
else if (this.chainId === constants_1.ChainIds.MAINNET) {

@@ -178,0 +181,0 @@ lambdaAddress = constants_1.DefaultLambdaAddresses.MAINNET;

8

dist/lib/contract/rpc-contract-provider.js

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

};
RpcContractProvider.prototype.at = function (address, contractAbstractionComposer) {
if (contractAbstractionComposer === void 0) { contractAbstractionComposer = function (x) { return x; }; }
RpcContractProvider.prototype.at = function (address) {
return __awaiter(this, void 0, void 0, function () {
var script, entrypoints, blockHeader, chainId, abs;
var script, entrypoints, blockHeader, chainId;
return __generator(this, function (_a) {

@@ -357,4 +356,3 @@ switch (_a.label) {

chainId = blockHeader.chain_id;
abs = new contract_1.ContractAbstraction(address, script, this, this, entrypoints, chainId);
return [2 /*return*/, contractAbstractionComposer(abs, this.context)];
return [2 /*return*/, new contract_1.ContractAbstraction(address, script, this, this, entrypoints, chainId)];
}

@@ -361,0 +359,0 @@ });

@@ -269,12 +269,2 @@ "use strict";

});
/**
* @description Allow to add a module to the TezosToolkit instance. This method adds the appropriate Providers(s) required by the module to the internal context.
*
* @param module extension to add to the TezosToolkit instance
*
* @example Tezos.addExtension(new Tzip16Module());
*/
TezosToolkit.prototype.addExtension = function (module) {
module.configureContext(this._context);
};
TezosToolkit.prototype.getFactory = function (ctor) {

@@ -281,0 +271,0 @@ var _this = this;

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

*/
Wallet.prototype.at = function (address, contractAbstractionComposer) {
if (contractAbstractionComposer === void 0) { contractAbstractionComposer = function (x) { return x; }; }
Wallet.prototype.at = function (address) {
return __awaiter(this, void 0, void 0, function () {
var script, entrypoints, blockHeader, chainId, abs;
var script, entrypoints, blockHeader, chainId;
return __generator(this, function (_a) {

@@ -394,4 +393,3 @@ switch (_a.label) {

chainId = blockHeader.chain_id;
abs = new contract_1.ContractAbstraction(address, script, this, this.context.contract, entrypoints, chainId);
return [2 /*return*/, contractAbstractionComposer(abs, this.context)];
return [2 /*return*/, new contract_1.ContractAbstraction(address, script, this, this.context.contract, entrypoints, chainId)];
}

@@ -398,0 +396,0 @@ });

@@ -24,3 +24,4 @@ export declare enum DEFAULT_GAS_LIMIT {

PsCARTHA = "PsCARTHAGazKbHtnKfLzQg3kms52kSRpgnDY982a9oYsSXRLQEb",
PsDELPH1 = "PsDELPH1Kxsxt8f9eWbxQeRxkjfbxoqM52jvs5Y5fBxWWh4ifpo"
PsDELPH1 = "PsDELPH1Kxsxt8f9eWbxQeRxkjfbxoqM52jvs5Y5fBxWWh4ifpo",
PtEdoTez = "PtEdoTezd3RHSC31mpxxo1npxFjoWWcFgQtxapi51Z8TLu6v6Uq"
}

@@ -32,2 +33,3 @@ export declare const protocols: {

'007': Protocols[];
'008': Protocols[];
};

@@ -37,3 +39,4 @@ export declare enum DefaultLambdaAddresses {

CARTHAGENET = "KT1VAy1o1FGiXYfD3YT7x7k5eF5HSHhmc1u6",
DELPHINET = "KT19abMFs3haqyKYwqdLjK9GbtofryZLvpiK"
DELPHINET = "KT19abMFs3haqyKYwqdLjK9GbtofryZLvpiK",
EDONET = "KT198LTgMryZh2T7eCDqTVQsSQHTH2MxsGLv"
}

@@ -43,3 +46,4 @@ export declare enum ChainIds {

CARTHAGENET = "NetXjD3HPJJjmcd",
DELPHINET = "NetXm8tYqnMWky1"
DELPHINET = "NetXm8tYqnMWky1",
EDONET = "NetXSp4gfdanies"
}

@@ -9,5 +9,5 @@ import { Schema } from '@taquito/michelson-encoder';

constructor(id: BigNumber, schema: Schema, provider: ContractProvider);
get<T>(keyToEncode: string): Promise<T | undefined>;
get(keyToEncode: string): Promise<unknown>;
toJSON(): string;
toString(): string;
}

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

private args;
constructor(currentContract: ContractAbstraction<ContractProvider | Wallet>, provider: ContractProvider, name: string, chainId: string, callbackParametersSchema: ParameterSchema, parameterSchema: ParameterSchema, args: any[]);
constructor(currentContract: ContractAbstraction<ContractProvider | Wallet>, provider: ContractProvider | Wallet, name: string, chainId: string, callbackParametersSchema: ParameterSchema, parameterSchema: ParameterSchema, args: any[]);
/**

@@ -60,0 +60,0 @@ *

import { Schema } from '@taquito/michelson-encoder';
import { Context } from '../context';
import { DelegateOperation } from '../operations/delegate-operation';

@@ -122,3 +121,3 @@ import { OriginationOperation } from '../operations/origination-operation';

transfer(params: TransferParams): Promise<TransactionOperation>;
at<T extends ContractAbstraction<ContractProvider>>(address: string, contractAbstractionComposer?: (abs: ContractAbstraction<ContractProvider>, context: Context) => T): Promise<T>;
at(address: string, schema?: ContractSchema): Promise<ContractAbstraction<ContractProvider>>;
}

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

transfer(params: TransferParams): Promise<TransactionOperation>;
at<T extends ContractAbstraction<ContractProvider>>(address: string, contractAbstractionComposer?: ContractAbstractionComposer<T>): Promise<T>;
at(address: string): Promise<ContractAbstraction<ContractProvider>>;
}
declare type ContractAbstractionComposer<T> = (abs: ContractAbstraction<ContractProvider>, context: Context) => T;
export {};

@@ -6,3 +6,2 @@ import { RpcClient } from '@taquito/rpc';

import { ContractProvider, EstimationProvider } from './contract/interface';
import { Extension } from './extension/extension';
import { Forger } from './forger/interface';

@@ -32,3 +31,2 @@ import { format } from './format';

export * from './wallet';
export { Extension } from './extension/extension';
export interface SetProviderOptions {

@@ -139,11 +137,3 @@ forger?: Forger;

get signer(): Signer;
/**
* @description Allow to add a module to the TezosToolkit instance. This method adds the appropriate Providers(s) required by the module to the internal context.
*
* @param module extension to add to the TezosToolkit instance
*
* @example Tezos.addExtension(new Tzip16Module());
*/
addExtension(module: Extension): void;
getFactory<T, K extends Array<any>>(ctor: TaquitoProvider<T, K>): (...args: K) => T;
}

@@ -12,3 +12,3 @@ import { BlockResponse, OperationContentsAndResultOrigination, OperationContentsAndResultReveal } from '@taquito/rpc';

status(): Promise<OperationStatus>;
contract(): Promise<import("../contract").ContractAbstraction<import("./wallet").Wallet>>;
contract(): Promise<import("../contract").WalletContract>;
}
import { Context } from '../context';
import { ContractAbstraction, ContractMethod } from '../contract';
import { ContractMethod, WalletContract } from '../contract';
import { OpKind, withKind } from '../operations/types';

@@ -130,3 +130,3 @@ import { WalletDelegateParams, WalletOriginateParams, WalletProvider, WalletTransferParams } from './interface';

*/
at<T extends ContractAbstraction<Wallet>>(address: string, contractAbstractionComposer?: (abs: ContractAbstraction<Wallet>, context: Context) => T): Promise<T>;
at(address: string): Promise<WalletContract>;
}
{
"name": "@taquito/taquito",
"version": "7.2.0-alpha.2",
"version": "8.0.0-alpha.0",
"description": "High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.",

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

"dependencies": {
"@taquito/http-utils": "^7.2.0-alpha.2",
"@taquito/michel-codec": "^7.2.0-alpha.2",
"@taquito/michelson-encoder": "^7.2.0-alpha.2",
"@taquito/rpc": "^7.2.0-alpha.2",
"@taquito/utils": "^7.2.0-alpha.2",
"@taquito/http-utils": "^8.0.0-alpha.0",
"@taquito/michel-codec": "^8.0.0-alpha.0",
"@taquito/michelson-encoder": "^8.0.0-alpha.0",
"@taquito/rpc": "^8.0.0-alpha.0",
"@taquito/utils": "^8.0.0-alpha.0",
"bignumber.js": "^9.0.1",

@@ -122,3 +122,3 @@ "rx-sandbox": "^1.0.3",

},
"gitHead": "7e489e173f6f41fff13281646698584e89caa55a"
"gitHead": "66f5a4487644cf9e57d153b35ec535250e6b82b6"
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc