@vigrise/sdk
v0.1.1
Published
Official ViGrise SDK for TypeScript and JavaScript: request signing, credentials and clients for ViGrise services
Readme
@vigrise/sdk
The ViGrise SDK for TypeScript: request signing, credentials and clients for ViGrise services, each service under its own subpath. Requires Node 24; the table notes which subpaths also run in browsers. There is no root export; import a subpath.
npm install @vigrise/sdk| Subpath | Contents | Builds |
| ------------------------------ | ----------------------------------------------------------------------------------- | ------------- |
| @vigrise/sdk/auth | signRequest, signedFetch, resolveCredentials, resolveEndpoint, assumeRole | ESM, CommonJS |
| @vigrise/sdk/auth/browser | Web Crypto signRequest and signedFetch | ESM, CommonJS |
| @vigrise/sdk/speech | SpeechClient, verifyWebhook (Web Crypto, Node and browsers) | ESM, CommonJS |
| @vigrise/sdk/storage | StorageClient (Node; browsers use presigned URLs) | ESM, CommonJS |
| @vigrise/sdk/accounts/server | SSO introspection, back-channel logout, OAuth2/OIDC, JWKS | ESM, CommonJS |
| @vigrise/sdk/accounts | URL builders, SSO state, tab sync | ESM |
| @vigrise/sdk/accounts/astro | Astro SSO middleware and endpoints | ESM |
| @vigrise/sdk/accounts/react | AccountMenu (react is an optional peer dependency) | ESM |
Guides
Each service has a guide with examples in docs/, and runnable
examples live in typescript/examples/.
Development
npm ci && npm run typecheck && npm test && npm run build && npm run check:packageLicense
Apache-2.0
