{"_id":"rpc-nats-alvamind","_rev":"27-e3b857c3f5822402cc326c223912e588","name":"rpc-nats-alvamind","dist-tags":{"latest":"1.0.28"},"versions":{"1.0.0":{"name":"rpc-nats-alvamind","version":"1.0.0","keywords":["rpc","nats","microservices","typescript","dependency-injection"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.0","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"dist":{"shasum":"13454e4948fc5a164a1fbfc694a30ae705c88276","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.0.tgz","fileCount":47,"integrity":"sha512-EvkBa/vkUb/d/Vo06tLmHQvgycRjxgm49tNDLMN/kNPHYYa6CCyGFKI+h33fJf2XMjy3rr+XghGtzU/ekyLosg==","signatures":[{"sig":"MEQCIFw8DkmwpaNdMhVTbbyaXrJmfVerqgmex7QunwaGtcn2AiAS4R27nHqn62esEwdlJZovIQOqmoCtgWEbnblO9dKSxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":599576},"main":"build/index.js","types":"build/index.d.ts","module":"build/index.mjs","gitHead":"90b0f2df36e71ce4f9029a7952ec5b7edf77183f","scripts":{"dev":"bun run src/index.ts --watch","build":"bun build ./src/index.ts --outdir ./build --target node","clean":"rm -rf .bun .turbo .eslintcache .parcel-cache node_modules .next .cache dist build coverage .eslintcache .parcel-cache .turbo .vite yarn.lock package-lock.json bun.lockb pnpm-lock.yaml .DS_Store && echo 'Done.'","commit":"commit","source":"generate-source output=source.md exclude=build/,README.md","compose":"docker compose up -d"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"nats":"^2.19.0","tsyringe-neo":"^5.1.0","alvamind-tools":"^1.0.1","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.1.42","typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.0_1735807093188_0.33506784549381385","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"rpc-nats-alvamind","version":"1.0.1","keywords":["rpc","nats","microservices","typescript","dependency-injection"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.1","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"dist":{"shasum":"6b3fc16ec5d186721be189e4ade1dde5d50d260c","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.1.tgz","fileCount":11,"integrity":"sha512-wL5nUKqDQdHM9ZpU7xVJpWoh9uUy5HnKM7lsYCl13KSIlMQLGMeZK0A+Ddi7ENfpJWeMVhDGHrE7bspBJ+1WCg==","signatures":[{"sig":"MEUCIQDUX5yahriWDTp1qpihy8joIqaWsV0dJNWicEQNQvf9uAIgRSHhcpZO+wtjoDTxZYGeoaTuhBODwl+c0ZSS/tndG8s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":577165},"main":"build/index.js","types":"build/index.d.ts","module":"build/index.mjs","exports":{".":{"types":"./build/index.d.ts","import":"./build/index.mjs","require":"./build/index.js"}},"gitHead":"700a2e2a3f14eb24420f7b7dae27e20308e93ee9","scripts":{"dev":"bun run src/index.ts --watch","build":"npm run build:types && npm run build:js","clean":"rm -rf .bun .turbo .eslintcache .parcel-cache node_modules .next .cache dist build coverage .eslintcache .parcel-cache .turbo .vite yarn.lock package-lock.json bun.lockb pnpm-lock.yaml .DS_Store && echo 'Done.'","commit":"commit","source":"generate-source output=source.md exclude=build/","compose":"docker compose up -d","prepack":"npm run build","build:js":"bun build ./src/index.ts --outdir ./build --target node","build:types":"tsc --emitDeclarationOnly"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"nats":"^2.19.0","tsyringe-neo":"^5.1.0","alvamind-tools":"^1.0.1","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.1.42","typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.1_1735812116728_0.6341945873886017","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"rpc-nats-alvamind","version":"1.0.2","keywords":["rpc","nats","microservices","typescript","dependency-injection"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.2","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"dist":{"shasum":"8f2279651cb41eab4dc178ca8a5146a011126aa5","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.2.tgz","fileCount":11,"integrity":"sha512-iL2b+KOXHirDVb0Q+jB7aXsshAzxER4x/jiZyszBJBWgA+mITq4yGFAKyV6lPuCGt6wBa4gXjOilZReXF+c51A==","signatures":[{"sig":"MEQCIE0xYJsrNy8LqhU795RCag9CMPBq3FZ5LLhAB4LbH5pPAiBj/hLAh42V+K6Y8u9VyDpxAp9HTyUel30PqwGTvseuZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":578563},"main":"build/index.js","types":"build/index.d.ts","module":"build/index.mjs","exports":{".":{"types":"./build/index.d.ts","import":"./build/index.mjs"}},"gitHead":"63f32b21e18efc2d96f45953718e54c7d6ea8949","scripts":{"dev":"bun run src/index.ts --watch","build":"npm run build:types && npm run build:js","clean":"rm -rf .bun .turbo .eslintcache .parcel-cache node_modules .next .cache dist build coverage .eslintcache .parcel-cache .turbo .vite yarn.lock package-lock.json bun.lockb pnpm-lock.yaml .DS_Store && echo 'Done.'","commit":"commit","source":"generate-source output=source.md exclude=build/","compose":"docker compose up -d","prepack":"npm run build","build:js":"bun build ./src/index.ts --outdir ./build --target node","build:types":"tsc --emitDeclarationOnly"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"nats":"^2.19.0","tsyringe-neo":"^5.1.0","alvamind-tools":"^1.0.1","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.1.42","typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.2_1735813758098_0.39071135348611397","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"rpc-nats-alvamind","version":"1.0.4","keywords":["rpc","nats","microservices","typescript","dependency-injection"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.4","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"dist":{"shasum":"524ed6d2c4f6f9bf036e927220f53ce8bd47ff22","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.4.tgz","fileCount":11,"integrity":"sha512-XlASdtzcdqOA7Dj/wo5GoWb8losvAwHbZkP0wDE/4zqlB4+viNbejo/2Ny1VnY2N7wP0zN4ungQN47vIFYM77g==","signatures":[{"sig":"MEQCIE72gRal2B2D0cljvR02LSl2TC5A4R1MO+f+tMR/UqOyAiBQ7ZK+rMLDBx/iX3FCdZDeUlsQY64mkKcq8iJqLpBJ/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":578324},"main":"build/index.js","types":"build/index.d.ts","module":"build/index.mjs","gitHead":"4a0a998d5e5c01a0053ce792132e3263ff13d746","scripts":{"dev":"bun run src/index.ts --watch","build":"bun build ./src/index.ts --outdir ./build --target node","clean":"rm -rf .bun .turbo .eslintcache .parcel-cache node_modules .next .cache dist build coverage .eslintcache .parcel-cache .turbo .vite yarn.lock package-lock.json bun.lockb pnpm-lock.yaml .DS_Store && echo 'Done.'","commit":"commit","source":"generate-source output=source.md exclude=build/,README.md","compose":"docker compose up -d"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"nats":"^2.19.0","tsyringe-neo":"^5.1.0","alvamind-tools":"^1.0.1","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.1.42","typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.4_1735816557755_0.05721824838565315","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"rpc-nats-alvamind","version":"1.0.5","keywords":["rpc","nats","microservices","typescript","dependency-injection"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.5","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"dist":{"shasum":"40354d779ede9bf3205f53f7a2698d3f6d41cfa1","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.5.tgz","fileCount":11,"integrity":"sha512-CTc8dMlAOFZj7ETaFi/ybro0ocmpp43pvwHSRyffoP5SiPKi9W7qJ7ONp7uPxfGXzCA1i1shY2SFEKGN75FmEg==","signatures":[{"sig":"MEYCIQDGxXi+uYnqqxCr66RxT7Pm5ibpqa1wrS4UipHgTDuuDAIhAIR+fXP3SAFMpKLwPa+4TyFtHREtvZr8Y48OGElszKsB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":576889},"main":"build/index.js","types":"build/index.d.ts","module":"build/index.mjs","gitHead":"65bb7ef05c9b0efb229469b1119230226ab8c6c3","scripts":{"dev":"bun run src/index.ts --watch","build":"bun build ./src/index.ts --outdir ./build --target node","clean":"rm -rf .bun .turbo .eslintcache .parcel-cache node_modules .next .cache dist build coverage .eslintcache .parcel-cache .turbo .vite yarn.lock package-lock.json bun.lockb pnpm-lock.yaml .DS_Store && echo 'Done.'","commit":"commit","source":"generate-source output=source.md exclude=build/,README.md","compose":"docker compose up -d"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"nats":"^2.19.0","tsyringe-neo":"^5.1.0","alvamind-tools":"^1.0.1","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.1.42","typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.5_1735817343047_0.05192347650814422","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"rpc-nats-alvamind","version":"1.0.6","keywords":["rpc","nats","microservices","typescript","dependency-injection"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.6","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"dist":{"shasum":"20aa3584e7ac4e4ab1cdd41ca33451273b3aa17f","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.6.tgz","fileCount":11,"integrity":"sha512-Yd0qmqXYfLG+O+/cvPHA1GLAomtFJU7mDhXQF07puGyi38ZN2jqZLqSqMlghXwZbU323XrMbfLmz+rTeHGpQ9g==","signatures":[{"sig":"MEUCIFWUmQlShmcP4vUm+4yb2c/L7ajp9/kSid3V5XcpcCjjAiEA3qEhWrISz5BhzPdSuaDp+N/cIrzVUreIdWW3SqRvNbY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":577338},"main":"build/index.js","types":"build/index.d.ts","module":"build/index.mjs","gitHead":"481cef879abfdc6e66452a3095e1ffa747b84c96","scripts":{"dev":"bun run src/index.ts --watch","build":"bun build ./src/index.ts --outdir ./build --target node","clean":"rm -rf .bun .turbo .eslintcache .parcel-cache node_modules .next .cache dist build coverage .eslintcache .parcel-cache .turbo .vite yarn.lock package-lock.json bun.lockb pnpm-lock.yaml .DS_Store && echo 'Done.'","commit":"commit","source":"generate-source output=source.md exclude=build/,README.md","compose":"docker compose up -d"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"nats":"^2.19.0","tsyringe-neo":"^5.1.0","alvamind-tools":"^1.0.1","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.1.42","typescript":"^5.3.3","@types/node":"^20.11.24"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.6_1735818136297_0.23137535343276228","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"rpc-nats-alvamind","version":"1.0.7","keywords":["rpc","nats","microservices","typescript","dependency-injection"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.7","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"dist":{"shasum":"40a5b467705b56110afc501d3957a9237a2410e6","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.7.tgz","fileCount":11,"integrity":"sha512-794CbSi0X9U1xcNUxgQrYY1GqQMl38IWFjksgFlmol/jbHmTLmtARKMXPFNcNUjVQop8+KSYWgYQQtYzUfyY+Q==","signatures":[{"sig":"MEQCIDQZ0OyTO/knW7hzhiNbQ8jceOWymSWpKB6/nwAUWnsMAiB6jme5LL2XuTcYai4es7u8gSsm007rwZjK5esnn0lJ2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":578558},"main":"build/index.js","types":"build/index.d.ts","module":"build/index.mjs","gitHead":"00a5bfcda414b372d3c3acfa644ed990c0f53dd2","scripts":{"dev":"bun run src/index.ts --watch","build":"bun build ./src/index.ts --outdir ./build --target node","clean":"rm -rf .bun .turbo .eslintcache .parcel-cache node_modules .next .cache dist build coverage .eslintcache .parcel-cache .turbo .vite yarn.lock package-lock.json bun.lockb pnpm-lock.yaml .DS_Store && echo 'Done.'","commit":"commit","source":"generate-source output=source.md exclude=build/,README.md","compose":"docker compose up -d"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"nats":"^2.28.2","tsyringe-neo":"^5.1.0","alvamind-tools":"^1.0.2","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.1.42","typescript":"^5.7.2","@types/node":"^20.17.11"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.7_1735876507687_0.0665334772318702","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"rpc-nats-alvamind","version":"1.0.8","keywords":["rpc","nats","microservices","typescript","dependency-injection"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.8","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"dist":{"shasum":"47b11f63a7ad913c95e9e33f56177bfeb38416a6","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.8.tgz","fileCount":11,"integrity":"sha512-X6kL7w+vkZpQZCMMKEWF9/eZbysv+F/Wom4cAgvnJlPCI31hjy9gY36Z0jn567/+F2yCR9Bj9nP9d8tzzLACiA==","signatures":[{"sig":"MEQCIEf+zI7pZaPmB262y+C/Vu5cN1vtmth/j7g/t4z9c9wgAiBp7UpbQc70UAFY3j+/6rxiZtogtQsYf96xqvIgPdTkJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":578780},"main":"build/index.js","types":"build/index.d.ts","module":"build/index.mjs","gitHead":"37fbd6c17fa6dfebeecda1df9a0052baaa48525e","scripts":{"dev":"bun run src/index.ts --watch","build":"bun build ./src/index.ts --outdir ./build --target node","clean":"rm -rf .bun .turbo .eslintcache .parcel-cache node_modules .next .cache dist build coverage .eslintcache .parcel-cache .turbo .vite yarn.lock package-lock.json bun.lockb pnpm-lock.yaml .DS_Store && echo 'Done.'","commit":"commit","source":"generate-source output=source.md exclude=build/,README.md","compose":"docker compose up -d"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"nats":"^2.28.2","tsyringe-neo":"^5.1.0","alvamind-tools":"^1.0.2","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"bun-types":"^1.1.42","typescript":"^5.7.2","@types/node":"^20.17.11"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.8_1735876967816_0.9629110247294566","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"rpc-nats-alvamind","version":"1.0.9","keywords":["rpc","nats","microservices","typescript"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.9","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats-alvamind":"dist/scripts/generate-type-cli.js"},"dist":{"shasum":"2f760f703df9a7e4e135a4e83ea7c0a100c628bd","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.9.tgz","fileCount":44,"integrity":"sha512-7OVRMy11Td9TYWjxJwqY6akF5oxCjnWncWzWKc7TRg6LDXIR2df4qEY4stWcTuTOE9gb05cwgwkAbwJwm7TFnQ==","signatures":[{"sig":"MEUCIQDJVRM+nQK9g16M75015/9aO9s+VI18y0q2E98ycQHlhgIgabfIijuVnXUJ12fp+QveP3mC0bNGJfXoY5awzEka2IM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99412},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","prisma":{"seed":"bunx ts-node-esm prisma/seed.ts"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"01a269f92b460f6b509d7cbd09983b692b7e06fe","scripts":{"dev":"bun run src/index.ts --watch","test":"bun test test/*.test.ts","build":"tsc && tsc -p tsconfig.build.json","clean":"rimraf dist","commit":"commit","source":"generate-source output=source.md exclude=dist/,README.md,nats-rpc.test.ts,*.tgz,.gitignore","compose":"docker compose up -d","prebuild":"npm run clean","build:tgz":"bun run build && bun pm pack","reinstall":"clean && bun install","postinstall":"node ./scripts/postinstall.js"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"nats":"^2.28.2","pino":"^9.6.0","chalk":"^5.4.1","alvamind-tools":"^1.0.3","reflect-metadata":"^0.2.2","method-types-ts-generator-alvamind":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.42","typescript":"^5.7.2","@types/node":"^20.17.11","method-types-ts-generator-alvamind":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.9_1735992621235_0.266117456720129","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"rpc-nats-alvamind","version":"1.0.10","keywords":["rpc","nats","microservices","typescript"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.10","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"dist":{"shasum":"f872bc44853301216dc2be5779a6d91054cba9f8","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.10.tgz","fileCount":72,"integrity":"sha512-f1pLwEC7CAvp464CHS4cAf8rUq32m5Ftt2qQLpUWVgDZQH+dc67NEFpg1fn9XwJ0pMzYTGjkcJ1QX6Gztvr72A==","signatures":[{"sig":"MEUCICZ+gHI46+SO8xQ7v1658lFZBPQle7IqURROhS8ZV87XAiEAu9q7pF02592zJkCBAs8wFYV8tZx1KiQrWmwL093t7I8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":96139},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","prisma":{"seed":"bunx ts-node-esm prisma/seed.ts"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"e7597ad82f45f8f68e22f38dd307a2683e7f85a7","scripts":{"dev":"bun run src/index.ts --watch","test":"bun test test/*.test.ts","build":"tsc && tsc -p tsconfig.build.json","clean":"rimraf dist","commit":"commit","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"nats":"^2.28.2","chalk":"^5.4.1","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.42","typescript":"^5.7.2","@types/node":"^20.17.12"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.10_1736219728606_0.37267408203001917","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"rpc-nats-alvamind","version":"1.0.11","keywords":["rpc","nats","microservices","typescript"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.11","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"dist":{"shasum":"fdad3882ed4acf6017f16558faf0f6e8f16752a3","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.11.tgz","fileCount":72,"integrity":"sha512-DdKNieOgG38QX0JbRWnuVBKuH1vVHvl0Li29gGxNbdOosTyJDY+NPRR9FVcuwGeCMkZKOdl3mt5T6J05fIusIw==","signatures":[{"sig":"MEQCIBQRJ/fpPvPLGmv/25MH+B6fZiiXfIZ3/KjGrFQSjjERAiAYQiLlNUYr3Rr08I97YoEjymCnqqQGFnD7JVY9xn8WIw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":98163},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","prisma":{"seed":"bunx ts-node-esm prisma/seed.ts"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"b61ad701fa2d1cca60685d03c247511c3043b92a","scripts":{"dev":"bun run src/index.ts --watch","test":"bun test test/*.test.ts","build":"tsc && tsc -p tsconfig.build.json","clean":"rimraf dist","commit":"commit","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"nats":"^2.28.2","chalk":"^5.4.1","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.42","typescript":"^5.7.2","@types/node":"^20.17.12"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.11_1736220723933_0.39901400482888794","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"rpc-nats-alvamind","version":"1.0.12","keywords":["rpc","nats","microservices","typescript"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.12","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/scripts/generate-services.js"},"dist":{"shasum":"e0d1a4f08cd4d7c147da06cb661e396c3219f290","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.12.tgz","fileCount":72,"integrity":"sha512-sdfvmmPFjGVuUvQiyw4Pg0tYIgdII8D0Q1ZaxpSugqqnBQSxn8ZUkzxDYG9hf9psXfSp9AfamFgdKIb/7BUZTA==","signatures":[{"sig":"MEQCIB7a92grGnudmw0ufYbU5lpyoAk1o74lomUOus2hOpeBAiARArtEke+C64kPDMz+tzlu7wghbYUzN2o9zxipAC4BCA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102950},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"0564eb3ae785b60a2b2ba1ff4c43491e0090abb7","scripts":{"dev":"bun run src/index.ts --watch","test":"bun test test/*.test.ts","build":"tsc && tsc -p tsconfig.build.json && chmod +x dist/scripts/*.js","clean":"clean","commit":"commit","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","prepare":"bun run build","build:tgz":"bun run build && bun pm pack","reinstall":"clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","postinstall":"node welcome.js","publish-npm":"publish-npm patch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"^5.4.1","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1","@typescript-eslint/parser":"^8.19.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.42","typescript":"^5.7.2","@types/node":"^20.17.12","@types/yargs":"^17.0.33","@types/lodash":"^4.17.14"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.12_1736252538037_0.4049668188973816","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"rpc-nats-alvamind","version":"1.0.13","keywords":["rpc","nats","microservices","typescript"],"author":{"name":"Alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.13","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/scripts/generate-services.js"},"dist":{"shasum":"1f637a0075ded1e654d2d4e93feb698165fe1129","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.13.tgz","fileCount":72,"integrity":"sha512-7dgJxp+XX/Pj9IV0tFFuh02wS4qezpaxDzueI78lU9bBVuZRhuqrjr2pBpAI3ISJkQKDTlsg2TkS8V3qcNxkhw==","signatures":[{"sig":"MEYCIQDCaEd7qbYUOJ5ChzWXVyMe31mi0FwmcJyVZRfHUg6LxgIhAOsGBjkQgkDYOOEa1kkWRG6jIGMoSgUXDGfe2lpOiXMd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102949},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"481850cec6e5a7d149afd54212ea73bd07bffd36","scripts":{"dev":"bun run src/index.ts --watch","test":"bun test test/*.test.ts","build":"tsc && tsc -p tsconfig.build.json && chmod +x dist/scripts/*.js","clean":"clean","commit":"commit","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","prepare":"bun run build","build:tgz":"bun run build && bun pm pack","reinstall":"clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","postinstall":"node welcome.js","publish-npm":"publish-npm patch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"4.1.2","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1","@typescript-eslint/parser":"^8.19.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.42","typescript":"^5.7.2","@types/node":"^20.17.12","@types/yargs":"^17.0.33","@types/lodash":"^4.17.14"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.13_1736252989741_0.9225471932604976","host":"s3://npm-registry-packages-npm-production"}},"1.0.14":{"name":"rpc-nats-alvamind","version":"1.0.14","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.14","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/src/generate-services.js"},"dist":{"shasum":"e9300b04c7e9debcacbdef59f248c6ea612ad893","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.14.tgz","fileCount":45,"integrity":"sha512-FkdfEv544KM+Rh1SD7hkSxVPmYYT4M4N++N3RZkmI2NxccggOBkLAuxXIqj2kAL/fnykCsoDhxrRqQ42061Oxg==","signatures":[{"sig":"MEYCIQD6p4EIeMceuq4h/TbYl4eOtjU3WI4mCgQxSLv794kxaAIhAOYdJK7X3UHNjNsu2NZKznO4tLIPF/cKpIfdFMvgHKya","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72976},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6f9814fd037ae4dfae8b69ccb3a5b00a5c295d51","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc && tsc -p tsconfig.build.json && chmod +x dist/*.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"^5.3.0","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1","@typescript-eslint/parser":"^8.19.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","ts-node":"^10.9.2","bun-types":"^1.1.42","typescript":"^5.7.2","@types/node":"^22.10.5","@types/yargs":"^17.0.33","@types/lodash":"^4.17.14"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.14_1736255494353_0.4459893211917685","host":"s3://npm-registry-packages-npm-production"}},"1.0.15":{"name":"rpc-nats-alvamind","version":"1.0.15","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.15","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"bede3f5f3e564958f1fe75d1fcd5ac4cdd7c35ad","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.15.tgz","fileCount":45,"integrity":"sha512-bx2dUDEAkVscUp+wO2oRSLihA15A+gFNYk/4YC7xSm4CR94cqvjsr68/YKu5AbXFYPTlAsSmyOrJrZm/JHKdvw==","signatures":[{"sig":"MEUCIQCnBqv36Ogf6Yy/eoJPw9Cls06Pm8lrTg/0WKv98tVuZgIgUQ8Os7ORwEtNy63+VhiYQ1T6nCOCC5fykXrEa7XFj50=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72972},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"722acf5da35a17353d4f27e46c526b3926abbd32","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc && tsc -p tsconfig.build.json && chmod +x dist/*.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"^5.3.0","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1","@typescript-eslint/parser":"^8.19.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","ts-node":"^10.9.2","bun-types":"^1.1.42","typescript":"^5.7.2","@types/node":"^22.10.5","@types/yargs":"^17.0.33","@types/lodash":"^4.17.14"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.15_1736255527215_0.6731972719647175","host":"s3://npm-registry-packages-npm-production"}},"1.0.16":{"name":"rpc-nats-alvamind","version":"1.0.16","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.16","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"626abd93620cb8ef2e5ee3697d2faa017ee435e2","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.16.tgz","fileCount":45,"integrity":"sha512-WHcSZnFAxnh+GBnRGxo+sg8Lxc6aYq3KuNAXuG2dRIuZJ/chwRR1BQQmWiCyxh8R7ATa33qQLQVZvngTathbGw==","signatures":[{"sig":"MEUCIQCqpP78eJwA1RNrO5aZXEA3//m3Y8izAQ2BBlRhWW50TQIgFHhVooBbJSlu1pnBJYxskg+5TujCwapWiUYBwtdDD14=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80252},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c77e175b91babad9a8d05f98805ad0af41373fb2","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc && tsc -p tsconfig.build.json && chmod +x dist/*.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"^5.3.0","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1","@typescript-eslint/parser":"^8.19.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","ts-node":"^10.9.2","bun-types":"^1.1.42","@types/bun":"^1.1.15","typescript":"^5.7.2","@types/node":"^22.10.5","@types/yargs":"^17.0.33","@types/lodash":"^4.17.14"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.16_1736296496415_0.9680941274990289","host":"s3://npm-registry-packages-npm-production"}},"1.0.17":{"name":"rpc-nats-alvamind","version":"1.0.17","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.17","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"46a5f2fb4410aab91bebc6c3e259d9994f33b41d","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.17.tgz","fileCount":45,"integrity":"sha512-Dvn9BoytJmuI0OWmigUFKKFo8v3xFgURQkR/oeZ/HDuuwkaQ5MSnjbI3JD/CBVeJ/cksT3eCj/pChGxHg9zsnA==","signatures":[{"sig":"MEYCIQDjN4xn80Lz+NGlFG1INzeeO6VIXtf0DtUOhKkUyey0pgIhALNTe4huOh2d1uEv4/VKpKWPIjlufxZM5C1OA055b2Zc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80297},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"0736db95cc0b09b8c5aff30062f4158a089fba6b","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc && tsc -p tsconfig.build.json && chmod +x dist/*.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"^5.3.0","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1","@typescript-eslint/parser":"^8.19.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","ts-node":"^10.9.2","bun-types":"^1.1.42","@types/bun":"^1.1.15","typescript":"^5.7.2","@types/node":"^22.10.5","@types/yargs":"^17.0.33","@types/lodash":"^4.17.14"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.17_1736297220080_0.5227698718445473","host":"s3://npm-registry-packages-npm-production"}},"1.0.18":{"name":"rpc-nats-alvamind","version":"1.0.18","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.18","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"5ae68cf46dd7040234f33b873718db60caca9ede","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.18.tgz","fileCount":45,"integrity":"sha512-RQsVS1j9DcJ0qI3xTjgOvM44Zh30E8gCs2RNdPmnOuD2df3r/0+TTnotwbS4RlaQuqoTWaq34pFWbAnbjAlIbg==","signatures":[{"sig":"MEUCIC0dXPCyhnZqdhzlipxHBlJjVHKVWOl5Sl8kOqDg9CidAiEA1F8kEyeSxwIA5eFeem8QAxz5/JA/nKt5u/2KPQwtybo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80313},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"969aff0af99c4aa13fe6a42e2141e53e9900d73c","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc && tsc -p tsconfig.build.json && chmod +x dist/generate-services.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"^5.3.0","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1","@typescript-eslint/parser":"^8.19.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","ts-node":"^10.9.2","bun-types":"^1.1.42","@types/bun":"^1.1.15","typescript":"^5.7.2","@types/node":"^22.10.5","@types/yargs":"^17.0.33","@types/lodash":"^4.17.14"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.18_1736297674541_0.8905676526981587","host":"s3://npm-registry-packages-npm-production"}},"1.0.19":{"name":"rpc-nats-alvamind","version":"1.0.19","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.19","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"7fb241ca49d4bae5d757a2ac39913efde0e0c7b2","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.19.tgz","fileCount":45,"integrity":"sha512-QnqzGI5lWMG+bBP7WGLCugiFApP4ibW/psnnd9tv0Mdn66Y8zSZtfoN0p/UERzb3VfTCLW2wZKH3vH0s0goSuQ==","signatures":[{"sig":"MEUCIHOWT71qS81u+N9CIBQ2Wp64M8OkC87sEC9cPKWlVNyqAiEAoKzFDB2k29aRqrPh2XssQ4iNk6oXDG6QAhA5TUTh7eU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80119},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b8af84b1a8988f0429094da009669ea640ced211","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc && tsc -p tsconfig.build.json && chmod +x dist/generate-services.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"^5.3.0","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1","@typescript-eslint/parser":"^8.19.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","ts-node":"^10.9.2","bun-types":"^1.1.42","@types/bun":"^1.1.15","typescript":"^5.7.2","@types/node":"^22.10.5","@types/yargs":"^17.0.33","@types/lodash":"^4.17.14"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.19_1736306098347_0.3993140046036028","host":"s3://npm-registry-packages-npm-production"}},"1.0.20":{"name":"rpc-nats-alvamind","version":"1.0.20","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.20","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"191a3cbc1ae6c934862df5dcf8d24f08a41c1d1c","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.20.tgz","fileCount":45,"integrity":"sha512-M01SGhm9wQiD4xCMrE0ebgHqorYQ9PRiT9aZMk6rUB7/Vy883hsfzZG2dmJZ2p6mDsC2tUMEtFp7RO84hLXmxw==","signatures":[{"sig":"MEUCIEwPJvJ/Jt7dDbAkQ8JRAbuhz/gkxxXpHi9z8g45OJYlAiEAvQGKzXOy914658JMI9F5n0C5Jt9pO+lm0uUT+wZgn+E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82571},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9cb6356831b14527e503ea58ce2aa01d6d3e6c8f","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc -p tsconfig.build.json && chmod +x dist/generate-services.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"^5.3.0","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","typescript":"^5.7.2","@types/lodash":"^4.17.14","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.42","@types/bun":"^1.1.15","@types/yargs":"^17.0.33"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.20_1736335783603_0.7235932670268437","host":"s3://npm-registry-packages-npm-production"}},"1.0.21":{"name":"rpc-nats-alvamind","version":"1.0.21","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.21","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"73f90f6543ee9579d128b0c425208b44c70e1b1c","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.21.tgz","fileCount":45,"integrity":"sha512-B2y62NpkvroJzBsLR3X0IfO9ihzOmO3P+xIELNu7GlPN6i6FgYeKv/9Oua67ClYi/iQvjFrEaVx7KrMOPMaUtg==","signatures":[{"sig":"MEUCID4upC2Vvscx8jyLuZuSuHzGZsalHGTVqYKcOHgbz3h5AiEAh5tKKHgUSZ6+JpkOE0ojAfMEhR46scJMIhKd6HcZioU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84056},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6b02d31897725b5ab0884a140b90af5b40ae3fe0","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc -p tsconfig.build.json && chmod +x dist/generate-services.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"^5.3.0","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","typescript":"^5.7.2","@types/lodash":"^4.17.14","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.42","@types/bun":"^1.1.15","@types/yargs":"^17.0.33"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.21_1736357153348_0.27062728740413733","host":"s3://npm-registry-packages-npm-production"}},"1.0.22":{"name":"rpc-nats-alvamind","version":"1.0.22","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.22","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"f5c594009ffc9eca2ea1dcfde02141860ef0f2ec","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.22.tgz","fileCount":45,"integrity":"sha512-8e7rYG39Qnq1BpIN2WjGYLnO+DqN7gx91A9HQFdR7Ip+uH+W+4peJSN8trnlCzRc1qdozXd9VdysW39DayYEWQ==","signatures":[{"sig":"MEUCIQCRNCniuz4IbNy8zxWOlt0ydpxoGkQQeEUjuaWWHXqFpgIgfgWokXIHt8xPzjoaWgTw8onYG6x74js061xpoq6f4rw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87713},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"96bc1d6c186eeaf71e2bd1cb8f06100346f55d18","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc -p tsconfig.build.json && chmod +x dist/generate-services.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"^5.3.0","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","typescript":"^5.7.2","@types/lodash":"^4.17.14","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","retry-util-alvamind":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.42","@types/bun":"^1.1.15","@types/yargs":"^17.0.33"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.22_1736388417173_0.987176353632341","host":"s3://npm-registry-packages-npm-production"}},"1.0.23":{"name":"rpc-nats-alvamind","version":"1.0.23","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.23","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"127931226c2266d6fba359e706ff6b548776a2e9","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.23.tgz","fileCount":45,"integrity":"sha512-OU+noj4KJez2iP8yfnSH5aUUniQLAC9oHKRtXiPUYOEQsuwLxwVJn/yfnsSBQg9oMf/iZElLKt3HGP+gOcxlHA==","signatures":[{"sig":"MEYCIQDuk3DrOuJxywYGUKFuxMtQKx0xhdlNx6imuPcYJYtKmwIhAIRQ/PwTUi448lGiobetreLUoUSPhALKhfZU2PPl2hET","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87071},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"da923ae4e822a1da4a19c88d1eabc912a6efddfb","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc -p tsconfig.build.json && chmod +x dist/generate-services.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.0","nats":"^2.28.2","chalk":"^5.3.0","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","picomatch":"^4.0.2","typescript":"^5.7.2","@types/lodash":"^4.17.14","alvamind-tools":"^1.0.20","logger-alvamind":"^1.0.1","@types/picomatch":"^3.0.1","retry-util-alvamind":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.42","@types/bun":"^1.1.15","@types/yargs":"^17.0.33"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.23_1736390342097_0.7841412016120279","host":"s3://npm-registry-packages-npm-production"}},"1.0.24":{"name":"rpc-nats-alvamind","version":"1.0.24","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.24","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"587d698c67e3bd79d4c9f14d7fa54c638af614fb","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.24.tgz","fileCount":45,"integrity":"sha512-H87kgQPSTedXbSTnJQQMJnGKa+VEXYu212bkpeedX6O8iEgq67t/ruzF/x1YANZ3KLa4P4h3Hm/xJdlAblyIaA==","signatures":[{"sig":"MEUCIQDIvG6T1zuoJQoHbGKFGb+HB7dFqI+M6CHnRIDCSmwIxwIgTDPP5SzYrUAx7rd55J5rBJyK3Gsu7aFtU29rvfXVD6c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87087},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"da923ae4e822a1da4a19c88d1eabc912a6efddfb","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc -p tsconfig.build.json && chmod +x dist/generate-services.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb,*md,*.test.ts --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.1","nats":"^2.29.1","chalk":"^5.4.1","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","picomatch":"^4.0.2","typescript":"^5.7.3","@types/lodash":"^4.17.14","alvamind-tools":"^1.0.23","logger-alvamind":"^1.0.4","@types/picomatch":"^3.0.1","retry-util-alvamind":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.43","@types/bun":"^1.1.16","@types/yargs":"^17.0.33"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.24_1736551373805_0.8880936760465743","host":"s3://npm-registry-packages-npm-production"}},"1.0.25":{"name":"rpc-nats-alvamind","version":"1.0.25","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.25","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"3ea27aa8204480d02e4e4180df6d82ede2b2637a","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.25.tgz","fileCount":45,"integrity":"sha512-oNwYafj2/cW6GEzHj22876XsTKMTMQXMv3oebnvF9fR+H41lTypiQ7w/T4OigDLAhUg33wRePtwUoSrvXDZ2wg==","signatures":[{"sig":"MEYCIQC/juYZZUaVYK85piONl6xYXOGYvGLYiAZnWXvdbLg3SQIhAOtpIYy8Ohf0M6zNQHapMxoMJPUzUFa4A1TgkZNGbNp7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":93714},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9fad2e5b4b5a0f44d7ab4e7193089ca70c2efd3a","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc -p tsconfig.build.json && chmod +x dist/generate-services.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb,*md,*.test.ts --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.1","nats":"^2.29.1","chalk":"^5.4.1","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","picomatch":"^4.0.2","typescript":"^5.7.3","@types/lodash":"^4.17.14","alvamind-tools":"^1.0.23","logger-alvamind":"^1.0.4","@types/picomatch":"^3.0.1","retry-util-alvamind":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.43","@types/bun":"^1.1.16","@types/yargs":"^17.0.33"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.25_1736569199380_0.9097297221721625","host":"s3://npm-registry-packages-npm-production"}},"1.0.26":{"name":"rpc-nats-alvamind","version":"1.0.26","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.26","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"aa64e0105047868b45f9f16a3568c77775916aa8","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.26.tgz","fileCount":45,"integrity":"sha512-GrrwPeFPdTZjOcwU74MEQjlVfx1OxUtx/u/EQU59jZHMhnEDqeI29/dqrvVenMdM5lTeF4soh7UejBcLYv1M0A==","signatures":[{"sig":"MEYCIQDjpB40vctYuySRGzDkHb8tcGhcSWJemDIVGiPAac2wZAIhAJCvXCEwRp8weBDovAX+DT6khyPusgrUFs14oTTFPMx/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91958},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"27e9fca405d485f9a2f9108685cac713fe069fbb","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc -p tsconfig.build.json && chmod +x dist/generate-services.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb,*md,*.test.ts --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.1","nats":"^2.29.1","chalk":"^5.4.1","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","picomatch":"^4.0.2","typescript":"^5.7.3","@types/lodash":"^4.17.14","alvamind-tools":"^1.0.23","logger-alvamind":"^1.0.4","@types/picomatch":"^3.0.1","retry-util-alvamind":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.43","@types/bun":"^1.1.16","@types/yargs":"^17.0.33"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.26_1736896702397_0.8456718539907133","host":"s3://npm-registry-packages-npm-production"}},"1.0.27":{"name":"rpc-nats-alvamind","version":"1.0.27","keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","_id":"rpc-nats-alvamind@1.0.27","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"bin":{"rpc-nats":"dist/generate-services.js"},"dist":{"shasum":"6c511effa2d2ca3216cfd0d0846ce37f5d394114","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.27.tgz","fileCount":45,"integrity":"sha512-mDmnRjzFog96jKoNwxElU3+5jz3QWzatpZcVLBwoMnVRRa54mzcJHgPge/BPYkGQp5oc95lIwiWqGwckZxXvbA==","signatures":[{"sig":"MEQCIH5/pOWX5soih3yvAnIOd0uV+zLtZPTBmYbrp70tpwNXAiAa/Wdzn1S35H41AOBcCOjSUQ8VL3ggFzofPlI1QjKh6w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89579},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b377d33eeef0e250af221d521fa161632bcb17ec","scripts":{"dev":"bun tsc --watch","lint":"eslint \"src/**/*.ts\" --fix","test":"bun test test/*.test.ts","build":"tsc -p tsconfig.build.json && chmod +x dist/generate-services.js","clean":"clean","commit":"commit","format":"prettier --write \"src/**/*.ts\"","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb,*md,*.test.ts --output=source.md","compose":"docker compose up -d","build:tgz":"bun run build && bun pm pack","reinstall":"bun clean && bun install","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch"},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"repository":{"url":"git+https://github.com/alvamind/rpc-nats-alvamind.git","type":"git"},"_npmVersion":"9.2.0","description":"A flexible RPC library using NATS","directories":{},"_nodeVersion":"20.16.0","dependencies":{"glob":"^11.0.1","nats":"^2.29.1","chalk":"^5.4.1","yargs":"^17.7.2","lodash":"^4.17.21","chokidar":"^4.0.3","ts-morph":"^25.0.0","picomatch":"^4.0.2","typescript":"^5.7.3","@types/lodash":"^4.17.14","alvamind-tools":"^1.0.23","logger-alvamind":"^1.0.4","@types/picomatch":"^3.0.1","retry-util-alvamind":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","bun-types":"^1.1.43","@types/bun":"^1.1.16","@types/yargs":"^17.0.33"},"peerDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rpc-nats-alvamind_1.0.27_1736898666342_0.1749385650022477","host":"s3://npm-registry-packages-npm-production"}},"1.0.28":{"name":"rpc-nats-alvamind","version":"1.0.28","description":"A flexible RPC library using NATS","main":"dist/index.js","types":"dist/index.d.ts","bin":{"rpc-nats":"dist/generate-services.js"},"repository":{"type":"git","url":"git+https://github.com/alvamind/rpc-nats-alvamind.git"},"scripts":{"format":"prettier --write \"src/**/*.ts\"","lint":"eslint \"src/**/*.ts\" --fix","generate-services":"ts-node scripts/generate-services.ts","generate-services:watch":"ts-node scripts/generate-services.ts --watch","dev":"bun tsc --watch","compose":"docker compose up -d","commit":"commit","reinstall":"bun clean && bun install","build":"tsc -p tsconfig.build.json && chmod +x dist/generate-services.js","source":"generate-source --exclude=**/dist/**,.gitignore,bun.lockb,*md,*.test.ts --output=source.md","clean":"clean","build:tgz":"bun run build && bun pm pack","test":"bun test test/*.test.ts","split-code":"split-code source=combined.ts markers=src/,lib/ outputDir=./output","publish-npm":"publish-npm patch"},"keywords":["rpc","nats","typescript","microservices"],"author":{"name":"alvamind"},"license":"MIT","dependencies":{"@types/lodash":"^4.17.14","@types/picomatch":"^3.0.1","alvamind-tools":"^1.0.23","chalk":"^5.4.1","chokidar":"^4.0.3","glob":"^11.0.1","lodash":"^4.17.21","logger-alvamind":"^1.0.4","nats":"^2.29.1","picomatch":"^4.0.2","retry-util-alvamind":"^1.0.1","ts-morph":"^25.0.0","typescript":"^5.7.3","yargs":"^17.7.2"},"devDependencies":{"@types/bun":"^1.1.16","@types/yargs":"^17.0.33","bun-types":"^1.1.43","rimraf":"^6.0.1"},"peerDependencies":{"typescript":"^5.0.0"},"gitHead":"d548d949dc58c5861adb292aa368ff06f5ea1ff9","bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","_id":"rpc-nats-alvamind@1.0.28","_nodeVersion":"20.16.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-LTMkHEPE5aiJfUHOirGpWu9DSzZEgoZXLY1sDvAhU7wpXvcDylIZJE8hFzJUm7xgbBTxFVoC87NSFzC+TfQCxg==","shasum":"3daad4f4bd066084cb84991d8ea5ec19f2dbbe1d","tarball":"https://registry.npmjs.org/rpc-nats-alvamind/-/rpc-nats-alvamind-1.0.28.tgz","fileCount":45,"unpackedSize":87331,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB4dYlGHnXOZJd91hWXRuhZyTH0QD1GstW1pzR2WdlHUAiEAsJQtHl6dl/yRhWqpYnyCiV6pWJTh0a6/fUmK24RPBJM="}]},"_npmUser":{"name":"alvamind","email":"alvaminddigital@gmail.com"},"directories":{},"maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rpc-nats-alvamind_1.0.28_1736904777817_0.14433306044721927"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-02T08:38:13.187Z","modified":"2025-01-15T01:32:58.183Z","1.0.0":"2025-01-02T08:38:13.371Z","1.0.1":"2025-01-02T10:01:56.907Z","1.0.2":"2025-01-02T10:29:18.268Z","1.0.4":"2025-01-02T11:15:57.960Z","1.0.5":"2025-01-02T11:29:03.241Z","1.0.6":"2025-01-02T11:42:16.478Z","1.0.7":"2025-01-03T03:55:07.876Z","1.0.8":"2025-01-03T04:02:47.995Z","1.0.9":"2025-01-04T12:10:21.457Z","1.0.10":"2025-01-07T03:15:28.778Z","1.0.11":"2025-01-07T03:32:04.123Z","1.0.12":"2025-01-07T12:22:18.206Z","1.0.13":"2025-01-07T12:29:49.896Z","1.0.14":"2025-01-07T13:11:34.559Z","1.0.15":"2025-01-07T13:12:07.450Z","1.0.16":"2025-01-08T00:34:56.605Z","1.0.17":"2025-01-08T00:47:00.259Z","1.0.18":"2025-01-08T00:54:34.768Z","1.0.19":"2025-01-08T03:14:58.540Z","1.0.20":"2025-01-08T11:29:43.779Z","1.0.21":"2025-01-08T17:25:53.549Z","1.0.22":"2025-01-09T02:06:57.350Z","1.0.23":"2025-01-09T02:39:02.313Z","1.0.24":"2025-01-10T23:22:54.005Z","1.0.25":"2025-01-11T04:19:59.613Z","1.0.26":"2025-01-14T23:18:22.637Z","1.0.27":"2025-01-14T23:51:06.528Z","1.0.28":"2025-01-15T01:32:58.003Z"},"bugs":{"url":"https://github.com/alvamind/rpc-nats-alvamind/issues"},"author":{"name":"alvamind"},"license":"MIT","homepage":"https://github.com/alvamind/rpc-nats-alvamind#readme","keywords":["rpc","nats","typescript","microservices"],"repository":{"type":"git","url":"git+https://github.com/alvamind/rpc-nats-alvamind.git"},"description":"A flexible RPC library using NATS","maintainers":[{"name":"alvamind","email":"alvaminddigital@gmail.com"}],"readme":"# 📦 rpc-nats-alvamind: Your Go-To RPC Library with NATS\n\n**⚡️ Supercharge your microservices with seamless, reliable communication!**\n\n## 🤔 What's the Deal?\n\n`rpc-nats-alvamind` is a lightweight, flexible RPC (Remote Procedure Call) library built on top of the blazing-fast NATS messaging system. It's designed for building robust, scalable microservices with ease. Think of it as the glue that holds your distributed systems together! 🧩\n\n## ✨ Key Features\n\n*   **💨 NATS Power:** Built on top of NATS, leveraging its speed and reliability for high-performance messaging.\n*   **🔌 Codec Flexibility:** Supports `json` and `string` codecs. Easily plug in your own!\n*   **🎯 Type-Safe Proxies:** Generate client proxies with strong typing, reducing runtime errors.\n    *   Choose between `ClassTypeProxy` or `as unknown as ClassName` casting for generated proxies.\n*   **🛡️ Error Handling:** Handles errors gracefully with retry logic and dead-letter queue (DLQ) support.\n*   **⏱️ Customizable Timeouts:** Set timeouts for requests to prevent hanging calls.\n*   **🔄 Prototype Chain Support:** Works flawlessly with class inheritance, making your life easier.\n*   **🪵 Logger Integration:** Includes built-in logging with `logger-alvamind` for easy debugging.\n*   **🛠️ Easy Setup:** Simple to install and use, getting you up and running in minutes.\n*   **✅ Fully Tested:** Comes with a comprehensive test suite for reliability.\n\n## 🚀 Benefits\n\n*   **⚡️ Speed & Efficiency:** NATS's performance gives you lightning-fast RPC calls.\n*   **⚙️ Scalability:** Designed for microservices, making it easy to scale your apps.\n*   **🧱 Modular Design:** The code is clean and well-organized, making it easy to maintain and extend.\n*   **✅ Reliability:** Retry logic and DLQ ensure your requests are processed, even when things get bumpy.\n*   **🧑‍💻 Developer-Friendly:** Easy-to-use API with TypeScript support.\n*   **🥳 Code That's Fun:** Built with modern JS, you'll enjoy developing with this!\n\n## 🛠️ Installation\n\n```bash\nbun add rpc-nats-alvamind\n```\n\n## 📖 Usage\n\n### 1. Setting Up a Server\n\n```typescript\nimport { RPCServer } from 'rpc-nats-alvamind';\n\n// Define your service classes\nclass MyService {\n  async hello(name: string): Promise<string> {\n    return `Hello, ${name}!`;\n  }\n    async complexObject(data: any): Promise<any> {\n        return data\n    }\n}\n\nclass AnotherService {\n  async greet(message: string): Promise<string> {\n    return `Server says: ${message}`;\n  }\n}\n\nasync function main() {\n  const server = new RPCServer({ url: 'nats://localhost:4222', debug: true }); // Pass in your NATS options\n  await server.start();\n\n  // Register your service instances\n  await server.handleRequest(new MyService());\n  await server.handleRequest(new AnotherService());\n    // or with retry\n   await server.handleRequest(new MyService(),{ retry: { attempts: 3, delay: 100 } });\n   await server.handleRequest(new AnotherService(), { dlq: 'my.dlq', retry: { attempts: 3, delay: 100 } });\n\n  console.log('RPC Server is running!');\n}\n\nmain();\n```\n\n### 2. Creating a Client Proxy\n\n```typescript\nimport { RPCClient, ClassTypeProxy } from 'rpc-nats-alvamind';\n\n// Define your service interfaces/classes, matching server side\nclass MyService {\n  hello(name: string): Promise<string> {\n    throw new Error('Method not implemented.');\n  }\n    complexObject(data: any): Promise<any> {\n        throw new Error('Method not implemented.');\n    }\n}\nclass AnotherService {\n  greet(message: string): Promise<string> {\n      throw new Error('Method not implemented.');\n    }\n}\nasync function main() {\n  const client = new RPCClient({ url: 'nats://localhost:4222', debug: true, timeout: 5000 }); // Pass in your NATS options\n  await client.start();\n\n  // Generate proxies\n  const myServiceClient: ClassTypeProxy<MyService> = client.createProxy(MyService);\n  const anotherServiceClient: ClassTypeProxy<AnotherService> = client.createProxy(AnotherService);\n\n  // Use the generated proxies to make RPC calls\n  const response1 = await myServiceClient.hello('World');\n  console.log('Response 1:', response1); // Output: Hello, World!\n\n  const response2 = await anotherServiceClient.greet('Howdy!');\n  console.log('Response 2:', response2); // Output: Server says: Howdy!\n  const data = { name: \"Complex\", data: { nested: [{ value: 1, isTrue: true, date: new Date(), bigint: BigInt(9007199254740991) }] } }\n    const response3 = await myServiceClient.complexObject(data)\n    console.log('Response 3:', response3);\n\n  await client.close();\n}\n\nmain();\n```\n\n### 3. Codec Usage\n\n```typescript\nimport { RPCServer, RPCClient, ClassTypeProxy, getCodec } from 'rpc-nats-alvamind';\n\n// Server Side\nclass MyService {\n  async hello(name: string): Promise<string> {\n    return `Hello, ${name}!`;\n  }\n}\n\nasync function mainServer() {\n  const server = new RPCServer({ url: 'nats://localhost:4222', codec: \"string\" }); // using string codec\n  await server.start();\n  await server.handleRequest(new MyService());\n}\nmainServer();\n\n// Client Side\nclass MyService {\n    hello(name: string): Promise<string> {\n        throw new Error('Method not implemented.');\n    }\n}\nasync function mainClient() {\n  const client = new RPCClient({ url: 'nats://localhost:4222', codec: \"string\"}); // using string codec\n  await client.start();\n  const myServiceClient: ClassTypeProxy<MyService> = client.createProxy(MyService);\n    const response1 = await myServiceClient.hello('World');\n    console.log('Response 1:', response1); // Output: Hello, World!\n  await client.close();\n}\nmainClient();\n```\n\n### 4. Custom Codec Usage\n\n```typescript\nimport { RPCServer, RPCClient, ClassTypeProxy, NatsCodec } from 'rpc-nats-alvamind';\n\n// Server Side\n//Custom Codec\nclass MyCustomCodec implements NatsCodec<any>{\n  encode(data: any): Uint8Array {\n    return new TextEncoder().encode(JSON.stringify(data));\n  }\n  decode(data: Uint8Array): any {\n    const value = new TextDecoder().decode(data)\n    return JSON.parse(value);\n  }\n}\n\nclass MyService {\n  async hello(name: string): Promise<string> {\n    return `Hello, ${name}!`;\n  }\n}\n\nasync function mainServer() {\n  const codec = new MyCustomCodec();\n  const server = new RPCServer({ url: 'nats://localhost:4222', codec: codec });\n  await server.start();\n  await server.handleRequest(new MyService());\n}\nmainServer();\n\n// Client Side\nclass MyService {\n  hello(name: string): Promise<string> {\n    throw new Error('Method not implemented.');\n  }\n}\n\nasync function mainClient() {\n  const codec = new MyCustomCodec()\n  const client = new RPCClient({ url: 'nats://localhost:4222', codec: codec});\n  await client.start();\n  const myServiceClient: ClassTypeProxy<MyService> = client.createProxy(MyService);\n  const response1 = await myServiceClient.hello('World');\n  console.log('Response 1:', response1);\n  await client.close();\n}\nmainClient();\n```\n\n### 5. Error Handling\n\n```typescript\nimport { RPCServer, RPCClient, ClassTypeProxy } from 'rpc-nats-alvamind';\n\n// Define your service classes\nclass MyService {\n  async error(): Promise<string> {\n   throw new Error(\"this is test error\");\n  }\n}\n\nasync function main() {\n  const server = new RPCServer({ url: 'nats://localhost:4222', debug: true });\n  await server.start();\n\n  // Register your service instances\n  await server.handleRequest(new MyService());\n  console.log('RPC Server is running!');\n  const client = new RPCClient({ url: 'nats://localhost:4222', debug: true, timeout: 5000 });\n  await client.start();\n  const myServiceClient: ClassTypeProxy<MyService> = client.createProxy(MyService);\n  try{\n    await myServiceClient.error();\n  }catch(err){\n    console.log(\"error\", err) // catch the error\n  }\n  await server.close();\n    await client.close();\n}\n\nmain();\n```\n\n### 6. Retry with DLQ (Dead Letter Queue)\n\n```typescript\nimport { RPCServer, RPCClient, ClassTypeProxy } from 'rpc-nats-alvamind';\n\ninterface DLQMessage {\n  className: string;\n  methodName: string;\n  data: any;\n  error: string;\n  errorType: string\n}\n\n// Define your service classes\nclass MyService {\n  async flakyCall(): Promise<string> {\n   throw new Error(\"flaky error\");\n  }\n}\n\nasync function main() {\n  const dlqSubject = 'my.dlq'; // dlq subject\n  let dlqMessage: DLQMessage | undefined;\n  const server = new RPCServer({ url: 'nats://localhost:4222', debug: true, dlq: dlqSubject, retry: { attempts: 2, delay: 100 } }); // retry logic\n  await server.start();\n\n  const dlqPromise = new Promise<DLQMessage>((resolve) => {\n    const nc = server['natsClient'].getNatsConnection();\n    nc?.subscribe(dlqSubject, {\n      callback: (err, msg) => {\n        if (!err) {\n          const decoded = server['natsClient'].getCodec().decode(msg.data);\n          resolve(decoded);\n        }\n      }\n    });\n  });\n  // Register your service instances\n  await server.handleRequest(new MyService());\n  console.log('RPC Server is running!');\n  const client = new RPCClient({ url: 'nats://localhost:4222', debug: true, timeout: 5000 });\n  await client.start();\n  const myServiceClient: ClassTypeProxy<MyService> = client.createProxy(MyService);\n  try{\n   await myServiceClient.flakyCall();\n  }catch(err){\n   console.log(\"error\", err) // catch the error\n  }\n  dlqMessage = await dlqPromise;\n  console.log(\"DLQ Message\", dlqMessage); // DLQ message\n  await server.close();\n    await client.close();\n}\n\nmain();\n```\n\n### 7. Generating Client Proxies with `rpc-nats` CLI\n\nThe `rpc-nats-alvamind` package includes a CLI tool to automatically generate the `rpc-services.ts` file containing client proxies. This tool is particularly useful for large projects.\n\nTo generate RPC services, use the following command:\n\n```bash\nrpc-nats generate --includes=\"src/**/*.controller.ts\" --output=\"src/common/rpc/rpc-services.ts\"\n```\n\n**Options:**\n\n*   `--includes`: Glob patterns for including files (required).\n*   `--excludes`: Glob patterns for excluding files.\n*   `--output`: Output file path.\n*   `--watch`: Watch for file changes and regenerate.\n*   `--logLevel`: Log level (debug, info, warn, error).\n*   `--proxyType`: Type of proxy generation, `proxy` (default), generate proxies using `ClassTypeProxy` or `cast` to generate proxies with casting with `as unknown as ClassName`\n\n**Examples:**\n\n```bash\n# Generate rpc-services.ts using ClassTypeProxy\nrpc-nats generate --includes=\"src/**/*.controller.ts\" --output=\"src/common/rpc/rpc-services.ts\"\n\n# Generate rpc-services.ts with casting\nrpc-nats generate --includes=\"src/**/*.controller.ts\" --output=\"src/common/rpc/rpc-services.ts\" --proxyType=cast\n\n# Multiple includes and excludes with watch mode\nrpc-nats generate \\\n  --includes=\"src/**/*.controller.ts\" \"src/**/*.service.ts\" \\\n  --excludes=\"src/**/*.spec.ts\" \"src/**/*.test.ts\" \\\n  --output=\"src/common/rpc/rpc-services.ts\" \\\n  --watch\n```\n\n###  🧪 Testing\n\nTo run the test suite:\n\n```bash\nbun test test/*.test.ts\n```\n\n## 📜 API Reference\n\n### `RPCServer`\n\n*   `constructor(options: RPCServerOptions)`: Creates a new RPC server instance.\n*   `start(): Promise<void>`: Connects to the NATS server.\n*   `close(): Promise<void>`: Closes the NATS connection.\n*   `handleRequest<T extends ClassType>(instance: T, retryConfig?: { retry?: {attempts: number, delay: number }, dlq?: string}): Promise<void>`: Registers an instance to handle requests.\n*    `isConnected(): boolean`: Checks whether nats client is connected\n*   `getRegisteredMethods(): Map<string, Set<string>>`: get all registered methods.\n*   `isMethodRegistered(className: string, methodName: string): boolean`: check if method is registered.\n\n### `RPCClient`\n\n*   `constructor(options: RPCClientOptions)`: Creates a new RPC client instance.\n*   `start(): Promise<void>`: Connects to the NATS server.\n*   `close(): Promise<void>`: Closes the NATS connection.\n*   `createProxy<T extends ClassType>(classConstructor: new (...args: any[]) => T): ClassTypeProxy<T>`: Creates a proxy for a class.\n*   `isConnected(): boolean`: Checks if the client is connected.\n*   `getAvailableMethods(className: string): string[]`:  Gets available methods for class.\n*    `isMethodAvailable(className: string, methodName: string): boolean`: check if method is available.\n*   `setTimeout(timeout: number): void`: Sets request timeout.\n*   `getTimeout(): number`: Gets the current timeout.\n*   `clearMethodCache(className?: string): void`: Clears method cache.\n*   `getStats(): { isConnected: boolean; cachedClasses: number; totalCachedMethods: number; timeout: number; }`: Gets client stats.\n\n### `NatsOptions`\n\n*   `url?: string`: NATS server URL (`nats://localhost:4222` by default).\n*    `codec?: \"json\" | \"string\"`: Choose codec, default is `json`.\n*   `debug?: boolean`: Enable debug logs.\n\n### `RPCServerOptions`\n\n*  `retry?: { attempts: number; delay: number; }`: Configure retries.\n*  `dlq?: string`: Dead Letter Queue Subject.\n\n### `ClassTypeProxy<T>`\n\n*   A type for dynamic client proxy, that will expose method of class `T`.\n\n### `getCodec`\n\n*    `getCodec<T = unknown>(codec: SupportedCodec | NatsCodec<T> = \"json\"): NatsCodec<T>`: A function to get codec instance either json or string or instance of custom codec.\n\n## ⚙️ Advanced Usage\n\n### 🛠️ Custom Codecs\n\nYou can create your own codec by implementing the `NatsCodec` interface:\n\n```typescript\nimport { NatsCodec } from 'rpc-nats-alvamind';\n\nclass MyCustomCodec<T> implements NatsCodec<T> {\n  encode(data: T): Uint8Array {\n    // Your custom encoding logic here\n    return new TextEncoder().encode(JSON.stringify(data));\n  }\n\n  decode(data: Uint8Array): T {\n     // Your custom decoding logic here\n    const value = new TextDecoder().decode(data)\n    return JSON.parse(value);\n  }\n}\n```\n\nThen you can pass the codec instance to `RPCServer` and `RPCClient` options like:\n\n```typescript\n  const codec = new MyCustomCodec<any>();\n  const server = new RPCServer({ url: 'nats://localhost:4222', codec: codec });\n  const client = new RPCClient({ url: 'nats://localhost:4222', codec: codec });\n```\n\n### 🪵 Logging\n\nThis library use `logger-alvamind` to provide logging functionality, to see `debug` logs pass `{debug: true}` to constructor options of `RPCServer` and `RPCClient` or set `process.env.DEBUG` or set `NODE_ENV=test`.\n\n## 🤝 Contributing\n\nContributions are welcome! Feel free to submit pull requests or open issues on the [GitHub repository](https://github.com/alvamind/rpc-nats-alvamind).\n\n### Contribution Guidelines\n\n1.  Fork the repository.\n2.  Create a new branch.\n3.  Make your changes and ensure that tests pass\n4.  Submit a pull request.\n\n## 🙏 Donations\n\nIf you find this library helpful, consider making a donation to support further development:\n\n*   **PayPal:** [your-paypal-link](your-paypal-link.com)\n*   **GitHub Sponsors:** [your-github-sponsors-link](your-github-sponsors-link)\n\n## ⚠️ Disclaimer\n\nThis library is provided \"as is\" without any warranties. Use at your own risk!\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/alvamind/rpc-nats-alvamind/blob/main/LICENSE) file for details.\n\n### Thank you and Happy Coding! 🚀🎉\n","readmeFilename":"README.md"}