@unitpay/sdk
Version:
Official UnitPay SDK for TypeScript — Node, browser, and edge. Portal sessions, subscriptions, invoices, credits, usage tracking.
71 lines (70 loc) • 1.73 kB
JSON
{
"name": "@unitpay/sdk",
"version": "1.32.0",
"description": "Official UnitPay SDK for TypeScript — Node, browser, and edge. Portal sessions, subscriptions, invoices, credits, usage tracking.",
"type": "module",
"license": "MIT",
"author": "UnitPay <engineering@useunitpay.com> (https://useunitpay.com)",
"homepage": "https://docs.useunitpay.com/sdk",
"bugs": {
"url": "https://github.com/unitpayhq/platform/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/unitpayhq/platform.git",
"directory": "packages/sdk"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"unitpay",
"billing",
"subscriptions",
"invoices",
"credits",
"portal sessions",
"usage tracking",
"metering",
"sdk"
],
"engines": {
"node": ">=18.0.0"
},
"sideEffects": false,
"files": [
"dist",
"README.md"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {
"prebuild": "node scripts/generate-version.mjs",
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
"pretypecheck": "node scripts/generate-version.mjs",
"typecheck": "tsc --noEmit",
"test": "bun test",
"test:integration": "node scripts/generate-version.mjs && bun src/__tests__/integration.smoke.ts"
},
"peerDependencies": {
"svix": "^1.45.0"
},
"peerDependenciesMeta": {
"svix": {
"optional": true
}
},
"devDependencies": {
"svix": "^1.45.0",
"tsup": "^8.0.0",
"typescript": "~5.9.3"
}
}