@hashgraph/sdk

v2.11.0-beta.1
Hedera™ Hashgraph SDK
hedera hashgraph sdk transactions

docs

typedoc --theme minimal --mode modules --excludeNotExported --excludePrivate --excludeProtected --out docs --listInvalidSymbolLinks

lint

run-s lint:*

test

run-s test:node test:browser

format

prettier src "test/unit/*.js" "test/integration/*.js" "*.json" "src/*.js" --write

lint:js

eslint --fix "src/**/*.js" "test/integration/**/*.js" "test/unit/**/*.js"

lint:dpdm

dpdm src/index.js --circular true --tree false --warning false

test:node

env HEDERA_SDK_TEST="" run-s test:unit:node test:integration:node

compile:js

babel src -d lib --out-file-extension .cjs

lint:types

tsc

lint:format

prettier src "test/unit/*.js" "test/integration/*.js" "*.json" "src/*.js" --check

test:browser

run-s test:unit:browser test:integration:browser

bundle:browser

vite -c vite.config.cjs build

test:unit:node

nyc mocha --inline-diffs -r @babel/register -r chai/register-expect.js "test/unit/*.js"

test:unit:browser

run-s test:unit:browser:*

test:browser:chrome

run-s test:unit:browser:chrome test:integration:browser:chrome

test:browser:firefox

run-s test:unit:browser:firefox test:integration:browser:firefox

test:integration:node

env HEDERA_SDK_TEST="" nyc mocha -r @babel/register -r chai/register-expect.js "test/integration/**.js"

test:integration:browser

run-s test:integration:browser:*

test:unit:browser:chrome

vite -c vite.config.cjs serve --port 9001 . & sleep 1; mocha-webdriver-runner --headless-chrome http://localhost:9001

test:unit:browser:safari

vite -c vite.config.cjs serve --port 9003 . & sleep 1; mocha-webdriver-runner --safari http://localhost:9003

test:unit:browser:firefox

vite -c vite.config.cjs serve --port 9002 . & sleep 1; mocha-webdriver-runner --headless-firefox http://localhost:9002

test:integration:browser:chrome

vite -c vite.config.cjs serve --port 9011 test/ & sleep 10; mocha-webdriver-runner --headless-chrome http://localhost:9011/integration.html

test:integration:browser:safari

vite -c vite.config.cjs serve --port 9013 test/ & sleep 10; mocha-webdriver-runner --safari http://localhost:9013/integration.html

test:integration:browser:firefox

vite -c vite.config.cjs serve --port 9012 test/ & sleep 10; mocha-webdriver-runner --headless-firefox http://localhost:9012/integration.html
npm i @hashgraph/[email protected]

Source Code

Metadata

Downloads