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

@taquito/contracts-library

Package Overview
Dependencies
Maintainers
0
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taquito/contracts-library - npm Package Compare versions

Comparing version 20.0.2-beta.1 to 20.0.2-beta.2

200

dist/lib/rpc-wrapper.js

@@ -35,4 +35,4 @@ "use strict";

}
getContract(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getContract(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
const contractData = this.contractslibrary.getContract(address);

@@ -47,4 +47,4 @@ if (contractData) {

}
getEntrypoints(contract, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getEntrypoints(contract_1) {
return __awaiter(this, arguments, void 0, function* (contract, { block } = rpc_1.defaultRPCOptions) {
const contractData = this.contractslibrary.getContract(contract);

@@ -59,154 +59,154 @@ if (contractData) {

}
getBalance(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getBalance(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getBalance(address, { block });
});
}
getFullBalance(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getFullBalance(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getFullBalance(address, { block });
});
}
getStakedBalance(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getStakedBalance(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getStakedBalance(address, { block });
});
}
getUnstakedFinalizableBalance(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getUnstakedFinalizableBalance(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getUnstakedFinalizableBalance(address, { block });
});
}
getUnstakedFrozenBalance(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getUnstakedFrozenBalance(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getUnstakedFrozenBalance(address, { block });
});
}
getUnstakeRequests(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getUnstakeRequests(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getUnstakeRequests(address, { block });
});
}
getBlockHash({ block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getBlockHash() {
return __awaiter(this, arguments, void 0, function* ({ block } = rpc_1.defaultRPCOptions) {
return this.rpc.getBlockHash({ block });
});
}
getLiveBlocks({ block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getLiveBlocks() {
return __awaiter(this, arguments, void 0, function* ({ block } = rpc_1.defaultRPCOptions) {
return this.rpc.getLiveBlocks({ block });
});
}
getStorage(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getStorage(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getStorage(address, { block });
});
}
getScript(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getScript(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getScript(address, { block });
});
}
getNormalizedScript(address, unparsingMode = { unparsing_mode: 'Readable' }, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getNormalizedScript(address_1) {
return __awaiter(this, arguments, void 0, function* (address, unparsingMode = { unparsing_mode: 'Readable' }, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getNormalizedScript(address, unparsingMode, { block });
});
}
getManagerKey(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getManagerKey(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getManagerKey(address, { block });
});
}
getDelegate(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getDelegate(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getDelegate(address, { block });
});
}
getBigMapKey(address, key, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getBigMapKey(address_1, key_1) {
return __awaiter(this, arguments, void 0, function* (address, key, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getBigMapKey(address, key, { block });
});
}
getBigMapExpr(id, expr, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getBigMapExpr(id_1, expr_1) {
return __awaiter(this, arguments, void 0, function* (id, expr, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getBigMapExpr(id, expr, { block });
});
}
getAllDelegates(args, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getAllDelegates(args_1) {
return __awaiter(this, arguments, void 0, function* (args, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getAllDelegates(args, { block });
});
}
getDelegates(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getDelegates(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getDelegates(address, { block });
});
}
getVotingInfo(address, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getVotingInfo(address_1) {
return __awaiter(this, arguments, void 0, function* (address, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getVotingInfo(address, { block });
});
}
getConstants({ block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getConstants() {
return __awaiter(this, arguments, void 0, function* ({ block } = rpc_1.defaultRPCOptions) {
return this.rpc.getConstants({ block });
});
}
getBlock({ block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getBlock() {
return __awaiter(this, arguments, void 0, function* ({ block } = rpc_1.defaultRPCOptions) {
return this.rpc.getBlock({ block });
});
}
getBlockHeader({ block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getBlockHeader() {
return __awaiter(this, arguments, void 0, function* ({ block } = rpc_1.defaultRPCOptions) {
return this.rpc.getBlockHeader({ block });
});
}
getBlockMetadata({ block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getBlockMetadata() {
return __awaiter(this, arguments, void 0, function* ({ block } = rpc_1.defaultRPCOptions) {
return this.rpc.getBlockMetadata({ block });
});
}
getBakingRights(args, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getBakingRights(args_1) {
return __awaiter(this, arguments, void 0, function* (args, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getBakingRights(args, { block });
});
}
getAttestationRights(args, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getAttestationRights(args_1) {
return __awaiter(this, arguments, void 0, function* (args, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getAttestationRights(args, { block });
});
}
getBallotList({ block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getBallotList() {
return __awaiter(this, arguments, void 0, function* ({ block } = rpc_1.defaultRPCOptions) {
return this.rpc.getBallotList({ block });
});
}
getBallots({ block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getBallots() {
return __awaiter(this, arguments, void 0, function* ({ block } = rpc_1.defaultRPCOptions) {
return this.rpc.getBallots({ block });
});
}
getCurrentProposal({ block, } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getCurrentProposal() {
return __awaiter(this, arguments, void 0, function* ({ block, } = rpc_1.defaultRPCOptions) {
return this.rpc.getCurrentProposal({ block });
});
}
getCurrentQuorum({ block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getCurrentQuorum() {
return __awaiter(this, arguments, void 0, function* ({ block } = rpc_1.defaultRPCOptions) {
return this.rpc.getCurrentQuorum({ block });
});
}
getVotesListings({ block, } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getVotesListings() {
return __awaiter(this, arguments, void 0, function* ({ block, } = rpc_1.defaultRPCOptions) {
return this.rpc.getVotesListings({ block });
});
}
getProposals({ block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getProposals() {
return __awaiter(this, arguments, void 0, function* ({ block } = rpc_1.defaultRPCOptions) {
return this.rpc.getProposals({ block });
});
}
forgeOperations(data, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
forgeOperations(data_1) {
return __awaiter(this, arguments, void 0, function* (data, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.forgeOperations(data, { block });

@@ -220,24 +220,24 @@ });

}
packData(data, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
packData(data_1) {
return __awaiter(this, arguments, void 0, function* (data, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.packData(data, { block });
});
}
preapplyOperations(ops, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
preapplyOperations(ops_1) {
return __awaiter(this, arguments, void 0, function* (ops, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.preapplyOperations(ops, { block });
});
}
runOperation(op, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
runOperation(op_1) {
return __awaiter(this, arguments, void 0, function* (op, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.runOperation(op, { block });
});
}
simulateOperation(op, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
simulateOperation(op_1) {
return __awaiter(this, arguments, void 0, function* (op, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.simulateOperation(op, { block });
});
}
runCode(code, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
runCode(code_1) {
return __awaiter(this, arguments, void 0, function* (code, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.runCode(code, { block });

@@ -247,5 +247,5 @@ });

runScriptView(_a, _b) {
var { unparsing_mode = 'Readable' } = _a, rest = __rest(_a, ["unparsing_mode"]);
var _c = _b === void 0 ? rpc_1.defaultRPCOptions : _b, block = _c.block;
return __awaiter(this, void 0, void 0, function* () {
var { unparsing_mode = 'Readable' } = _a, rest = __rest(_a, ["unparsing_mode"]);
var _c = _b === void 0 ? rpc_1.defaultRPCOptions : _b, block = _c.block;
return this.rpc.runScriptView(Object.assign({ unparsing_mode }, rest), { block });

@@ -255,5 +255,5 @@ });

runView(_a, _b) {
var { unparsing_mode = 'Readable' } = _a, rest = __rest(_a, ["unparsing_mode"]);
var _c = _b === void 0 ? rpc_1.defaultRPCOptions : _b, block = _c.block;
return __awaiter(this, void 0, void 0, function* () {
var { unparsing_mode = 'Readable' } = _a, rest = __rest(_a, ["unparsing_mode"]);
var _c = _b === void 0 ? rpc_1.defaultRPCOptions : _b, block = _c.block;
return this.rpc.runView(Object.assign({ unparsing_mode }, rest), { block });

@@ -270,49 +270,49 @@ });

}
getCurrentPeriod({ block, } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getCurrentPeriod() {
return __awaiter(this, arguments, void 0, function* ({ block, } = rpc_1.defaultRPCOptions) {
return this.rpc.getCurrentPeriod({ block });
});
}
getSuccessorPeriod({ block, } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getSuccessorPeriod() {
return __awaiter(this, arguments, void 0, function* ({ block, } = rpc_1.defaultRPCOptions) {
return this.rpc.getSuccessorPeriod({ block });
});
}
getSaplingDiffById(id, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getSaplingDiffById(id_1) {
return __awaiter(this, arguments, void 0, function* (id, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getSaplingDiffById(id, { block });
});
}
getSaplingDiffByContract(contract, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getSaplingDiffByContract(contract_1) {
return __awaiter(this, arguments, void 0, function* (contract, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getSaplingDiffByContract(contract, { block });
});
}
getProtocols({ block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getProtocols() {
return __awaiter(this, arguments, void 0, function* ({ block } = rpc_1.defaultRPCOptions) {
return this.rpc.getProtocols({ block });
});
}
getStorageUsedSpace(contract, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getStorageUsedSpace(contract_1) {
return __awaiter(this, arguments, void 0, function* (contract, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getStorageUsedSpace(contract, { block });
});
}
getStoragePaidSpace(contract, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getStoragePaidSpace(contract_1) {
return __awaiter(this, arguments, void 0, function* (contract, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getStoragePaidSpace(contract, { block });
});
}
getTicketBalance(contract, ticket, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getTicketBalance(contract_1, ticket_1) {
return __awaiter(this, arguments, void 0, function* (contract, ticket, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getTicketBalance(contract, ticket, { block });
});
}
getAllTicketBalances(contract, { block } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getAllTicketBalances(contract_1) {
return __awaiter(this, arguments, void 0, function* (contract, { block } = rpc_1.defaultRPCOptions) {
return this.rpc.getAllTicketBalances(contract, { block });
});
}
getAdaptiveIssuanceLaunchCycle({ block, } = rpc_1.defaultRPCOptions) {
return __awaiter(this, void 0, void 0, function* () {
getAdaptiveIssuanceLaunchCycle() {
return __awaiter(this, arguments, void 0, function* ({ block, } = rpc_1.defaultRPCOptions) {
return this.rpc.getAdaptiveIssuanceLaunchCycle({ block });

@@ -319,0 +319,0 @@ });

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

exports.VERSION = {
"commitHash": "a9cdc31ccbc6e2ed58dedaf3c8c4f0c62bc3ae02",
"version": "20.0.2-beta.1"
"commitHash": "943d5fd11790da35f4a3e6ecfcaae3c4f0399a97",
"version": "20.0.2-beta.2"
};
{
"name": "@taquito/contracts-library",
"version": "20.0.2-beta.1",
"version": "20.0.2-beta.2",
"description": "Can be used as an extension on the TezosToolkit to provide contracts data",

@@ -70,37 +70,37 @@ "keywords": [

"dependencies": {
"@taquito/core": "^20.0.2-beta.1",
"@taquito/rpc": "^20.0.2-beta.1",
"@taquito/taquito": "^20.0.2-beta.1",
"@taquito/utils": "^20.0.2-beta.1",
"@taquito/core": "^20.0.2-beta.2",
"@taquito/rpc": "^20.0.2-beta.2",
"@taquito/taquito": "^20.0.2-beta.2",
"@taquito/utils": "^20.0.2-beta.2",
"bignumber.js": "^9.1.2"
},
"devDependencies": {
"@types/bluebird": "^3.5.40",
"@types/jest": "^29.5.5",
"@types/node": "^20",
"@types/superagent": "^4.1.19",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@types/bluebird": "^3.5.42",
"@types/jest": "^29.5.12",
"@types/node": "^22",
"@types/superagent": "^8.1.8",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"colors": "^1.4.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^8.51.0",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"jest-config": "^29.7.0",
"lint-staged": "^14.0.1",
"lint-staged": "^15.2.7",
"lodash.camelcase": "^4.3.0",
"prettier": "^3.0.3",
"prettier": "^3.3.3",
"prompt": "^1.3.0",
"replace-in-file": "^7.0.1",
"rimraf": "^5.0.5",
"rollup": "^4.1.4",
"replace-in-file": "^8.1.0",
"rimraf": "^6.0.1",
"rollup": "^4.19.1",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-typescript2": "^0.36.0",
"shelljs": "^0.8.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"ts-jest": "^29.2.3",
"ts-node": "^10.9.2",
"ts-toolbelt": "^9.6.0",
"typescript": "~5.2.2"
"typescript": "~5.5.4"
},
"gitHead": "6d1e4d129ac57c1bdeb5464601e40c50f413e43f"
"gitHead": "f0f9e4d22a374c72913abbb1991b0e5b34f4c978"
}
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