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

@kiltprotocol/type-definitions

Package Overview
Dependencies
Maintainers
3
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kiltprotocol/type-definitions - npm Package Compare versions

Comparing version 0.1.23 to 0.2.0

lib/rpc.d.ts

7

lib/index.d.ts

@@ -14,3 +14,8 @@ import type { OverrideBundleDefinition } from "@polkadot/types/types";

import { types2700 } from "./types_2700";
export { types8, types9, types10, types12, types17, types18, types19, types20, types21, types23, types25, types2700, };
import { types10720 } from "./types_10720";
import runtime from "./runtime";
import rpc from "./rpc";
export { types8, types9, types10, types12, types17, types18, types19, types20, types21, types23, types25, types2700, types10720, types10720 as latest, };
export { runtime };
export { rpc };
export declare const typeBundleForPolkadot: OverrideBundleDefinition;
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.typeBundleForPolkadot = exports.types2700 = exports.types25 = exports.types23 = exports.types21 = exports.types20 = exports.types19 = exports.types18 = exports.types17 = exports.types12 = exports.types10 = exports.types9 = exports.types8 = void 0;
exports.typeBundleForPolkadot = exports.rpc = exports.runtime = exports.latest = exports.types10720 = exports.types2700 = exports.types25 = exports.types23 = exports.types21 = exports.types20 = exports.types19 = exports.types18 = exports.types17 = exports.types12 = exports.types10 = exports.types9 = exports.types8 = void 0;
const types_8_1 = require("./types_8");

@@ -28,2 +31,10 @@ Object.defineProperty(exports, "types8", { enumerable: true, get: function () { return types_8_1.types8; } });

Object.defineProperty(exports, "types2700", { enumerable: true, get: function () { return types_2700_1.types2700; } });
const types_10720_1 = require("./types_10720");
Object.defineProperty(exports, "types10720", { enumerable: true, get: function () { return types_10720_1.types10720; } });
Object.defineProperty(exports, "latest", { enumerable: true, get: function () { return types_10720_1.types10720; } });
const runtime_1 = __importDefault(require("./runtime"));
exports.runtime = runtime_1.default;
const rpc_1 = __importDefault(require("./rpc"));
exports.rpc = rpc_1.default;
// Export complete package
exports.typeBundleForPolkadot = {

@@ -76,6 +87,12 @@ types: [

{
minmax: [2700, undefined],
minmax: [2700, 10710],
types: types_2700_1.types2700,
},
{
minmax: [10720, undefined],
types: types_10720_1.types10720,
},
],
runtime: runtime_1.default,
rpc: rpc_1.default
};

10

package.json
{
"name": "@kiltprotocol/type-definitions",
"repository": "https://github.com/kiltprotocol/type-definitions",
"description": "polkadot js type definitions for kilt",
"description": "Type decorations for the KILT blockchain.",
"main": "./lib/index.js",

@@ -11,4 +11,3 @@ "files": [

"scripts": {
"build": "tsc",
"generate-types": "ts-node scripts/generate-types.ts"
"build": "tsc"
},

@@ -21,7 +20,6 @@ "publishConfig": {

"devDependencies": {
"@polkadot/types": "^5.3.1",
"ts-node": "^10.2.1",
"@polkadot/types": "^9.1.1",
"typescript": "^4.3.5"
},
"version": "0.1.23"
"version": "0.2.0"
}

@@ -19,3 +19,3 @@ # type-definitions

const api = await ApiPromise.create({
provider: new WsProvider('wss://peregrine.kilt.io'),
provider: new WsProvider('wss://peregrine.kilt.io/parachain-public-ws'),
typesBundle: {

@@ -22,0 +22,0 @@ spec: {

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