{"_id":"@abd-im/wasm-client-sdk","_rev":"8-bbbc8f9a86267bfde1e56fc68cfb1079","name":"@abd-im/wasm-client-sdk","dist-tags":{"latest":"3.8.3-patch.21"},"versions":{"3.8.3-patch.16":{"name":"@abd-im/wasm-client-sdk","version":"3.8.3-patch.16","keywords":["openim"],"author":{"url":"https://github.com/Bloomingg","name":"blooming","email":"blooming2477@gmail.com"},"license":"MIT","_id":"@abd-im/wasm-client-sdk@3.8.3-patch.16","maintainers":[{"name":"buvidk","email":"1532493290@qq.com"}],"homepage":"https://github.com/abd-im/abd-im-sdk-js-wasm#readme","bugs":{"url":"https://github.com/abd-im/abd-im-sdk-js-wasm/issues"},"dist":{"shasum":"cd94a85287397c143735672c44f9686776a9849d","tarball":"https://registry.npmjs.org/@abd-im/wasm-client-sdk/-/wasm-client-sdk-3.8.3-patch.16.tgz","fileCount":78,"integrity":"sha512-sexCzBFdcxEXPwTWsbwN94iFj3ql7LUG4n7lpYi4/q8vwFtJDTi592Zst1jqzYJzI66g3yoYO94uzVLbTiNf4A==","signatures":[{"sig":"MEQCIBMy4j7SUmAWrYmq/hGS1rEt5uvWh9NeSDglrrLkCuYNAiAEjU90uHMGiI1XWzBy6DqoY17hj71lpY2zDUff2KAZvw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37937741},"main":"lib/index.js","types":"lib/index.d.ts","unpkg":"lib/index.umd.js","config":{"commitizen":{"path":"./node_modules/@commitlint/cz-conventional-changelog"}},"module":"lib/index.es.js","source":"src/index.ts","engines":{"node":">=12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.es.js","require":"./lib/index.js"}},"gitHead":"433b2e0d76792d0eec6f380031f9d9c121e7fb19","scripts":{"cm":"cz","lint":"eslint ./src/ --fix","test":"jest --coverage","build":"rimraf lib && rollup -c && tsc-alias","prepare":"husky install","typecheck":"tsc --noEmit","test:watch":"jest --watch","prepublishOnly":"pnpm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"buvidk","email":"1532493290@qq.com"},"jsdelivr":"lib/index.umd.js","repository":{"url":"git+https://github.com/abd-im/abd-im-sdk-js-wasm.git","type":"git"},"_npmVersion":"12.0.2","description":"open im sdk for web","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"26.5.1","dependencies":{"rimraf":"^6.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.0","uuid":"^9.0.0","husky":"^6.0.0","squel":"^5.13.0","eslint":"^7.25.0","rollup":"^2.79.1","prettier":"^2.2.1","tsc-alias":"^1.7.0","absurd-sql":"^0.0.53","typescript":"^4.2.4","@types/jest":"^27.5.2","@types/node":"^12.20.11","@types/uuid":"^8.3.4","lint-staged":"^10.5.4","rpc-shooter":"^0.0.14","@commitlint/cli":"^16.2.4","semantic-release":"^19.0.2","@jlongster/sql.js":"^1.6.7","eslint-plugin-node":"^11.1.0","@rollup/plugin-alias":"^5.1.0","absurd-sql-optimized":"^0.0.1","@rollup/plugin-terser":"^0.4.4","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"^4.22.0","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","rollup-plugin-polyfill-node":"^0.13.0","@commitlint/config-conventional":"^16.2.4","@typescript-eslint/eslint-plugin":"^4.22.0","conventional-changelog-conventionalcommits":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wasm-client-sdk_3.8.3-patch.16_1785947297100_0.597461833254175","host":"s3://npm-registry-packages-npm-production"}},"3.8.3-patch.17":{"name":"@abd-im/wasm-client-sdk","version":"3.8.3-patch.17","keywords":["openim"],"author":{"url":"https://github.com/Bloomingg","name":"blooming","email":"blooming2477@gmail.com"},"license":"MIT","_id":"@abd-im/wasm-client-sdk@3.8.3-patch.17","maintainers":[{"name":"buvidk","email":"1532493290@qq.com"}],"homepage":"https://github.com/abd-im/abd-im-sdk-js-wasm#readme","bugs":{"url":"https://github.com/abd-im/abd-im-sdk-js-wasm/issues"},"dist":{"shasum":"35913d4e5ae27ea419ece4ad94e6eccd839e7592","tarball":"https://registry.npmjs.org/@abd-im/wasm-client-sdk/-/wasm-client-sdk-3.8.3-patch.17.tgz","fileCount":78,"integrity":"sha512-mYYGSoRtRocOyvlz6mUKPP/aCSAptKGDfngKBNRXwPExO6IuIoDtVOeNS1pOJd1Dbhs5HA74jV4sGZjHAYHupw==","signatures":[{"sig":"MEUCIG81TcaOqm0c+MSiYIYGUZNxqorK1by+WcZWbn5XSIe7AiEAoBo1YASTIgiDN+Dmu62r5RsDVU7UPEHcoVlJaJW3wWA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38621016},"main":"lib/index.js","types":"lib/index.d.ts","unpkg":"lib/index.umd.js","config":{"commitizen":{"path":"./node_modules/@commitlint/cz-conventional-changelog"}},"module":"lib/index.es.js","source":"src/index.ts","engines":{"node":">=12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.es.js","require":"./lib/index.js"}},"gitHead":"2be5ec9ef32924ffc02344d1d3cb3834aba25f85","scripts":{"cm":"cz","lint":"eslint ./src/ --fix","test":"jest --coverage","build":"rimraf lib && rollup -c && tsc-alias","prepare":"husky install","typecheck":"tsc --noEmit","test:watch":"jest --watch","prepublishOnly":"pnpm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"buvidk","email":"1532493290@qq.com"},"jsdelivr":"lib/index.umd.js","repository":{"url":"git+https://github.com/abd-im/abd-im-sdk-js-wasm.git","type":"git"},"_npmVersion":"12.0.2","description":"open im sdk for web","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"26.5.1","dependencies":{"rimraf":"^6.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.0","uuid":"^9.0.0","husky":"^6.0.0","squel":"^5.13.0","eslint":"^7.25.0","rollup":"^2.79.1","prettier":"^2.2.1","tsc-alias":"^1.7.0","absurd-sql":"^0.0.53","typescript":"^4.2.4","@types/jest":"^27.5.2","@types/node":"^12.20.11","@types/uuid":"^8.3.4","lint-staged":"^10.5.4","rpc-shooter":"^0.0.14","@commitlint/cli":"^16.2.4","semantic-release":"^19.0.2","@jlongster/sql.js":"^1.6.7","eslint-plugin-node":"^11.1.0","@rollup/plugin-alias":"^5.1.0","absurd-sql-optimized":"^0.0.1","@rollup/plugin-terser":"^0.4.4","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"^4.22.0","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","rollup-plugin-polyfill-node":"^0.13.0","@commitlint/config-conventional":"^16.2.4","@typescript-eslint/eslint-plugin":"^4.22.0","conventional-changelog-conventionalcommits":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wasm-client-sdk_3.8.3-patch.17_1787243412864_0.9231078406838982","host":"s3://npm-registry-packages-npm-production"}},"3.8.3-patch.18":{"name":"@abd-im/wasm-client-sdk","version":"3.8.3-patch.18","keywords":["openim"],"author":{"url":"https://github.com/Bloomingg","name":"blooming","email":"blooming2477@gmail.com"},"license":"MIT","_id":"@abd-im/wasm-client-sdk@3.8.3-patch.18","maintainers":[{"name":"buvidk","email":"1532493290@qq.com"}],"homepage":"https://github.com/abd-im/abd-im-sdk-js-wasm#readme","bugs":{"url":"https://github.com/abd-im/abd-im-sdk-js-wasm/issues"},"dist":{"shasum":"815bef8702d6164ecb9c1e1818c469c294e5bfc4","tarball":"https://registry.npmjs.org/@abd-im/wasm-client-sdk/-/wasm-client-sdk-3.8.3-patch.18.tgz","fileCount":78,"integrity":"sha512-IljIobx/ACywT/qx4+wcK9ZT34D1GluOl+r+Jibxf+4YhlR94ZYXUOJApvxmZRLCzhPM5VCVZHwbwXQ9xNywzg==","signatures":[{"sig":"MEUCIQCXPCU7vP/RvP53ZWlqQVSexcGazX2s1dvTMuFgJ+iSggIgAM4TlDpCNdtyTxkJBen+9MkXCuMf61vfB/vHdyew5Qs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38621016},"main":"lib/index.js","types":"lib/index.d.ts","unpkg":"lib/index.umd.js","config":{"commitizen":{"path":"./node_modules/@commitlint/cz-conventional-changelog"}},"module":"lib/index.es.js","source":"src/index.ts","engines":{"node":">=12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.es.js","require":"./lib/index.js"}},"gitHead":"2be5ec9ef32924ffc02344d1d3cb3834aba25f85","scripts":{"cm":"cz","lint":"eslint ./src/ --fix","test":"jest --coverage","build":"rimraf lib && rollup -c && tsc-alias","prepare":"husky install","typecheck":"tsc --noEmit","test:watch":"jest --watch","prepublishOnly":"pnpm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"buvidk","email":"1532493290@qq.com"},"jsdelivr":"lib/index.umd.js","repository":{"url":"git+https://github.com/abd-im/abd-im-sdk-js-wasm.git","type":"git"},"_npmVersion":"12.0.2","description":"open im sdk for web","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"26.5.1","dependencies":{"rimraf":"^6.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.0","uuid":"^9.0.0","husky":"^6.0.0","squel":"^5.13.0","eslint":"^7.25.0","rollup":"^2.79.1","prettier":"^2.2.1","tsc-alias":"^1.7.0","absurd-sql":"^0.0.53","typescript":"^4.2.4","@types/jest":"^27.5.2","@types/node":"^12.20.11","@types/uuid":"^8.3.4","lint-staged":"^10.5.4","rpc-shooter":"^0.0.14","@commitlint/cli":"^16.2.4","semantic-release":"^19.0.2","@jlongster/sql.js":"^1.6.7","eslint-plugin-node":"^11.1.0","@rollup/plugin-alias":"^5.1.0","absurd-sql-optimized":"^0.0.1","@rollup/plugin-terser":"^0.4.4","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"^4.22.0","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","rollup-plugin-polyfill-node":"^0.13.0","@commitlint/config-conventional":"^16.2.4","@typescript-eslint/eslint-plugin":"^4.22.0","conventional-changelog-conventionalcommits":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wasm-client-sdk_3.8.3-patch.18_1787458106586_0.5187293817938092","host":"s3://npm-registry-packages-npm-production"}},"3.8.3-patch.19":{"name":"@abd-im/wasm-client-sdk","version":"3.8.3-patch.19","keywords":["openim"],"author":{"url":"https://github.com/Bloomingg","name":"blooming","email":"blooming2477@gmail.com"},"license":"MIT","_id":"@abd-im/wasm-client-sdk@3.8.3-patch.19","maintainers":[{"name":"buvidk","email":"1532493290@qq.com"}],"homepage":"https://github.com/abd-im/abd-im-sdk-js-wasm#readme","bugs":{"url":"https://github.com/abd-im/abd-im-sdk-js-wasm/issues"},"dist":{"shasum":"034c3a3a9e4155a409e70d54b0e270a643de472b","tarball":"https://registry.npmjs.org/@abd-im/wasm-client-sdk/-/wasm-client-sdk-3.8.3-patch.19.tgz","fileCount":78,"integrity":"sha512-uhw5MhMQW87IvfVWr4Vp+Kse9CHwIonaG6uM1b9UJwBpEXBY28aFObZynjpoGIQMbxXuw9bhidewJcv4i+S6aA==","signatures":[{"sig":"MEQCIHejbsWku/CUA5aA6M9qQ299v7jAc340HEhhiYpL4HJSAiAMCxBXhTy7OrxkuZUMfyqyBMVxmt7dBYLwc+cwxJv+yw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40015731},"main":"lib/index.js","_from":"file:abd-im-wasm-client-sdk-3.8.3-patch.19.tgz","types":"lib/index.d.ts","unpkg":"lib/index.umd.js","config":{"commitizen":{"path":"./node_modules/@commitlint/cz-conventional-changelog"}},"module":"lib/index.es.js","source":"src/index.ts","engines":{"node":">=12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.es.js","require":"./lib/index.js"}},"scripts":{"cm":"cz","lint":"eslint ./src/ --fix","test":"jest --coverage","build":"rimraf lib && rollup -c && tsc-alias","prepare":"husky install","typecheck":"tsc --noEmit","test:watch":"jest --watch","prepublishOnly":"pnpm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"buvidk","email":"1532493290@qq.com"},"jsdelivr":"lib/index.umd.js","_resolved":"/home/me/code/abd-im-sdk-js-wasm/abd-im-wasm-client-sdk-3.8.3-patch.19.tgz","_integrity":"sha512-uhw5MhMQW87IvfVWr4Vp+Kse9CHwIonaG6uM1b9UJwBpEXBY28aFObZynjpoGIQMbxXuw9bhidewJcv4i+S6aA==","repository":{"url":"git+https://github.com/abd-im/abd-im-sdk-js-wasm.git","type":"git"},"_npmVersion":"11.19.0","description":"open im sdk for web","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"24.20.0","dependencies":{"rimraf":"^6.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.0","uuid":"^9.0.0","husky":"^6.0.0","squel":"^5.13.0","eslint":"^7.25.0","rollup":"^2.79.1","prettier":"^2.2.1","tsc-alias":"^1.7.0","absurd-sql":"^0.0.53","typescript":"^4.2.4","@types/jest":"^27.5.2","@types/node":"^12.20.11","@types/uuid":"^8.3.4","lint-staged":"^10.5.4","rpc-shooter":"^0.0.14","@commitlint/cli":"^16.2.4","semantic-release":"^19.0.2","@jlongster/sql.js":"^1.6.7","eslint-plugin-node":"^11.1.0","@rollup/plugin-alias":"^5.1.0","absurd-sql-optimized":"^0.0.1","@rollup/plugin-terser":"^0.4.4","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"^4.22.0","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","rollup-plugin-polyfill-node":"^0.13.0","@commitlint/config-conventional":"^16.2.4","@typescript-eslint/eslint-plugin":"^4.22.0","conventional-changelog-conventionalcommits":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wasm-client-sdk_3.8.3-patch.19_1788749061219_0.2093664359374776","host":"s3://npm-registry-packages-npm-production"}},"3.8.3-patch.20":{"name":"@abd-im/wasm-client-sdk","version":"3.8.3-patch.20","keywords":["openim"],"author":{"url":"https://github.com/Bloomingg","name":"blooming","email":"blooming2477@gmail.com"},"license":"MIT","_id":"@abd-im/wasm-client-sdk@3.8.3-patch.20","maintainers":[{"name":"buvidk","email":"1532493290@qq.com"}],"homepage":"https://github.com/abd-im/abd-im-sdk-js-wasm#readme","bugs":{"url":"https://github.com/abd-im/abd-im-sdk-js-wasm/issues"},"dist":{"shasum":"746b7007f0507ed2bf5192114328f1beb9573b8c","tarball":"https://registry.npmjs.org/@abd-im/wasm-client-sdk/-/wasm-client-sdk-3.8.3-patch.20.tgz","fileCount":78,"integrity":"sha512-s2MqJtEX864d8PbY6lfPQAKSzBaIn3GkfXeBEhd/lNoUsqpu5TXFS0JuwWrRYUhz3kDGTtvTdxWdI+cKAjpWdg==","signatures":[{"sig":"MEUCIGrhPccRRKKVs8JVWg5HJh7V8B9ZfpIAlQ8zAgRo24wTAiEAp1ssIo1hEiv1dnIsA/0Cfc4T1E83HxqwrdK46bfoTeM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDF8mI72USbNNdVooaKOMAcoEpxZQXqtVkkd1lQ82J8IAiBdwSNemlPXwJJVoDrI7XzI4HW7173Xnbo8b4xgZnLEwA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40015924},"main":"lib/index.js","_from":"file:/home/me/code/abd-im-sdk-js-wasm/abd-im-wasm-client-sdk-3.8.3-patch.20.tgz","types":"lib/index.d.ts","unpkg":"lib/index.umd.js","config":{"commitizen":{"path":"./node_modules/@commitlint/cz-conventional-changelog"}},"module":"lib/index.es.js","source":"src/index.ts","engines":{"node":">=12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.es.js","require":"./lib/index.js"}},"scripts":{"cm":"cz","lint":"eslint ./src/ --fix","test":"jest --coverage","build":"rimraf lib && rollup -c && tsc-alias","prepare":"husky install","typecheck":"tsc --noEmit","test:watch":"jest --watch","prepublishOnly":"pnpm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"buvidk","email":"1532493290@qq.com"},"jsdelivr":"lib/index.umd.js","_resolved":"/home/me/code/abd-im-sdk-js-wasm/abd-im-wasm-client-sdk-3.8.3-patch.20.tgz","_integrity":"sha512-s2MqJtEX864d8PbY6lfPQAKSzBaIn3GkfXeBEhd/lNoUsqpu5TXFS0JuwWrRYUhz3kDGTtvTdxWdI+cKAjpWdg==","repository":{"url":"git+https://github.com/abd-im/abd-im-sdk-js-wasm.git","type":"git"},"_npmVersion":"11.19.0","description":"open im sdk for web","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"_nodeVersion":"24.20.0","dependencies":{"rimraf":"^6.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.0","uuid":"^9.0.0","husky":"^6.0.0","squel":"^5.13.0","eslint":"^7.25.0","rollup":"^2.79.1","prettier":"^2.2.1","tsc-alias":"^1.7.0","absurd-sql":"^0.0.53","typescript":"^4.2.4","@types/jest":"^27.5.2","@types/node":"^12.20.11","@types/uuid":"^8.3.4","lint-staged":"^10.5.4","rpc-shooter":"^0.0.14","@commitlint/cli":"^16.2.4","semantic-release":"^19.0.2","@jlongster/sql.js":"^1.6.7","eslint-plugin-node":"^11.1.0","@rollup/plugin-alias":"^5.1.0","absurd-sql-optimized":"^0.0.1","@rollup/plugin-terser":"^0.4.4","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"^4.22.0","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","rollup-plugin-polyfill-node":"^0.13.0","@commitlint/config-conventional":"^16.2.4","@typescript-eslint/eslint-plugin":"^4.22.0","conventional-changelog-conventionalcommits":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wasm-client-sdk_3.8.3-patch.20_1789387616029_0.09311459268512268","host":"s3://npm-registry-packages-npm-production"}},"3.8.3-patch.21":{"_id":"@abd-im/wasm-client-sdk@3.8.3-patch.21","bugs":{"url":"https://github.com/abd-im/abd-im-sdk-js-wasm/issues"},"dist":{"shasum":"eab689660a04faa55fa3ac5e254322f1313af376","tarball":"https://registry.npmjs.org/@abd-im/wasm-client-sdk/-/wasm-client-sdk-3.8.3-patch.21.tgz","fileCount":80,"integrity":"sha512-TItm+nD+lUtEL3t7uXiggSz9wIH5G5jYt9fdy9vzR5ohtXfmAsSIxMlj4Xd+kfSzabkK9QOjsMB0PitOekOpIA==","signatures":[{"sig":"MEUCIE83m/k6kgtMpfcCuaC8XQFfRYUdJ1So3ataLqSU5XQIAiEA28tzRhBYMrFZDWqjxgC0MHqtwpFAWBpPP6eElJeDAX4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGyK6AwrqDjH/S2a+rW5g3u8PqLeVh6DMitUCZPI0rE6AiAW68RaTTG9Za6eYDrEWe9/N/3VihpbTWtUbZXUFHuGMA=="}],"unpackedSize":40084889},"main":"lib/index.js","name":"@abd-im/wasm-client-sdk","types":"lib/index.d.ts","unpkg":"lib/index.umd.js","author":{"url":"https://github.com/Bloomingg","name":"blooming","email":"blooming2477@gmail.com"},"config":{"commitizen":{"path":"./node_modules/@commitlint/cz-conventional-changelog"}},"module":"lib/index.es.js","source":"src/index.ts","engines":{"node":">=12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.es.js","require":"./lib/index.js"}},"gitHead":"d03b61c36bb1fc0b9f8cf32744474544aae6f7fd","license":"MIT","scripts":{"cm":"cz","lint":"eslint ./src/ --fix","test":"jest --coverage","build":"rimraf lib && rollup -c && tsc-alias","prepare":"husky install","typecheck":"tsc --noEmit","test:watch":"jest --watch","prepublishOnly":"pnpm run build","semantic-release":"semantic-release"},"version":"3.8.3-patch.21","_npmUser":{"name":"buvidk","email":"1532493290@qq.com"},"homepage":"https://github.com/abd-im/abd-im-sdk-js-wasm#readme","jsdelivr":"lib/index.umd.js","keywords":["openim"],"repository":{"url":"git+https://github.com/abd-im/abd-im-sdk-js-wasm.git","type":"git"},"_npmVersion":"11.19.0","description":"open im sdk for web","directories":{},"lint-staged":{"*.ts":"eslint --cache --cache-location .eslintcache --fix"},"maintainers":[{"name":"buvidk","email":"1532493290@qq.com"}],"_nodeVersion":"24.20.0","dependencies":{"rimraf":"^6.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.0","uuid":"^9.0.0","husky":"^6.0.0","squel":"^5.13.0","eslint":"^7.25.0","rollup":"^2.79.1","prettier":"^2.2.1","tsc-alias":"^1.7.0","absurd-sql":"^0.0.53","typescript":"^4.2.4","@types/jest":"^27.5.2","@types/node":"^12.20.11","@types/uuid":"^8.3.4","lint-staged":"^10.5.4","rpc-shooter":"^0.0.14","@commitlint/cli":"^16.2.4","semantic-release":"^19.0.2","@jlongster/sql.js":"^1.6.7","eslint-plugin-node":"^11.1.0","@rollup/plugin-alias":"^5.1.0","absurd-sql-optimized":"^0.0.1","@rollup/plugin-terser":"^0.4.4","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","@rollup/plugin-commonjs":"^25.0.7","@typescript-eslint/parser":"^4.22.0","rollup-plugin-typescript2":"^0.36.0","@rollup/plugin-node-resolve":"^15.2.3","rollup-plugin-polyfill-node":"^0.13.0","@commitlint/config-conventional":"^16.2.4","@typescript-eslint/eslint-plugin":"^4.22.0","conventional-changelog-conventionalcommits":"^5.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wasm-client-sdk_3.8.3-patch.21_1789390943360_0.02090425349628222"}}},"time":{"created":"2026-08-05T16:28:16.960Z","modified":"2026-09-14T13:02:23.827Z","3.8.3-patch.15":"2026-08-04T14:59:43.996Z","3.8.3-patch.16":"2026-08-05T16:28:17.462Z","3.8.3-patch.17":"2026-08-20T16:30:13.174Z","3.8.3-patch.18":"2026-08-23T04:08:26.846Z","3.8.3-patch.19":"2026-09-07T02:44:21.499Z","3.8.3-patch.20":"2026-09-14T12:06:56.254Z","3.8.3-patch.21":"2026-09-14T13:02:23.635Z"},"bugs":{"url":"https://github.com/abd-im/abd-im-sdk-js-wasm/issues"},"author":{"url":"https://github.com/Bloomingg","name":"blooming","email":"blooming2477@gmail.com"},"license":"MIT","homepage":"https://github.com/abd-im/abd-im-sdk-js-wasm#readme","keywords":["openim"],"repository":{"url":"git+https://github.com/abd-im/abd-im-sdk-js-wasm.git","type":"git"},"description":"open im sdk for web","maintainers":[{"name":"buvidk","email":"1532493290@qq.com"}],"readme":"# JavaScript/TypeScript Client SDK for OpenIM 👨‍💻💬\n\nUse this SDK to add instant messaging capabilities to your application. By connecting to a self-hosted [OpenIM](https://www.openim.online/) server, you can quickly integrate instant messaging capabilities into your app with just a few lines of code.\n\nThe underlying SDK core is implemented in [OpenIM SDK Core](https://github.com/openimsdk/openim-sdk-core). Using the [WebAssembly](https://webassembly.org/) support provided by Go language, it can be compiled into wasm for web integration. The web interacts with the [OpenIM SDK Core](https://github.com/openimsdk/openim-sdk-core) through JSON, and the SDK exposes a re-encapsulated API for easy usage. In terms of data storage, JavaScript handles the logic of the SQL layer by virtualizing SQLite and storing it in IndexedDB using [sql.js](https://sql.js.org/).\n\n## Documentation 📚\n\nVisit [https://docs.openim.io/](https://docs.openim.io/) for detailed documentation and guides.\n\nFor the SDK reference, see [https://docs.openim.io/sdks/quickstart/browser](https://docs.openim.io/sdks/quickstart/browser).\n\n## Installation 💻\n\n### Adding Dependencies\n\n```shell\nnpm install @abd-im/wasm-client-sdk --save\n```\n\n### Obtaining Required Static Resources for WASM\n\nFollow these steps to obtain the static resources required for WebAssembly (WASM):\n\n1. Locate the `@abd-im/wasm-client-sdk` subdirectory in the `node_modules` directory of your project. Copy all the files in the `assets` folder to your project's public resource directory.\n\n   The files to be copied are:\n\n   - `openIM.wasm`\n   - `sql-wasm.wasm`\n   - `wasm_exec.js`\n\n2. After copying the files, import the `wasm_exec.js` file in your `index.html` file using a `<script>` tag.\n\n### Possible Issues ❗\n\n> if you are using webpack4, you may flow this issue [How to import @abd-im/wasm-client-sdk in webpack4.x](https://github.com/abd-im/abd-im-sdk-js-wasm/issues/73).\n\n## Usage 🚀\n\nThe following examples demonstrate how to use the SDK. TypeScript is used, providing complete type hints.\n\n### Importing the SDK\n\n```typescript\nimport { getSDK } from '@abd-im/wasm-client-sdk';\n\nconst OpenIM = getSDK();\n```\n\n### Logging In and Listening for Connection Status\n\n> Note: You need to [deploy](https://github.com/openimsdk/open-im-server#rocket-quick-start) OpenIM Server first, the default port of OpenIM Server is 10001, 10002.\n\n```typescript\nimport { CbEvents } from '@abd-im/wasm-client-sdk';\nimport type { WSEvent } from '@abd-im/wasm-client-sdk/lib/types/entity';\n\nOpenIM.on(CbEvents.OnConnecting, handleConnecting);\nOpenIM.on(CbEvents.OnConnectFailed, handleConnectFailed);\nOpenIM.on(CbEvents.OnConnectSuccess, handleConnectSuccess);\n\nOpenIM.login({\n  userID: 'IM user ID',\n  token: 'IM user token',\n  platformID: 5,\n  apiAddr: 'http://your-server-ip:10002',\n  wsAddr: 'ws://your-server-ip:10001',\n});\n\nfunction handleConnecting() {\n  // Connecting...\n}\n\nfunction handleConnectFailed({ errCode, errMsg }: WSEvent) {\n  // Connection failed ❌\n  console.log(errCode, errMsg);\n}\n\nfunction handleConnectSuccess() {\n  // Connection successful ✅\n}\n```\n\nTo log into the IM server, you need to create an account and obtain a user ID and token. Refer to the [access token documentation](https://docs.openim.io/restapi/userManagement/userRegister) for details.\n\n### Receiving and Sending Messages 💬\n\nOpenIM makes it easy to send and receive messages. By default, there is no restriction on having a friend relationship to send messages (although you can configure other policies on the server). If you know the user ID of the recipient, you can conveniently send a message to them.\n\n```typescript\nimport { CbEvents } from '@abd-im/wasm-client-sdk';\nimport type {\n  WSEvent,\n  MessageItem,\n} from '@abd-im/wasm-client-sdk/lib/types/entity';\n\n// Listenfor new messages 📩\nOpenIM.on(CbEvents.OnRecvNewMessages, handleNewMessages);\n\nconst message = (await OpenIM.createTextMessage('hello openim')).data;\n\nOpenIM.sendMessage({\n  recvID: 'recipient user ID',\n  groupID: '',\n  message,\n})\n  .then(() => {\n    // Message sent successfully ✉️\n  })\n  .catch(err => {\n    // Failed to send message ❌\n    console.log(err);\n  });\n\nfunction handleNewMessages({ data }: WSEvent<MessageItem[]>) {\n  // New message list 📨\n  console.log(data);\n}\n```\n\n## Examples 🌟\n\nYou can find a demo web app that uses the SDK in the [openim-pc-web-demo](https://github.com/openimsdk/open-im-pc-web-demo) repository.\n\n## Browser Support 🌐\n\n| Browser             | Desktop OS            | Mobile OS |\n| ------------------- | --------------------- | --------- |\n| Chrome (61+)        | Windows, macOS, Linux | Android   |\n| Firefox (58+)       | Windows, macOS, Linux | Android   |\n| Safari (15+)        | macOS                 | iOS       |\n| Edge (Chromium 16+) | Windows, macOS        |           |\n\n## Community :busts_in_silhouette:\n\n- 📚 [OpenIM Community](https://github.com/OpenIMSDK/community)\n- 💕 [OpenIM Interest Group](https://github.com/Openim-sigs)\n- 🚀 [Join our Slack community](https://join.slack.com/t/openimsdk/shared_invite/zt-2ijy1ys1f-O0aEDCr7ExRZ7mwsHAVg9A)\n- :eyes: [Join our wechat (微信群)](https://openim-1253691595.cos.ap-nanjing.myqcloud.com/WechatIMG20.jpeg)\n\n## Community Meetings :calendar:\n\nWe want anyone to get involved in our community and contributing code, we offer gifts and rewards, and we welcome you to join us every Thursday night.\n\nOur conference is in the [OpenIM Slack](https://join.slack.com/t/openimsdk/shared_invite/zt-2ijy1ys1f-O0aEDCr7ExRZ7mwsHAVg9A) 🎯, then you can search the Open-IM-Server pipeline to join\n\nWe take notes of each [biweekly meeting](https://github.com/orgs/OpenIMSDK/discussions/categories/meeting) in [GitHub discussions](https://github.com/openimsdk/open-im-server/discussions/categories/meeting), Our historical meeting notes, as well as replays of the meetings are available at [Google Docs :bookmark_tabs:](https://docs.google.com/document/d/1nx8MDpuG74NASx081JcCpxPgDITNTpIIos0DS6Vr9GU/edit?usp=sharing).\n\n## Who are using OpenIM :eyes:\n\nCheck out our [user case studies](https://github.com/OpenIMSDK/community/blob/main/ADOPTERS.md) page for a list of the project users. Don't hesitate to leave a [📝comment](https://github.com/openimsdk/open-im-server/issues/379) and share your use case.\n\n## License :page_facing_up:\n\nOpenIM is licensed under the Apache 2.0 license. See [LICENSE](https://github.com/openimsdk/open-im-server/tree/main/LICENSE) for the full license text.\n","readmeFilename":"README.md"}