@polkadot-api/json-rpc-provider
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4
2942
8
9
2
258