{"_id":"@dcl/social-rpc-client","_rev":"13-75e934881df8ee499ff729781fc838c6","name":"@dcl/social-rpc-client","dist-tags":{"latest":"2.0.1","next":"2.0.1-20260826194531.commit-5688fb8"},"versions":{"0.0.0-20230725183127.commit-e0fdbae":{"name":"@dcl/social-rpc-client","version":"0.0.0-20230725183127.commit-e0fdbae","author":{"name":"Decentraland"},"license":"ISC","_id":"@dcl/social-rpc-client@0.0.0-20230725183127.commit-e0fdbae","maintainers":[{"name":"decentralandbot","email":"developers+npm@decentraland.org"}],"homepage":"http://decentraland.org","bugs":{"url":"https://github.com/decentraland/profile/issues"},"dist":{"shasum":"2304d727032b4266cd5019da36ddf60767826b60","tarball":"https://registry.npmjs.org/@dcl/social-rpc-client/-/social-rpc-client-0.0.0-20230725183127.commit-e0fdbae.tgz","fileCount":24,"integrity":"sha512-ClV5vJAZuHY8HYlez3tOn8+VtezNsMgLAmr5xEie3w5jI+cGay80mhSGefaXiCuUpYFbu6RhbeJy/R7ffestkg==","signatures":[{"sig":"MEUCIE/dn7U1e2SOnEUYOpylRlPVu5UpSYe6ZK+SP9OJC2NXAiEAv/cBXtu8CQrM/oMHZO9GOzIy532CzE911TkbLNEWugA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":244339},"main":"dist/index.js","types":"dist/index.d.ts","commit":"e0fdbae3a6232ac8c3664464402a5d5709b5d25a","gitHead":"e0fdbae3a6232ac8c3664464402a5d5709b5d25a","scripts":{"test":"jest","build":"tsc","fix:code":"npm run check:code -- --fix","prebuild":"sh scripts/prebuild.sh","check:code":"eslint -c .eslintrc.json {src/**/*.ts,tests/**/*.ts}","test:coverage":"npm run test -- --coverage"},"_npmUser":{"name":"decentralandbot","email":"developers+npm@decentraland.org"},"repository":{"url":"git://github.com/decentraland/profile.git","type":"git"},"_npmVersion":"9.6.7","description":"Decentraland Social RPC Client","directories":{},"_nodeVersion":"18.17.0","dependencies":{"ws":"^8.13.0","mitt":"^3.0.1","tslib":"^2.6.0","@dcl/rpc":"^1.1.2","cross-fetch":"^4.0.0","isomorphic-ws":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","nock":"^13.3.2","ethers":"^6.6.4","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.1.6","@dcl/crypto":"^3.4.3","@types/jest":"^29.5.3","@dcl/protocol":"^1.0.0-5557204664.commit-964ab88","@dcl/eslint-config":"^1.1.8","eslint-plugin-prettier":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/social-rpc-client_0.0.0-20230725183127.commit-e0fdbae_1690309891094_0.8952039226766773","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@dcl/social-rpc-client","version":"1.0.0","author":{"name":"Decentraland"},"license":"ISC","_id":"@dcl/social-rpc-client@1.0.0","maintainers":[{"name":"decentralandbot","email":"developers+npm@decentraland.org"}],"homepage":"http://decentraland.org","bugs":{"url":"https://github.com/decentraland/profile/issues"},"dist":{"shasum":"353c2bf9dc7b1199d39ff704fc0667b2e89159dd","tarball":"https://registry.npmjs.org/@dcl/social-rpc-client/-/social-rpc-client-1.0.0.tgz","fileCount":24,"integrity":"sha512-BjIKXG5WE/Y5TNXrVy5sA2QW7IvIjHcgcgx5LnS32E7Ts5AjTVrzUd8BPA0A7j0g/ooB3V7cq7+sQyoueM/c3Q==","signatures":[{"sig":"MEUCIFX3l9mLbh9YuubWBwRD2lD62mnfKJ0MddWzJXu7i4NJAiEA3ZhV9h+sJEscqqo3VY1xjsbfBuqfpxMz7pQZZbXDSlg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":244309},"main":"dist/index.js","types":"dist/index.d.ts","commit":"e0fdbae3a6232ac8c3664464402a5d5709b5d25a","gitHead":"e0fdbae3a6232ac8c3664464402a5d5709b5d25a","scripts":{"test":"jest","build":"tsc","fix:code":"npm run check:code -- --fix","prebuild":"sh scripts/prebuild.sh","check:code":"eslint -c .eslintrc.json {src/**/*.ts,tests/**/*.ts}","test:coverage":"npm run test -- --coverage"},"_npmUser":{"name":"decentralandbot","email":"developers+npm@decentraland.org"},"repository":{"url":"git://github.com/decentraland/profile.git","type":"git"},"_npmVersion":"9.6.7","description":"Decentraland Social RPC Client","directories":{},"_nodeVersion":"18.17.0","dependencies":{"ws":"^8.13.0","mitt":"^3.0.1","tslib":"^2.6.0","@dcl/rpc":"^1.1.2","cross-fetch":"^4.0.0","isomorphic-ws":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","nock":"^13.3.2","ethers":"^6.6.4","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.1.6","@dcl/crypto":"^3.4.3","@types/jest":"^29.5.3","@dcl/protocol":"^1.0.0-5557204664.commit-964ab88","@dcl/eslint-config":"^1.1.8","eslint-plugin-prettier":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/social-rpc-client_1.0.0_1690811624717_0.5872509052011627","host":"s3://npm-registry-packages"}},"1.0.1-20250424143906.commit-f1ff1d7":{"name":"@dcl/social-rpc-client","version":"1.0.1-20250424143906.commit-f1ff1d7","author":{"name":"Decentraland"},"license":"ISC","_id":"@dcl/social-rpc-client@1.0.1-20250424143906.commit-f1ff1d7","maintainers":[{"name":"decentralandbot","email":"developers+npm@decentraland.org"}],"homepage":"http://decentraland.org","bugs":{"url":"https://github.com/decentraland/profile/issues"},"dist":{"shasum":"e0506dea7b341c77da3e796eb5bd17e9a4d9f773","tarball":"https://registry.npmjs.org/@dcl/social-rpc-client/-/social-rpc-client-1.0.1-20250424143906.commit-f1ff1d7.tgz","fileCount":33,"integrity":"sha512-zh5BX2Kx6ESP+yAHhZDuVsC9Cs14vCV3tNIS4vRxRT8QCAQnuGoRAS/5RRV2lQ6GFblq+P/XWB7gEpkjP+KcUQ==","signatures":[{"sig":"MEUCIQDZ8p74SP5RoR73f5q8ZT7mHjcyY/GCZz3Wu7Om5KHqlgIgRaZrvYrzJE6sKBhCP6H0jHuAVq6XJNdn9UE/4s26j9w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":659244},"main":"dist/index.js","types":"dist/index.d.ts","commit":"f1ff1d7c804ed5825d168d9bfc940020692b8c83","gitHead":"f1ff1d7c804ed5825d168d9bfc940020692b8c83","scripts":{"test":"jest","build":"tsc","fix:code":"npm run check:code -- --fix","prebuild":"sh scripts/prebuild.sh","check:code":"eslint -c .eslintrc.json {src/**/*.ts,tests/**/*.ts}","test:coverage":"npm run test -- --coverage"},"_npmUser":{"name":"decentralandbot","email":"developers+npm@decentraland.org"},"repository":{"url":"git://github.com/decentraland/profile.git","type":"git"},"_npmVersion":"10.8.2","description":"Decentraland Social RPC Client","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ws":"^8.13.0","mitt":"^3.0.1","tslib":"^2.6.0","@dcl/rpc":"^1.1.2","cross-fetch":"^4.0.0","isomorphic-ws":"^5.0.0","decentraland-crypto-fetch":"^2.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.1","nock":"^13.3.2","ethers":"^6.6.4","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.1.6","@dcl/crypto":"^3.4.5","@types/jest":"^29.5.3","@dcl/protocol":"https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-14523877809.commit-39c10e9.tgz","@dcl/eslint-config":"^1.1.8","eslint-plugin-prettier":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/social-rpc-client_1.0.1-20250424143906.commit-f1ff1d7_1745505549876_0.9786456741176963","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@dcl/social-rpc-client","version":"1.1.0","author":{"name":"Decentraland"},"license":"ISC","_id":"@dcl/social-rpc-client@1.1.0","maintainers":[{"name":"decentralandbot","email":"developers+npm@decentraland.org"}],"homepage":"http://decentraland.org","bugs":{"url":"https://github.com/decentraland/profile/issues"},"dist":{"shasum":"1a935e3a95c6f46424b4072f1d541437ff71743c","tarball":"https://registry.npmjs.org/@dcl/social-rpc-client/-/social-rpc-client-1.1.0.tgz","fileCount":33,"integrity":"sha512-GSQK2Sxywa5XQeebOP/lyewg3Ix+bd2abTHpBK0yu/tU5VGIE8HMCUPOwfy8ZVGi+T/BFUi1aLuzKd6h03kOCQ==","signatures":[{"sig":"MEQCIAL7xgMOjJfQZ9kaAqTrBSq+LKZYWq5zouUyFerwlXAyAiA0DNe6i9/pPUv+cfQRnvCuY/17yvaJPg0zHERIQhclJA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":659214},"main":"dist/index.js","types":"dist/index.d.ts","commit":"f1ff1d7c804ed5825d168d9bfc940020692b8c83","gitHead":"f1ff1d7c804ed5825d168d9bfc940020692b8c83","scripts":{"test":"jest","build":"tsc","fix:code":"npm run check:code -- --fix","prebuild":"sh scripts/prebuild.sh","check:code":"eslint -c .eslintrc.json {src/**/*.ts,tests/**/*.ts}","test:coverage":"npm run test -- --coverage"},"_npmUser":{"name":"decentralandbot","email":"developers+npm@decentraland.org"},"repository":{"url":"git://github.com/decentraland/profile.git","type":"git"},"_npmVersion":"10.8.2","description":"Decentraland Social RPC Client","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ws":"^8.13.0","mitt":"^3.0.1","tslib":"^2.6.0","@dcl/rpc":"^1.1.2","cross-fetch":"^4.0.0","isomorphic-ws":"^5.0.0","decentraland-crypto-fetch":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","nock":"^13.3.2","ethers":"^6.6.4","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.1.6","@dcl/crypto":"^3.4.5","@types/jest":"^29.5.3","@dcl/protocol":"https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-14523877809.commit-39c10e9.tgz","@dcl/eslint-config":"^1.1.8","eslint-plugin-prettier":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/social-rpc-client_1.1.0_1745505889659_0.5560988557063451","host":"s3://npm-registry-packages-npm-production"}},"1.1.1-20250704125315.commit-a81717f":{"name":"@dcl/social-rpc-client","version":"1.1.1-20250704125315.commit-a81717f","author":{"name":"Decentraland"},"license":"ISC","_id":"@dcl/social-rpc-client@1.1.1-20250704125315.commit-a81717f","maintainers":[{"name":"decentralandbot","email":"developers+npm@decentraland.org"}],"homepage":"http://decentraland.org","bugs":{"url":"https://github.com/decentraland/profile/issues"},"dist":{"shasum":"522b186b0b9ce67ff85e525fa1955441bb463cb8","tarball":"https://registry.npmjs.org/@dcl/social-rpc-client/-/social-rpc-client-1.1.1-20250704125315.commit-a81717f.tgz","fileCount":33,"integrity":"sha512-G3dlDztcT2GOIAZlt+LqTyO6pIyCcm4tkFjUKWk8ZMnW0RYxwtD+VOiRrIs3oVTZ1KlXBQxxR+mU4noooggBOQ==","signatures":[{"sig":"MEQCIGzn6Xo3OD7dQCbt48jyszYyYs32yJZ60QoU9oAXw0VoAiBH3R6F3wFMYsnmxjEPB55INJnp9UEKCIeShVOXJ0K6MA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":808214},"main":"dist/index.js","types":"dist/index.d.ts","commit":"a81717fd3908ac6c2e13da6db4bacbb1e5199314","gitHead":"a81717fd3908ac6c2e13da6db4bacbb1e5199314","scripts":{"test":"jest","build":"tsc","fix:code":"npm run check:code -- --fix","prebuild":"sh scripts/prebuild.sh","check:code":"eslint -c .eslintrc.json {src/**/*.ts,tests/**/*.ts}","test:coverage":"npm run test -- --coverage"},"_npmUser":{"name":"decentralandbot","actor":{"name":"decentralandbot","type":"user","email":"developers+npm@decentraland.org"},"email":"developers+npm@decentraland.org"},"repository":{"url":"git://github.com/decentraland/profile.git","type":"git"},"_npmVersion":"10.8.2","description":"Decentraland Social RPC Client","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ws":"^8.13.0","mitt":"^3.0.1","tslib":"^2.6.0","@dcl/rpc":"^1.1.2","cross-fetch":"^4.0.0","isomorphic-ws":"^5.0.0","decentraland-crypto-fetch":"^2.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.1","nock":"^13.3.2","ethers":"^6.6.4","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.1.6","@dcl/crypto":"^3.4.5","@types/jest":"^29.5.3","@dcl/protocol":"https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-15850084249.commit-ce7a4eb.tgz","@dcl/eslint-config":"^1.1.8","eslint-plugin-prettier":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/social-rpc-client_1.1.1-20250704125315.commit-a81717f_1751633598542_0.08675559031645874","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@dcl/social-rpc-client","version":"2.0.0","author":{"name":"Decentraland"},"license":"ISC","_id":"@dcl/social-rpc-client@2.0.0","maintainers":[{"name":"decentralandbot","email":"developers+npm@decentraland.org"}],"homepage":"http://decentraland.org","bugs":{"url":"https://github.com/decentraland/profile/issues"},"dist":{"shasum":"54d742677db213e808f2602d8a77ff77e0bf6e68","tarball":"https://registry.npmjs.org/@dcl/social-rpc-client/-/social-rpc-client-2.0.0.tgz","fileCount":33,"integrity":"sha512-JxOajupSLPhU3UxswjOzfl/hMvHHCSfjXHEnpBRcIfDUD19jfYBdVxJhllzNibkDdO1uR7mBJl663PmCjeotHA==","signatures":[{"sig":"MEUCIQCbnfV7qm4oSDE7xOlUr7tx67r1UANh/KTOrQAwvqvxlwIgUO/o9lBPTNp6MTdRp7xboiLBrF/jlGvRF/igLmq9DAI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":808184},"main":"dist/index.js","types":"dist/index.d.ts","commit":"a81717fd3908ac6c2e13da6db4bacbb1e5199314","gitHead":"a81717fd3908ac6c2e13da6db4bacbb1e5199314","scripts":{"test":"jest","build":"tsc","fix:code":"npm run check:code -- --fix","prebuild":"sh scripts/prebuild.sh","check:code":"eslint -c .eslintrc.json {src/**/*.ts,tests/**/*.ts}","test:coverage":"npm run test -- --coverage"},"_npmUser":{"name":"decentralandbot","actor":{"name":"decentralandbot","type":"user","email":"developers+npm@decentraland.org"},"email":"developers+npm@decentraland.org"},"repository":{"url":"git://github.com/decentraland/profile.git","type":"git"},"_npmVersion":"10.8.2","description":"Decentraland Social RPC Client","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ws":"^8.13.0","mitt":"^3.0.1","tslib":"^2.6.0","@dcl/rpc":"^1.1.2","cross-fetch":"^4.0.0","isomorphic-ws":"^5.0.0","decentraland-crypto-fetch":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","nock":"^13.3.2","ethers":"^6.6.4","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.1.6","@dcl/crypto":"^3.4.5","@types/jest":"^29.5.3","@dcl/protocol":"https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-15850084249.commit-ce7a4eb.tgz","@dcl/eslint-config":"^1.1.8","eslint-plugin-prettier":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/social-rpc-client_2.0.0_1751633906382_0.6423009943110347","host":"s3://npm-registry-packages-npm-production"}},"2.0.1-20260518173028.commit-be0d2a7":{"name":"@dcl/social-rpc-client","version":"2.0.1-20260518173028.commit-be0d2a7","author":{"name":"Decentraland"},"license":"ISC","_id":"@dcl/social-rpc-client@2.0.1-20260518173028.commit-be0d2a7","maintainers":[{"name":"decentralandbot","email":"developers+npm@decentraland.org"},{"name":"imazzara","email":"nachomazzara@gmail.com"}],"homepage":"http://decentraland.org","bugs":{"url":"https://github.com/decentraland/profile/issues"},"dist":{"shasum":"d4531fd446813b95344cbb69dc9c483f6a4e0f1a","tarball":"https://registry.npmjs.org/@dcl/social-rpc-client/-/social-rpc-client-2.0.1-20260518173028.commit-be0d2a7.tgz","fileCount":33,"integrity":"sha512-QJBgcRAJQ/Cqx0toaJhBcmFZaPNsEQoUesOsuvL582kgLOR1DegJMl1OxAYpuOiBNsu1q1oP52j550R3OcMk+g==","signatures":[{"sig":"MEYCIQDMHyL4AnNzAIRoJjGJuGwFLPdVr4OB/68KFXumptua1gIhALNjZHRrSh6M1L9al+F5gRM5pljHFia2ET7t8IDUZ2OX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":808214},"main":"dist/index.js","types":"dist/index.d.ts","commit":"be0d2a75e8fbe74c25740e72dd097ae10313053a","gitHead":"be0d2a75e8fbe74c25740e72dd097ae10313053a","scripts":{"test":"jest","build":"tsc","fix:code":"npm run check:code -- --fix","prebuild":"sh scripts/prebuild.sh","check:code":"eslint -c .eslintrc.json {src/**/*.ts,tests/**/*.ts}","test:coverage":"npm run test -- --coverage"},"_npmUser":{"name":"decentralandbot","email":"developers+npm@decentraland.org"},"repository":{"url":"git://github.com/decentraland/profile.git","type":"git"},"_npmVersion":"10.8.2","description":"Decentraland Social RPC Client","directories":{},"_nodeVersion":"18.20.8","dependencies":{"ws":"^8.13.0","mitt":"^3.0.1","tslib":"^2.6.0","@dcl/rpc":"^1.1.2","cross-fetch":"^4.0.0","isomorphic-ws":"^5.0.0","decentraland-crypto-fetch":"^2.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.1","nock":"^13.3.2","ethers":"^6.6.4","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.1.6","@dcl/crypto":"^3.4.5","@types/jest":"^29.5.3","@dcl/protocol":"https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-15850084249.commit-ce7a4eb.tgz","@dcl/eslint-config":"^1.1.8","eslint-plugin-prettier":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/social-rpc-client_2.0.1-20260518173028.commit-be0d2a7_1779125432413_0.6711470951083409","host":"s3://npm-registry-packages-npm-production"}},"2.0.1-20260826194531.commit-5688fb8":{"name":"@dcl/social-rpc-client","version":"2.0.1-20260826194531.commit-5688fb8","author":{"name":"Decentraland"},"license":"ISC","_id":"@dcl/social-rpc-client@2.0.1-20260826194531.commit-5688fb8","maintainers":[{"name":"decentralandbot","email":"developers+npm@decentraland.org"},{"name":"imazzara","email":"nachomazzara@gmail.com"}],"homepage":"http://decentraland.org","bugs":{"url":"https://github.com/decentraland/social-rpc-client-js/issues"},"dist":{"shasum":"3f6ec70ceaf211d3e40b65074b5d81c39a98a7b4","tarball":"https://registry.npmjs.org/@dcl/social-rpc-client/-/social-rpc-client-2.0.1-20260826194531.commit-5688fb8.tgz","fileCount":33,"integrity":"sha512-HbJnS/VbWuZY8H2GBJgNBFvwfW9KsMJs4I5HD9jMjx7/NlBQe3cOnhPMubdMymqw26a66fbFwcTmjp7hdOntkg==","signatures":[{"sig":"MEUCIGhYisdTBxtWURBQWXaKfC9jepUD1i1bCyy8kx8VjLhoAiEAsQSh+8Hl0oAe7abzVLKWFKZ9eqYWy5G62RnWrUHabNU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dcl%2fsocial-rpc-client@2.0.1-20260826194531.commit-5688fb8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":808276},"main":"dist/index.js","types":"dist/index.d.ts","commit":"5688fb8cd7ca932bcdbdc5267348dd8aacce62a2","engines":{"node":">=22.0.0"},"gitHead":"5688fb8cd7ca932bcdbdc5267348dd8aacce62a2","scripts":{"test":"jest","build":"tsc","fix:code":"npm run check:code -- --fix","prebuild":"sh scripts/prebuild.sh","check:code":"eslint -c .eslintrc.json {src/**/*.ts,tests/**/*.ts}","test:coverage":"npm run test -- --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c6fa3f8d-61d7-4b79-9635-7571073091b4"}},"repository":{"url":"git+https://github.com/decentraland/social-rpc-client-js.git","type":"git"},"_npmVersion":"11.17.0","description":"Decentraland Social RPC Client","directories":{},"_nodeVersion":"24.19.0","dependencies":{"ws":"^8.13.0","mitt":"^3.0.1","tslib":"^2.6.0","@dcl/rpc":"^1.1.2","cross-fetch":"^4.0.0","isomorphic-ws":"^5.0.0","decentraland-crypto-fetch":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.1","nock":"^13.3.2","ethers":"^6.6.4","ts-jest":"^29.1.1","ts-node":"^10.9.1","@types/ws":"^8.5.5","typescript":"^5.1.6","@dcl/crypto":"^3.4.5","@types/jest":"^29.5.3","@dcl/protocol":"https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-15850084249.commit-ce7a4eb.tgz","@dcl/eslint-config":"^1.1.8","eslint-plugin-prettier":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/social-rpc-client_2.0.1-20260826194531.commit-5688fb8_1787773540242_0.9726348446915538","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@dcl/social-rpc-client","version":"2.0.1","description":"Decentraland Social RPC Client","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prebuild":"sh scripts/prebuild.sh","build":"tsc","check:code":"eslint -c .eslintrc.json {src/**/*.ts,tests/**/*.ts}","fix:code":"npm run check:code -- --fix","test":"jest","test:coverage":"npm run test -- --coverage"},"author":{"name":"Decentraland"},"homepage":"http://decentraland.org","repository":{"type":"git","url":"git+https://github.com/decentraland/social-rpc-client-js.git"},"license":"ISC","devDependencies":{"@dcl/crypto":"^3.4.5","@dcl/eslint-config":"^1.1.8","@dcl/protocol":"https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-15850084249.commit-ce7a4eb.tgz","@types/jest":"^29.5.3","@types/ws":"^8.5.5","eslint-plugin-prettier":"^5.0.0","ethers":"^6.6.4","jest":"^29.6.1","nock":"^13.3.2","ts-jest":"^29.1.1","ts-node":"^10.9.1","typescript":"^5.1.6"},"dependencies":{"@dcl/rpc":"^1.1.2","cross-fetch":"^4.0.0","decentraland-crypto-fetch":"^3.0.0","isomorphic-ws":"^5.0.0","mitt":"^3.0.1","tslib":"^2.6.0","ws":"^8.13.0"},"engines":{"node":">=22.0.0"},"commit":"5688fb8cd7ca932bcdbdc5267348dd8aacce62a2","gitHead":"5688fb8cd7ca932bcdbdc5267348dd8aacce62a2","_id":"@dcl/social-rpc-client@2.0.1","bugs":{"url":"https://github.com/decentraland/social-rpc-client-js/issues"},"_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-0tKy+DC4Qx50/KsgD9PsUHYcocCuQRAzsTxR2YikOuyT6klhL0u6f2IZOwiBx9mXOWfMOQUiKlD+Tc8/bPPqaA==","shasum":"03650f05ef285c7c75cb65a35e262811ee88bd77","tarball":"https://registry.npmjs.org/@dcl/social-rpc-client/-/social-rpc-client-2.0.1.tgz","fileCount":33,"unpackedSize":808246,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dcl%2fsocial-rpc-client@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAcry6ryipge9MLXJMJDP7SP2WKsRnk3FYwIfYfG1H7DAiEAt8DrYEKommkQtdCAeNeapFsEm9zJp0chs7oer3CbkO0="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c6fa3f8d-61d7-4b79-9635-7571073091b4"}},"directories":{},"maintainers":[{"name":"decentralandbot","email":"developers+npm@decentraland.org"},{"name":"imazzara","email":"nachomazzara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/social-rpc-client_2.0.1_1787773783174_0.7466508164394234"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-25T18:31:30.979Z","modified":"2026-08-26T19:49:43.808Z","0.0.0-20230725183127.commit-e0fdbae":"2023-07-25T18:31:31.262Z","1.0.0":"2023-07-31T13:53:44.915Z","1.0.1-20250424143906.commit-f1ff1d7":"2025-04-24T14:39:10.071Z","1.1.0":"2025-04-24T14:44:49.844Z","1.1.1-20250704125315.commit-a81717f":"2025-07-04T12:53:18.712Z","2.0.0":"2025-07-04T12:58:26.580Z","2.0.1-20260518173028.commit-be0d2a7":"2026-05-18T17:30:32.595Z","2.0.1-20260826194531.commit-5688fb8":"2026-08-26T19:45:40.435Z","2.0.1":"2026-08-26T19:49:43.337Z"},"bugs":{"url":"https://github.com/decentraland/social-rpc-client-js/issues"},"author":{"name":"Decentraland"},"license":"ISC","homepage":"http://decentraland.org","repository":{"type":"git","url":"git+https://github.com/decentraland/social-rpc-client-js.git"},"description":"Decentraland Social RPC Client","maintainers":[{"name":"decentralandbot","email":"developers+npm@decentraland.org"},{"name":"imazzara","email":"nachomazzara@gmail.com"}],"readme":"<p align=\"center\">\n  <a href=\"https://decentraland.org\">\n    <img alt=\"Decentraland\" src=\"https://decentraland.org/images/logo.png\" width=\"60\" />\n  </a>\n</p>\n<h1 align=\"center\">\n  Decentraland Social Service JS Client\n</h1>\n\nThe Decentraland Social Service JS Client is a Websocket client which uses the [DCL RPC protocol](https://github.com/decentraland/rpc) to communicate with the [Decentraland Social Service](https://github.com/decentraland/social-service).\n\n## Collaboration\n\n### Setting up the development environment\n\nIn order to build the client, you'll need to have [Node.js](https://nodejs.org/en/) and [Protocol Buffers](https://grpc.io/docs/protoc-installation/) installed.\n\n### Installing the dependencies\n\nRun the NPM install command to install all the dependencies needed to run the project.\n\n```bash\nnpm install\n```\n\n### Building the client\n\nRun the NPM build command to build the client.\n\n```bash\nnpm build\n```\n\nThis command will:\n1. Compile the protocol buffer's definitions for the RPC protocol of the Social Service, generating the corresponding TypeScript definitions.\n2. Compile the TypeScript code of the client.\n\nA distributable will be generated in the `dist` folder, containing all the client's code and types.\n\n## Using the client\n\n### Basic setup and usage\n\nTo use the client, install the package in your NPM project:\n\n```bash\nnpm install -S @dcl/social-rpc-client\n```\n\nImport the client creator function from the installed package:\n\n```typescript\nimport { createSocialClient } from \"@dcl/social-client\";\n```\n\nCreate a new client instance by providing the client with:\n1. A URL to the Social Service's REST API\n2. A URL to the Social Service's Websocket endpoint\n3. The user's address (the same as the one used to sign the identity)\n4. An identity, signed with the user's wallet.\n\n```typescript\nimport { createSocialClient } from \"@dcl/social-client\";\nimport { Wallet } from 'ethers'\n\n// Generate a random wallet for testing purposes or use the user's one in production environments.\nconst wallet = Wallet.createRandom()\nconst identity = await createIdentity(wallet, expiration)\n\nconst socialClient = await createSocialClient(\n  \"https://social.decentraland.org\",\n  \"wss://social-service.decentraland.org\",\n  wallet.address,\n  identity\n);\n```\n\nThe `createSocialClient` will connect perform the required operations to connect to the Social Service and will return the connected client.\n\n\nUse the client to interact with the Social Service:\n\n```typescript\nimport { createSocialClient } from \"@dcl/social-client\";\n\nconst socialClient = await createSocialClient(\n  \"https://social.decentraland.org\",\n  \"wss://social-service.decentraland.org\",\n  wallet.address,\n  identity\n);\n\nconst friends = socialClient.getFriends()\nfor await (const friend of friends) {\n  console.log(friend)\n}\n```\n\nThe client exposes the methods available through the [social protobuff](https://github.com/decentraland/protocol/blob/main/public/social.proto) and a disconnect method which disconnects the client from the Social Service.\n\n\n### Generating an identity\n\nTo authenticate users with the Social Service, you'll need to generate an identity for them. To do so, the `@dcl/crypto` library provides the `Authenticator.initializeAuthChain` method. Use it to generate an identity for your users:\n\n```typescript\n  import { Wallet } from 'ethers'\n  import { Authenticator } from '@dcl/crypto'\n  // Generate a random wallet for testing purposes or use the user's one in production environments.\n  const userWallet = Wallet.createRandom()\n\n  // Generate an identity for the user.\n  const address = await userWallet.getAddress()\n  const ephemeralWallet = Wallet.createRandom()\n  const payload = {\n    address: ephemeralWallet.address,\n    privateKey: ephemeralWallet.privateKey,\n    publicKey: ephemeralWallet.publicKey\n  }\n  const identity = await Authenticator.initializeAuthChain(address, payload, expiration, (message: string) => signer.signMessage(message))\n```","readmeFilename":"README.md"}