mirror of
https://github.com/hanzoai/base.git
synced 2026-10-21 03:41:50 +00:00
- loadAuthToken now falls back to local validation for _superusers tokens when JWKS validation fails in external-only mode. Non-superuser local tokens are still rejected. Fixes seeding with IAM enabled. - Scrub PocketBase references from docs, SDK, and UI config
72 lines
1.5 KiB
JSON
72 lines
1.5 KiB
JSON
{
|
|
"name": "@hanzo/base",
|
|
"version": "0.2.0",
|
|
"description": "Hanzo Base SDK - Reactive queries, CRDT, realtime, and Base-compatible client",
|
|
"type": "module",
|
|
"main": "./dist/core/index.js",
|
|
"module": "./dist/core/index.js",
|
|
"types": "./dist/core/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/core/index.js",
|
|
"types": "./dist/core/index.d.ts"
|
|
},
|
|
"./compat": {
|
|
"import": "./dist/compat/index.js",
|
|
"types": "./dist/compat/index.d.ts"
|
|
},
|
|
"./react": {
|
|
"import": "./dist/react/index.js",
|
|
"types": "./dist/react/index.d.ts"
|
|
},
|
|
"./crdt": {
|
|
"import": "./dist/crdt/index.js",
|
|
"types": "./dist/crdt/index.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rm -rf dist",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"pocketbase": "^0.26.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"react": "^19.0.0",
|
|
"tsup": "^8.0.0",
|
|
"typescript": "^5.4.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/hanzoai/base.git",
|
|
"directory": "sdk/base-js"
|
|
},
|
|
"keywords": [
|
|
"hanzo",
|
|
"base",
|
|
"sdk",
|
|
"backend",
|
|
"realtime",
|
|
"reactive",
|
|
"crdt",
|
|
"hanzo-base"
|
|
]
|
|
}
|