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

@harmony-js/core

Package Overview
Dependencies
Maintainers
3
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harmony-js/core - npm Package Compare versions

Comparing version 0.1.53 to 0.1.54

135

dist/blockchain.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.Blockchain = void 0;
var tslib_1 = require("tslib");

@@ -145,3 +144,3 @@ var network_1 = require("@harmony-js/network");

Blockchain.prototype.getBalance = function (_a) {
var address = _a.address, _b = _a.blockNumber, blockNumber = _b === void 0 ? "latest" /* latest */ : _b, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
var address = _a.address, _b = _a.blockNumber, blockNumber = _b === void 0 ? utils_1.DefaultBlockParams.latest : _b, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
return tslib_1.__awaiter(this, void 0, void 0, function () {

@@ -151,3 +150,3 @@ var result;

switch (_d.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getBalance" /* GetBalance */, [crypto_1.getAddress(address).checksum, blockNumber], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetBalance, [crypto_1.getAddress(address).checksum, blockNumber], this.messenger.chainPrefix, shardID)];
case 1:

@@ -186,3 +185,3 @@ result = _d.sent();

switch (_a.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_blockNumber" /* BlockNumber */, [], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.BlockNumber, [], this.messenger.chainPrefix, shardID)];
case 1:

@@ -218,3 +217,3 @@ result = _a.sent();

switch (_d.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getBlockByHash" /* GetBlockByHash */, [blockHash, returnObject], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetBlockByHash, [blockHash, returnObject], this.messenger.chainPrefix, shardID)];
case 1:

@@ -245,3 +244,3 @@ result = _d.sent();

Blockchain.prototype.getBlockByNumber = function (_a) {
var _b = _a.blockNumber, blockNumber = _b === void 0 ? "latest" /* latest */ : _b, _c = _a.returnObject, returnObject = _c === void 0 ? true : _c, _d = _a.shardID, shardID = _d === void 0 ? this.messenger.currentShard : _d;
var _b = _a.blockNumber, blockNumber = _b === void 0 ? utils_1.DefaultBlockParams.latest : _b, _c = _a.returnObject, returnObject = _c === void 0 ? true : _c, _d = _a.shardID, shardID = _d === void 0 ? this.messenger.currentShard : _d;
return tslib_1.__awaiter(this, void 0, void 0, function () {

@@ -251,3 +250,3 @@ var result;

switch (_e.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getBlockByNumber" /* GetBlockByNumber */, [blockNumber, returnObject], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetBlockByNumber, [blockNumber, returnObject], this.messenger.chainPrefix, shardID)];
case 1:

@@ -282,3 +281,3 @@ result = _e.sent();

switch (_c.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getBlockTransactionCountByHash" /* GetBlockTransactionCountByHash */, [blockHash], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetBlockTransactionCountByHash, [blockHash], this.messenger.chainPrefix, shardID)];
case 1:

@@ -313,3 +312,3 @@ result = _c.sent();

switch (_c.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getBlockTransactionCountByNumber" /* GetBlockTransactionCountByNumber */, [blockNumber], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetBlockTransactionCountByNumber, [blockNumber], this.messenger.chainPrefix, shardID)];
case 1:

@@ -346,3 +345,3 @@ result = _c.sent();

switch (_c.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getTransactionByBlockHashAndIndex" /* GetTransactionByBlockHashAndIndex */, [blockHash, index], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetTransactionByBlockHashAndIndex, [blockHash, index], this.messenger.chainPrefix, shardID)];
case 1:

@@ -374,3 +373,3 @@ result = _c.sent();

Blockchain.prototype.getTransactionByBlockNumberAndIndex = function (_a) {
var _b = _a.blockNumber, blockNumber = _b === void 0 ? "latest" /* latest */ : _b, index = _a.index, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
var _b = _a.blockNumber, blockNumber = _b === void 0 ? utils_1.DefaultBlockParams.latest : _b, index = _a.index, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
return tslib_1.__awaiter(this, void 0, void 0, function () {

@@ -380,3 +379,3 @@ var result;

switch (_d.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getTransactionByBlockNumberAndIndex" /* GetTransactionByBlockNumberAndIndex */, [blockNumber, index], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetTransactionByBlockNumberAndIndex, [blockNumber, index], this.messenger.chainPrefix, shardID)];
case 1:

@@ -411,3 +410,3 @@ result = _d.sent();

switch (_c.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getTransactionByHash" /* GetTransactionByHash */, [txnHash], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetTransactionByHash, [txnHash], this.messenger.chainPrefix, shardID)];
case 1:

@@ -442,3 +441,3 @@ result = _c.sent();

switch (_c.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getTransactionReceipt" /* GetTransactionReceipt */, [txnHash], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetTransactionReceipt, [txnHash], this.messenger.chainPrefix, shardID)];
case 1:

@@ -475,3 +474,3 @@ result = _c.sent();

switch (_b.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getCXReceiptByHash" /* GetCXReceiptByHash */, [txnHash], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetCXReceiptByHash, [txnHash], this.messenger.chainPrefix, shardID)];
case 1:

@@ -503,3 +502,3 @@ result = _b.sent();

Blockchain.prototype.getCode = function (_a) {
var address = _a.address, _b = _a.blockNumber, blockNumber = _b === void 0 ? "latest" /* latest */ : _b, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
var address = _a.address, _b = _a.blockNumber, blockNumber = _b === void 0 ? utils_1.DefaultBlockParams.latest : _b, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
return tslib_1.__awaiter(this, void 0, void 0, function () {

@@ -509,3 +508,3 @@ var result;

switch (_d.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getCode" /* GetCode */, [crypto_1.getAddress(address).checksum, blockNumber], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetCode, [crypto_1.getAddress(address).checksum, blockNumber], this.messenger.chainPrefix, shardID)];
case 1:

@@ -537,3 +536,3 @@ result = _d.sent();

switch (_a.label) {
case 0: return [4 /*yield*/, this.messenger.send("net_peerCount" /* PeerCount */, [], 'net', shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.PeerCount, [], 'net', shardID)];
case 1:

@@ -565,3 +564,3 @@ result = _a.sent();

switch (_a.label) {
case 0: return [4 /*yield*/, this.messenger.send("net_version" /* NetVersion */, [], 'net', shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.NetVersion, [], 'net', shardID)];
case 1:

@@ -593,3 +592,3 @@ result = _a.sent();

switch (_a.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_protocolVersion" /* ProtocolVersion */, [], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.ProtocolVersion, [], this.messenger.chainPrefix, shardID)];
case 1:

@@ -621,3 +620,3 @@ result = _a.sent();

Blockchain.prototype.getStorageAt = function (_a) {
var address = _a.address, position = _a.position, _b = _a.blockNumber, blockNumber = _b === void 0 ? "latest" /* latest */ : _b, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
var address = _a.address, position = _a.position, _b = _a.blockNumber, blockNumber = _b === void 0 ? utils_1.DefaultBlockParams.latest : _b, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
return tslib_1.__awaiter(this, void 0, void 0, function () {

@@ -627,3 +626,3 @@ var result;

switch (_d.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getStorageAt" /* GetStorageAt */, [crypto_1.getAddress(address).checksum, position, blockNumber], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetStorageAt, [crypto_1.getAddress(address).checksum, position, blockNumber], this.messenger.chainPrefix, shardID)];
case 1:

@@ -654,3 +653,3 @@ result = _d.sent();

Blockchain.prototype.getTransactionCount = function (_a) {
var address = _a.address, _b = _a.blockNumber, blockNumber = _b === void 0 ? "latest" /* latest */ : _b, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
var address = _a.address, _b = _a.blockNumber, blockNumber = _b === void 0 ? utils_1.DefaultBlockParams.latest : _b, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
return tslib_1.__awaiter(this, void 0, void 0, function () {

@@ -660,3 +659,3 @@ var result;

switch (_d.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getTransactionCount" /* GetTransactionCount */, [crypto_1.getAddress(address).checksum, blockNumber], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetTransactionCount, [crypto_1.getAddress(address).checksum, blockNumber], this.messenger.chainPrefix, shardID)];
case 1:

@@ -686,3 +685,3 @@ result = _d.sent();

switch (_a.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_getShardingStructure" /* GetShardingStructure */, [], this.messenger.chainPrefix)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetShardingStructure, [], this.messenger.chainPrefix)];
case 1:

@@ -741,3 +740,3 @@ result = _a.sent();

}
return [4 /*yield*/, this.messenger.send("hmy_sendRawTransaction" /* SendRawTransaction */, [transaction.getRawTransaction()], this.messenger.chainPrefix, typeof transaction.txParams.shardID === 'string'
return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.SendRawTransaction, [transaction.getRawTransaction()], this.messenger.chainPrefix, typeof transaction.txParams.shardID === 'string'
? Number.parseInt(transaction.txParams.shardID, 10)

@@ -947,3 +946,3 @@ : transaction.txParams.shardID)];

switch (_c.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_estimateGas" /* EstimateGas */, [{ to: crypto_1.getAddress(to).checksum, data: data }], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.EstimateGas, [{ to: crypto_1.getAddress(to).checksum, data: data }], this.messenger.chainPrefix, shardID)];
case 1:

@@ -975,3 +974,3 @@ result = _c.sent();

switch (_a.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_gasPrice" /* GasPrice */, [], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GasPrice, [], this.messenger.chainPrefix, shardID)];
case 1:

@@ -1002,3 +1001,3 @@ result = _a.sent();

Blockchain.prototype.call = function (_a) {
var payload = _a.payload, _b = _a.blockNumber, blockNumber = _b === void 0 ? "latest" /* latest */ : _b, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
var payload = _a.payload, _b = _a.blockNumber, blockNumber = _b === void 0 ? utils_1.DefaultBlockParams.latest : _b, _c = _a.shardID, shardID = _c === void 0 ? this.messenger.currentShard : _c;
return tslib_1.__awaiter(this, void 0, void 0, function () {

@@ -1008,3 +1007,3 @@ var result;

switch (_d.label) {
case 0: return [4 /*yield*/, this.messenger.send("hmy_call" /* Call */, [payload, blockNumber], this.messenger.chainPrefix, shardID)];
case 0: return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.Call, [payload, blockNumber], this.messenger.chainPrefix, shardID)];
case 1:

@@ -1142,5 +1141,5 @@ result = _d.sent();

utils_1.assertObject({
address: ['isValidAddress', "required" /* required */],
blockNumber: ['isBlockNumber', "optional" /* optional */],
shardID: ['isNumber', "optional" /* optional */],
address: ['isValidAddress', utils_1.AssertType.required],
blockNumber: ['isBlockNumber', utils_1.AssertType.optional],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1153,5 +1152,5 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
blockHash: ['isHash', "required" /* required */],
returnObject: ['isBoolean', "optional" /* optional */],
shardID: ['isNumber', "optional" /* optional */],
blockHash: ['isHash', utils_1.AssertType.required],
returnObject: ['isBoolean', utils_1.AssertType.optional],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1164,5 +1163,5 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
blockNumber: ['isBlockNumber', "optional" /* optional */],
returnObject: ['isBoolean', "optional" /* optional */],
shardID: ['isNumber', "optional" /* optional */],
blockNumber: ['isBlockNumber', utils_1.AssertType.optional],
returnObject: ['isBoolean', utils_1.AssertType.optional],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1175,4 +1174,4 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
blockHash: ['isHash', "required" /* required */],
shardID: ['isNumber', "optional" /* optional */],
blockHash: ['isHash', utils_1.AssertType.required],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1185,4 +1184,4 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
blockNumber: ['isBlockNumber', "required" /* required */],
shardID: ['isNumber', "optional" /* optional */],
blockNumber: ['isBlockNumber', utils_1.AssertType.required],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1195,5 +1194,5 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
blockHash: ['isHash', "required" /* required */],
index: ['isHex', "required" /* required */],
shardID: ['isNumber', "optional" /* optional */],
blockHash: ['isHash', utils_1.AssertType.required],
index: ['isHex', utils_1.AssertType.required],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1206,5 +1205,5 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
blockNumber: ['isBlockNumber', "optional" /* optional */],
index: ['isHex', "required" /* required */],
shardID: ['isNumber', "optional" /* optional */],
blockNumber: ['isBlockNumber', utils_1.AssertType.optional],
index: ['isHex', utils_1.AssertType.required],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1217,4 +1216,4 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
txnHash: ['isHash', "required" /* required */],
shardID: ['isNumber', "optional" /* optional */],
txnHash: ['isHash', utils_1.AssertType.required],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1227,4 +1226,4 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
txnHash: ['isString', "required" /* required */],
shardID: ['isNumber', "optional" /* optional */],
txnHash: ['isString', utils_1.AssertType.required],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1237,4 +1236,4 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
txnHash: ['isString', "required" /* required */],
shardID: ['isNumber', "required" /* required */],
txnHash: ['isString', utils_1.AssertType.required],
shardID: ['isNumber', utils_1.AssertType.required],
}),

@@ -1247,5 +1246,5 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
address: ['isValidAddress', "required" /* required */],
blockNumber: ['isBlockNumber', "optional" /* optional */],
shardID: ['isNumber', "optional" /* optional */],
address: ['isValidAddress', utils_1.AssertType.required],
blockNumber: ['isBlockNumber', utils_1.AssertType.optional],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1258,6 +1257,6 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
address: ['isValidAddress', "required" /* required */],
position: ['isHex', "required" /* required */],
blockNumber: ['isBlockNumber', "optional" /* optional */],
shardID: ['isNumber', "optional" /* optional */],
address: ['isValidAddress', utils_1.AssertType.required],
position: ['isHex', utils_1.AssertType.required],
blockNumber: ['isBlockNumber', utils_1.AssertType.optional],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1270,5 +1269,5 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
address: ['isValidAddress', "required" /* required */],
blockNumber: ['isBlockNumber', "optional" /* optional */],
shardID: ['isNumber', "optional" /* optional */],
address: ['isValidAddress', utils_1.AssertType.required],
blockNumber: ['isBlockNumber', utils_1.AssertType.optional],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1281,5 +1280,5 @@ tslib_1.__metadata("design:type", Function),

utils_1.assertObject({
to: ['isValidAddress', "optional" /* optional */],
data: ['isHex', "optional" /* optional */],
shardID: ['isNumber', "optional" /* optional */],
to: ['isValidAddress', utils_1.AssertType.optional],
data: ['isHex', utils_1.AssertType.optional],
shardID: ['isNumber', utils_1.AssertType.optional],
}),

@@ -1286,0 +1285,0 @@ tslib_1.__metadata("design:type", Function),

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.Harmony = void 0;
var tslib_1 = require("tslib");

@@ -10,0 +9,0 @@ var crypto = tslib_1.__importStar(require("@harmony-js/crypto"));

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.HarmonyExtension = exports.ExtensionType = void 0;
var tslib_1 = require("tslib");

@@ -117,3 +116,3 @@ var network_1 = require("@harmony-js/network");

if (!updateNonce) return [3 /*break*/, 3];
return [4 /*yield*/, this.messenger.send("hmy_getTransactionCount" /* GetTransactionCount */, [crypto.getAddress(extensionAccount.address).checksum, blockNumber], this.messenger.chainPrefix, typeof transaction.txParams.shardID === 'string'
return [4 /*yield*/, this.messenger.send(network_1.RPCMethod.GetTransactionCount, [crypto.getAddress(extensionAccount.address).checksum, blockNumber], this.messenger.chainPrefix, typeof transaction.txParams.shardID === 'string'
? Number.parseInt(transaction.txParams.shardID, 10)

@@ -120,0 +119,0 @@ : transaction.txParams.shardID)];

@@ -6,3 +6,3 @@ /**

*/
import { HttpProvider, WSProvider, RPCRequestPayload, ResponseMiddleware } from '@harmony-js/network';
import { HttpProvider, WSProvider, RPCRequestPayload } from '@harmony-js/network';
import { ChainID, ChainType } from '@harmony-js/utils';

@@ -36,5 +36,5 @@ import { HDNode } from '@harmony-js/account';

resolveArgs(...args: [RPCRequestPayload<any>, any]): ArgsResolver;
resolveResult: (response: ResponseMiddleware | any) => any;
resolveCallback: (err: any, res: any, callback: (error: any, res?: ResponseMiddleware | any) => void) => void;
resolveResult: (response: any) => any;
resolveCallback: (err: any, res: any, callback: (error: any, res?: any) => void) => void;
}
//# sourceMappingURL=truffleProvider.d.ts.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.TruffleProvider = void 0;
var tslib_1 = require("tslib");

@@ -26,4 +25,4 @@ var utils_1 = require("@harmony-js/utils");

shardID: 0,
chainType: "hmy" /* Harmony */,
chainId: 2 /* HmyLocal */,
chainType: utils_1.ChainType.Harmony,
chainId: utils_1.ChainID.HmyLocal,
}; }

@@ -30,0 +29,0 @@ if (transactionOptions === void 0) { transactionOptions = {

@@ -20,3 +20,3 @@ /**

}
export declare const enum UrlType {
export declare enum UrlType {
http = 0,

@@ -23,0 +23,0 @@ ws = 1

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.UrlType = void 0;
var UrlType;

@@ -11,0 +10,0 @@ (function (UrlType) {

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.createWeb3 = void 0;
var tslib_1 = require("tslib");

@@ -11,0 +10,0 @@ var utils_1 = require("@harmony-js/utils");

{
"name": "@harmony-js/core",
"version": "0.1.53",
"version": "0.1.54",
"description": "harmony core package",

@@ -21,11 +21,11 @@ "main": "dist/index.js",

"dependencies": {
"@harmony-js/account": "0.1.53",
"@harmony-js/contract": "0.1.53",
"@harmony-js/crypto": "0.1.48",
"@harmony-js/network": "0.1.51",
"@harmony-js/staking": "0.1.51",
"@harmony-js/transaction": "0.1.51",
"@harmony-js/utils": "0.1.48"
"@harmony-js/account": "0.1.54",
"@harmony-js/contract": "0.1.54",
"@harmony-js/crypto": "0.1.54",
"@harmony-js/network": "0.1.54",
"@harmony-js/staking": "0.1.54",
"@harmony-js/transaction": "0.1.54",
"@harmony-js/utils": "0.1.54"
},
"gitHead": "17bcd47f37eaf6e7d7b0ff484699e48356490c33"
"gitHead": "4033b3f9712f01cfad8b97db4be5aa679c430321"
}

@@ -23,3 +23,3 @@ /**

export const enum UrlType {
export enum UrlType {
http,

@@ -26,0 +26,0 @@ ws,

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

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

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