{"_id":"@accidentally-awesome-labs/spatula-shared","_rev":"2-1cac3353581b26f4be20369122f3e273","name":"@accidentally-awesome-labs/spatula-shared","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@accidentally-awesome-labs/spatula-shared","version":"0.1.0","license":"MIT","_id":"@accidentally-awesome-labs/spatula-shared@0.1.0","maintainers":[{"name":"salarsayyad","email":"salar.sayyad@gmail.com"}],"homepage":"https://github.com/accidentally-awesome-labs/spatula#readme","bugs":{"url":"https://github.com/accidentally-awesome-labs/spatula/issues"},"dist":{"shasum":"cc2f708a55d14f88311cbbfaaebf79c09ff63658","tarball":"https://registry.npmjs.org/@accidentally-awesome-labs/spatula-shared/-/spatula-shared-0.1.0.tgz","fileCount":39,"integrity":"sha512-fNe7Qpm6ABx3RKaAJii2y8SD7wwc/DT2bL2nBSrTGtkXDBP4ayTxTa8hgs3ac8x/WV/jjQwPhZogHL0YMBi9gQ==","signatures":[{"sig":"MEYCIQCbdsMF4yLyg1GB5/kzprdBm9hSy7zW0TfV4Dr6GAiJugIhALAtRqF7bskoiMQLdB4RIMMkfL1KvaRIh/jBwOWzQxuM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accidentally-awesome-labs%2fspatula-shared@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":57781},"main":"./dist/index.js","type":"module","_from":"file:/home/runner/work/_temp/spatula-npm-packs/accidentally-awesome-labs-spatula-shared-0.1.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"eslint src/","test":"vitest run","build":"tsc","clean":"rm -rf dist .turbo *.tsbuildinfo","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit","test:watch":"vitest watch"},"_npmUser":{"name":"salarsayyad","email":"salar.sayyad@gmail.com"},"_resolved":"/home/runner/work/_temp/spatula-npm-packs/accidentally-awesome-labs-spatula-shared-0.1.0.tgz","_integrity":"sha512-fNe7Qpm6ABx3RKaAJii2y8SD7wwc/DT2bL2nBSrTGtkXDBP4ayTxTa8hgs3ac8x/WV/jjQwPhZogHL0YMBi9gQ==","repository":{"url":"git+https://github.com/accidentally-awesome-labs/spatula.git","type":"git","directory":"packages/shared"},"_npmVersion":"12.0.1","description":"Internal Spatula utilities — logging, auth, metrics, tracing, errors. NO TS-API compat guarantee. Public SDK is @accidentally-awesome-labs/spatula-client. See docs/compat-policy.md.","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"^3.24.0","hono":"^4.12.29","pino":"^9.6.0","pino-pretty":"^13.1.3","@sentry/node":"^10.65.0","@opentelemetry/api":"^1.9.1","@opentelemetry/resources":"^2.9.0","@opentelemetry/sdk-metrics":"^2.9.0","@opentelemetry/sdk-trace-node":"^2.9.0","@opentelemetry/instrumentation":"^0.220.0","@opentelemetry/exporter-prometheus":"^0.220.0","@opentelemetry/semantic-conventions":"^1.40.0","@opentelemetry/exporter-trace-otlp-http":"^0.220.0","@opentelemetry/auto-instrumentations-node":"^0.78.0","@accidentally-awesome-labs/spatula-core-types":"0.1.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.6","typescript":"^5.7.0","@types/node":"^25.3.5"},"_npmOperationalInternal":{"tmp":"tmp/spatula-shared_0.1.0_1784125164994_0.31583866966256524","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@accidentally-awesome-labs/spatula-shared","version":"0.1.1","description":"Internal Spatula utilities — logging, auth, metrics, tracing, errors. NO TS-API compat guarantee. Public SDK is @accidentally-awesome-labs/spatula-client. See docs/compat-policy.md.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/accidentally-awesome-labs/spatula.git","directory":"packages/shared"},"homepage":"https://github.com/accidentally-awesome-labs/spatula#readme","bugs":{"url":"https://github.com/accidentally-awesome-labs/spatula/issues"},"publishConfig":{"access":"public","provenance":true},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"engines":{"node":">=22"},"dependencies":{"@opentelemetry/api":"^1.9.1","@opentelemetry/auto-instrumentations-node":"^0.78.0","@opentelemetry/exporter-prometheus":"^0.220.0","@opentelemetry/exporter-trace-otlp-http":"^0.220.0","@opentelemetry/instrumentation":"^0.220.0","@opentelemetry/resources":"^2.9.0","@opentelemetry/sdk-metrics":"^2.9.0","@opentelemetry/sdk-trace-node":"^2.9.0","@opentelemetry/semantic-conventions":"^1.40.0","@sentry/node":"^10.65.0","hono":"^4.12.29","pino":"^9.6.0","pino-pretty":"^13.1.3","zod":"^3.24.0","@accidentally-awesome-labs/spatula-core-types":"0.1.1"},"devDependencies":{"@types/node":"^25.3.5","typescript":"^5.7.0","vitest":"^3.2.6"},"scripts":{"build":"tsc","test":"vitest run","test:watch":"vitest watch","lint":"eslint src/","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit","clean":"rm -rf dist .turbo *.tsbuildinfo"},"_id":"@accidentally-awesome-labs/spatula-shared@0.1.1","_integrity":"sha512-16oAxv+KIOGwlRroOwTLFGPibVwU6qDz8vyQQy3gwqIJbgxQUavpM579y94s7USssWC1s11el248ZCp6gEunPQ==","_resolved":"/home/runner/work/_temp/spatula-npm-packs/accidentally-awesome-labs-spatula-shared-0.1.1.tgz","_from":"file:/home/runner/work/_temp/spatula-npm-packs/accidentally-awesome-labs-spatula-shared-0.1.1.tgz","_nodeVersion":"22.23.1","_npmVersion":"12.0.1","dist":{"integrity":"sha512-16oAxv+KIOGwlRroOwTLFGPibVwU6qDz8vyQQy3gwqIJbgxQUavpM579y94s7USssWC1s11el248ZCp6gEunPQ==","shasum":"8a8380991683c1e5dfbcca3f3f9a371c4f84a63b","tarball":"https://registry.npmjs.org/@accidentally-awesome-labs/spatula-shared/-/spatula-shared-0.1.1.tgz","fileCount":39,"unpackedSize":57781,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@accidentally-awesome-labs%2fspatula-shared@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIC8IQEwMx3W5Ug6SsEV4DtoVM/D8AWjIn164VuOlYZxLAiEAw8y/WxlpyNh1zVu4x7geaBgPKrV4kwudfWKdCfAYGOg="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:08fc63b1-ab1e-4352-9c01-fbed3c84ffe1"}},"directories":{},"maintainers":[{"name":"salarsayyad","email":"salar.sayyad@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/spatula-shared_0.1.1_1784144318398_0.5619837971657771"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-15T14:19:24.801Z","modified":"2026-07-15T19:38:38.816Z","0.1.0":"2026-07-15T14:19:25.170Z","0.1.1":"2026-07-15T19:38:38.547Z"},"bugs":{"url":"https://github.com/accidentally-awesome-labs/spatula/issues"},"license":"MIT","homepage":"https://github.com/accidentally-awesome-labs/spatula#readme","repository":{"type":"git","url":"git+https://github.com/accidentally-awesome-labs/spatula.git","directory":"packages/shared"},"description":"Internal Spatula utilities — logging, auth, metrics, tracing, errors. NO TS-API compat guarantee. Public SDK is @accidentally-awesome-labs/spatula-client. See docs/compat-policy.md.","maintainers":[{"name":"salarsayyad","email":"salar.sayyad@gmail.com"}],"readme":"# @accidentally-awesome-labs/spatula-shared\n\n> **NO COMPAT GUARANTEE AT TS-API LEVEL.** This is an internal Spatula implementation package. Breaking changes to its TypeScript surface may land in any **MINOR** release. External consumers should not import it directly. The public packages with semver-stable TypeScript surfaces are: `@accidentally-awesome-labs/spatula-client`, `@accidentally-awesome-labs/spatula-core-types`, and `@accidentally-awesome-labs/spatula`. See [`docs/compat-policy.md`](https://github.com/accidentally-awesome-labs/spatula/blob/main/docs/compat-policy.md) for the full matrix.\n\n## Purpose\n\nCross-cutting utilities for Spatula: structured logging (pino), OpenTelemetry instrumentation, Sentry adapter, typed error subclasses, auth scope definitions, quota enforcement helpers. Imported by every other internal package.\n\n## Stability\n\n**No stable TS-API.** `ErrorCode` is canonical in `@accidentally-awesome-labs/spatula-core-types`; this package re-exports it via a back-compat shim. New consumers should import `ErrorCode` from `@accidentally-awesome-labs/spatula-core-types` directly.\n\n## Compatibility\n\nThe TypeScript API is internal and may change between minor versions. Public compatibility guarantees live in `docs/compat-policy.md`.\n","readmeFilename":"README.md"}