{"_id":"buttplug-wasm","_rev":"11-379e9d6e7545003306b653c30d47be1e","name":"buttplug-wasm","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0-beta1":{"name":"buttplug-wasm","version":"1.0.0-beta1","license":"BSD-3-Clause","_id":"buttplug-wasm@1.0.0-beta1","maintainers":[{"name":"qdot","email":"kyle@nonpolynomial.com"}],"homepage":"https://buttplug.io","bugs":{"url":"https://github.com/buttplugio/buttplug-rs-ffi/issues"},"dist":{"shasum":"bc94813a490a75f8df9377403a30008c4ddefa26","tarball":"https://registry.npmjs.org/buttplug-wasm/-/buttplug-wasm-1.0.0-beta1.tgz","fileCount":14,"integrity":"sha512-FA6bQ3w/6yeKoStq9v8Xe4KQY0zRd3iuYPq9qiPzJ+2aIQlGtQmg6aofSNk4C4c2KmEo6UpNmxV9XVTnsqJlFA==","signatures":[{"sig":"MEUCIQCQ5OEizsksoioCyFCbU9hX0DSwEj4cHy3aYZ3g83CJygIgcCD2PrF+8OuGQc6bH5WC8IvQhtDl+lhTSADvV+oYaN4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4448254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxCvgCRA9TVsSAnZWagAAIugP/jwElhgFXByhlLQXVsry\naL1SU1fYRY7RgOSXbCoCyG2FDQ33Ijj3AZGXLaqyexqnMwbBQefNWudDnb2S\nnuyly8C5WBDkoOEjc+/lCItCT+2MU0Z8kjL7Oy7hsQJcwEODK5ImJ+ObaWai\n46cTGOVTs1rE7qPhWnfmTd8uZfRPkRF7v94FW1wyWV7vfVJthYjrKgL/zzg2\n1dLJW+xHMtnPOlXigYhm6eWX5My8xQeS1FlJcZjshII6BueBRdrGIdv4eMGb\nMe//QTSk4jDPog+8wsoeH+7WlqrwzUjKSuApQWlA0eBpS4ldeYh439jXPjuP\n+ZJJGKN6xokuOmMuyagB+T+Ae40Wskjr4zXMyf3/1CVYj0qjGUDSWdrz+NE6\ngmmp4DYd2HaWtg3Bt97badkq+p9BiYAnf1PBeegFabmyup1TKRf6CdqtXrDB\njAsZo8373uQBPXLakM5+ZSxoR5TywvOIaxQ50Xp02/2QkApU+wx+kRnYEBui\nxEYGrZtmnPxgA9z3F4bhZMMgr0GrKFV8Gm7vCzL0BVK5f+tNA6OYUKUOHIHf\njPGhokvNUPaKtUffVuGajdbNeahCbK8ZFd7y0Scg7+VsonXVFlwDMdYfXmWc\nd9YvZ8JlFRFWJLXoYj2D+uY+dHhE6LQqTQVlyvTShts7Lcy/D5rWjZhFPqlC\nlsZQ\r\n=1T3V\r\n-----END PGP SIGNATURE-----\r\n"},"types":"buttplug-wasm.bundler/buttplug_wasm.d.ts","module":"buttplug-wasm.bundler/buttplug_wasm.js","_npmUser":{"name":"qdot","email":"kyle@nonpolynomial.com"},"repository":{"url":"git+https://github.com/buttplugio/buttplug-rs-ffi.git","type":"git"},"_npmVersion":"6.14.7","description":"Buttplug WASM library for web applications (Node/Web). Does not work for native node at the moment.","directories":{},"sideEffects":"false","_nodeVersion":"14.8.0","collaborators":["Nonpolynomial, LLC <kyle@nonpolynomial.com>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/buttplug-wasm_1.0.0-beta1_1606691808161_0.7698723603324285","host":"s3://npm-registry-packages"}},"1.0.0-beta2":{"name":"buttplug-wasm","version":"1.0.0-beta2","license":"BSD-3-Clause","_id":"buttplug-wasm@1.0.0-beta2","maintainers":[{"name":"qdot","email":"kyle@nonpolynomial.com"}],"homepage":"https://buttplug.io","bugs":{"url":"https://github.com/buttplugio/buttplug-rs-ffi/issues"},"dist":{"shasum":"719efe941b99e39fed48d842cdc64984f24f952f","tarball":"https://registry.npmjs.org/buttplug-wasm/-/buttplug-wasm-1.0.0-beta2.tgz","fileCount":15,"integrity":"sha512-umWR6fjuAuR6JG5zP32jQalC5iaxItQdsD1McyuvuVHFxLWWT3gmPQBIThPgoaY5iCJilTcl1YAc2j1uuTtFlA==","signatures":[{"sig":"MEQCICGCBYDhDfomzi54Cew9iL5xewi5H8vyCccF16Ck8HXTAiA/4SFBO0Z2SVgMqPFzSGvB23JxJ3pUFGGPHK6HWwtm7g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4494102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxC5MCRA9TVsSAnZWagAAfXMP/19ULP2OVgB2jxQGQXz/\n6cWc/1hLpNvjhDzSIDC0N8H0b3gL6F6xRs84umaTOXEovA3O0Wj59D6IaOPR\nvbsLbjyI+2qZr66/CLiUcwRslcdsFNAiS3fqlsm+sgAPzWfTO2UyseRiFv/9\nPm1rMMp2mAjLJSEJaCQKF04DiSnV+IZhyts+NKw5GFHlT5JjctWqE46RR5nz\nmoJSUXf3zsa0GDvGD3ShU++mXRzy7uaZUjwmdFudb2edmxgNswAk/lPW4ap1\nm0UD4I5kTe4ltap9h5ZL8E7W6Dwxkfdnl7Ezao+FXh4lwHykg69gwxDeQQjE\nVAHkmiz+cRDTs20lqMVuj++k/DNNH9KttgW2/PLuxn+UvCHGo0fp2CGotnyz\n43PgYvjlYph2MBmQWvrKCIV7sHhIFmtoQWqD0vbRnT03ucD5gM+Zxtbv+5Be\nH7bhnNfnxC/5cYsJQPnAHLYGsE/Twlihu8mLXD8A1Dm62CyH4JDyOh55aZmf\nU9h5soF/S4qQVVL43WWbMLSkI8PJunfaPlFjsuQU6ZQq21IpK75r6TFMtGK2\n0PrTqtaGo36VOrT2dRE1SLO3ye2D8UdpKNtAo03HArD1AgiQr1tlp8bQ01ex\nAC4TxLl1qC2ynkTpksVOtO4bM4vBkN5ryaGTQjkw18eM8kDiBNVvVzDiUZAA\npFNr\r\n=dwLs\r\n-----END PGP SIGNATURE-----\r\n"},"types":"buttplug-wasm.bundler/buttplug_wasm.d.ts","module":"buttplug-wasm.bundler/buttplug_wasm.js","_npmUser":{"name":"qdot","email":"kyle@nonpolynomial.com"},"repository":{"url":"git+https://github.com/buttplugio/buttplug-rs-ffi.git","type":"git"},"_npmVersion":"6.14.7","description":"Buttplug WASM library for web applications (Node/Web). Does not work for native node at the moment.","directories":{},"sideEffects":"false","_nodeVersion":"14.8.0","collaborators":["Nonpolynomial, LLC <kyle@nonpolynomial.com>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/buttplug-wasm_1.0.0-beta2_1606692427418_0.12311139630051704","host":"s3://npm-registry-packages"}},"1.0.0-beta3":{"name":"buttplug-wasm","version":"1.0.0-beta3","license":"BSD-3-Clause","_id":"buttplug-wasm@1.0.0-beta3","maintainers":[{"name":"qdot","email":"kyle@nonpolynomial.com"}],"homepage":"https://buttplug.io","bugs":{"url":"https://github.com/buttplugio/buttplug-rs-ffi/issues"},"dist":{"shasum":"ee9360a3966bb7cf8be3b3dfd8bc879446a87f92","tarball":"https://registry.npmjs.org/buttplug-wasm/-/buttplug-wasm-1.0.0-beta3.tgz","fileCount":16,"integrity":"sha512-MqN1pvJ6V8TfdQqQ76fTEsfAJGudJGP7b+/ufkTb8Uc4ezPszWswz8QTN8HsF29U4hByjEL3IbkLUc6n4EmZtQ==","signatures":[{"sig":"MEQCIBLDAeXRZ5s/WBCumwEODYc0M5HI2dMmuYy7BYTERRh7AiBSEFtZGPtaeC32xGz7h+9BC0Mz0YK8UXsPFL0obc0wCA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4461290,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyzSRCRA9TVsSAnZWagAAy14P/jEa3NDZoXMAmT0V83E9\nmx+Sknu+hyGn5NCLYBpwE0GOKWvsZLkB+LJ4ahJJZekYq28fvZClD0zCQjSs\nguZOh33tVnbpCvZGd11tikChrPhwGei08iFJgBpt+LiI5gGZUacaEirhIWm5\nWcB1SCNgZlh6408aHeF+H7Y0bulGcIMN5QM6vKR6XO3LfF79xgBT972kK7Kt\n6Sig/RP3dI1pG95DImoUNKpVpKQPsLYVcQv2ZPanlP0q9lK+SwVFWPPLEmLQ\nyxlQXQ3cafa8fFCYf33WFF8IbU4htb4aWsZ6iP41KMJrlwwE0aJw6CronqKv\nm3tGzkCoZ5yxbKVutemvjYX4jfEV1INvJtafMP7akFa3BFhmJPvH4huH6b9o\nISfJOf30eWvz6kVnMfRGwBs2mAgJvn7EmZjhbuQyKRscSwyaGcljLvHFj1ON\ni3IyaVng2N5A1Tv9KWUXxZoG2Mutj18UMhFf6vAVipprANbIIeF5aWMNeu+W\ncVW6xJ0DGF253iZIy0sNYK8hIFPNNBJsxwkOFlWsZOdbom+gFDMlktJzOzGI\nlaMuxOpD0wzn1rAqNVqdK7TZuik9h2TUoPSx3hpLnmlqEbYfUCnDT/TgvxYk\nYekE8RvTJczmJzhw13pgeeU8xigqDyc7xyZuripdAQynQu2yBZPzL9vZWc3z\nzeGv\r\n=sPbY\r\n-----END PGP SIGNATURE-----\r\n"},"types":"buttplug-wasm.bundler/buttplug_wasm.d.ts","module":"buttplug-wasm.bundler/buttplug_wasm.js","_npmUser":{"name":"qdot","email":"kyle@nonpolynomial.com"},"repository":{"url":"git+https://github.com/buttplugio/buttplug-rs-ffi.git","type":"git"},"_npmVersion":"6.14.7","description":"Buttplug WASM library for web applications (Node/Web). Does not work for native node at the moment.","directories":{},"sideEffects":"false","_nodeVersion":"14.8.0","collaborators":["Nonpolynomial, LLC <kyle@nonpolynomial.com>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/buttplug-wasm_1.0.0-beta3_1607152785111_0.6234351599155481","host":"s3://npm-registry-packages"}},"1.0.0-beta4":{"name":"buttplug-wasm","version":"1.0.0-beta4","license":"BSD-3-Clause","_id":"buttplug-wasm@1.0.0-beta4","maintainers":[{"name":"qdot","email":"kyle@nonpolynomial.com"}],"homepage":"https://buttplug.io","bugs":{"url":"https://github.com/buttplugio/buttplug-rs-ffi/issues"},"dist":{"shasum":"7ced9f3ff7270d332f73f5fc231752fe306bd806","tarball":"https://registry.npmjs.org/buttplug-wasm/-/buttplug-wasm-1.0.0-beta4.tgz","fileCount":16,"integrity":"sha512-yfrLxKD3SBkjz4wkPen1l+7NEFtwB9IYcDd/coXBEmQgOa55htV3JcEhexKpo6StIWJ0EFHKYOE/sAKIu6KU7A==","signatures":[{"sig":"MEUCIQCBXfoG+WWp/gXN6OmKprsJZ4jRJRmXvhHRdKd34xd87gIgbTgMGWcgPph8uYULwO1T4l6oo2qfMzch8IlZ6Yt81Gc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4468508,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfy/ViCRA9TVsSAnZWagAAswQP/1FpM7NHr2hvKav4W16t\n3CwCS24OuPb3CP1ZpL1YjAHxbnyIO+XfdDr0SYrLIbTu3IZPDiMRdkyhdym7\n9hys/XyBlhlKyQROa9b1i47rxY1KYeJgcoHmCiMjymgwFcbHQ53PtJSmc9gI\nWLhUzEwEB9BGGhmYnYYGEQDFDFpFDeWuL3TSTinLNOxsSeNWe7OewtKZIJBu\nfEevC4sEhpVJe1JovZg9/dz6ZFnekAjnMjtDoIIfGgF+NGL5K+S44XS7VjUM\nragrwGYAsK5UsjVIKDLpwyXIt2vCE89j9zUHMR2kjtw9+4pOA+HMVhGsZW5U\nSGyoK+pcQwtgjRBCDOD3iDzdjHwwl/Pe1KrEt81NXPk2SYntB50FPZqEZpVA\nOV62N4IDQjsZOLOvEe7AXPlwnQgwFgcUc1CC95n3t4TCKihetfTgaBMjq5b/\nyffgd4hkBNWbPWLcqh7sSMbaF2B3suBJUXfdVvbi4AjZ0mtE+WAh5zi3VIDq\nITyBLQqBtpYRuHP4bTlspbiF9yUiOvagDZNF2T6VHBnzGp8ZGZVFqwUaHS8W\nsa+e+tWHBowt2DkJ0lLqEQxdHhi4zBjvqIyzJpmJezI5HxlWEH7rzIny+btX\nwjeMTdmlBFZjpiEttvv88jKlslSNDfk/NDqXTHpJTpc8xrvTDsON2Krki6eY\nBLpZ\r\n=98Zv\r\n-----END PGP SIGNATURE-----\r\n"},"types":"buttplug-wasm.bundler/buttplug_wasm.d.ts","module":"buttplug-wasm.bundler/buttplug_wasm.js","_npmUser":{"name":"qdot","email":"kyle@nonpolynomial.com"},"repository":{"url":"git+https://github.com/buttplugio/buttplug-rs-ffi.git","type":"git"},"_npmVersion":"6.14.7","description":"Buttplug WASM library for web applications (Node/Web). Does not work for native node at the moment.","directories":{},"sideEffects":"false","_nodeVersion":"14.8.0","collaborators":["Nonpolynomial, LLC <kyle@nonpolynomial.com>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/buttplug-wasm_1.0.0-beta4_1607202145967_0.22425651512865818","host":"s3://npm-registry-packages"}},"1.0.0-beta5":{"name":"buttplug-wasm","version":"1.0.0-beta5","license":"BSD-3-Clause","_id":"buttplug-wasm@1.0.0-beta5","maintainers":[{"name":"qdot","email":"kyle@nonpolynomial.com"}],"homepage":"https://buttplug.io","bugs":{"url":"https://github.com/buttplugio/buttplug-rs-ffi/issues"},"dist":{"shasum":"e90a1e65942707c3713e164ded98863449bcc84b","tarball":"https://registry.npmjs.org/buttplug-wasm/-/buttplug-wasm-1.0.0-beta5.tgz","fileCount":67,"integrity":"sha512-w9cVj7La3ZaFiFMxLU71puP2LxPV6MPzb9QrpXpsQiwFDi/1RjyXNVGEgN0x9rXdvieZuY1lCtv++DpWRxNcEg==","signatures":[{"sig":"MEUCIHjgQ+BjyyklfkRMd3cxjgtlkpm+dthEAfDh0ZchMxG1AiEApNiA2IkNxcQodXlWbn+sVK+urSIt09tGsRUhOlJ5zK4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12875166,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf37OTCRA9TVsSAnZWagAASb8P/2/eUWxqOc92eLt/4OF4\n7AbtdzOfy7uAc7DAziS8AJxzaern4DhzA3XcHEz1BWCqCGtAGmtotbykYzsB\ns9VpppEjxRgQj8oEG2I4lK245OMLofhP2NWcBInmOeavhmAf5EQHfij1kXSf\nRF+ltyPKNz0/WGgnOnYwEHLbuYo8qarUT67eBMJUJ/sALps9KGgzoh5vglN0\nOklin/v/vLfvc9L2SXRVmTfXXGzEj9eDJeYs+ZvYVdtHWEidUQXZ3fNe7/sq\nN/J4OWwOPkBjlFoLdvfy2d8Ht9nHqJCuZxrkiWYpg4qb4y4HZYMhlYiOvwr4\naf2HHdGlFCFxe8KT6MY7mS6IcdoYT6WUlrEGg2Dpyh5b5GzvhlOiH2gIDK62\nBW1wi7yCeTy9RoO6MsLmOBCn6qaybc9xlqnkYdb8oRnHJqwQVakA1iG0OdSa\nfNwTJM5r/X+JC5tXEWbVGCfMikZIsHGGUtovVMgexscAtwHvmSohAfZ+2RNE\nyh3E1wxfqw6bu3735kx+syuLUyPdsHSjhdsfGk79sLowGKTtHqImIcN9ioIa\n1nJ3+VKPRsUD4BUS39D7Mzr1kX4XtvmHdvPpWgwZFw1eArzJ5F9Q+3hDCVLG\nZysvQcaLp5LDfisr7EebE67INFBVY5ojEzo6xbzw8ffdd+c8ZeBKe5YJ4LyE\nf87s\r\n=1BYg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/module/index.js","types":"./dist/module/index.d.ts","scripts":{"dev":"webpack-dev-server --hot --config webpack.base.js","build:main":"tsc -p tsconfig.json && copyfiles -u 1 \"src/**/*.d.ts\" dist/module && copyfiles -u 1 \"src/**/*.wasm\" dist/module","build:rust":"rimraf src/buttplug-rs-ffi && cd ../ffi && cross-env RUSTFLAGS=\"--cfg=web_sys_unstable_apis\" wasm-pack build -d../wasm/src/buttplug-rs-ffi --release -- --features wasm --no-default-features && cd ../wasm && rimraf src/buttplug-rs-ffi/.gitignore src/buttplug-rs-ffi/package.json src/buttplug-rs-ffi/README.md","build:proto":"pbjs -t static-module -w commonjs -o src/buttplug_ffi.js ../protobuf_schemas/buttplug_rs_ffi.proto && pbjs -t static-module ../protobuf_schemas/buttplug_rs_ffi.proto | pbts -o src/buttplug_ffi.d.ts -","build:publish":"yarn build:rust && yarn build:webpack","build:webpack":"yarn build:main && webpack --progress --config webpack.base.js"},"_npmUser":{"name":"qdot","email":"kyle@nonpolynomial.com"},"repository":{"url":"git+https://github.com/buttplugio/buttplug-rs-ffi.git","type":"git"},"_npmVersion":"6.14.7","description":"Buttplug WASM library for web applications (Node/Web). Does not work for native node at the moment.","directories":{},"sideEffects":"false","_nodeVersion":"14.8.0","dependencies":{},"collaborators":["Nonpolynomial, LLC <kyle@nonpolynomial.com>"],"_hasShrinkwrap":false,"devDependencies":{"yarn":"^1.22.10","rimraf":"^3.0.2","ts-node":"^9.1.0","webpack":"^4","ts-proto":"^1.39.0","copyfiles":"^2.4.1","cross-env":"^7.0.3","ts-loader":"^8.0.11","uglify-js":"^3.12.1","protobufjs":"^6.10.2","typescript":"^4.1.2","html-loader":"^1.3.2","webpack-cli":"^3","webpack-dev-server":"^3.9.0","fork-ts-checker-webpack-plugin":"^6.0.5"},"_npmOperationalInternal":{"tmp":"tmp/buttplug-wasm_1.0.0-beta5_1608496019175_0.024563355671270548","host":"s3://npm-registry-packages"}},"1.0.0-beta6":{"name":"buttplug-wasm","version":"1.0.0-beta6","license":"BSD-3-Clause","_id":"buttplug-wasm@1.0.0-beta6","maintainers":[{"name":"qdot","email":"kyle@nonpolynomial.com"}],"homepage":"https://buttplug.io","bugs":{"url":"https://github.com/buttplugio/buttplug-rs-ffi/issues"},"dist":{"shasum":"9e90d109a654b602c9f238f664fd4248d6795315","tarball":"https://registry.npmjs.org/buttplug-wasm/-/buttplug-wasm-1.0.0-beta6.tgz","fileCount":50,"integrity":"sha512-8NSFUxrjVlaDZve04kJrYq6eaccB95amt3QJTo/Dh9kZO/JGtvsSdGbKfCbTuMNKdhk5Kgf9bw5xLAPEjl3qrw==","signatures":[{"sig":"MEUCIEZvCaT/hDhOr8lDxibBBStrwLfM1ShZurhSz5tUxOZ4AiEAhiVuC2ryPDyqVMJec2ymAtPbcUCzfDNpZKbMIUYtPCY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9179322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3+rOCRA9TVsSAnZWagAA0l4P/04ZkiUSZpnMfILJXICl\n4ECC2N0Nx1/rbzHAgjEj/e6WRlwBDnj5ylRwC1A8ReLySqICB2bIK2MznFDB\nZLI71FXs1y1I6N2sJ9mSkZMc9NHoqJtV8Vpx6EOlqctBy1phkoJr/zpsNEAM\nb2IjCkC3iVmMCFdVwnqq9vDDmMLnz9NsiExJb7r05kGp2/jJZghT6IP6cJj2\nuwMvyVA+iQuZFFubE+V69Uyui6jEjNDA/ox399vAD9kg3RZhB5cXhvIvTk4y\ni9scBW7FSgVd4lrEtzWNOKC7m4udx5lmLcyRaI48nPkP+4g8GIx74BFIB7WC\ncrRLEExnSwr74thJdrricSpuxn1XaDvvUc9OGNsa6CLts++MtNjSXWFSC2VH\nzZlgn8+MMzRbRP9BATFGCGaeypAqOVsL2fRN2QdT9omJZ3CMHTopltkafIv4\nUvDKsN69GPBkkEtaBJXf1OY8KX0VTpLNiL0rURHXEXumzf91IMMm+5uHibXj\nI+Rm0v+4yiIKbKbwW2OlAbd1DIitpTQZhXnb+kZv1r238xfPLq+apaYE/z+7\nEe4n3oJZ8vyp+RDXqpAmR6kqbOzKLWfK2vHtswTIAUa+/Y86JldMfPE05HEn\nODo3tk0jNG8csQinU362mZmkIexIzx836vakFApHrnwyrAamcPv61OXKg0EF\naQ89\r\n=ibhj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/module/index.js","types":"./dist/module/index.d.ts","scripts":{"dev":"webpack-dev-server --hot --config webpack.base.js","build:main":"tsc -p tsconfig.json && copyfiles -u 1 \"src/**/*.d.ts\" dist/module && copyfiles -u 1 \"src/**/*.wasm\" dist/module","build:rust":"rimraf src/buttplug-rs-ffi && cd ../ffi && cross-env RUSTFLAGS=\"--cfg=web_sys_unstable_apis\" wasm-pack build -d../wasm/src/buttplug-rs-ffi --release -- --features wasm --no-default-features && cd ../wasm && rimraf src/buttplug-rs-ffi/.gitignore src/buttplug-rs-ffi/package.json src/buttplug-rs-ffi/README.md","build:proto":"pbjs -t static-module -w commonjs -o src/buttplug_ffi.js ../protobuf_schemas/buttplug_rs_ffi.proto && pbjs -t static-module ../protobuf_schemas/buttplug_rs_ffi.proto | pbts -o src/buttplug_ffi.d.ts -","build:publish":"yarn build:rust && yarn build:webpack","build:webpack":"yarn build:main && webpack --progress --config webpack.base.js"},"_npmUser":{"name":"qdot","email":"kyle@nonpolynomial.com"},"repository":{"url":"git+https://github.com/buttplugio/buttplug-rs-ffi.git","type":"git"},"_npmVersion":"6.14.7","description":"Buttplug WASM library for web applications (Node/Web). Does not work for native node at the moment.","directories":{},"sideEffects":"false","_nodeVersion":"14.8.0","dependencies":{},"collaborators":["Nonpolynomial, LLC <kyle@nonpolynomial.com>"],"_hasShrinkwrap":false,"devDependencies":{"yarn":"^1.22.10","rimraf":"^3.0.2","ts-node":"^9.1.0","webpack":"^4","ts-proto":"^1.39.0","copyfiles":"^2.4.1","cross-env":"^7.0.3","ts-loader":"^8.0.11","uglify-js":"^3.12.1","protobufjs":"^6.10.2","typescript":"^4.1.2","html-loader":"^1.3.2","webpack-cli":"^3","webpack-dev-server":"^3.9.0","fork-ts-checker-webpack-plugin":"^6.0.5"},"_npmOperationalInternal":{"tmp":"tmp/buttplug-wasm_1.0.0-beta6_1608510157921_0.6060069839677706","host":"s3://npm-registry-packages"}},"1.0.0-beta7":{"name":"buttplug-wasm","version":"1.0.0-beta7","license":"BSD-3-Clause","_id":"buttplug-wasm@1.0.0-beta7","maintainers":[{"name":"qdot","email":"kyle@nonpolynomial.com"}],"homepage":"https://buttplug.io","bugs":{"url":"https://github.com/buttplugio/buttplug-rs-ffi/issues"},"dist":{"shasum":"0d0f7612baa96f83b2275171844aadb4dd372791","tarball":"https://registry.npmjs.org/buttplug-wasm/-/buttplug-wasm-1.0.0-beta7.tgz","fileCount":51,"integrity":"sha512-BsNwmzbZ8C9q63wSe7yFYCtp1P26Ns4h3wXXoQXZWlQpBPdUAepK8CuK21U7y9hO/CNKJZnQIjdHSTIvH8rmOQ==","signatures":[{"sig":"MEYCIQCnP7uTiZZKM/8vYjnHEgySd0RAdsRfQvUu+e3mp+9ZIgIhAInKLARCB+i5Jp1GJfBBp5BnA2wYCWZLeT0L1SqK24I7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9196052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf3/l5CRA9TVsSAnZWagAATEcP/iD4/DX0v1f2h3/0ev2/\nPJOed7hQpZc8RyterFIJ6qDxOe9UrwD81i4HUexVozk8Af2KxEK5hdEOjEBN\n9QAMAmmd8OF9XaI3XI1xC1JkkwBl4bB3sKbqHjCzcPMrq/72xu1GZ1Kx4j4/\nTYNz97dwwg0twBzwFhgYA4ntQd/N7NpkD5NOy28tkUNC+0KCtB1zzJ9s+d2X\nbJT1h1JZkctoTnie/GmP6t57i8mKpTOn3rFt6cqIcVUuUuWhimlo6lpes4ll\nmOqlZ2H1XwPXSODKjTpTLamwHpL0584REiNqT9eC3FADhMGgCljVlUZUu+IE\nE2TF9qu1YAiuIzUP8PG4K8KGrfAf3KesL9rG1D+0NRzHFZjHIA2IcG2z9q+m\nV1GVlhhgctx9eSxRnY9wgmreFJe6bMSwh2qhojenR6IT56obuDvn3IkzkiVo\nkSN3mtTCVG60eQy3xq1vw0EtC+VrGAgoU7ncdrSmEQC5bHk2Qt+61RAxlSZT\nPkyE+Xu7TT4wHRKAw1Nry8obB9qZpLYwC+KAIVe0s6GcAT845fQs2SDlLTXf\nL1/9R4m2fcNjFLzMsG9mi7n1+9xBSCdRaL/XWVEVnNQYCkqk6MlS+5L5e3X2\nwThAo1D7YMmSxqSLXXOGRZAi+yyuPtVNkx8e8qCXY+MN3PYs/6h+fc+ve0OI\nxDdX\r\n=oa/p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/module/index.js","types":"./dist/module/index.d.ts","scripts":{"dev":"webpack-dev-server --hot --config webpack.base.js","build:main":"tsc -p tsconfig.json && copyfiles -u 1 \"src/**/*.d.ts\" dist/module && copyfiles -u 1 \"src/**/*.wasm\" dist/module","build:rust":"rimraf src/buttplug-rs-ffi && cd ../ffi && cross-env RUSTFLAGS=\"--cfg=web_sys_unstable_apis\" wasm-pack build -d../wasm/src/buttplug-rs-ffi --release -- --features wasm --no-default-features && cd ../wasm && rimraf src/buttplug-rs-ffi/.gitignore src/buttplug-rs-ffi/package.json src/buttplug-rs-ffi/README.md","build:proto":"pbjs -t static-module -w commonjs -o src/buttplug_ffi.js ../protobuf_schemas/buttplug_rs_ffi.proto && pbjs -t static-module ../protobuf_schemas/buttplug_rs_ffi.proto | pbts -o src/buttplug_ffi.d.ts -","build:publish":"yarn build:rust && yarn build:webpack","build:webpack":"yarn build:main && webpack --progress --config webpack.base.js"},"_npmUser":{"name":"qdot","email":"kyle@nonpolynomial.com"},"repository":{"url":"git+https://github.com/buttplugio/buttplug-rs-ffi.git","type":"git"},"_npmVersion":"6.14.7","description":"Buttplug WASM library for web applications (Node/Web). Does not work for native node at the moment.","directories":{},"sideEffects":"false","_nodeVersion":"14.8.0","dependencies":{},"collaborators":["Nonpolynomial, LLC <kyle@nonpolynomial.com>"],"_hasShrinkwrap":false,"devDependencies":{"yarn":"^1.22.10","rimraf":"^3.0.2","ts-node":"^9.1.0","webpack":"^4","ts-proto":"^1.39.0","copyfiles":"^2.4.1","cross-env":"^7.0.3","ts-loader":"^8.0.11","uglify-js":"^3.12.1","protobufjs":"^6.10.2","typescript":"^4.1.2","html-loader":"^1.3.2","webpack-cli":"^3","webpack-dev-server":"^3.9.0","fork-ts-checker-webpack-plugin":"^6.0.5"},"_npmOperationalInternal":{"tmp":"tmp/buttplug-wasm_1.0.0-beta7_1608513913087_0.5550571420638775","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"buttplug-wasm","version":"2.0.0","_id":"buttplug-wasm@2.0.0","maintainers":[{"name":"qdot","email":"kyle@nonpolynomial.com"}],"dist":{"shasum":"475bb1ded6361b433ed78e42ada3eb449d118819","tarball":"https://registry.npmjs.org/buttplug-wasm/-/buttplug-wasm-2.0.0.tgz","fileCount":19,"integrity":"sha512-KIfkdUg2A11XE+60aRt2YK9ACUCNb0PR4umfUqMx6hrG/zK3Zolvyb6uTTlxiPRafEl+VofkPW11Ky+t5TSCZQ==","signatures":[{"sig":"MEUCIQCwNUBlOtoBzKlEyFq609ql2rv+DiNiUmTLOr+qdsVOewIgVKzglch+EJjdpn90tAKaHbrupeQ1gV0+sVMZC1G5PlY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6600011},"type":"module","gitHead":"5f8e4bb3454be599a84b14ac77cecd207a3ddd90","scripts":{"build:web":"vite build","build:main":"tsc -p tsconfig.json","build:wasm":"cd rust; wasm-pack build"},"_npmUser":{"name":"qdot","email":"kyle@nonpolynomial.com"},"_npmVersion":"9.5.1","description":"A WASM compilation of the Rust implementation of the Buttplug Server. This projects allows the Buttplug Server (hardware connecting portion of Buttplug) to be run completely in the browser without the need to connect to [Intiface Central](https://intiface","directories":{},"_nodeVersion":"18.16.0","dependencies":{"buttplug":"^3.2.0","eventemitter3":"^5.0.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^4.4.9","rollup":"^3.29.2","typescript":"^5.2.2","vite-plugin-dts":"^3.5.4","vite-plugin-wasm":"^3.2.2","vite-plugin-top-level-await":"^1.3.1"},"_npmOperationalInternal":{"tmp":"tmp/buttplug-wasm_2.0.0_1695502859385_0.7054762355851798","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"buttplug-wasm","version":"2.0.1","_id":"buttplug-wasm@2.0.1","maintainers":[{"name":"qdot","email":"kyle@nonpolynomial.com"}],"dist":{"shasum":"b5a2fc2106ed79057d7c2bd165b19c65a06c694f","tarball":"https://registry.npmjs.org/buttplug-wasm/-/buttplug-wasm-2.0.1.tgz","fileCount":19,"integrity":"sha512-yJCMbs1F9ikfDMg8FgDNueDjaJm5GEiejS4Iya/GaXqXLXLC5c5qAO2nqTDLlI+63+aDvieSv/vWnbaa2XhYuw==","signatures":[{"sig":"MEYCIQD0nDVCVsqpFEcBT2Z7/sHcjndsvLeZvrvsF9prO7UQUgIhAIbLNUwfVHPpaBwbdJRmZGdvN+jHAOimgqnDyGEmfGYw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6651070},"type":"module","gitHead":"3038684814259bf056fee90eb7747ea623a8acdf","scripts":{"build:web":"vite build","build:main":"tsc -p tsconfig.json","build:wasm":"cd rust; wasm-pack build"},"_npmUser":{"name":"qdot","email":"kyle@nonpolynomial.com"},"_npmVersion":"9.5.1","description":"A WASM compilation of the Rust implementation of the Buttplug Server. This projects allows the Buttplug Server (hardware connecting portion of Buttplug) to be run completely in the browser without the need to connect to [Intiface Central](https://intiface","directories":{},"_nodeVersion":"18.16.0","dependencies":{"buttplug":"^3.2.1","eventemitter3":"^5.0.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^4.4.9","rollup":"^3.29.2","typescript":"^5.2.2","vite-plugin-dts":"^3.5.4","vite-plugin-wasm":"^3.2.2","vite-plugin-top-level-await":"^1.3.1"},"_npmOperationalInternal":{"tmp":"tmp/buttplug-wasm_2.0.1_1695510930106_0.3312723974493814","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"buttplug-wasm","version":"3.0.0","description":"Buttplug WASM client connector for the official buttplug JS library","license":"BSD-3-Clause","author":{"name":"Nonpolynomial Labs, LLC","email":"kyle@nonpolynomial.com"},"homepage":"https://buttplug.io","repository":{"type":"git","url":"git+https://github.com/buttplugio/buttplug.git","directory":"wasm/packages/connector"},"bugs":{"url":"https://github.com/buttplugio/buttplug/issues"},"keywords":["buttplug","wasm","connector","teledildonics"],"type":"module","main":"./dist/buttplug-wasm.mjs","module":"./dist/buttplug-wasm.mjs","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/buttplug-wasm.mjs"}},"engines":{"node":">=18"},"scripts":{"build":"vite build","prepublishOnly":"npm run build"},"dependencies":{"buttplug-wasm-blob":"^3.0.0","buttplug":"^4.0.2","eventemitter3":"^5.0.4"},"devDependencies":{"typescript":"^6.0.3","vite":"^8.0.13","vite-plugin-dts":"^5.0.0"},"_id":"buttplug-wasm@3.0.0","gitHead":"c45b1631c47c65aef6d6dc5c039cb90031ec3d49","_nodeVersion":"24.4.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-FcLAn7bNCZdaTvHfVIGBfhQplJdU9/1OqlXadHgfevYXCOJTP23zfKzZUmCAqmLLskGk4GpoRQNkSQjt+AzXTQ==","shasum":"f148fb1f0c1fe942db568acff740e2905f6bfe48","tarball":"https://registry.npmjs.org/buttplug-wasm/-/buttplug-wasm-3.0.0.tgz","fileCount":5,"unpackedSize":7122,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChAJc/4/jIDLQJvsRM4/QUEXx9NUOAboaiEGwNqa/HhQIhAN9xpfbx3+DR0xwX6OGvL3kQL2uCiSNL7SckUwfRD4Ud"}]},"_npmUser":{"name":"qdot","email":"kyle@nonpolynomial.com"},"directories":{},"maintainers":[{"name":"qdot","email":"kyle@nonpolynomial.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buttplug-wasm_3.0.0_1779071208406_0.7987321981510696"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-29T23:16:48.161Z","modified":"2026-05-18T02:26:48.633Z","1.0.0-beta1":"2020-11-29T23:16:48.423Z","1.0.0-beta2":"2020-11-29T23:27:07.665Z","1.0.0-beta3":"2020-12-05T07:19:45.398Z","1.0.0-beta4":"2020-12-05T21:02:26.195Z","1.0.0-beta5":"2020-12-20T20:26:59.481Z","1.0.0-beta6":"2020-12-21T00:22:38.228Z","1.0.0-beta7":"2020-12-21T01:25:13.393Z","2.0.0":"2023-09-23T21:00:59.662Z","2.0.1":"2023-09-23T23:15:30.385Z","3.0.0":"2026-05-18T02:26:48.534Z"},"description":"Buttplug WASM client connector for the official buttplug JS library","maintainers":[{"name":"qdot","email":"kyle@nonpolynomial.com"}],"readme":"# buttplug-wasm\n\n[![Patreon donate button](https://img.shields.io/badge/patreon-donate-yellow.svg)](https://www.patreon.com/qdot)\n[![Github donate button](https://img.shields.io/badge/github-donate-ff69b4.svg)](https://www.github.com/sponsors/qdot)\n[![Discourse Forums](https://img.shields.io/discourse/status?label=buttplug.io%20forums&server=https%3A%2F%2Fdiscuss.buttplug.io)](https://discuss.buttplug.io)\n[![Discord](https://img.shields.io/discord/353303527587708932.svg?logo=discord)](https://discord.buttplug.io)\n[![bluesky](https://img.shields.io/bluesky/followers/buttplug.io)](https://bsky.app/profile/buttplug.io)\n\nButtplug WASM connector for running an embedded Buttplug server directly in the browser via WebAssembly and Web Bluetooth.\n\n## Installation\n\n```bash\nnpm install buttplug-wasm buttplug\n```\n\n## Usage\n\n```typescript\nimport { ButtplugClient } from 'buttplug';\nimport { ButtplugWasmClientConnector } from 'buttplug-wasm';\n\n// Optional: enable debug logging\nawait ButtplugWasmClientConnector.activateLogging(\"debug\");\n\nconst connector = new ButtplugWasmClientConnector();\nconst client = new ButtplugClient(\"My App\");\n\nawait client.connect(connector);\nawait client.startScanning();\n\nclient.on(\"deviceadded\", (device) => {\n  console.log(`Device connected: ${device.Name}`);\n});\n```\n\n## How it works\n\nThis package provides a `ButtplugWasmClientConnector` that implements `IButtplugClientConnector` from the official `buttplug` JS library. Under the hood, it uses [`buttplug-wasm-blob`](https://www.npmjs.com/package/buttplug-wasm-blob) which bundles a full Buttplug server compiled to WebAssembly.\n\nWhen you call `connect()`, the connector:\n\n1. Loads and initializes the WASM module (lazy, on first call)\n2. Creates an embedded Buttplug server instance\n3. Communicates with the server via JSON message passing over the WASM boundary\n4. Uses Web Bluetooth for device discovery and communication\n\nNo external server process needed — everything runs in-browser.\n\n## Building your own connector?\n\nIf you're using a different buttplug JS client library, install [`buttplug-wasm-blob`](https://www.npmjs.com/package/buttplug-wasm-blob) directly for the raw WASM server FFI.\n\n## Requirements\n\n- A browser with Web Bluetooth support (Chrome, Edge, Opera)\n- HTTPS context (Web Bluetooth requires secure origins)\n- The `buttplug` npm package (peer dependency for `ButtplugClient`)\n\n## Filing Issues and Contributing\n\nIf you have issues or feature requests, please feel free to [file an\nissue](https://github.com/buttplugio/buttplug/issues).\n\n**We are not looking for unsolicited code contributions or pull requests, and will not accept\npull requests that do not have a matching issue where the matter was previously discussed in an issue on this repo or in one of our communication channels, listed below.** \n\nPull requests should only be submitted after talking to [qdot](https://github.com/qdot) via issues\n(or on [Discord](https://discord.buttplug.io), [our forums](https://discuss.buttplug.io), or via DMs\non one of our social media accounts if you would like to stay anonymous and out of recorded info on\nthe repo) and receiving approval to develop code based on an issue. Any random or non-issue pull\nrequests will most likely be closed without merging.\n\nIf you'd like to contribute in a non-technical way, we need money to keep up with supporting the\nlatest and greatest hardware. We have multiple ways to donate!\n\n- [Patreon](https://patreon.com/qdot)\n- [Github Sponsors](https://github.com/sponsors/qdot)\n- [Ko-Fi](https://ko-fi.com/qdot76367)\n\n## License\n\nBSD-3-Clause\n","readmeFilename":"README.md","homepage":"https://buttplug.io","keywords":["buttplug","wasm","connector","teledildonics"],"repository":{"type":"git","url":"git+https://github.com/buttplugio/buttplug.git","directory":"wasm/packages/connector"},"author":{"name":"Nonpolynomial Labs, LLC","email":"kyle@nonpolynomial.com"},"bugs":{"url":"https://github.com/buttplugio/buttplug/issues"},"license":"BSD-3-Clause"}