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

@cityofzion/dora-ts

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cityofzion/dora-ts - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

1

dist/api/neo_legacy/rest.d.ts

@@ -12,2 +12,3 @@ import type { AddressStatsResponse, AssetResponse, AssetsResponse, BalanceResponse, BlockResponse, BlocksResponse, ContractResponse, ContractsResponse, ContractTransfersResponse, GetAddressAbstractsResponse, GetAllNodesResponse, GetClaimableResponse, GetUnclaimedResponse, HeightResponse, InvocationStatsResponse, LogResponse, StorageResponse, TransactionAbstractsResponse, TransactionResponse, TransactionsResponse, TransferHistoryResponse } from '../../interfaces/api/neo_legacy';

static contracts(page: number, network?: string): Promise<ContractsResponse>;
static contractStats(contractHash: string, network?: string): Promise<Object>;
static contractTransfers(contractHash: string, page?: number, network?: string): Promise<ContractTransfersResponse>;

@@ -14,0 +15,0 @@ static getAddressAbstracts(address: string, page?: number, network?: string): Promise<GetAddressAbstractsResponse>;

@@ -158,2 +158,16 @@ "use strict";

};
NeoLegacyREST.contractStats = function (contractHash, network) {
if (network === void 0) { network = 'mainnet'; }
return __awaiter(this, void 0, void 0, function () {
var method;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
method = "contract_stats";
return [4, this.get(network, method)];
case 1: return [2, _a.sent()];
}
});
});
};
NeoLegacyREST.contractTransfers = function (contractHash, page, network) {

@@ -160,0 +174,0 @@ if (page === void 0) { page = 1; }

2

package.json
{
"name": "@cityofzion/dora-ts",
"version": "0.0.3",
"version": "0.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index",

@@ -91,2 +91,9 @@ import type {

static async contractStats(
contractHash: string,
network = 'mainnet'): Promise<Object> {
const method = "contract_stats"
return await this.get(network, method)
}
static async contractTransfers(

@@ -93,0 +100,0 @@ contractHash: string,

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