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

@substrate/connect

Package Overview
Dependencies
Maintainers
16
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@substrate/connect - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

.npmrc

6

CHANGELOG.md

@@ -7,2 +7,8 @@ # Changelog

## 0.8.1 - 2023-11-30
### Changed
- Use chain specifications from `@substrate/connect-known-chains` ([#1647](https://github.com/paritytech/substrate-connect/pull/1647))
## 0.8.0 - 2023-11-28

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

33

package.json
{
"name": "@substrate/connect",
"version": "0.8.0",
"version": "0.8.1",
"description": "Substrate-connect to Smoldot clients. Using either substrate extension with predefined clients or an internal smoldot client based on chainSpecs provided.",

@@ -10,17 +10,18 @@ "author": "Parity Team <admin@parity.io>",

},
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"types": "dist/mjs/index.d.ts",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./worker": {
"node": {
"import": "./dist/mjs/worker-node.js",
"require": "./dist/cjs/worker-node.js"
"import": "./dist/worker-node.js",
"require": "./dist/worker-node.cjs"
},
"import": "./dist/mjs/worker.js",
"require": "./dist/cjs/worker.js"
"import": "./dist/worker.js",
"require": "./dist/worker.cjs"
}

@@ -37,11 +38,7 @@ },

"scripts": {
"postinstall": "node build-js-specs.mjs",
"build-js-specs": "node build-js-specs.mjs",
"pretest": "yarn build",
"test": "vitest",
"deep-clean": "yarn clean && rm -rf node_modules",
"clean": "rm -rf dist tsconfig.tsbuildinfo",
"build": "yarn clean && yarn build-js-specs && yarn run build:mjs && yarn run build:cjs && bash ./fix-package-type.sh",
"build:mjs": "tsc -b tsconfig-mjs.json",
"build:cjs": "tsc -b tsconfig-cjs.json",
"clean": "rm -rf dist",
"build": "yarn clean && tsup-node src/index.ts src/worker.ts src/worker-node.ts --clean --sourcemap --platform neutral --target=es2015 --format esm,cjs --dts",
"lint": "eslint . --ext .js,.ts"

@@ -51,2 +48,3 @@ },

"@substrate/connect-extension-protocol": "^1.0.1",
"@substrate/connect-known-chains": "^1.0.1",
"smoldot": "2.0.13"

@@ -57,5 +55,6 @@ },

"jsdom": "^22.1.0",
"tsup": "^8.0.1",
"typescript": "^5.2.2",
"vitest": "^0.34.6"
}
}
}

@@ -14,3 +14,3 @@ import type {

import { WellKnownChain } from "../WellKnownChain.js"
import { getSpec } from "./specs/index.js"
import { getSpec } from "./getSpec.js"

@@ -17,0 +17,0 @@ const listeners = new Map<string, (msg: ToApplication) => void>()

@@ -7,3 +7,3 @@ import type {

} from "smoldot"
import { getSpec } from "./specs/index.js"
import { getSpec } from "./getSpec.js"
import {

@@ -10,0 +10,0 @@ type AddWellKnownChain,

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