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

@oak-network/config

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oak-network/config - npm Package Compare versions

Comparing version 0.1.2 to 1.0.0

chains/dev.d.ts

24

chains/index.d.ts

@@ -1,15 +0,9 @@

export declare const chains: {
turingLocal: import("@oak-network/sdk-types").Chain;
turingStaging: import("@oak-network/sdk-types").Chain;
turingMoonbase: import("@oak-network/sdk-types").Chain;
turing: import("@oak-network/sdk-types").Chain;
moonbaseLocal: import("@oak-network/sdk-types").Chain;
moonbaseAlpha: import("@oak-network/sdk-types").Chain;
moonriver: import("@oak-network/sdk-types").Chain;
mangataLocal: import("@oak-network/sdk-types").Chain;
mangataRococo: import("@oak-network/sdk-types").Chain;
mangataKusama: import("@oak-network/sdk-types").Chain;
shibuya: import("@oak-network/sdk-types").Chain;
rocstar: import("@oak-network/sdk-types").Chain;
shiden: import("@oak-network/sdk-types").Chain;
};
import { Chain, XcmConfig } from "./types/Chain";
import { Weight } from "./types/Weight";
import DevChains from "./dev";
import MoonbaseChains from "./moonbase";
import RococoChains from "./rococo";
import KusamaChains from "./kusama";
import PolkadotChains from "./polkadot";
export { DevChains, MoonbaseChains, RococoChains, KusamaChains, PolkadotChains, Weight, };
export type { Chain, XcmConfig };
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.chains = void 0;
const astarChains = __importStar(require("./astar"));
const mangataChains = __importStar(require("./mangata"));
const moonbeamChains = __importStar(require("./moonbeam"));
const oakChains = __importStar(require("./oak"));
exports.chains = { ...astarChains, ...mangataChains, ...moonbeamChains, ...oakChains };
exports.Weight = exports.PolkadotChains = exports.KusamaChains = exports.RococoChains = exports.MoonbaseChains = exports.DevChains = void 0;
const Weight_1 = require("./types/Weight");
Object.defineProperty(exports, "Weight", { enumerable: true, get: function () { return Weight_1.Weight; } });
const dev_1 = __importDefault(require("./dev"));
exports.DevChains = dev_1.default;
const moonbase_1 = __importDefault(require("./moonbase"));
exports.MoonbaseChains = moonbase_1.default;
const rococo_1 = __importDefault(require("./rococo"));
exports.RococoChains = rococo_1.default;
const kusama_1 = __importDefault(require("./kusama"));
exports.KusamaChains = kusama_1.default;
const polkadot_1 = __importDefault(require("./polkadot"));
exports.PolkadotChains = polkadot_1.default;
//# sourceMappingURL=index.js.map

@@ -1,2 +0,56 @@

export * from './assets';
export * from './chains';
import { Weight } from "./chains";
import { XToken } from "./tokens";
import { XcmInstructionNetworkType } from "./chains/types/XcmInstructionNetworkType";
import type { Chain, XcmConfig } from "./chains";
export declare const chains: {
DevChains: {
turingLocal: Chain;
shibuya: Chain;
mangataLocal: Chain;
moonbaseLocal: Chain;
};
KusamaChains: {
turing: Chain;
shiden: Chain;
mangata: Chain;
moonriver: Chain;
};
MoonbaseChains: {
turingMoonbase: Chain;
moonbaseAlpha: Chain;
};
PolkadotChains: {};
RococoChains: {
mangataRococo: Chain;
turingStaging: Chain;
rocstar: Chain;
};
};
export declare const tokens: {
DevTokens: {
tur: import("./tokens/types/Token").Token;
sby: import("./tokens/types/Token").Token;
moonbaseLocal: import("./tokens/types/Token").Token;
mgr: import("./tokens/types/Token").Token;
};
KusamaTokens: {
tur: import("./tokens/types/Token").Token;
movr: import("./tokens/types/Token").Token;
sdn: import("./tokens/types/Token").Token;
mgx: import("./tokens/types/Token").Token;
};
MoonbaseTokens: {
tur: import("./tokens/types/Token").Token;
dev: import("./tokens/types/Token").Token;
};
PolkadotTokens: {
glmr: import("./tokens/types/Token").Token;
};
RococoTokens: {
tur: import("./tokens/types/Token").Token;
rstr: import("./tokens/types/Token").Token;
mgr: import("./tokens/types/Token").Token;
};
};
export { XToken, Weight, XcmInstructionNetworkType };
export type { Chain, XcmConfig };
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
Object.defineProperty(exports, "__esModule", { value: true });
exports.XcmInstructionNetworkType = exports.Weight = exports.XToken = exports.tokens = exports.chains = void 0;
// Importing variables
const chains_1 = require("./chains");
Object.defineProperty(exports, "Weight", { enumerable: true, get: function () { return chains_1.Weight; } });
const tokens_1 = require("./tokens");
Object.defineProperty(exports, "XToken", { enumerable: true, get: function () { return tokens_1.XToken; } });
const XcmInstructionNetworkType_1 = require("./chains/types/XcmInstructionNetworkType");
Object.defineProperty(exports, "XcmInstructionNetworkType", { enumerable: true, get: function () { return XcmInstructionNetworkType_1.XcmInstructionNetworkType; } });
// Exporting variables as objects within tokens and chains
exports.chains = {
DevChains: chains_1.DevChains,
KusamaChains: chains_1.KusamaChains,
MoonbaseChains: chains_1.MoonbaseChains,
PolkadotChains: chains_1.PolkadotChains,
RococoChains: chains_1.RococoChains,
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./assets"), exports);
__exportStar(require("./chains"), exports);
exports.tokens = {
DevTokens: tokens_1.DevTokens,
KusamaTokens: tokens_1.KusamaTokens,
MoonbaseTokens: tokens_1.MoonbaseTokens,
PolkadotTokens: tokens_1.PolkadotTokens,
RococoTokens: tokens_1.RococoTokens,
};
//# sourceMappingURL=index.js.map
{
"name": "@oak-network/config",
"version": "0.1.2",
"version": "1.0.0",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "./index.js",

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