{"_id":"@artalat/react-native-tuya","_rev":"8-cc205a896a4e6328e996b32544ef5d04","name":"@artalat/react-native-tuya","dist-tags":{"latest":"1.8.0"},"versions":{"1.0.0":{"name":"@artalat/react-native-tuya","description":"React Native bindings for the Tuya SDK","homepage":"https://github.com/Volst/react-native-tuya#readme","author":{"name":"Kees Kluskens"},"module":"dist/react-native-tuya.esm.js","version":"1.0.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","keywords":["react-native","tuyasmart","iot","tuya"],"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"eslint src --ext=ts,tsx","fix":"eslint src --ext=ts,tsx --fix","fix:md":"remark . -o","fix:prettier":"prettier \"src/**/*.ts\" --write","prepare":"tsdx build"},"peerDependencies":{"react-native":">=0.61.5"},"devDependencies":{"@bluebase/code-standards":"^2.21.0","@types/jest":"^25.1.2","@types/react-native":"^0.61.16","eslint-plugin-prettier":"^4.0.0","eslint-plugin-unused-imports":"^2.0.0","prettier":"^2.4.1","react-native":"^0.61.5","remark-cli":"^10.0.0","remark-preset-lint-recommended":"^6.1.1","tsdx":"^0.12.3","tslib":"^1.10.0","typescript":"^3.7.5"},"prettier":{"singleQuote":true,"trailingComma":"es5"},"publishConfig":{"access":"public"},"gitHead":"69a4d016c7c03b3228c2305e750a5f49b460784e","_id":"@artalat/react-native-tuya@1.0.0","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-ppGBaZkc/uDkCthzBcIkWSS34BKd/8pWj1zA/hreFVRaX1u39XnJJuwiwE/LZDDNWFzqWC6eN4o+UfVyrIvBOg==","shasum":"ebdb5eca56d9d35e2f8e5b3b09ec058b733aae46","tarball":"https://registry.npmjs.org/@artalat/react-native-tuya/-/react-native-tuya-1.0.0.tgz","fileCount":116,"unpackedSize":458338,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCn0PwC9z8hCF8TxeIWaBfsCTP3fYO4ei3ujZ8C/DI4FgIhAJ2xl1Hvv5+nJuBBvYE8pijpmqQDkeWYxcnIsjYbiuDp"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjExgwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqs/A//RMfYVtoxmEK5P0UqSeEUkO9TLt9NeW4ylKD2Ey6C3DQ9oNwO\r\nPePbWd9p7ZGGsw9+soNgOHnARd8ZZ1RTDV9IhS5FRw38WILDVg+0pPjE3fae\r\ngPrvLVsQPYQLOO6ixXaUzDPRRw1X02zsQ6bm7qNdpsuVXTwlClJqRx85IMvc\r\nrYDxiE+O5jBw7gUgq8p1Ol19eScaOYa7IO7hh+kkTxeN4Od6kPYqObKpwVkW\r\nio+ADADlcqsIrzA7md+qGJzbdjjZdcHmVquE3WzSwd0ktaDhxGOa6/vD6tDF\r\n7Gf7prCF692KnZGg0ESYd+yia93njY8Fg478BScz8GB63svAMsYARlKUmtaj\r\nPRV5OBoNgbr9yr+2PrmYna+Yldc2E+aviW/l5b6LZLJ69I2kQwj6JW4TFOug\r\n1Nre6ecuBFSX5vn2A5mBVmDeCRhcwmUAcJBsheKMGtlqImmfN9vCvlIiGYU3\r\n/6Hfkg3Jz4HxKvC7zCDR6+jRT35l4ZZq/SWq0dKhLzKzPy0hwVjwrIvidcMT\r\nStdLwmWroDx0LHWGG7f5J23HvYd43JfvbmZptLCXYleW/IrCFCNQj3DJ5BP2\r\nP7i/cDtOBVhuePjVKDbl00gDZfB1ybfCKHsi0RA/s7r6nnHftxKxZiA3sRD8\r\nLjzTT8PmjYaP29z01PA09XNMCfvNj4qUmHc=\r\n=oGZv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"artalat","email":"rehman.talat@gmail.com"},"directories":{},"maintainers":[{"name":"artalat","email":"rehman.talat@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-tuya_1.0.0_1662195760593_0.7927094191344646"},"_hasShrinkwrap":false},"1.1.0":{"name":"@artalat/react-native-tuya","description":"React Native bindings for the Tuya SDK","homepage":"https://github.com/Volst/react-native-tuya#readme","author":{"name":"Kees Kluskens"},"module":"dist/react-native-tuya.esm.js","version":"1.1.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","keywords":["react-native","tuyasmart","iot","tuya"],"scripts":{"start":"tsdx watch","build":"tsdx build && yarn build:plugin","test":"tsdx test","lint":"eslint src plugin --ext=ts,tsx","fix":"eslint src plugin --ext=ts,tsx --fix","fix:md":"remark . -o","fix:prettier":"prettier \"src/**/*.ts\" --write","prepare":"tsdx build","build:plugin":"tsc --build plugin"},"peerDependencies":{"react-native":">=0.61.5"},"devDependencies":{"@bluebase/code-standards":"^2.21.0","@types/jest":"^25.1.2","@types/react-native":"~0.67.6","eslint-plugin-prettier":"^4.0.0","eslint-plugin-unused-imports":"^2.0.0","expo-module-scripts":"^2.1.1","prettier":"^2.4.1","react-native":"0.68.2","remark-cli":"^10.0.0","remark-preset-lint-recommended":"^6.1.1","tsdx":"^0.12.3","tslib":"^1.10.0","typescript":"^3.7.5"},"prettier":{"singleQuote":true,"trailingComma":"es5"},"publishConfig":{"access":"public"},"gitHead":"eadf71ca1010e7644fe9a180f29985793762c132","_id":"@artalat/react-native-tuya@1.1.0","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-ghe2+xm0Gw+9Irb3P600qngcUKjnF6KDkDXi5waj88HU8XiWPy52aMnTz/sX+BpSiQlcHqGYPQ2TebiRPqeKvA==","shasum":"202e6d7ae725089963be3f1873000cf0f28fa66e","tarball":"https://registry.npmjs.org/@artalat/react-native-tuya/-/react-native-tuya-1.1.0.tgz","fileCount":130,"unpackedSize":470883,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEc+09N3uHCnKyUs4QWaEqRReTUJMM4q9NfGfvo4uITMAiB5pCtIX8MW0GF1XXcjHW9ep4HMVab7rOoSHFoEknuaQA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEzfSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqAVA//ZghE0CKH5Tn3KQzbWpOuKB/v8dyZ2C0qX1w9qDhmnUQKfZDu\r\nJGObb8K1rx00Wx46gH+QWzUqZJzxxWjDs03rT64J/J5Sj3MT7VRj4qB8pS4w\r\nkGNcZveayidE/GMB4/VCaS7+E90QNyhsHX0MAIkQML0DaQw+gQNaO9a5a4Yb\r\nfmFUZMAzC/3WvNzLpbkXqLsmFNNis5K2IeOblmqlxC/DfVCYexuPq46gs09v\r\n0vMjck8fC6QWnc6QcZKeW2MprCMDNaQoJfktmfTEz249CRQCjWreJoejYFRI\r\ny/e1fmo4ZFuBPwSDXnkZj7rvqkDvJm87wbSi2wbanxFfZCUwlgYFuDx89TZv\r\nBZw1Tp779d8So2yhtQ583gwJy/xMftbCHCmDVDJCPb1Gyovu1rslg99y1VKR\r\nvGQDoQxQO8AtHIrejFB9Ow4DS6buqEgwg3URiTRntPzbT0T9HYVHXhlhQ+T4\r\n/BnA69cTSho+Twd1b1LJVioeM5+7RWbcBXA1+7XjGMWo0gIXguAlvK0r8vqF\r\n4krIvMq8JTcvHpkfR7vINb4t7gprQoRYErtuZ5acYQSms/NydCgRWdrvyaFX\r\ng3jufFJjDil0+RuV1Xj8RGYEqz97gKAXsQ6J+CRudluz1yatm9050RIO5rlb\r\nAJhVEBl3ZZrx3P27mObx7NEuAU9NKa4Y9LQ=\r\n=72H7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"artalat","email":"rehman.talat@gmail.com"},"directories":{},"maintainers":[{"name":"artalat","email":"rehman.talat@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-tuya_1.1.0_1662203858083_0.2799397120668823"},"_hasShrinkwrap":false},"1.2.0":{"name":"@artalat/react-native-tuya","description":"React Native bindings for the Tuya SDK","homepage":"https://github.com/Volst/react-native-tuya#readme","author":{"name":"Kees Kluskens"},"module":"dist/react-native-tuya.esm.js","version":"1.2.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","keywords":["react-native","tuyasmart","iot","tuya"],"scripts":{"start":"tsdx watch","build":"tsdx build && yarn build:plugin","test":"tsdx test","lint":"eslint src plugin --ext=ts,tsx","fix":"eslint src plugin --ext=ts,tsx --fix","fix:md":"remark . -o","fix:prettier":"prettier \"src/**/*.ts\" --write","prepare":"tsdx build","build:plugin":"tsc --build plugin"},"peerDependencies":{"react-native":">=0.61.5"},"devDependencies":{"@bluebase/code-standards":"^2.21.0","@types/jest":"^25.1.2","@types/react-native":"~0.67.6","eslint-plugin-prettier":"^4.0.0","eslint-plugin-unused-imports":"^2.0.0","expo-module-scripts":"^2.1.1","prettier":"^2.4.1","react-native":"0.68.2","remark-cli":"^10.0.0","remark-preset-lint-recommended":"^6.1.1","tsdx":"^0.12.3","tslib":"^1.10.0","typescript":"^3.7.5"},"prettier":{"singleQuote":true,"trailingComma":"es5"},"publishConfig":{"access":"public"},"gitHead":"78373fd15c1d3ca764986f34606f96bf0b8752df","_id":"@artalat/react-native-tuya@1.2.0","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-7dKh+EVSWB6rmXjBcyf2Tb755+c362TK08W5zaVPiILSrk+WKzhTQSlT0jH0mdNenBfxU5EoVJnqxcaFFkkeSQ==","shasum":"30480e15796d81e739de264719b4edd51970afab","tarball":"https://registry.npmjs.org/@artalat/react-native-tuya/-/react-native-tuya-1.2.0.tgz","fileCount":129,"unpackedSize":472082,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEiQZ+tmEuiP5bOLjYfAifMQqLZCwFbWY/A+PybyS3FrAiA1Sps4jEFIkel8RJUBo/fx65SSzq0kSguR7HjV/zmxFw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjE1pYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJ0g/+Nbq1ck9tub0UWCTVRgjhz5xXjo2aC0tW2c8falAx5HVp/YFz\r\nwn79GQuEqm2rqMGkOF1DdJuliCE8BmMn4bslMNS28kFypOSwbFbilrdHyJPn\r\nnrRSWo09qdGAfv5TARnuKfwfv9dDfEvDF24XXt65vH7f0JEdJ1DW4T9ylPGY\r\newG14N9I/BnN5VmSznGhEO7ZGqpo065LAm7Hr2bY9xUwPyU34liyJ1GFDu6j\r\ntkvodECCUxfKsO52GAZGmqCB9GuK2DwKKy+wx8y7ygTU9NO67QprtbwvROX+\r\nnb46d2g1vckRUSyBMLlVnVvIhiRf8FVDAoIBE8zVm76MwcH3sFcjXX+CI+Vd\r\n2LHqsSus4AqG9y8lB0prI8LoAPWC4EjNb2PuG7jnpmHfy4I2s/aAKO/Kxc2x\r\nHJeVqdV54/VHueXa2bWgibE6eObjuIhWgbURiOeHDu0I3H+3OpQsLI4oA8fQ\r\nKDDJxEVfQwKbiDSbYcuSwvMCX61uSg4DCwI1D4Hoqj+NM7lVljvRLMDmUhSe\r\neScsPchDMQnxq9cTySOuz260pN3jsNuMY8G/1/bBQO5RbdZOVm0i5T+Daiwr\r\nZp3g8ALZJ1Z5wYLtUsq1D8MIqgUYK3AVKLMp6CFEe5bi0a9Lt+RkMVAQLlHU\r\nrx0mr3JjDYE5bsQMxMw7xAIl52s12HIxP/Y=\r\n=tXhH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"artalat","email":"rehman.talat@gmail.com"},"directories":{},"maintainers":[{"name":"artalat","email":"rehman.talat@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-tuya_1.2.0_1662212696648_0.38008503883065825"},"_hasShrinkwrap":false},"1.3.0":{"name":"@artalat/react-native-tuya","description":"React Native bindings for the Tuya SDK","homepage":"https://github.com/Volst/react-native-tuya#readme","author":{"name":"Kees Kluskens"},"module":"dist/react-native-tuya.esm.js","version":"1.3.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","keywords":["react-native","tuyasmart","iot","tuya"],"scripts":{"start":"tsdx watch","build":"tsdx build && yarn build:plugin","test":"tsdx test","lint":"eslint src plugin --ext=ts,tsx","fix":"eslint src plugin --ext=ts,tsx --fix","fix:md":"remark . -o","fix:prettier":"prettier \"src/**/*.ts\" --write","prepare":"tsdx build","build:plugin":"tsc --build plugin"},"peerDependencies":{"react-native":">=0.61.5"},"devDependencies":{"@bluebase/code-standards":"^2.21.0","@types/jest":"^25.1.2","@types/react-native":"~0.67.6","eslint-plugin-prettier":"^4.0.0","eslint-plugin-unused-imports":"^2.0.0","expo-module-scripts":"^2.1.1","prettier":"^2.4.1","react-native":"0.68.2","remark-cli":"^10.0.0","remark-preset-lint-recommended":"^6.1.1","tsdx":"^0.12.3","tslib":"^1.10.0","typescript":"^3.7.5"},"prettier":{"singleQuote":true,"trailingComma":"es5"},"publishConfig":{"access":"public"},"gitHead":"2976743a6574147174a29a2a1b72cf385a9c6da1","_id":"@artalat/react-native-tuya@1.3.0","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-HFsJz2fqP5+Q+HtSiVeqZkro1ClcRRslW1N8i0j9DUX3Hz5E6UIUagcnkyw6/QlIxREaCsUdE0LXAv9IjcEb1A==","shasum":"7c167c53a2efdad4d1d409433688e2aa797643dd","tarball":"https://registry.npmjs.org/@artalat/react-native-tuya/-/react-native-tuya-1.3.0.tgz","fileCount":129,"unpackedSize":473364,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIECqfSB546V1QwrwlTr2R629D7ncMBG1MlM8dYqBEyf/AiBJAe1NaRFwaqAukwwz8cWkxaSs0YeY/j6cwW1Hf2Dv7A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjE2fDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovaQ/7BYbbtmU0gbQ8gBn8pm9olxLKQHb+1xNk8bktquowNmdiTLr7\r\nhufTaZ2BkOjIlrhzdklpfP3081s8wnRUq3xR3z0bMQU8tv+vVauqOlzbnhW9\r\nR4d4RGMKEIOCNU0eV+sYesqjsUj52D4GjaNGSzXmsc7ktg1xVkYoM6X2KLAl\r\nl9mSvFpGkXOc5JC14BWMzs10tNJlwNwlVdDXlEVsr7afnb8qpYvFshKs6wLO\r\ngX4WuzoPYM+KAE4qq025saBPul5t90pPlC5p5p5kVlMQlTDAJYHnWit0gezj\r\n9gbH3l1NhN8TlNEN6AyUaTarxvO0chk3xsvkHQc8SuFVJ5ZdLBbki1CIz6O+\r\nTpkVOwJynIMWFLvWL1vDa6o3SPNSs1BqUzhKid3FDaYT7NM1SuaBz8pWa01x\r\nWe/r28M+q39csOdax85ZWXf9+rdwUfH/NEM6WHN6ADURHB9CFqEh0oQSI3ln\r\nybkf8xOOTDUZqLnuj3+Gs2TDIqeWEz2uwacgos0gTqDHKxTFH5h5tK8g4os1\r\n61uHP1FjvCHRGTCEmzm6XsDXN3dytv2mK81e3sU6U9NTptq/OKd5p0+6bGE7\r\nnBWHEHwb/WASSL4Gl5HzwmiJMhwGBpC2IhXUDJvizSYud3jwlM0ZLmnA8IoW\r\nYQyNGUeTVyI2ezzLFBbhaCAb2bYqtGRLcP4=\r\n=PmzC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"artalat","email":"rehman.talat@gmail.com"},"directories":{},"maintainers":[{"name":"artalat","email":"rehman.talat@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-tuya_1.3.0_1662216131690_0.9189066239305275"},"_hasShrinkwrap":false},"1.4.0":{"name":"@artalat/react-native-tuya","description":"React Native bindings for the Tuya SDK","homepage":"https://github.com/Volst/react-native-tuya#readme","author":{"name":"Kees Kluskens"},"module":"dist/react-native-tuya.esm.js","version":"1.4.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","keywords":["react-native","tuyasmart","iot","tuya"],"scripts":{"start":"tsdx watch","build":"tsdx build && yarn build:plugin","test":"tsdx test","lint":"eslint src plugin --ext=ts,tsx","fix":"eslint src plugin --ext=ts,tsx --fix","fix:md":"remark . -o","fix:prettier":"prettier \"src/**/*.ts\" --write","prepare":"tsdx build","build:plugin":"tsc --build plugin"},"peerDependencies":{"react-native":">=0.61.5"},"devDependencies":{"@bluebase/code-standards":"^2.21.0","@types/jest":"^25.1.2","@types/react-native":"~0.67.6","eslint-plugin-prettier":"^4.0.0","eslint-plugin-unused-imports":"^2.0.0","expo-module-scripts":"^2.1.1","prettier":"^2.4.1","react-native":"0.68.2","remark-cli":"^10.0.0","remark-preset-lint-recommended":"^6.1.1","tsdx":"^0.12.3","tslib":"^1.10.0","typescript":"^3.7.5"},"prettier":{"singleQuote":true,"trailingComma":"es5"},"publishConfig":{"access":"public"},"gitHead":"66ef0ed56d31a7f62b45d2d03a3b8dd70f724673","_id":"@artalat/react-native-tuya@1.4.0","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-dAwmavLYoswxjFljOa1e8vVMOjgQwh/9Mubi+qsb/ZlGZPOVKRQaNRKQFFhbMKUltuK7MmIytYiIUNJhaJ8u8w==","shasum":"9f5cc1c3fdc6c5db2364b51c1b83624e255fbf4d","tarball":"https://registry.npmjs.org/@artalat/react-native-tuya/-/react-native-tuya-1.4.0.tgz","fileCount":128,"unpackedSize":483253,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3QS1nBm+y71T2ULj7+OeSpkEv7jIviPHqV2XxxlFUeAiEAuh+qoKglKepP6GdjgvRrUSpwuPOMAddYdVo9hNnhs8E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjE7KqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+fg/+LgCt6mmjaBUyu3rtisHRVS5rodonEHyUn0FtL1w9JnFneP+5\r\nAdI6OmyD6ExpvAgiPncfGA+DZLqm2Y1V7fUL+krppsM5pEAsOq8bgHxKdh2+\r\npGaKRfu+kfvAiqiWjaVEbSel81ZHARXq5JQwGbsAGlR5pj3MB8pctRjYPamR\r\nnDXnTfMrT0dUd8mY3HcMc0N8KL8muPHxRz7KHWeEfqBj0HdAf4blKv0SoDCM\r\nsFzQ74fm9X24VZnKZRat1qKdYVmuQ1Ql5dGdMB8RmA4kE9PpYb6zZB2KHK71\r\n72+NG/xMJSXkoNwf4PpZCsPSTGomI8lNQsmVN34Iel9lRXhgMO69/FqudEjI\r\nGCkvKLkKN8u8Rvn5fhSTTToJsb28lNxUVp4IWeA3FzWjhvfA0qB5euGH8itQ\r\n3vPxVjD+GcwUeAog0mGZ1ug1sMWJ7l4/ZlQqdOM8s7gr8ezh0vlUD+U8G6pJ\r\n2tpitpkYg7bcI2lJaIJdGkerUN1z7006VDShg63dNSmHa70Egp79TWqDLnJG\r\nVUdqV3EbhCIOuHDG57eEtUtkQebBRulA7DdTZprsfPTOajLLabyv511cXyBV\r\nk3RlQsQrGksZw0ul9kPH7a0xX1v7WsKcpdvE9ee7jJJvIRbNr6YTnOO2g0za\r\nnNbdkM3guGwUFXwQnOL+/m5M3V5O9j0k9kg=\r\n=A/3A\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"artalat","email":"rehman.talat@gmail.com"},"directories":{},"maintainers":[{"name":"artalat","email":"rehman.talat@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-tuya_1.4.0_1662235306009_0.0746488944517345"},"_hasShrinkwrap":false},"1.5.0":{"name":"@artalat/react-native-tuya","description":"React Native bindings for the Tuya SDK","homepage":"https://github.com/Volst/react-native-tuya#readme","author":{"name":"Kees Kluskens"},"module":"dist/react-native-tuya.esm.js","version":"1.5.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","keywords":["react-native","tuyasmart","iot","tuya"],"scripts":{"start":"tsdx watch","build":"tsdx build && yarn build:plugin","test":"tsdx test","lint":"eslint src plugin --ext=ts,tsx","fix":"eslint src plugin --ext=ts,tsx --fix","fix:md":"remark . -o","fix:prettier":"prettier \"src/**/*.ts\" --write","prepare":"tsdx build","build:plugin":"tsc --build plugin"},"peerDependencies":{"react-native":">=0.61.5"},"devDependencies":{"@bluebase/code-standards":"^2.21.0","@types/jest":"^25.1.2","@types/react-native":"~0.67.6","eslint-plugin-prettier":"^4.0.0","eslint-plugin-unused-imports":"^2.0.0","expo-module-scripts":"^2.1.1","prettier":"^2.4.1","react-native":"0.68.2","remark-cli":"^10.0.0","remark-preset-lint-recommended":"^6.1.1","tsdx":"^0.12.3","tslib":"^1.10.0","typescript":"^3.7.5"},"prettier":{"singleQuote":true,"trailingComma":"es5"},"publishConfig":{"access":"public"},"gitHead":"11cc9d7fd390ac340e8118af84dac24d2d499ba6","_id":"@artalat/react-native-tuya@1.5.0","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-nbPVSUVBRVi/d2ryN2Lwnph9EuoYiTGN0DUrqfaEli5L9Vr61WWDq++Drr90PlOoC+DMg2+vEcXZMfKUUuwXXg==","shasum":"624fd935ec464428b9de91ebbcadff3c1b8fde3e","tarball":"https://registry.npmjs.org/@artalat/react-native-tuya/-/react-native-tuya-1.5.0.tgz","fileCount":128,"unpackedSize":490493,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF6H2ligvqtR+NMeITe3Zp0JWEWTs5at4RVhCQLLbXEJAiAtcZiiPVAQmooKTZbFgC+7Q71snzvqzZiZgMIDRSesjw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjFkGmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+ug/+PELeRzf6Aw0fCY2a8J+64bD/Ypu3n0uYKanSnzSs1jAfSY3x\r\nv0epwYHkcTH+lLmWSeT01PwLifSto7bv7uIuSP1PgjKP7sTXNGkXoF7H4A78\r\nZAhahST13hHNgLsXVzbDcUMWX7LTxB5ia1zgFVem1OtpkkxNu+5qtMQR1Cbc\r\n9yCh1MemT2+MOQ/IX8cPb/tq4bLLi7KHrT5ojVZcHPQ6wO5prMMxfPQZ/QZF\r\n7VRwL3z8Z6/xnZLLoSuLSc1LGusQu19qysf/H0bAE6msGvBbGpPaeqvcphyO\r\naslOuDnQvZrt79knBzeZnDdDp8psicmZ//glKIYwq1KBTWjdlVAUzy8moGSf\r\nWy11iwCItyYsTY3Tunm42+8QAFbTfBonqF72cy17KWO07Sb3qXgpCXE0W5Sc\r\n42J8i3x9qJX2svKtCC2mqkzlbHH8iHbKWevFMUzQxK7qNDm5WVlVtHjgGxzP\r\n7qBOwJSbQ2EWAB3RxCHHm7PHE8vHagWTHTrXnwgxE7Lls+VomN0JP9/9V62Y\r\nEDLbBz9ZZWAobcjzDKUxbYhJDUdmFbvET01K85VZD6BQDPAbg5VH2W45pPzt\r\ngEFXVIGtqNmgGDk+iZVGmvwbSVUCpJ2aYm/S3C9EyJLlUh6783aV8SbAo4DK\r\nlwBbxIh3A0RNZ6egWt8Hc/l7AZVVShskn24=\r\n=d1C8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"artalat","email":"rehman.talat@gmail.com"},"directories":{},"maintainers":[{"name":"artalat","email":"rehman.talat@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-tuya_1.5.0_1662402981925_0.26756419486144"},"_hasShrinkwrap":false},"1.6.0":{"name":"@artalat/react-native-tuya","description":"React Native bindings for the Tuya SDK","homepage":"https://github.com/Volst/react-native-tuya#readme","author":{"name":"Kees Kluskens"},"module":"dist/react-native-tuya.esm.js","version":"1.6.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","keywords":["react-native","tuyasmart","iot","tuya"],"scripts":{"start":"tsdx watch","build":"tsdx build && yarn build:plugin","test":"tsdx test","lint":"eslint src plugin --ext=ts,tsx","fix":"eslint src plugin --ext=ts,tsx --fix","fix:md":"remark . -o","fix:prettier":"prettier \"src/**/*.ts\" --write","prepare":"tsdx build","build:plugin":"tsc --build plugin"},"peerDependencies":{"react-native":">=0.61.5"},"devDependencies":{"@bluebase/code-standards":"^2.21.0","@types/jest":"^25.1.2","@types/react-native":"~0.67.6","eslint-plugin-prettier":"^4.0.0","eslint-plugin-unused-imports":"^2.0.0","expo-module-scripts":"^2.1.1","prettier":"^2.4.1","react-native":"0.68.2","remark-cli":"^10.0.0","remark-preset-lint-recommended":"^6.1.1","tsdx":"^0.12.3","tslib":"^1.10.0","typescript":"^3.7.5"},"prettier":{"singleQuote":true,"trailingComma":"es5"},"publishConfig":{"access":"public"},"gitHead":"cd702cddf9b8be16211b841957010977a5ddfa35","_id":"@artalat/react-native-tuya@1.6.0","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-EYqUtzZi/RRRvatvXk0WuqhcWf2ZotbY6G+sKcLVOTSfizZoJkB6EGRJlKwmqhj7SqWoTXR6v9sYl7sKuIPsmw==","shasum":"28051d53d757c9f9aa80448cc76b0b10ad6a73ef","tarball":"https://registry.npmjs.org/@artalat/react-native-tuya/-/react-native-tuya-1.6.0.tgz","fileCount":128,"unpackedSize":490902,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDO/gfSHnodoAhN5RXiJ8nnpr60LBz7tc2auJrZ4N8pZwIgByOLu0zvzmDeCma/0r0vxvYZ4D8vx4Rly49sTJ138Iw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjF4wcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoeShAAgnlhW2DTckNSvptN5QctPHiDfhJ8ysGVDsSmKt/Dqf2dE8gk\r\nR9hseMRw0vnn5BfIfpowUyJEUZIf9WDJ861nDx7wPnXVpzQYcGdZrip3kjaz\r\nXzSBucDbIPny+TTIy7sdzhU6NGugsGiRwMVdppfWnYHuMKPRHW8TQA4BO3h0\r\nUH+KEDgaVR8nEEtJnehSv4JvZS2BAKriFJ2g9HZx25wGG1ViRt1PoRGmWQP0\r\nMJxOan3LPBu/MkfVXh1IBooeUkEERUK+3yuFGfgiQIoL2B2RJ7w8yPxqR5f9\r\nycoq1uJRLl6wizMsc0jedC0Yq0WsTm5qUIbR3JJ9+0MloBMHOFd66PuNxUBz\r\nlhoSlr9rCH2yLfRnxcAVS3FIVHcl2gq1uGqaBUlFyILB2P42dYsF34QzvjF8\r\nly+kDdy/s1zUUYzEqYllWSWFBMacurAB3eTyIf68h4KvIfdfodccMSbS1FgD\r\nfNPaOF3eIoGMgwMi989DrhAW7XMlt55rQQxEXnaDz1cUqJN263XT9Emx/n43\r\nECtxdjm/u392N1+FNjGxdZ86DAWSRcwX7+rf694pDJ+APwc2Nq/iTHwFJ1ak\r\n+ocWBrSDD90WbxVfNTNTiX8YemeykqTYZZ2BeLg385+aRz5wpypdifoo3GTd\r\nIhg6152faCoATWQZVN0h7LSI/yQjf+ngwDs=\r\n=7GB4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"artalat","email":"rehman.talat@gmail.com"},"directories":{},"maintainers":[{"name":"artalat","email":"rehman.talat@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-tuya_1.6.0_1662487580081_0.1700513177724403"},"_hasShrinkwrap":false},"1.7.0":{"name":"@artalat/react-native-tuya","description":"React Native bindings for the Tuya SDK","homepage":"https://github.com/Volst/react-native-tuya#readme","author":{"name":"Kees Kluskens"},"module":"dist/react-native-tuya.esm.js","version":"1.7.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","keywords":["react-native","tuyasmart","iot","tuya"],"scripts":{"start":"tsdx watch","build":"tsdx build && yarn build:plugin","test":"tsdx test","lint":"eslint src plugin --ext=ts,tsx","fix":"eslint src plugin --ext=ts,tsx --fix","fix:md":"remark . -o","fix:prettier":"prettier \"src/**/*.ts\" --write","prepare":"tsdx build","build:plugin":"tsc --build plugin"},"devDependencies":{"@bluebase/code-standards":"^2.23.0","@types/jest":"^25.1.2","@types/react-native":"~0.67.6","eslint-plugin-prettier":"^4.0.0","eslint-plugin-unused-imports":"^2.0.0","expo":"^49.0.10","expo-module-scripts":"^2.1.1","prettier":"^2.4.1","react-native":"0.72.4","remark-cli":"^10.0.0","remark-preset-lint-recommended":"^6.1.1","tsdx":"^0.12.3","tslib":"^1.10.0","typescript":"^4.9.5"},"prettier":{"singleQuote":true,"trailingComma":"es5"},"publishConfig":{"access":"public"},"gitHead":"4653f9798e7dfd91bcfc7f704caaba8ff537eb31","_id":"@artalat/react-native-tuya@1.7.0","_nodeVersion":"16.20.2","_npmVersion":"6.14.18","dist":{"integrity":"sha512-rjK+7SFuxqIhL9SWQkXdlPL0SS79NQG/HQ6To/VdHR2mi2ls2eBSCV/gFVeSxrENs9y8LTJ5bSS5d1MLRaD7zw==","shasum":"96eb008abca6107d76708f7cee0452c18b9affc6","tarball":"https://registry.npmjs.org/@artalat/react-native-tuya/-/react-native-tuya-1.7.0.tgz","fileCount":128,"unpackedSize":491712,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5UwjjwfGr9hj398fcIJIxNxvWYNeMOb6AvxB5XQduJAIgRt5GHMWiMZEDjMOflA4O9TIoaVaZ1z84r2w5VJX9uJQ="}]},"_npmUser":{"name":"artalat","email":"rehman.talat@gmail.com"},"directories":{},"maintainers":[{"name":"artalat","email":"rehman.talat@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-tuya_1.7.0_1694442133857_0.7731650130275871"},"_hasShrinkwrap":false},"1.8.0":{"name":"@artalat/react-native-tuya","description":"React Native bindings for the Tuya SDK","homepage":"https://github.com/Volst/react-native-tuya#readme","author":{"name":"Kees Kluskens"},"module":"dist/react-native-tuya.esm.js","version":"1.8.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","keywords":["react-native","tuyasmart","iot","tuya"],"scripts":{"start":"tsdx watch","build":"tsdx build && yarn build:plugin","test":"tsdx test","lint":"eslint src plugin --ext=ts,tsx","fix":"eslint src plugin --ext=ts,tsx --fix","fix:md":"remark . -o","fix:prettier":"prettier \"src/**/*.ts\" --write","prepare":"tsdx build","build:plugin":"tsc --build plugin"},"devDependencies":{"@bluebase/code-standards":"^2.23.0","@types/jest":"^25.1.2","@types/react-native":"~0.67.6","eslint-plugin-prettier":"^4.0.0","eslint-plugin-unused-imports":"^2.0.0","expo":"^49.0.10","expo-module-scripts":"^2.1.1","prettier":"^2.4.1","react-native":"0.72.4","remark-cli":"^10.0.0","remark-preset-lint-recommended":"^6.1.1","tsdx":"^0.12.3","tslib":"^1.10.0","typescript":"^4.9.5"},"prettier":{"singleQuote":true,"trailingComma":"es5"},"publishConfig":{"access":"public"},"gitHead":"e7cde9fa47e9d158d01c76c56eb40dcd5b149f21","_id":"@artalat/react-native-tuya@1.8.0","_nodeVersion":"16.20.2","_npmVersion":"6.14.18","dist":{"integrity":"sha512-3+xavftlbpb+o6T7iN0aMEaAPWwTVURY0mDsmnNkllJ45FiWivDDUJbAa9w5yGl7NXg0yE8xfSoXPmBIRwoYUw==","shasum":"22c58b2e100e9b88f5ca0f1bfa0d1a00fa6a25aa","tarball":"https://registry.npmjs.org/@artalat/react-native-tuya/-/react-native-tuya-1.8.0.tgz","fileCount":128,"unpackedSize":491791,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEaiUnbSI/hDPYqQRKMttV6b6xS8fDdJjV7q9scMwl15AiEA8LEvacplOBqdwHzU2X0Yr1/hUJoHQralTiZLIcVVAsU="}]},"_npmUser":{"name":"artalat","email":"rehman.talat@gmail.com"},"directories":{},"maintainers":[{"name":"artalat","email":"rehman.talat@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-tuya_1.8.0_1694497360054_0.0071221631689186715"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-03T09:02:40.536Z","1.0.0":"2022-09-03T09:02:40.859Z","modified":"2023-09-12T05:42:40.499Z","1.1.0":"2022-09-03T11:17:38.251Z","1.2.0":"2022-09-03T13:44:56.894Z","1.3.0":"2022-09-03T14:42:11.927Z","1.4.0":"2022-09-03T20:01:46.193Z","1.5.0":"2022-09-05T18:36:22.832Z","1.6.0":"2022-09-06T18:06:20.291Z","1.7.0":"2023-09-11T14:22:14.033Z","1.8.0":"2023-09-12T05:42:40.293Z"},"maintainers":[{"name":"artalat","email":"rehman.talat@gmail.com"}],"description":"React Native bindings for the Tuya SDK","homepage":"https://github.com/Volst/react-native-tuya#readme","keywords":["react-native","tuyasmart","iot","tuya"],"author":{"name":"Kees Kluskens"},"license":"MIT","readme":"# @artalat/react-native-tuya\n\nThis is a fork of [volst/react-native-tuya](https://github.com/volst/react-native-tuya), which iteself is a fork of [TuyaInc/tuyasmart-home-sdk-react-native](https://github.com/TuyaInc/tuyasmart-home-sdk-react-native), fixing a lot of issues we came across and a better install guide. It also uses TypeScript. We use it currently in multiple projects for clients and it is stable.\n\nSome features are not implemented, feel free to send a PR for those missing features. Unfortunately there is no demo yet\n\n## Feature Overview\n\nTuya Smart APP SDK provides the interface package for the communication with hardware and Tuya Cloud to accelerate the application development process, including the following features:\n\nHardware functions (network configuration, control, status reporting, regular tasks, groups, firmware upgrades, sharing)\nAccount system (phone number, email registration, login, password reset and other general account functions)\nTuya Cloud HTTP API interface package\n\n## Getting started\n\n    npm install @artalat/react-native-tuya\n\nThis library contains native code which is automatically linked in React Native >= 0.59. For iOS, run `cd ios && pod install`.\n\n## Installation\n\nIn the Tuya development environment create a new app and make sure you have an \"App key\", \"App secret\" and \"Secure image\". [Read how to do this](https://developer.tuya.com/en/docs/app-development/preparation?id=Ka69nt983bhh5).\n\n### Expo\n\nThe easiest way to use this library with Expo is to use Config Plugin. In your app.json add the following:\n\n    \"plugins\": [\n      [\n        \"@artalat/react-native-tuya\",\n        {\n          \"iosApiKey\": \"xxxxxxx\",\n          \"iosApiSecret\": \"xxxxxxx\",\n          \"androidApiKey\": \"xxxxxxx\",\n          \"androidApiSecret\": \"xxxxxxx\"\n        }\n      ]\n    ]\n\nThe config plugin will automatically install the library and link it. You can also use the config plugin to update the API keys.\n\n### Manual: iOS\n\nPut the secure image into the root path of your project as [explained here](https://developer.tuya.com/en/docs/app-development/preparation?id=Ka69nt983bhh5).\n\nIn `ios/AppDelegate.m`, add the following import;\n\n```obj-c\n#import <TuyaSmartHomeKit/TuyaSmartKit.h>\n```\n\nThen, under the `roootView.backgroundColor` line in the same file, add this:\n\n```obj-c\n  #ifdef DEBUG\n    [[TuyaSmartSDK sharedInstance] setDebugMode:YES];\n  #endif\n\n  [[TuyaSmartSDK sharedInstance] startWithAppKey:@\"xxx\" secretKey:@\"xxx\"];\n```\n\nNow replace the `xxx` with your app key and secret key.\n\n### Manual: Android\n\nAssuming you already have created an app in the Tuya development environment (otherwise follow the iOS steps before this), follow [these steps](https://developer.tuya.com/en/docs/app-development/preparation?id=Ka69nt983bhh5). You should now have an app key, app secret and security image for Android. Make sure the security image is put in `android/src/main/assets/t_s.bmp`.\n\nOpen your `AndroidManifest.xml` and put the following **in the `<application>` tag**:\n\n```xml\n<meta-data\n  android:name=\"TUYA_SMART_APPKEY\"\n  android:value=\"xxx\" />\n<meta-data\n  android:name=\"TUYA_SMART_SECRET\"\n  android:value=\"xxx\" />\n```\n\nReplace the `xxx` with your app key and secret key.\n\nNow open `MainApplication.java` and add the following import to the top:\n\n```java\nimport com.tuya.smart.rnsdk.core.TuyaCoreModule;\n```\n\nChange the `onCreate` function to look like this:\n\n```java\n@Override\npublic void onCreate() {\n  super.onCreate();\n  SoLoader.init(this, /* native exopackage */ false);\n  initializeFlipper(this); // Remove this line if you don't want Flipper enabled\n  TuyaCoreModule.Companion.initTuyaSDKWithoutOptions(this);\n}\n```\n\n### Troubleshooting:\n\n1.  If run into an error saying that it can't choose between `libc++_shared` or something. One fix for this (don't know if it's the best fix) is to open `android/app/build.gradle` and add this;\n\n<!---->\n\n    android {\n        ...\n        packagingOptions {\n            pickFirst '**/armeabi-v7a/libc++_shared.so'\n            pickFirst '**/x86/libc++_shared.so'\n            pickFirst '**/arm64-v8a/libc++_shared.so'\n            pickFirst '**/x86_64/libc++_shared.so'\n            pickFirst '**/x86/libjsc.so'\n            pickFirst '**/armeabi-v7a/libjsc.so'\n        }\n    }\n\n2.  If you run into the following error:\n\n<!---->\n\n    Caused by: java.lang.RuntimeException: Manifest merger failed : Attribute application@allowBackup value=(true) from AndroidManifest.xml:14:162-188\n\nYou can fiz this issue by adding the following lines to the Android Manifest file:\n\n*   In the manifest tag: `xmlns:tools=\"http://schemas.android.com/tools\"`\n*   In the application tag just below android:name: `tools:replace=\"android:allowBackup\"`\n\n## Usage\n\nNow you can actually use the methods in this package. Unfortunately I don't have time to document them all, so it is advised to read the source code, but here's a start.\n\nTo login with an existing account:\n\n```js\nimport { loginWithEmail } from '@artalat/react-native-tuya';\n\nawait loginWithEmail({\n  countryCode: '+1',\n  email: 'you@example.com',\n  password: 'testtest'\n});\n```\n\nTo register a new account you first need to validate the email address. And then actually register using the code in the email.\n\n```js\nimport { getRegisterEmailValidateCode, registerAccountWithEmail } from '@artalat/react-native-tuya';\n\nawait getRegisterEmailValidateCode({\n  countryCode: '+1',\n  email: 'you@example.com'\n});\n\n...\n\nawait registerAccountWithEmail({\n  countryCode: '+1',\n  email: 'you@example.com',\n  password: 'testtest',\n  validateCode: 'xxxxxx'\n})\n```\n\nTo get the currently logged in user:\n\n```js\nimport { getCurrentUser } from '@artalat/react-native-tuya';\n\nconst user = await getCurrentUser();\n```\n\n## Local Development\n\n### `yarn start`\n\nRuns the project in development/watch mode. Your project will be rebuilt upon changes. TSDX has a special logger for you convenience. Error messages are pretty printed and formatted for compatibility VS Code's Problems tab.\n\n<img src=\"https://user-images.githubusercontent.com/4060187/52168303-574d3a00-26f6-11e9-9f3b-71dbec9ebfcb.gif\" width=\"600\" />\n\nYour library will be rebuilt if you make edits.\n\n### `yarn build`\n\nBundles the package to the `dist` folder.\nThe package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).\n\n<img src=\"https://user-images.githubusercontent.com/4060187/52168322-a98e5b00-26f6-11e9-8cf6-222d716b75ef.gif\" width=\"600\" />\n","readmeFilename":"README.md"}