@substrate/connect

v0.8.8
Substrate-connect to Smoldot clients. Using either substrate extension with predefined clients or an internal smoldot client based on chainSpecs provided.

lint

eslint . --ext .js,.ts

test

vitest --dangerouslyIgnoreUnhandledErrors --environment jsdom --exclude "test/flaky/**"

build

tsup-node src/index.ts src/worker.ts src/worker-node.ts --clean --sourcemap --platform neutral --target=es2015 --format esm,cjs --dts

clean

rm -rf dist

pretest

pnpm build

deep-clean

pnpm clean && rm -rf node_modules

test:flaky

vitest test/flaky
npm i @substrate/[email protected]

Metadata

Downloads