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

@equilab/network

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equilab/network - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

assets/eq/.gitkeep

324

dist/data/evm-chain.d.ts

@@ -15,2 +15,25 @@ declare const response: {

readonly updatedAt: "2022-11-30T13:34:52.448Z";
readonly logo: {
readonly data: {
readonly id: 31;
readonly attributes: {
readonly name: "icon_old (5).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 38;
readonly height: 38;
readonly formats: null;
readonly hash: "icon_old_5_b85d9c0639";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 1.7;
readonly url: "/uploads/icon_old_5_b85d9c0639.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:23.555Z";
readonly updatedAt: "2022-10-26T13:30:23.555Z";
};
};
};
};

@@ -31,2 +54,25 @@ }, {

readonly updatedAt: "2022-10-26T13:30:25.266Z";
readonly logo: {
readonly data: {
readonly id: 32;
readonly attributes: {
readonly name: "icon_old (4).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 38;
readonly height: 38;
readonly formats: null;
readonly hash: "icon_old_4_923a1f8b4e";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 1.96;
readonly url: "/uploads/icon_old_4_923a1f8b4e.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:24.800Z";
readonly updatedAt: "2022-10-26T13:30:24.800Z";
};
};
};
};

@@ -47,2 +93,25 @@ }, {

readonly updatedAt: "2022-10-26T13:30:26.515Z";
readonly logo: {
readonly data: {
readonly id: 33;
readonly attributes: {
readonly name: "icon_old.svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 30;
readonly height: 30;
readonly formats: null;
readonly hash: "icon_old_29ba9d9b1a";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 2.52;
readonly url: "/uploads/icon_old_29ba9d9b1a.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:26.047Z";
readonly updatedAt: "2022-10-26T13:30:26.047Z";
};
};
};
};

@@ -63,2 +132,25 @@ }, {

readonly updatedAt: "2022-10-26T13:30:27.789Z";
readonly logo: {
readonly data: {
readonly id: 34;
readonly attributes: {
readonly name: "icon_old (1).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 30;
readonly height: 30;
readonly formats: null;
readonly hash: "icon_old_1_a130818a60";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 0.48;
readonly url: "/uploads/icon_old_1_a130818a60.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:27.311Z";
readonly updatedAt: "2022-10-26T13:30:27.311Z";
};
};
};
};

@@ -79,2 +171,25 @@ }, {

readonly updatedAt: "2022-10-26T13:30:29.460Z";
readonly logo: {
readonly data: {
readonly id: 35;
readonly attributes: {
readonly name: "icon_old (4).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 38;
readonly height: 38;
readonly formats: null;
readonly hash: "icon_old_4_e7c14b91fc";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 1.96;
readonly url: "/uploads/icon_old_4_e7c14b91fc.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:28.990Z";
readonly updatedAt: "2022-10-26T13:30:28.990Z";
};
};
};
};

@@ -95,2 +210,25 @@ }, {

readonly updatedAt: "2022-10-26T13:30:30.714Z";
readonly logo: {
readonly data: {
readonly id: 36;
readonly attributes: {
readonly name: "icon_old.svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 30;
readonly height: 30;
readonly formats: null;
readonly hash: "icon_old_b29d4f8fee";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 2.52;
readonly url: "/uploads/icon_old_b29d4f8fee.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:30.224Z";
readonly updatedAt: "2022-10-26T13:30:30.224Z";
};
};
};
};

@@ -113,2 +251,25 @@ }, {

readonly updatedAt: "2023-02-20T12:42:32.667Z";
readonly logo: {
readonly data: {
readonly id: 37;
readonly attributes: {
readonly name: "icon_old (5).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 38;
readonly height: 38;
readonly formats: null;
readonly hash: "icon_old_5_f36ccec443";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 1.7;
readonly url: "/uploads/icon_old_5_f36ccec443.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:31.518Z";
readonly updatedAt: "2022-10-26T13:30:31.518Z";
};
};
};
};

@@ -129,2 +290,25 @@ }, {

readonly updatedAt: "2022-10-26T13:30:33.303Z";
readonly logo: {
readonly data: {
readonly id: 38;
readonly attributes: {
readonly name: "icon_old (5).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 38;
readonly height: 38;
readonly formats: null;
readonly hash: "icon_old_5_71f783ef64";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 1.7;
readonly url: "/uploads/icon_old_5_71f783ef64.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:32.783Z";
readonly updatedAt: "2022-10-26T13:30:32.783Z";
};
};
};
};

@@ -145,2 +329,25 @@ }, {

readonly updatedAt: "2022-10-26T13:30:34.707Z";
readonly logo: {
readonly data: {
readonly id: 39;
readonly attributes: {
readonly name: "icon_old (4).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 38;
readonly height: 38;
readonly formats: null;
readonly hash: "icon_old_4_9b1d79687d";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 1.96;
readonly url: "/uploads/icon_old_4_9b1d79687d.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:34.203Z";
readonly updatedAt: "2022-10-26T13:30:34.203Z";
};
};
};
};

@@ -161,2 +368,25 @@ }, {

readonly updatedAt: "2022-10-26T13:30:35.966Z";
readonly logo: {
readonly data: {
readonly id: 40;
readonly attributes: {
readonly name: "icon_old (4).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 38;
readonly height: 38;
readonly formats: null;
readonly hash: "icon_old_4_4697c5dce8";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 1.96;
readonly url: "/uploads/icon_old_4_4697c5dce8.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:35.497Z";
readonly updatedAt: "2022-10-26T13:30:35.497Z";
};
};
};
};

@@ -177,2 +407,25 @@ }, {

readonly updatedAt: "2022-10-26T13:30:37.227Z";
readonly logo: {
readonly data: {
readonly id: 41;
readonly attributes: {
readonly name: "icon_old (4).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 38;
readonly height: 38;
readonly formats: null;
readonly hash: "icon_old_4_5e2570241d";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 1.96;
readonly url: "/uploads/icon_old_4_5e2570241d.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:36.768Z";
readonly updatedAt: "2022-10-26T13:30:36.768Z";
};
};
};
};

@@ -193,2 +446,25 @@ }, {

readonly updatedAt: "2022-10-26T13:30:38.479Z";
readonly logo: {
readonly data: {
readonly id: 42;
readonly attributes: {
readonly name: "icon_old (4).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 38;
readonly height: 38;
readonly formats: null;
readonly hash: "icon_old_4_775059d0b5";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 1.96;
readonly url: "/uploads/icon_old_4_775059d0b5.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:38.014Z";
readonly updatedAt: "2022-10-26T13:30:38.014Z";
};
};
};
};

@@ -208,2 +484,25 @@ }, {

readonly updatedAt: "2022-11-30T14:02:38.341Z";
readonly logo: {
readonly data: {
readonly id: 31;
readonly attributes: {
readonly name: "icon_old (5).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 38;
readonly height: 38;
readonly formats: null;
readonly hash: "icon_old_5_b85d9c0639";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 1.7;
readonly url: "/uploads/icon_old_5_b85d9c0639.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:23.555Z";
readonly updatedAt: "2022-10-26T13:30:23.555Z";
};
};
};
};

@@ -224,2 +523,25 @@ }, {

readonly updatedAt: "2022-12-01T16:04:04.771Z";
readonly logo: {
readonly data: {
readonly id: 31;
readonly attributes: {
readonly name: "icon_old (5).svg";
readonly alternativeText: null;
readonly caption: null;
readonly width: 38;
readonly height: 38;
readonly formats: null;
readonly hash: "icon_old_5_b85d9c0639";
readonly ext: ".svg";
readonly mime: "image/svg+xml";
readonly size: 1.7;
readonly url: "/uploads/icon_old_5_b85d9c0639.svg";
readonly previewUrl: null;
readonly provider: "local";
readonly provider_metadata: null;
readonly createdAt: "2022-10-26T13:30:23.555Z";
readonly updatedAt: "2022-10-26T13:30:23.555Z";
};
};
};
};

@@ -230,3 +552,3 @@ }];

readonly page: 1;
readonly pageSize: 25;
readonly pageSize: 100;
readonly pageCount: 1;

@@ -233,0 +555,0 @@ readonly total: 14;

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

updatedAt: "2022-11-30T13:34:52.448Z",
logo: {
data: {
id: 31,
attributes: {
name: "icon_old (5).svg",
alternativeText: null,
caption: null,
width: 38,
height: 38,
formats: null,
hash: "icon_old_5_b85d9c0639",
ext: ".svg",
mime: "image/svg+xml",
size: 1.7,
url: "/uploads/icon_old_5_b85d9c0639.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:23.555Z",
updatedAt: "2022-10-26T13:30:23.555Z",
},
},
},
},

@@ -30,2 +53,25 @@ },

updatedAt: "2022-10-26T13:30:25.266Z",
logo: {
data: {
id: 32,
attributes: {
name: "icon_old (4).svg",
alternativeText: null,
caption: null,
width: 38,
height: 38,
formats: null,
hash: "icon_old_4_923a1f8b4e",
ext: ".svg",
mime: "image/svg+xml",
size: 1.96,
url: "/uploads/icon_old_4_923a1f8b4e.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:24.800Z",
updatedAt: "2022-10-26T13:30:24.800Z",
},
},
},
},

@@ -44,2 +90,25 @@ },

updatedAt: "2022-10-26T13:30:26.515Z",
logo: {
data: {
id: 33,
attributes: {
name: "icon_old.svg",
alternativeText: null,
caption: null,
width: 30,
height: 30,
formats: null,
hash: "icon_old_29ba9d9b1a",
ext: ".svg",
mime: "image/svg+xml",
size: 2.52,
url: "/uploads/icon_old_29ba9d9b1a.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:26.047Z",
updatedAt: "2022-10-26T13:30:26.047Z",
},
},
},
},

@@ -58,2 +127,25 @@ },

updatedAt: "2022-10-26T13:30:27.789Z",
logo: {
data: {
id: 34,
attributes: {
name: "icon_old (1).svg",
alternativeText: null,
caption: null,
width: 30,
height: 30,
formats: null,
hash: "icon_old_1_a130818a60",
ext: ".svg",
mime: "image/svg+xml",
size: 0.48,
url: "/uploads/icon_old_1_a130818a60.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:27.311Z",
updatedAt: "2022-10-26T13:30:27.311Z",
},
},
},
},

@@ -72,2 +164,25 @@ },

updatedAt: "2022-10-26T13:30:29.460Z",
logo: {
data: {
id: 35,
attributes: {
name: "icon_old (4).svg",
alternativeText: null,
caption: null,
width: 38,
height: 38,
formats: null,
hash: "icon_old_4_e7c14b91fc",
ext: ".svg",
mime: "image/svg+xml",
size: 1.96,
url: "/uploads/icon_old_4_e7c14b91fc.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:28.990Z",
updatedAt: "2022-10-26T13:30:28.990Z",
},
},
},
},

@@ -86,2 +201,25 @@ },

updatedAt: "2022-10-26T13:30:30.714Z",
logo: {
data: {
id: 36,
attributes: {
name: "icon_old.svg",
alternativeText: null,
caption: null,
width: 30,
height: 30,
formats: null,
hash: "icon_old_b29d4f8fee",
ext: ".svg",
mime: "image/svg+xml",
size: 2.52,
url: "/uploads/icon_old_b29d4f8fee.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:30.224Z",
updatedAt: "2022-10-26T13:30:30.224Z",
},
},
},
},

@@ -105,2 +243,25 @@ },

updatedAt: "2023-02-20T12:42:32.667Z",
logo: {
data: {
id: 37,
attributes: {
name: "icon_old (5).svg",
alternativeText: null,
caption: null,
width: 38,
height: 38,
formats: null,
hash: "icon_old_5_f36ccec443",
ext: ".svg",
mime: "image/svg+xml",
size: 1.7,
url: "/uploads/icon_old_5_f36ccec443.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:31.518Z",
updatedAt: "2022-10-26T13:30:31.518Z",
},
},
},
},

@@ -122,2 +283,25 @@ },

updatedAt: "2022-10-26T13:30:33.303Z",
logo: {
data: {
id: 38,
attributes: {
name: "icon_old (5).svg",
alternativeText: null,
caption: null,
width: 38,
height: 38,
formats: null,
hash: "icon_old_5_71f783ef64",
ext: ".svg",
mime: "image/svg+xml",
size: 1.7,
url: "/uploads/icon_old_5_71f783ef64.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:32.783Z",
updatedAt: "2022-10-26T13:30:32.783Z",
},
},
},
},

@@ -139,2 +323,25 @@ },

updatedAt: "2022-10-26T13:30:34.707Z",
logo: {
data: {
id: 39,
attributes: {
name: "icon_old (4).svg",
alternativeText: null,
caption: null,
width: 38,
height: 38,
formats: null,
hash: "icon_old_4_9b1d79687d",
ext: ".svg",
mime: "image/svg+xml",
size: 1.96,
url: "/uploads/icon_old_4_9b1d79687d.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:34.203Z",
updatedAt: "2022-10-26T13:30:34.203Z",
},
},
},
},

@@ -156,2 +363,25 @@ },

updatedAt: "2022-10-26T13:30:35.966Z",
logo: {
data: {
id: 40,
attributes: {
name: "icon_old (4).svg",
alternativeText: null,
caption: null,
width: 38,
height: 38,
formats: null,
hash: "icon_old_4_4697c5dce8",
ext: ".svg",
mime: "image/svg+xml",
size: 1.96,
url: "/uploads/icon_old_4_4697c5dce8.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:35.497Z",
updatedAt: "2022-10-26T13:30:35.497Z",
},
},
},
},

@@ -170,2 +400,25 @@ },

updatedAt: "2022-10-26T13:30:37.227Z",
logo: {
data: {
id: 41,
attributes: {
name: "icon_old (4).svg",
alternativeText: null,
caption: null,
width: 38,
height: 38,
formats: null,
hash: "icon_old_4_5e2570241d",
ext: ".svg",
mime: "image/svg+xml",
size: 1.96,
url: "/uploads/icon_old_4_5e2570241d.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:36.768Z",
updatedAt: "2022-10-26T13:30:36.768Z",
},
},
},
},

@@ -187,2 +440,25 @@ },

updatedAt: "2022-10-26T13:30:38.479Z",
logo: {
data: {
id: 42,
attributes: {
name: "icon_old (4).svg",
alternativeText: null,
caption: null,
width: 38,
height: 38,
formats: null,
hash: "icon_old_4_775059d0b5",
ext: ".svg",
mime: "image/svg+xml",
size: 1.96,
url: "/uploads/icon_old_4_775059d0b5.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:38.014Z",
updatedAt: "2022-10-26T13:30:38.014Z",
},
},
},
},

@@ -201,2 +477,25 @@ },

updatedAt: "2022-11-30T14:02:38.341Z",
logo: {
data: {
id: 31,
attributes: {
name: "icon_old (5).svg",
alternativeText: null,
caption: null,
width: 38,
height: 38,
formats: null,
hash: "icon_old_5_b85d9c0639",
ext: ".svg",
mime: "image/svg+xml",
size: 1.7,
url: "/uploads/icon_old_5_b85d9c0639.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:23.555Z",
updatedAt: "2022-10-26T13:30:23.555Z",
},
},
},
},

@@ -218,7 +517,30 @@ },

updatedAt: "2022-12-01T16:04:04.771Z",
logo: {
data: {
id: 31,
attributes: {
name: "icon_old (5).svg",
alternativeText: null,
caption: null,
width: 38,
height: 38,
formats: null,
hash: "icon_old_5_b85d9c0639",
ext: ".svg",
mime: "image/svg+xml",
size: 1.7,
url: "/uploads/icon_old_5_b85d9c0639.svg",
previewUrl: null,
provider: "local",
provider_metadata: null,
createdAt: "2022-10-26T13:30:23.555Z",
updatedAt: "2022-10-26T13:30:23.555Z",
},
},
},
},
},
],
meta: { pagination: { page: 1, pageSize: 25, pageCount: 1, total: 14 } },
meta: { pagination: { page: 1, pageSize: 100, pageCount: 1, total: 14 } },
};
exports.default = response;

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

var script = document.createElement("script");
script.type = "text/javascript";
script.async = true;

@@ -51,0 +52,0 @@ script.src = url;

6

dist/scripts/generate-injector.js

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

var token_crosschain_1 = __importDefault(require("../data/token-crosschain"));
var tokens_1 = require("../config/tokens");
var template = function (jsonStr, callbackName) {

@@ -60,5 +61,3 @@ if (callbackName === void 0) { callbackName = "_networkInjectorCallback"; }

case 0:
console.log(process.env);
outDir = process.env.OUT_DIR || path_1.default.join(process.cwd());
console.log({ outDir: outDir });
outDir = process.env.OUT_DIR || path_1.default.join(process.cwd(), "..", "..", "docs");
return [4 /*yield*/, promises_1.default.writeFile(path_1.default.join(outDir, "injector.js"), template(JSON.stringify({

@@ -71,2 +70,3 @@ "evm-chain": evm_chain_1.default,

"token-crosschain": token_crosschain_1.default,
"gens-tokens": tokens_1.genshiro,
})))];

@@ -73,0 +73,0 @@ case 1:

import type RawEvmChainResponse from "../../data/evm-chain";
import type RawEvmFlowResponse from "../../data/evm-chain";
import type RawEvmSmartContractCallResponse from "../../data/evm-chain";
import type { genshiro as genshiroTokens } from "../../config/tokens";
import type RawEvmSmartContractResponse from "../../data/evm-chain";

@@ -20,2 +21,3 @@ import type RawSubstrateChainResponse from "../../data/evm-chain";

"token-crosschain": TokenCrosschainResponse;
"gens-tokens": typeof genshiroTokens;
}
{
"name": "@equilab/network",
"version": "0.0.1",
"version": "0.0.2",
"main": "./dist/index.js",

@@ -10,3 +10,5 @@ "license": "none",

"build": "yarn clean && tsc",
"generate": "node ./dist/scripts/generate-injector.js",
"generate:injector": "node ./dist/scripts/generate-injector.js",
"copy:assets": "node ./dist/scripts/copy-assets.js",
"generate": "yarn generate:injector && yarn copy:assets",
"postversion": "./bin/postversion.sh"

@@ -13,0 +15,0 @@ },

Sorry, the diff of this file is too big to display

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