{"_id":"@bluprynt/sdk-core","name":"@bluprynt/sdk-core","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@bluprynt/sdk-core","version":"0.1.0","description":"Bluprynt SDK core — credential data models and shared types","type":"module","main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.cts","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"repository":{"type":"git","url":"git+https://github.com/blupryntco/sdk.git","directory":"packages/core"},"homepage":"https://github.com/blupryntco/sdk#readme","bugs":"https://github.com/blupryntco/sdk/issues","publishConfig":{"access":"public"},"license":"MIT","scripts":{"build":"tsdown src/index.ts --format esm,cjs --dts","typecheck":"tsc --noEmit","test":"vitest run --passWithNoTests"},"_nodeVersion":"22.23.2","_id":"@bluprynt/sdk-core@0.1.0","dist":{"integrity":"sha512-Cn0KwUPwCNUBwix4JubA+cGTsoWmpndl2xpjr8wTIAxCmblWuv2YOaSVxIkyG9zha3PBVykXdzs+WZUsCkaDuw==","shasum":"895c6de00b6c1127e4c92555dcc6ce70e0038ea6","tarball":"https://registry.npmjs.org/@bluprynt/sdk-core/-/sdk-core-0.1.0.tgz","fileCount":7,"unpackedSize":14334,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCqjFwLa5gbsWgJZDTRNgw/1SNn5V5v332QvZ/Gx6TJJQIhAIWulA1KqwupdZM8urKgr5BmbKnU8aJsNeWgt4bMhZrx"}]},"_npmUser":{"name":"igor-hoodies","email":"igor@hoodies.team"},"directories":{},"maintainers":[{"name":"ivanzotov","email":"ivanzotov@gmail.com"},{"name":"sergeyzbp","email":"sergeyz@bluprynt.com"},{"name":"igor-hoodies","email":"igor@hoodies.team"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk-core_0.1.0_1787316993127_0.20146996566328657"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-21T12:56:32.972Z","0.1.0":"2026-08-21T12:56:33.283Z","modified":"2026-08-21T12:56:33.524Z"},"maintainers":[{"name":"ivanzotov","email":"ivanzotov@gmail.com"},{"name":"sergeyzbp","email":"sergeyz@bluprynt.com"},{"name":"igor-hoodies","email":"igor@hoodies.team"}],"description":"Bluprynt SDK core — credential data models and shared types","homepage":"https://github.com/blupryntco/sdk#readme","repository":{"type":"git","url":"git+https://github.com/blupryntco/sdk.git","directory":"packages/core"},"bugs":"https://github.com/blupryntco/sdk/issues","license":"MIT","readme":"# @bluprynt/sdk-core\n\n> **Pre-alpha — not usable yet.** Scaffolding only: the API surface is a sketch and can change or\n> disappear without notice. No support, no stability guarantees.\n\nCredential data models, shared types, and schema parsing for the Bluprynt SDK. **Zero runtime\ndependencies.**\n\nMost users want the umbrella package [`@bluprynt/sdk`][sdk] instead, which re-exports everything\nhere.\n\n```sh\nnpm install @bluprynt/sdk-core\n```\n\n```ts\nimport { parseCredential, SchemaError, type ChainId } from \"@bluprynt/sdk-core\";\n\ntry {\n  const credential = parseCredential(await res.json());\n} catch (err) {\n  if (err instanceof SchemaError) { /* malformed payload */ }\n}\n```\n\n- `parseCredential(input)` — validate an `unknown` into a `Credential`, throwing `SchemaError`.\n- `ChainId` — CAIP-2 style chain identifier, e.g. `\"eip155:1\"`.\n- Wallet-verification types (`CheckWalletVerification` and friends) that the chain add-ons\n  implement.\n\nESM + CJS, bundled types.\n\n[sdk]: https://www.npmjs.com/package/@bluprynt/sdk\n","readmeFilename":"","_rev":"1-13e13a80502e51c9778f30fca77a2f5a"}