mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-08-07 15:09:27 +00:00
- fix(gateway): server-side storage unpin for serverless jobs (bugboard #151). The layer-1 storage gate now accepts the runtime key's exchanged (storage- scoped) JWT on DELETE /v1/storage/unpin — wallet JWT OR api-key-exchanged — so a userless cron/avatar-GC/free-up-space can reclaim its own namespace's pins. A bare API key still fails; unpin stays namespace-ownership-checked and reclaim-only. Upload/get/pin keep the strict wallet-JWT requirement. - fix(storage): unpin is now idempotent (bugboard #140) — a CID already absent from the cluster pinset returns 200 {already_unpinned:true} instead of a 500 wrapping the cluster 404 (matched to the definitive "not part of the pinset" phrase; unrelated 404/"not found" still error). - fix(serverless): stop trusting the client X-Wallet header for invoke identity (bugboard #152) — it let an unauthenticated caller on the public invoke paths impersonate any wallet and defeat in-function admin gates. Identity now comes only from a verified JWT subject or the API-key-derived namespace. - feat(serverless): gateway-enforced `internal` function flag (bugboard #152) — migration 035 is_internal; function.yaml `internal:`; an internal function is invokable only by a system trigger or an admin caller (HTTP, stateless-WS, persistent-WS upgrade, and WASM->WASM paths all gated). Default false, so no existing function changes behavior.
83 lines
1.8 KiB
JSON
83 lines
1.8 KiB
JSON
{
|
|
"name": "@debros/orama",
|
|
"version": "0.122.79",
|
|
"description": "TypeScript SDK for Orama Network - Database, PubSub, Cache, Storage, Vault, and more",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"license": "MIT",
|
|
"author": "DeBrosOfficial",
|
|
"keywords": [
|
|
"debros",
|
|
"network",
|
|
"sdk",
|
|
"typescript",
|
|
"database",
|
|
"rqlite",
|
|
"pubsub",
|
|
"websocket",
|
|
"cache",
|
|
"olric",
|
|
"ipfs",
|
|
"storage",
|
|
"wasm",
|
|
"serverless",
|
|
"distributed",
|
|
"gateway",
|
|
"vault",
|
|
"secrets",
|
|
"shamir",
|
|
"encryption",
|
|
"guardian"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/DeBrosOfficial/network",
|
|
"directory": "sdk"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/DeBrosOfficial/network/issues"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint src tests",
|
|
"test": "vitest",
|
|
"test:e2e": "vitest run tests/e2e",
|
|
"release:npm": "npm publish --access public --registry=https://registry.npmjs.org/",
|
|
"release:gh": "npm publish --registry=https://npm.pkg.github.com"
|
|
},
|
|
"dependencies": {
|
|
"@noble/ciphers": "^0.5.3",
|
|
"@noble/hashes": "^1.4.0",
|
|
"isomorphic-ws": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
"@typescript-eslint/parser": "^6.0.0",
|
|
"@vitest/coverage-v8": "^1.0.0",
|
|
"dotenv": "^17.2.3",
|
|
"eslint": "^8.0.0",
|
|
"tsup": "^8.0.0",
|
|
"typedoc": "^0.25.0",
|
|
"typescript": "^5.3.0",
|
|
"vitest": "^1.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/",
|
|
"access": "public"
|
|
}
|
|
}
|