Files
prime-sdk-node/package.json
Andrew Miller 5a943f45a6
Some checks failed
Build and Test / build (16.x) (push) Failing after 45s
Build and Test / build (18.x) (push) Failing after 40s
Publish to NPM Registry / publish (release) Successful in 54s
Build and Test / build (20.x) (push) Failing after 38s
Add proof-measure client + bump to 1.4.0
proof-measure is a separate, public, unauthenticated Dragonchain service. Adds:
- UnauthHttpClient: HMAC-free transport mirroring DragonchainClient (timeout,
  agent, redirect refusal).
- ProofMeasureClient: getSecurity / report / health; default base URL
  https://proof-measure.dragonchain.com. Standalone (new ProofMeasureClient())
  and via DragonchainSDK.proofMeasure.
- Proof-measure types (decimals as strings, timestamps as numbers).
- jest tests.
2026-06-04 13:45:09 -04:00

69 lines
1.7 KiB
JSON

{
"name": "@dragonchain-inc/prime-sdk",
"version": "1.4.0",
"description": "Official Dragonchain Prime SDK for Node.js and TypeScript",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"src",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"clean": "rm -rf dist coverage",
"prepublishOnly": "npm run clean && npm run build && npm test"
},
"keywords": [
"dragonchain",
"blockchain",
"sdk",
"api",
"typescript",
"nodejs"
],
"author": "Dragonchain",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://git.dragonchain.com/dragonchain/dragonchain-prime-node-sdk"
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"js-yaml": "^4.1.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"tsup": "^8.5.0",
"typescript": "^5.4.3"
}
}