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

@polkadot-api/json-rpc-provider

Package Overview
Dependencies
Maintainers
2
Versions
590
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot-api/json-rpc-provider - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

dist/esm/index.mjs

20

dist/index.js

@@ -1,19 +0,3 @@

"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
'use strict';
// src/index.ts
var src_exports = {};
module.exports = __toCommonJS(src_exports);
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map
{
"name": "@polkadot-api/json-rpc-provider",
"version": "0.0.1",
"version": "0.0.2",
"author": "Josep M Sobrepere (https://github.com/josepot)",

@@ -15,12 +15,12 @@ "repository": {

"production": {
"import": "./dist/index.mjs",
"import": "./dist/esm/index.mjs",
"require": "./dist/min/index.js",
"default": "./dist/index.js"
},
"import": "./dist/index.mjs",
"import": "./dist/esm/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js"
},
"module": "./dist/index.mjs",
"import": "./dist/index.mjs",
"module": "./dist/esm/index.mjs",
"import": "./dist/esm/index.mjs",
"require": "./dist/index.js",

@@ -32,4 +32,4 @@ "default": "./dist/index.js"

"main": "./dist/index.js",
"module": "./dist/index.mjs",
"browser": "./dist/index.mjs",
"module": "./dist/esm/index.mjs",
"browser": "./dist/esm/index.mjs",
"types": "./dist/index.d.ts",

@@ -39,9 +39,4 @@ "files": [

],
"prettier": {
"printWidth": 80,
"semi": false,
"trailingComma": "all"
},
"scripts": {
"build": "tsc --noEmit && tsup-node src/index.ts --clean --sourcemap --platform neutral --target=es2020 --format esm,cjs --dts && tsup-node src/index.ts --clean --sourcemap --platform neutral --target=es2020 --format cjs --dts --minify --out-dir dist/min",
"build": "tsc --noEmit && rollup -c ../../../rollup.config.js",
"test": "echo 'no tests'",

@@ -48,0 +43,0 @@ "lint": "prettier --check README.md \"src/**/*.{js,jsx,ts,tsx,json,md}\"",

# @polkadot-api/json-rpc-provider
This package exports the interface of `polkadot-api` with the chain.

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