{"_id":"@alphamatica/hub-sdk-core","_rev":"2-fb09c5321db7904979ad2fc91263089a","name":"@alphamatica/hub-sdk-core","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@alphamatica/hub-sdk-core","version":"0.1.0","_id":"@alphamatica/hub-sdk-core@0.1.0","maintainers":[{"name":"simbik","email":"simbik@live.ru"}],"dist":{"shasum":"17308020c0d74b86b282c6832512f29b1aba75ab","tarball":"https://registry.npmjs.org/@alphamatica/hub-sdk-core/-/hub-sdk-core-0.1.0.tgz","fileCount":29,"integrity":"sha512-Up36+qNb60p7BfwPZjRZZHpT8aCwDNmVf2Wpmxfn1VV4R8gnC10+41mnBqd0e0oPhd4WR2lUMKva515fxmeKww==","signatures":[{"sig":"MEUCIEwYWbi5iHgk1knbmZyhW1LW6Ut72mQomuZgJPXJtEv7AiEAzlYN+NfPogRBU/MiM2bCpCLdgO2SRmMg0asf27D1Mm4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27106},"main":"dist/index.js","_from":"file:alphamatica-hub-sdk-core-0.1.0.tgz","types":"dist/index.d.ts","private":false,"scripts":{"lint":"eslint \"src/**/*.ts\"","build":"tsc -p tsconfig.json"},"_npmUser":{"name":"simbik","email":"simbik@live.ru"},"_resolved":"C:\\Users\\simbi\\AppData\\Local\\Temp\\64ea7c02eaad12f65313bcba2bfb9493\\alphamatica-hub-sdk-core-0.1.0.tgz","_integrity":"sha512-Up36+qNb60p7BfwPZjRZZHpT8aCwDNmVf2Wpmxfn1VV4R8gnC10+41mnBqd0e0oPhd4WR2lUMKva515fxmeKww==","_npmVersion":"8.19.3","description":"Core JWT validation, catalog cache, scope helpers for alpha-hub SDK","directories":{},"_nodeVersion":"24.15.0","dependencies":{"jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","@types/jsonwebtoken":"^9.0.7","@alpha/eslint-config":"0.0.0","@alpha/typescript-config":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hub-sdk-core_0.1.0_1779711272763_0.052322417395677334","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@alphamatica/hub-sdk-core","version":"0.2.0","private":false,"description":"Types and helpers shared by alpha-hub SDK packages (consumed by hub-sdk-nest / hub-sdk-express)","main":"dist/index.js","types":"dist/index.d.ts","devDependencies":{"typescript":"^5.6.3","@alpha/eslint-config":"0.0.0","@alpha/typescript-config":"0.0.0"},"scripts":{"build":"tsc -p tsconfig.json","lint":"eslint \"src/**/*.ts\""},"_id":"@alphamatica/hub-sdk-core@0.2.0","_integrity":"sha512-UxXlAu31j+toXogwBik3M9Z4wdP6sQqF+4p4PN3FW4T8xxPN/luNreK+aI0SPSXbMbWfrdcafJb0UANQ473+NA==","_resolved":"C:\\Users\\simbi\\AppData\\Local\\Temp\\4263f94d80317475de1a2b6499343dad\\alphamatica-hub-sdk-core-0.2.0.tgz","_from":"file:alphamatica-hub-sdk-core-0.2.0.tgz","_nodeVersion":"24.15.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-UxXlAu31j+toXogwBik3M9Z4wdP6sQqF+4p4PN3FW4T8xxPN/luNreK+aI0SPSXbMbWfrdcafJb0UANQ473+NA==","shasum":"d45df381cd0a6931a408ed7ea673c909da39bccb","tarball":"https://registry.npmjs.org/@alphamatica/hub-sdk-core/-/hub-sdk-core-0.2.0.tgz","fileCount":29,"unpackedSize":23630,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDfR7tfmH1o+apxrp0DQNe4iJqlqax5+UIcPJDPCODPJwIhAOj3rOO3qOl3bc7U5+TN4PXs+iQ7GRbTnixH1E3vAsip"}]},"_npmUser":{"name":"simbik","email":"simbik@live.ru"},"directories":{},"maintainers":[{"name":"simbik","email":"simbik@live.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hub-sdk-core_0.2.0_1779714416219_0.9102532157447372"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-25T12:14:32.615Z","modified":"2026-05-25T13:06:56.494Z","0.1.0":"2026-05-25T12:14:32.903Z","0.2.0":"2026-05-25T13:06:56.364Z"},"description":"Types and helpers shared by alpha-hub SDK packages (consumed by hub-sdk-nest / hub-sdk-express)","maintainers":[{"name":"simbik","email":"simbik@live.ru"}],"readme":"# @alphamatica/hub-sdk-core\n\nShared types and helpers consumed by the alpha-hub SDK adapter packages.\nNot normally installed directly — pulled in transitively via\n`@alphamatica/hub-sdk-nest` or `@alphamatica/hub-sdk-express`.\n\n## Exports\n\n- `AlphaUser`, `AlphaScopeMap` — the user shape built from proxy headers\n- `hasScope(scopes, dim, value)`, `scopeValues(scopes, dim)` — scope check helpers\n- `paginated(items, total)`, `PaginatedEnvelope<T>` — standard list envelope\n\n## Requirements\n\nNode 20+. No external runtime deps.\n","readmeFilename":"README.md"}