{"_id":"@coding-club-iitg/ops-contract","_rev":"3-1813da93d186301eabe194cd69377c99","name":"@coding-club-iitg/ops-contract","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@coding-club-iitg/ops-contract","version":"0.1.0","license":"UNLICENSED","_id":"@coding-club-iitg/ops-contract@0.1.0","maintainers":[{"name":"cciitg","email":"codingclubiitguw@gmail.com"},{"name":"maydayv7","email":"maydayv7@gmail.com"}],"homepage":"https://github.com/Coding-Club-IITG/Ops/tree/main/contracts/log-event-v1","bugs":{"url":"https://github.com/Coding-Club-IITG/Ops/issues"},"dist":{"shasum":"efdfd50eb1c67fc7db8b69b3d260555e7772e501","tarball":"https://registry.npmjs.org/@coding-club-iitg/ops-contract/-/ops-contract-0.1.0.tgz","fileCount":20,"integrity":"sha512-ocIQczjX2JKa9ILwoC+lTar2QitrvIlMMtSWQOBq5QDOzhuNvJiXb1xTkMt2YuTlHAbFtobmmmjML/D9lMbIhA==","signatures":[{"sig":"MEUCIEZixeCX5FeqAKy07kcKZpYOFEUVSUsrKfnWPVSc08aVAiEAxtb3d0gAhd5nDGqvxe6gy9mgYtk+FpKTWOv9XRmUf9w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27197},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./fixtures/*":"./fixtures/*","./package.json":"./package.json"},"gitHead":"6a0d72fc6f1d357e404555f51289a291b6e84aa7","scripts":{"test":"pnpm run build && node --test log-event-v1.test.mjs","build":"pnpm run clean && tsc -p tsconfig.build.json && esbuild index.ts --bundle --platform=neutral --format=esm --target=es2022 --outfile=dist/index.js","check":"pnpm run test && pnpm run check:pack","clean":"node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"","prepack":"pnpm run build","check:pack":"pnpm pack --dry-run"},"_npmUser":{"name":"maydayv7","email":"maydayv7@gmail.com"},"repository":{"url":"git+https://github.com/Coding-Club-IITG/Ops.git","type":"git","directory":"contracts/log-event-v1"},"_npmVersion":"11.16.0","description":"Telemetry contracts shared by Coding Club IITG services","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.28.2","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/ops-contract_0.1.0_1787699578380_0.35641489448521524","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@coding-club-iitg/ops-contract","version":"0.2.0","license":"UNLICENSED","_id":"@coding-club-iitg/ops-contract@0.2.0","maintainers":[{"name":"cciitg","email":"codingclubiitguw@gmail.com"},{"name":"maydayv7","email":"maydayv7@gmail.com"}],"homepage":"https://github.com/Coding-Club-IITG/Ops/tree/main/contracts/log-event-v1","bugs":{"url":"https://github.com/Coding-Club-IITG/Ops/issues"},"dist":{"shasum":"039c55425526b4f8bb2be7f7e8bfbd33b69e333e","tarball":"https://registry.npmjs.org/@coding-club-iitg/ops-contract/-/ops-contract-0.2.0.tgz","fileCount":22,"integrity":"sha512-kTZmAnhdGf0tN6dcp/M2BNdyxO5bEjfvinQcpp157XVoZbXsxcp1AjAf/3LbNkdW6u1mh6/6h0APaDqo/pb02g==","signatures":[{"sig":"MEQCIDEFbqnsSdSr2m+qJiSK5bigd4qD7Are+JCY/jESfvobAiBQQ1N1zbzT8nwj5QX3jDgMdXD/gXkkr0IKKRS+b5RCCQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@coding-club-iitg%2fops-contract@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28337},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./fixtures/*":"./fixtures/*","./package.json":"./package.json"},"gitHead":"22fbeb2aafb9703ff552921f7bf5f2981feec85e","scripts":{"test":"pnpm run build && node --test log-event-v1.test.mjs","build":"pnpm run clean && tsc -p tsconfig.build.json && esbuild index.ts --bundle --platform=neutral --format=esm --target=es2022 --outfile=dist/index.js","check":"pnpm run test && pnpm run check:pack","clean":"node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"","prepack":"pnpm run build","check:pack":"pnpm pack --dry-run"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e1813d35-d7c8-40bc-8b55-fd98dc1cad15"}},"repository":{"url":"git+https://github.com/Coding-Club-IITG/Ops.git","type":"git","directory":"contracts/log-event-v1"},"_npmVersion":"11.17.0","description":"Telemetry contracts shared by Coding Club IITG services","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.28.2","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/ops-contract_0.2.0_1787839052522_0.9451670769740399","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@coding-club-iitg/ops-contract","version":"0.3.0","description":"Telemetry contracts shared by Coding Club IITG services","type":"module","sideEffects":false,"license":"UNLICENSED","repository":{"type":"git","url":"git+https://github.com/Coding-Club-IITG/Ops.git","directory":"contract"},"homepage":"https://github.com/Coding-Club-IITG/Ops/tree/main/contract","bugs":{"url":"https://github.com/Coding-Club-IITG/Ops/issues"},"engines":{"node":">=18"},"types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./fixtures/*":"./fixtures/*","./package.json":"./package.json"},"publishConfig":{"access":"public"},"scripts":{"clean":"node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"","build":"pnpm run clean && tsc -p tsconfig.build.json && esbuild index.ts --bundle --platform=neutral --format=esm --target=es2022 --outfile=dist/index.js","test":"pnpm run build && node --test log-event-v1.test.mjs","check:pack":"pnpm pack --dry-run","check":"pnpm run test && pnpm run check:pack","prepack":"pnpm run build"},"devDependencies":{"esbuild":"^0.28.2","typescript":"^6.0.3"},"gitHead":"bec5c248590b02c40aac8a9d54ea8e8d307a4c61","_id":"@coding-club-iitg/ops-contract@0.3.0","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-cuF9HwuDskcpOqptHi3MlDUfgjukR1ISZQUuSTEbMCaB9KI9qMp/CNR5oW6VDXTIyZRhH6lxvlSA/zl8ICiXlg==","shasum":"fd80a76699050d54c16397577434f674275ddff3","tarball":"https://registry.npmjs.org/@coding-club-iitg/ops-contract/-/ops-contract-0.3.0.tgz","fileCount":24,"unpackedSize":36972,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@coding-club-iitg%2fops-contract@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBvwWd012rSgfWNn1MWkXFJPspd4zBDldYJHjYdMjPswAiEArgKFkQ35p/JTbapONx08wn6FKgrjcF45sI/y8bB6dtY="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e1813d35-d7c8-40bc-8b55-fd98dc1cad15"}},"directories":{},"maintainers":[{"name":"cciitg","email":"codingclubiitguw@gmail.com"},{"name":"maydayv7","email":"maydayv7@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ops-contract_0.3.0_1787954173949_0.7167736364524722"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-25T23:12:58.267Z","modified":"2026-08-28T21:56:14.509Z","0.1.0":"2026-08-25T23:12:58.522Z","0.2.0":"2026-08-27T13:57:32.698Z","0.3.0":"2026-08-28T21:56:14.105Z"},"bugs":{"url":"https://github.com/Coding-Club-IITG/Ops/issues"},"license":"UNLICENSED","homepage":"https://github.com/Coding-Club-IITG/Ops/tree/main/contract","repository":{"type":"git","url":"git+https://github.com/Coding-Club-IITG/Ops.git","directory":"contract"},"description":"Telemetry contracts shared by Coding Club IITG services","maintainers":[{"name":"cciitg","email":"codingclubiitguw@gmail.com"},{"name":"maydayv7","email":"maydayv7@gmail.com"}],"readme":"# `@coding-club-iitg/ops-contract`\n\nThis package contains the dependency-free `LogEventV1` and `MetricEventV1`\ntelemetry wire contracts.\n\n```bash\nnpm install @coding-club-iitg/ops-contract\n```\n\n```ts\nimport {\n  parseLogEventV1,\n  parseMetricEventV1,\n  type LogEventV1,\n  type MetricEventV1,\n} from \"@coding-club-iitg/ops-contract\";\n```\n\nProjects and their services are registered in `project-registry.ts`.\nService IDs must be globally unique.\n\nThe `fixtures/valid` files are shared acceptance inputs.\nEvery producer must emit these shapes exactly, and every consumer must accept them.\nThe `fixtures/invalid` files document payloads that must be rejected or sent to\nthe ingestion dead-letter store.\n\nV1 deliberately excludes bodies, raw URLs, query values, headers, cookies,\ncredentials, IP addresses, user agents, uploaded content, identity data, stack\ntraces, and arbitrary metadata.\n`attributes` is restricted to the exported allowlist and scalar values.\nRoute parameters must be represented by framework template syntax.\n","readmeFilename":"README.md"}