feat(sdk): add initial browser and server authentication SDK exports

This commit is contained in:
2026-05-13 23:11:56 +00:00
commit cb41ec6e6f
22 changed files with 10964 additions and 0 deletions
+71
View File
@@ -0,0 +1,71 @@
{
"name": "@idp.global/sdk",
"version": "1.0.0",
"private": false,
"description": "Reusable browser and server SDK for idp.global authentication.",
"type": "module",
"exports": {
".": "./dist_ts/index.js",
"./browser": "./dist_ts_browser/index.js",
"./server": "./dist_ts_server/index.js"
},
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"scripts": {
"test": "pnpm run build && tstest test/ --verbose --logfile --timeout 60",
"build": "tsbuild tsfolders --web --allowimplicitany",
"buildDocs": "tsdoc"
},
"author": "Task Venture Capital GmbH",
"license": "MIT",
"dependencies": {
"@api.global/typedrequest": "^3.3.0",
"@api.global/typedsocket": "^4.1.2",
"@idp.global/interfaces": "file:../interfaces",
"@push.rocks/smartdata": "^7.1.7",
"@push.rocks/smartjson": "^6.0.1",
"@push.rocks/smartpromise": "^4.2.4",
"@push.rocks/smartrx": "^3.0.10",
"@push.rocks/smarttime": "^4.2.3",
"@push.rocks/smarturl": "^3.1.0",
"@push.rocks/webjwt": "^1.0.10",
"@push.rocks/webstore": "^2.0.22"
},
"devDependencies": {
"@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsdoc": "^2.0.3",
"@git.zone/tsrun": "^2.0.3",
"@git.zone/tstest": "^3.6.3",
"@push.rocks/smartdb": "^2.10.0",
"@types/node": "^25.6.0"
},
"files": [
"ts/**/*",
"ts_browser/**/*",
"ts_server/**/*",
"dist/**/*",
"dist_*/**/*",
"readme.md",
"changelog.md",
"license"
],
"repository": {
"type": "git",
"url": "git+ssh://git@code.foss.global:29419/idp.global/sdk.git"
},
"bugs": {
"url": "https://code.foss.global/idp.global/sdk/issues"
},
"homepage": "https://code.foss.global/idp.global/sdk#readme",
"keywords": [
"idp.global",
"sdk",
"authentication",
"oidc",
"smartdata"
],
"browserslist": [
"last 1 Chrome versions"
],
"packageManager": "pnpm@10.7.0+sha512.6b865ad4b62a1d9842b61d674a393903b871d9244954f652b8842c2b553c72176b278f64c463e52d40fff8aba385c235c8c9ecf5cc7de4fd78b8bb6d49633ab6"
}