{"_id":"@alphabeats/react-native-capability-client","_rev":"3-000f5a3b789a52eb06476631865542e0","name":"@alphabeats/react-native-capability-client","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"@alphabeats/react-native-capability-client","version":"0.0.1","description":"The Android Capability Client wrapped in a React Native library","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","android"],"repository":{"type":"git","url":"git+https://github.com/listenalphabeats/react-native-capability-client.git"},"author":{"name":"AlphaBeats Works B.V.","email":"sjaak@listenalphabeats.com","url":"https://listenalphabeats.com"},"license":"MIT","bugs":{"url":"https://github.com/listenalphabeats/react-native-capability-client.git/issues"},"homepage":"https://github.com/listenalphabeats/react-native-capability-client.git#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.0","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"ed17af50c4d8b2c70ad2869ae3e5ba11b45ba5dd","_id":"@alphabeats/react-native-capability-client@0.0.1","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-BGWG38v93N/dmQHkX3aZmyozx/YNLwxEd3SO593O59Ij+jNz5M5K8iHfuUY2eZmiK3n2h0xYaiNGpYQBk9x9Fw==","shasum":"5807aa5f6ae2013052927606b5e4835cf6e085a5","tarball":"https://registry.npmjs.org/@alphabeats/react-native-capability-client/-/react-native-capability-client-0.0.1.tgz","fileCount":111,"unpackedSize":2568017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmxe8CRA9TVsSAnZWagAAUhUP/RBl6J8J26VxTiO4ZwF2\np1MXejOAc0eYwxS42QUetSXFlhEhf4ogX0DEMmwOdARwHPcvRuQB73hhxyJ1\nHmpM8fQwED9Mi29DPtpTbGxWj8PzL/kJKQ/Dh59GXuOh8gpNOiq5fQf6QMMM\nCwpX/2v0GVpQlgfJhjHaGhYlL3FBmeCx+VwSt0LvYpPTGy4cywtybxL1KMgz\nhL0Yk/+cpyw5MvPUxBcj+L7LTfBrW6YK/SNoVOuIBaZCCz4SCf0IIvINFcLi\nN6YA/W98R0sO8csClCCKWZbBsTm8Nf3VjutzlDkzPgu8i2SiKZjwncbdLbj1\n0AIzupeRM2NEmaSxn0fOTwnYwjelJVNZPWjBqOrazE0uSPVP/o3aGeUzoelw\n3tyehFYDlXj0ZWr/g0K+9Iath8JWSV0DW2yVmH0SRWjrFQEmEVkoRRgRrSy+\nIBnVeLSM/mL/Y5efy3GWnd/82jUHDI9Ux1xeTdG/GsTFqvfop4+tFglF5Q/e\nlbVgEqZ58weyyqMB9cgwqbOpgHB4Zd+vWQDtWqD+fupmunxvAb83hE0IW7hG\njNanCwKNv+tGZVmgOyNPdLj1aXZ6LjIx+CoqnFkRrpwN8CHug8d96BXDwxtG\n0ehJWtXcv9qRTQtVJc1G6zIgKirw4HIYSjsGmXZTCO5lnneSLT0PndR7D3kE\noCrl\r\n=6OML\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0TGso55W4zwnA7I5B6G4v0/UNuHWFRejZU9rzBvpEDgIhAJadPkzTd159gJYHmRMlThWY2N2BS3QZkuxIniYaWYBC"}]},"_npmUser":{"name":"sjaak_alphabeats","email":"sjaak@listenalphabeats.com"},"directories":{},"maintainers":[{"name":"sjaak_alphabeats","email":"sjaak@listenalphabeats.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-capability-client_0.0.1_1637554108696_0.4674963592957877"},"_hasShrinkwrap":false},"0.0.2":{"name":"@alphabeats/react-native-capability-client","version":"0.0.2","description":"The Android Capability Client wrapped in a React Native library","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","android"],"repository":{"type":"git","url":"git+https://github.com/listenalphabeats/react-native-capability-client.git"},"author":{"name":"AlphaBeats Works B.V.","email":"sjaak@listenalphabeats.com","url":"https://listenalphabeats.com"},"license":"MIT","bugs":{"url":"https://github.com/listenalphabeats/react-native-capability-client.git/issues"},"homepage":"https://github.com/listenalphabeats/react-native-capability-client.git#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.0","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"273c276534e0ff8e4a735b6e3abc612545bdf930","_id":"@alphabeats/react-native-capability-client@0.0.2","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-tDeNi83pE9k5I8fbFaSNSi0IOEO+5wJZgsmYLM2hq2tgKBuGFoNXTJ3IfQTuChwTSfFFIXMmbHYgT/ZP1ayTSQ==","shasum":"f3fa1d3b52ce897d205aa87c8ccf05eb19cc44a2","tarball":"https://registry.npmjs.org/@alphabeats/react-native-capability-client/-/react-native-capability-client-0.0.2.tgz","fileCount":111,"unpackedSize":2574612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnf/ICRA9TVsSAnZWagAABFcP/2UrQlkZSMNohu11yKk7\nYYOvxyaxYSFdJMX0CWs2E485MNHxCjq+6RZ2qwxFMLKXwYt/VNhkzfg+lMOi\nDupJEa9Fm3RZts1Tul2BtlejgE+Ae8/YM33J56F2+PKlnNJahIaT75AewHGM\nNCT9wCRsic3mVUrtCzmqfEwzwlT81nXEnFeAOBRHSToINZZq6V0i67wKniwR\nrsAwFk8Q5WQh92VFHo/Zjhy680BbyJtOW2SB6P+DKFvQZ1D8wGSGqRC5F399\nSDRpiXFbLAsZcTJ+q5G7KmGnXoDN0sFKgH1Kt1w97Eyvr6QgrP2AnCbln4GI\negBSY68D5r0moudYx7ZQBEmMQAzrPMicjs++ME5cDE1TmN53+Uz+HigvWjB5\nY8Lix1LkcCVl/mRHUro+Dxe8GD+We9kSJM4GozMCnyOV3mUjiRQ1RHlLhNwP\njn6bwPFvBMIKkH9LYlpLVsFKvPj0GwOuzNIDI4/yYC0ghtcJt1vCTsTXImX/\nThPVCNes/URZ590qzcxIKO3S0xS3vzfRvcqRCz5N9dkkyi5TwkQt+5+Mo5M7\nrptNBaYBV7l74DckGvaxQzXfL0P1sGceT10sgzSlcN8Fg06TruNAKqToU2tv\nY3kjF9n9llUpPXiPy7+6r1XOKITP0xetEJdjZ6CdpCBpEFI+yTf62/nM/XZd\nvJLh\r\n=F/4Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHxKcsswokUjPOuOePOX/f8q0eI1HEzAr0wZkoeGWYeAiASd6lPo33DLgjahoWrCQO4PWj5xbkJC+LzoxFDkZim6Q=="}]},"_npmUser":{"name":"sjaak_alphabeats","email":"sjaak@listenalphabeats.com"},"directories":{},"maintainers":[{"name":"sjaak_alphabeats","email":"sjaak@listenalphabeats.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-capability-client_0.0.2_1637744584791_0.8497165694226705"},"_hasShrinkwrap":false},"0.0.3":{"name":"@alphabeats/react-native-capability-client","version":"0.0.3","description":"The Android Capability Client wrapped in a React Native library","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","android"],"repository":{"type":"git","url":"git+https://github.com/listenalphabeats/react-native-capability-client.git"},"author":{"name":"AlphaBeats Works B.V.","email":"sjaak@listenalphabeats.com","url":"https://listenalphabeats.com"},"license":"MIT","bugs":{"url":"https://github.com/listenalphabeats/react-native-capability-client.git/issues"},"homepage":"https://github.com/listenalphabeats/react-native-capability-client.git#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.0","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"7a7019dc5c06ca0fed5f01ba08f21367417c9733","_id":"@alphabeats/react-native-capability-client@0.0.3","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-fd+mjjqGV7KzExMMuFvNyN3vP2RmXfS8WIUwzEJ4rdq3IDA8pR3DV4CA8gJKeu9Dyp8ux9belz2SH0Y2i9vugA==","shasum":"bb4163f5a7f0acee79e70218b79d875abf2d259c","tarball":"https://registry.npmjs.org/@alphabeats/react-native-capability-client/-/react-native-capability-client-0.0.3.tgz","fileCount":111,"unpackedSize":2574612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhn0LaCRA9TVsSAnZWagAAMCsP+gKuApuSTZUNQZRYnc0j\ne5Jvd8Hf/1F9soNds7qPHtoVN18EwC5wpH6XP591n1BVnQ/N32cPkFLL4uNe\ngH1zlAhK4JZZc76z0lO+m9oi/0pJ+9BJs2YDh1NfpeySWPLTb1Hzm7/KQOyc\nIjZtvCcahm0d9iAKdtA1Ekm11ac3bN70r/QFhhyHk63z2MQpZxYGIDvQCVWY\n4fEFm2cNgrkyMNmXlSdZN/Fn7SF/HXaelNyH5HUWNlJeF9dDt/IflxcJlbW2\nHy/bJxYmyjVzipDii5PekSVEKqxguXHgNJkvFhaD/pTRB4N15rmSwCMlohod\n8ksLKjrpsQjpEkg+3SOMMb/rZqo/vaQgcIxLKOyK05YEIg/wsZpJdii+lWGz\nRRPtnlK1BVmnq+L4PXXch/d4HgQigvHc2yuBQISgnh6FZu+PW/NSBe/Kd/vd\n1+mkkPpOIUW2fXkdbNzYSi4w+piJSWo9kthDZhc49RfI4r0CqlCFzOJozD9x\nhtnyiT26VtYutwXLMpdwXx6Z2ihdAaAUN1uirntMYX1s1Js4VJR9/sWDp7uv\nTtbTuCAvpeq5J8JLX3GP9zsdnMk9dLPa2JwWM7PiEsTgUx2NW7jOWSwfKdTh\nX4V+LvW2LVIIqfZ6cd7FV9F54ejtSNI2PdzTWJZaW/5XUsHEQTFYOU/oi31W\n5Lvd\r\n=pPjs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXO2Py1bEJTQhrBg3k3VfML3xepulrijV0C2DeumSSxAiEAmofk2VkYPRXQrFkdOnXGQC4o56o9BUGrP6IYurarJMA="}]},"_npmUser":{"name":"sjaak_alphabeats","email":"sjaak@listenalphabeats.com"},"directories":{},"maintainers":[{"name":"sjaak_alphabeats","email":"sjaak@listenalphabeats.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-capability-client_0.0.3_1637827290213_0.5109671906357052"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-22T04:08:28.654Z","0.0.1":"2021-11-22T04:08:28.942Z","modified":"2022-04-04T13:38:04.197Z","0.0.2":"2021-11-24T09:03:04.998Z","0.0.3":"2021-11-25T08:01:30.393Z"},"maintainers":[{"name":"sjaak_alphabeats","email":"sjaak@listenalphabeats.com"}],"description":"The Android Capability Client wrapped in a React Native library","homepage":"https://github.com/listenalphabeats/react-native-capability-client.git#readme","keywords":["react-native","android"],"repository":{"type":"git","url":"git+https://github.com/listenalphabeats/react-native-capability-client.git"},"author":{"name":"AlphaBeats Works B.V.","email":"sjaak@listenalphabeats.com","url":"https://listenalphabeats.com"},"bugs":{"url":"https://github.com/listenalphabeats/react-native-capability-client.git/issues"},"license":"MIT","readme":"# react-native-capability-client\n\nThe Android Capability Client wrapped in a React Native library. This project is still under active development but offers basic connectivity functionality to pair an Android device with a WearOS device.\n\n## Installation\n\n```sh\nnpm install @alphabeats/react-native-capability-client\n```\n\n## Usage\n\n```js\nimport { getConnectedNodes, sendMessage } from \"@alphabeats/react-native-capability-client\";\n\n// ...\nconst nodes = await getConnectedNodes()\nconst result = await sendMessage(nodes[0], '/some/path', 'WgQKAiAx')\n```\n\n## Cavaets\n\nAndroid's capability client enables a direct communications line between an app on your phone with an app on your watch. Two important conditions must be met however for this to work:\n\n- The Phone app and the WearOS app must share the same applicationId\n- The Phone app and the WearOS app must be signed with the same keystore\n\nFailure to perform either of those steps will result in the phone and the watch app not being able to exchange messages with one another.\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}