{"_id":"@carbide-ifx/rpc-sdk-jsonrpc","name":"@carbide-ifx/rpc-sdk-jsonrpc","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@carbide-ifx/rpc-sdk-jsonrpc","version":"0.1.0","description":"JSON-RPC transport for the Carbide TypeScript SDK","license":"Apache-2.0","homepage":"https://github.com/carbide-ifx/carbide","repository":{"type":"git","url":"git+https://github.com/carbide-ifx/carbide.git","directory":"typescript/rpc-sdk-jsonrpc"},"publishConfig":{"access":"public"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p tsconfig.json","test":"npm run build && node --test test/*.test.cjs"},"dependencies":{"@carbide-ifx/rpc-sdk":"0.1.0"},"devDependencies":{"@types/node":"26.1.2","typescript":"7.0.2"},"_id":"@carbide-ifx/rpc-sdk-jsonrpc@0.1.0","gitHead":"a956511324818c25c780ad4bd532213921ff5734","bugs":{"url":"https://github.com/carbide-ifx/carbide/issues"},"_nodeVersion":"24.7.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-t6yeyW+oXv4sl57B0RS7OqMeN9fN/8904jnpxb4l+RqcShLhsBpcFiqR/lYuf04rLhPVsXSeioD2EiQMF1qLgw==","shasum":"c2ec520a46b27d7ddfb17fec08a651374ad7dfa5","tarball":"https://registry.npmjs.org/@carbide-ifx/rpc-sdk-jsonrpc/-/rpc-sdk-jsonrpc-0.1.0.tgz","fileCount":7,"unpackedSize":19867,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICdRj1nE6lAivJ5LXgckO1wtf/xqd722uHVVASgmBFITAiEAoTY8LzQhFqNhtyEVFpdXlC9x/WagcGISy2ZbDbfWA8s="}]},"_npmUser":{"name":"arvearve","email":"mail@arve.in"},"directories":{},"maintainers":[{"name":"arvearve","email":"mail@arve.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rpc-sdk-jsonrpc_0.1.0_1788627459398_0.42187656122039785"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-05T16:57:39.190Z","0.1.0":"2026-09-05T16:57:39.532Z","modified":"2026-09-05T16:57:39.774Z"},"maintainers":[{"name":"arvearve","email":"mail@arve.in"}],"description":"JSON-RPC transport for the Carbide TypeScript SDK","homepage":"https://github.com/carbide-ifx/carbide","repository":{"type":"git","url":"git+https://github.com/carbide-ifx/carbide.git","directory":"typescript/rpc-sdk-jsonrpc"},"bugs":{"url":"https://github.com/carbide-ifx/carbide/issues"},"license":"Apache-2.0","readme":"# @carbide-ifx/rpc-sdk-jsonrpc\n\nJSON-RPC 2.0 over HTTP transport for generated iFX TypeScript SDKs.\n\n```ts\nimport { JsonRpcSdk } from \"@carbide-ifx/rpc-sdk-jsonrpc\";\nimport { IProductAccessSdk } from \"./generated/IProductAccess\";\n\nconst sdk = await JsonRpcSdk.connect(\n  IProductAccessSdk,\n  \"http://localhost:7001\",\n  {\n    headers: { tenant: \"example\" },\n  },\n);\n\nconst products = await sdk.filter({ ids: [\"bike-1\"] });\n```\n\nThe transport uses the global Fetch API by default and accepts an alternative\n`fetch` implementation. Fire-and-forget operations use JSON-RPC notifications.\nRequest streams fail explicitly because JSON-RPC over HTTP has no standard\nstreaming interaction.\n","readmeFilename":"README.md","_rev":"1-ca89c4c995837cb8c3e6410b54726c98"}