{"_id":"tencentcloud-webar-wx","_rev":"27-e18a2e1ea0fd7c1a141bc2282e9176d7","name":"tencentcloud-webar-wx","dist-tags":{"latest":"1.0.13"},"versions":{"1.0.2":{"name":"tencentcloud-webar-wx","version":"1.0.2","keywords":["AR","Beauty","wx","WebAr"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.2","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"dist":{"shasum":"1ab70566134b83ad4fd7c80d38891cdf68e86870","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.2.tgz","fileCount":13,"integrity":"sha512-GFm43cdVOuHAkCxy2W01Jb5xzYa7v2PE/X10vt1vwnz7Xx1IIze3u5DRJm8Zw4LAXyibG59l9/Mpr3xRY4cAPw==","signatures":[{"sig":"MEYCIQDtIzyD2Ft5CKo0NcmYw5m7VKCMjhRe2xD+fQ6UWBurcAIhAPRVJhbOMl5hAiobpt6hQ/QkS9dmsA1abzM3TtHb3f7P","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46906},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"_npmVersion":"8.5.0","description":"tencentcloud-webar-wx","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.2_1711681680564_0.5142187906779778","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"tencentcloud-webar-wx","version":"1.0.3","keywords":["AR","Beauty","wx","WebAr"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.3","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"dist":{"shasum":"cfc318f3b005cebbd0e007e23c59ebb87d7baa25","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.3.tgz","fileCount":18,"integrity":"sha512-sPL+4hjxnsLioIdONafZ0ugZhU7MZbdcSfL3EZ0XgUsfXsUbitsDUAyZDcLa8iYoh6dqxdlUMW+N+XUGNZ6D3g==","signatures":[{"sig":"MEUCIB3AG3FiKmtDdqm1zjzgtK15qlWWZD8aQjZd0vDQB9nGAiEA7n83Vjx1tDD2AJ8dnORMEGuezd/G1Xl7txgL11IYq4k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60934},"main":"index.js","gitHead":"a488debaa9ec6e0a35d5e54a96f5e8c758c20558","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"_npmVersion":"8.5.0","description":"tencentcloud-webar-wx","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.3_1713759004824_0.8039223026351223","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"tencentcloud-webar-wx","version":"1.0.4","keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.4","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"homepage":"https://github.com/songNJ/tencentcloud-webar","bugs":{"url":"https://github.com/songNJ/tencentcloud-webar/issues"},"dist":{"shasum":"d71a22656053b57775aa4030649943b4c4876746","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.4.tgz","fileCount":18,"integrity":"sha512-SoCUW/LFtmCBMKckbyIwAL3W3+gt1mrJo6sNWTkJTkcHtPI5fHwH9KHhokxr8pDxnerF22ynom/8zpix2DoYew==","signatures":[{"sig":"MEUCIFXm5Y3p/ybBDtEy4sYjkFv1LwkvlnYmKwUVyUh9dK6TAiEAw+hX1MaToGnUcGCOZrf2vIJ31OIpUGYD6ArTgqL79FE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62033},"main":"index.js","gitHead":"8a66ffcff871ca79d206f82c4e62bbecc699a0f6","_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"repository":{"url":"git+https://github.com/songNJ/tencentcloud-webar.git","type":"git","email":"nnsjiang@tencent.com"},"_npmVersion":"8.5.0","description":"tencent effect webar component for wx","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.4_1713843403994_0.35553417244912655","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"tencentcloud-webar-wx","version":"1.0.5","keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.5","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"homepage":"https://github.com/songNJ/tencentcloud-webar","bugs":{"url":"https://github.com/songNJ/tencentcloud-webar/issues"},"dist":{"shasum":"cae856d07a88248129429740bcbd0d04fc544003","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.5.tgz","fileCount":18,"integrity":"sha512-HS0Kyf/7OOEypOJWKFp2Vygp6ugYoMJ7pA9lkfOZ061yD21F/OJIjmQ5cNoU1rY7KEz7aZqrJ3vpuQJW8NuNnA==","signatures":[{"sig":"MEQCIAR5hTyHdz4F4vkecXM8Hbn6upn5sdwVTpMFFPgVps2PAiA2+XtxKb2s9+dzQICZhpHswc8WcuxvbefPK26syX9nZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62153},"main":"index.js","gitHead":"d45b9077a92a5820dd2b0d8f6a344014517afafd","_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"repository":{"url":"git+https://github.com/songNJ/tencentcloud-webar.git","type":"git","email":"nnsjiang@tencent.com"},"_npmVersion":"8.5.0","description":"tencent effect webar component for wx","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.5_1714033491680_0.3949777862008623","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"tencentcloud-webar-wx","version":"1.0.6","keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.6","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"homepage":"https://github.com/tencentcloud-webar/miniprogram-demo","bugs":{"url":"https://github.com/tencentcloud-webar/miniprogram-demo/issues"},"dist":{"shasum":"7f3c502ed4ff2b966e1d9766d8d14d25aa88d5bd","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.6.tgz","fileCount":18,"integrity":"sha512-+JANP58Ko9JpO76OBEz1iyQ69VFWfwuElWszXdyNnu23KFR37fJzHqB5vIAekkY2jSRXcm0Wgi8J1JDWipWi3w==","signatures":[{"sig":"MEYCIQCnS2sw8FXzGLdIhkz5lvMTIj9LMPuUo6d4fbVwuKX6lgIhAMDuK8ssNcBjQMXTWqL4S6EuudVR3qYxHscG9BSXJ6HH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62421},"main":"index.js","gitHead":"ce47d604ea4ab411d2ea33c94ee72a9b905f2f2d","_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"repository":{"url":"git+https://github.com/tencentcloud-webar/miniprogram-demo.git","type":"git","email":"nnsjiang@tencent.com"},"_npmVersion":"8.5.0","description":"tencent effect webar component for wx","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.6_1716533153204_0.0365230050215668","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"tencentcloud-webar-wx","version":"1.0.9","keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.9","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"homepage":"https://github.com/tencentcloud-webar/miniprogram-demo","bugs":{"url":"https://github.com/tencentcloud-webar/miniprogram-demo/issues"},"dist":{"shasum":"c9f0a2983fafe73d2d596e691518458a9bb9c78c","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.9.tgz","fileCount":18,"integrity":"sha512-Lp6B5GZR4vENuDS5+sROaIvzlRvPvlkUrI/0yRdrexQUbLBZqdlWfWlURWPu/t+xSwr4vrVPQyHnR7RDHIgY6A==","signatures":[{"sig":"MEUCIEN2sD/D7gjdZkPBfXqZ8xMuDs782Xm1xbQQxEYArwR+AiEAgR1CTpz90UxbGwLnX+s3Ort9vggFth2UeoVcY6ru0oo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62709},"main":"index.js","gitHead":"00bb1b5af9ed4e7bf7fc29694184a5a3344d3db4","_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"repository":{"url":"git+https://github.com/tencentcloud-webar/miniprogram-demo.git","type":"git","email":"nnsjiang@tencent.com"},"_npmVersion":"8.5.0","description":"tencent effect webar component for wx","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.9_1721807012881_0.4640079558960235","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"tencentcloud-webar-wx","version":"1.0.8","keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.8","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"homepage":"https://github.com/tencentcloud-webar/miniprogram-demo","bugs":{"url":"https://github.com/tencentcloud-webar/miniprogram-demo/issues"},"dist":{"shasum":"b843cc4ca07d471bee65e053137bf10a59a0d419","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.8.tgz","fileCount":18,"integrity":"sha512-0xmqQqpKFBMeBH9mSvGrVOequQ1W9L6nRkPiKxZKD5m/+q/t3gFutR08eLIorEXjQhmc7rtZ344KUDD3/nLEow==","signatures":[{"sig":"MEQCIAnqfoKszaoMfeLMjDazllVRBrBt/rtQVzCfGq+SsoDCAiAZVt0F/s44mWueyBB83kKzOKx6mHLT6fKPq6X+CyRQvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62709},"main":"index.js","gitHead":"00bb1b5af9ed4e7bf7fc29694184a5a3344d3db4","_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"repository":{"url":"git+https://github.com/tencentcloud-webar/miniprogram-demo.git","type":"git","email":"nnsjiang@tencent.com"},"_npmVersion":"8.5.0","description":"tencent effect webar component for wx","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.8_1721807041496_0.020916245589692073","host":"s3://npm-registry-packages"}},"1.0.8-1":{"name":"tencentcloud-webar-wx","version":"1.0.8-1","keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.8-1","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"homepage":"https://github.com/tencentcloud-webar/miniprogram-demo","bugs":{"url":"https://github.com/tencentcloud-webar/miniprogram-demo/issues"},"dist":{"shasum":"d93e2f864277fffc989dab248d3ca2a17b5bf090","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.8-1.tgz","fileCount":18,"integrity":"sha512-KJyPmzTTSmiCUmNrijP32OKvpOxMvXsg8IA6LYtU/GfoQ4vl+De0R3hmDEkkVOfTUcuGnkm6RrYu9vFD5aLn5Q==","signatures":[{"sig":"MEYCIQDS6ZWg5rHIZVR7nFFEab6xo8NgRe9QB8lJAgtI6NfCwwIhAIAY9Uh/5igde89Vvci0ln/NCpcvvFIqQB2EnjPcdOwA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63645},"main":"index.js","gitHead":"00bb1b5af9ed4e7bf7fc29694184a5a3344d3db4","_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"repository":{"url":"git+https://github.com/tencentcloud-webar/miniprogram-demo.git","type":"git","email":"nnsjiang@tencent.com"},"_npmVersion":"10.7.0","description":"tencent effect webar component for wx","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.8-1_1725528466331_0.9202898257618981","host":"s3://npm-registry-packages"}},"1.0.8-2":{"name":"tencentcloud-webar-wx","version":"1.0.8-2","keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.8-2","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"homepage":"https://github.com/tencentcloud-webar/miniprogram-demo","bugs":{"url":"https://github.com/tencentcloud-webar/miniprogram-demo/issues"},"dist":{"shasum":"268e9823159be2742684cece3c7957011afb8565","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.8-2.tgz","fileCount":18,"integrity":"sha512-HP29AbAcJlUyttWMpHCdRgBNZkxDRKc3gqh5g/8x0Uvb3rD1vcyLkR9euhTEOxYPZd5l+GMbsmwGE02T5Q8bzg==","signatures":[{"sig":"MEYCIQCmeVoDJGW6PMtwI6aG1fX4hJuvJAxNVgZUIIcOsXNHDgIhAM96s/u0cUuu5sdRhFRfEGIohkA6mc8PIwOFxeKoSgbT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63822},"main":"index.js","gitHead":"00bb1b5af9ed4e7bf7fc29694184a5a3344d3db4","_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"repository":{"url":"git+https://github.com/tencentcloud-webar/miniprogram-demo.git","type":"git","email":"nnsjiang@tencent.com"},"_npmVersion":"10.7.0","description":"tencent effect webar component for wx","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.8-2_1725531255347_0.7328721796519726","host":"s3://npm-registry-packages"}},"1.0.8-3":{"name":"tencentcloud-webar-wx","version":"1.0.8-3","keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.8-3","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"homepage":"https://github.com/tencentcloud-webar/miniprogram-demo","bugs":{"url":"https://github.com/tencentcloud-webar/miniprogram-demo/issues"},"dist":{"shasum":"732e227a85c794a2fe252003261021397dba7761","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.8-3.tgz","fileCount":18,"integrity":"sha512-dHTz7rZCqdwVL5xOEMFZ7lD2NYTJbZQ1jnK8EfA4ozIimnI95QBclq/sI6aEBH4izCWpIPSQZodPVLpOnGoXAA==","signatures":[{"sig":"MEUCIEx55Ub7H9slk7N4S5jTw1H85ek7QH2fZdd0tTeAIg4kAiEAvwfkYA2BlcHYm/oeJoxmFlvqA7K8RNsFWpmychHDoLo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64724},"main":"index.js","gitHead":"0db18164cce951f18af79626cb2095ef7e36c0a5","_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"repository":{"url":"git+https://github.com/tencentcloud-webar/miniprogram-demo.git","type":"git","email":"nnsjiang@tencent.com"},"_npmVersion":"10.7.0","description":"tencent effect webar component for wx","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.8-3_1726130292033_0.10262762293555827","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"tencentcloud-webar-wx","version":"1.0.10","keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.10","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"homepage":"https://github.com/tencentcloud-webar/miniprogram-demo","bugs":{"url":"https://github.com/tencentcloud-webar/miniprogram-demo/issues"},"dist":{"shasum":"84193c660ff71076e36af44568d05740a43142cd","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.10.tgz","fileCount":18,"integrity":"sha512-Ctp18TDqEC+r2enC/x8NyNXTvkrI/RFwpKRyyAOaNS8TehUnsso00TJz1s4PKVskkIzktmkXy1GFF30avw6vIQ==","signatures":[{"sig":"MEQCIDQIVO72qNxMlmAh3p0pQOUChbIfAPIAqxQP4cMBfqg9AiAJEySEe/P0O4V/79+s6D7raWALfB1lEQqGeCBSNfCB8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64723},"main":"index.js","gitHead":"0db18164cce951f18af79626cb2095ef7e36c0a5","_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"repository":{"url":"git+https://github.com/tencentcloud-webar/miniprogram-demo.git","type":"git","email":"nnsjiang@tencent.com"},"_npmVersion":"10.7.0","description":"tencent effect webar component for wx","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.10_1726134091132_0.11019717007439711","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"tencentcloud-webar-wx","version":"1.0.11","keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"author":{"name":"nnsjiang"},"license":"ISC","_id":"tencentcloud-webar-wx@1.0.11","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"homepage":"https://github.com/tencentcloud-webar/miniprogram-demo","bugs":{"url":"https://github.com/tencentcloud-webar/miniprogram-demo/issues"},"dist":{"shasum":"025bf1f24ce5470ed1e2969c1ebf68ac0642fa08","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.11.tgz","fileCount":18,"integrity":"sha512-eSIA8KeyxzBoUX5Ju+QdytpXyxXmRp+GiWNoDb3VP0yaZZ4lRKHvrCa3zM3OPgqEXrngX7V+0Lv1CDNa07zlDg==","signatures":[{"sig":"MEQCIBFHFHM8SDIG4yruXtmFc4mkbSiLghj49sYGFlzRsle8AiA9h/7wMCsqBYi01ebt9gNmpYFb+pcQm7ufdxN9ZgO7xg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64701},"gitHead":"0db18164cce951f18af79626cb2095ef7e36c0a5","_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"repository":{"url":"git+https://github.com/tencentcloud-webar/miniprogram-demo.git","type":"git","email":"nnsjiang@tencent.com"},"_npmVersion":"10.7.0","description":"tencent effect webar component for wx","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tencentcloud-webar-wx_1.0.11_1742207901095_0.8329426581832737","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"tencentcloud-webar-wx","version":"1.0.13","description":"tencent effect webar component for wx","repository":{"type":"git","url":"git+https://github.com/tencentcloud-webar/miniprogram-demo.git","email":"nnsjiang@tencent.com"},"keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"author":{"name":"nnsjiang"},"license":"ISC","bugs":{"url":"https://github.com/tencentcloud-webar/miniprogram-demo/issues"},"homepage":"https://github.com/tencentcloud-webar/miniprogram-demo","_id":"tencentcloud-webar-wx@1.0.13","gitHead":"85e6705ee83b71456d715d19cbce767751dd0e84","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-yi3MIuwjGrlB+vA/R6qmDJIJEFk80TjQ22hyvtwtX4QBrpnbTO4e7St0afi6R3yRScbT2sc9mEg4dVePjX0N/A==","shasum":"11127afc19c34cca785c6b4241ae7bc4f47bc526","tarball":"https://registry.npmjs.org/tencentcloud-webar-wx/-/tencentcloud-webar-wx-1.0.13.tgz","fileCount":18,"unpackedSize":64701,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGtAUZYU8RI9vjQxmcje8q4QRFIDEnUBZMPeGe9+0af9AiAlDwU9Oc0e4yTpFZyPPI/hHMWbu271P9WqeHDq7QVqSA=="}]},"_npmUser":{"name":"nnsjiang","email":"nnsjiang@tencent.com"},"directories":{},"maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tencentcloud-webar-wx_1.0.13_1742208031110_0.6569713983236005"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-26T11:28:33.160Z","modified":"2025-03-17T10:40:31.505Z","0.0.1":"2024-03-26T11:28:33.291Z","0.0.2":"2024-03-27T07:24:12.581Z","0.0.3":"2024-03-27T07:41:27.626Z","1.0.0":"2024-03-27T08:23:48.172Z","1.0.1":"2024-03-28T09:58:52.537Z","1.0.2":"2024-03-29T03:08:00.756Z","1.0.3":"2024-04-22T04:10:04.975Z","1.0.4":"2024-04-23T03:36:44.271Z","1.0.5":"2024-04-25T08:24:51.864Z","1.0.6":"2024-05-24T06:45:53.443Z","1.0.7":"2024-07-24T01:47:35.284Z","1.0.9":"2024-07-24T07:43:33.094Z","1.0.8":"2024-07-24T07:44:01.746Z","1.0.8-1":"2024-09-05T09:27:46.516Z","1.0.8-2":"2024-09-05T10:14:15.475Z","1.0.8-3":"2024-09-12T08:38:12.170Z","1.0.10":"2024-09-12T09:41:31.268Z","1.0.10-1":"2024-12-13T02:58:35.929Z","1.0.11":"2025-03-17T10:38:21.315Z","1.0.13":"2025-03-17T10:40:31.335Z"},"bugs":{"url":"https://github.com/tencentcloud-webar/miniprogram-demo/issues"},"author":{"name":"nnsjiang"},"license":"ISC","homepage":"https://github.com/tencentcloud-webar/miniprogram-demo","keywords":["webar","tencentcloud","tencentEffect","effect","AR","beauty","小程序美颜"],"repository":{"type":"git","url":"git+https://github.com/tencentcloud-webar/miniprogram-demo.git","email":"nnsjiang@tencent.com"},"description":"tencent effect webar component for wx","maintainers":[{"name":"nnsjiang","email":"nnsjiang@tencent.com"}],"readme":"# 小程序插件接入腾讯云视立方美颜特效\n\n本文档指导您使用微信小程序插件方案接入[腾讯云视立方美颜特效 SDK](https://cloud.tencent.com/document/product/616/71399) ,以下简称视立方 WEBAR。\n\n## 准备工作\n\n1. 在 [微信公众平台](https://mp.weixin.qq.com) 注册并登录小程序。\n2. 在 [微信公众平台](https://mp.weixin.qq.com) 添加小程序插件：[视立方 WEBAR](https://mp.weixin.qq.com/wxopen/plugindevdoc?appid=wx04445cff065100ed&token=571048195&lang=zh_CN)\n3. 符合接入要求，申请插件并申请试用视立方 WEBAR，详见 [腾讯云视立方控制台](https://cloud.tencent.com/document/product/616/71371)。\n\n## 使用原生微信小程序接入\n\n本节仅适用于原生微信小程序项目接入，uniapp 项目请参见 [uniapp（小程序）接入](#uniapp)\n\n### 接入配置\n\n1. 使用插件前需在小程序工程的`app.json`中声明要使用的插件，例如：\n\n```json\n{\n  \"plugins\": {\n    \"webarPlugin\": {\n      \"version\": \"1.0.1\",\n      \"provider\": \"wx04445cff065100ed\"\n    }\n  }\n}\n```\n\n2. 在小程序目录安装 npm 包: tencentcloud-webar-wx\n\n```bash\nnpm install tencentcloud-webar-wx\n```\n\n3. 打开微信开发者工具，工具=> 执行构建 npm\n\n### 使用 webar-image 组件接入图片美颜特效\n\nwebar-image 基于 webgl 相关能力，提供图片和相册美颜特效处理能力，支持导出和预览。\n\n1. 在 page 的`.json`文件中定义需要引入的`webar-image`组件。\n\n```json\n{\n  \"usingComponents\": {\n    \"webar-image\": \"tencentcloud-webar-wx/webar-image\"\n  }\n}\n```\n\n2. 在 page 的`.wxml`文件中使用组件。\n\n```html\n<webar-image\n  licenseKey=\"{{licenseKey}}\"\n  appId=\"{{appId}}\"\n  authFunc=\"{{authFunc}}\"\n  plugin3d=\"{{plugin3d}}\"\n  url=\"https://webar-static.tencent-cloud.com/assets/image2.jpg\"\n  bind:created=\"onArCreated\"\n  style=\"width: 100vw; height: 100vh\"\n/>\n```\n\n3. 在 page 的`.js`文件中使用 webarContext 设置美颜特效。\n\nwebar-image 会通过 created 事件返回 [WebarContext](#method)\n\n```js\nonArCreated(event) {\n  const webarContext = event.detail\n  // 设置美颜\n  webarContext.setBeautify({\n    whiten: 0.5,\n    dermabrasion: 0.6\n  });\n  // 设置滤镜\n  webarContext.setFilter(id, 1);\n  // 设置美妆、特效、贴纸\n  webarContext.setEffect([{ id, intensity:1 }]);\n},\n```\n\n### 使用 webar-camera 组件接入拍照录像美颜\n\nwebar-camera 组件使用微信组件 [camera](https://developers.weixin.qq.com/miniprogram/dev/component/camera.html) 进行封装，适用于拍摄录像场景下的美颜特效处理。\n\n1. 在 page 的`.json`文件中定义需要引入的`webar-camera`组件。\n\n```json\n{\n  \"usingComponents\": {\n    \"webar-camera\": \"tencentcloud-webar-wx/webar-camera\"\n  }\n}\n```\n\n2. 在 page 的`.wxml`文件中使用组件。\n\n```html\n<webar-camera\n  licenseKey=\"{{licenseKey}}\"\n  appId=\"{{appId}}\"\n  authFunc=\"{{authFunc}}\"\n  plugin3d=\"{{plugin3d}}\"\n  bind:created=\"onArCreated\"\n  style=\"width: 100vw; height: 100vh\"\n/>\n```\n\n组件 webar-camera 的使用方法和微信原生标签 camera 的方法一致，可参考微信小程序标签 [camera](https://developers.weixin.qq.com/miniprogram/dev/component/camera.html) 的文档说明，美颜特效相关参数请参考[组件属性说明](#propsdesc)。\n\n3. 在 page 的`.js`文件中使用 webarContext 设置美颜特效。\n\nwebar-camera 会通过 created 事件返回 [WebarContext](#method)\n\n```js\nonArCreated(event) {\n  const webarContext = event.detail\n  // 设置美颜\n  webarContext.setBeautify({\n    whiten: 0.5,\n    dermabrasion: 0.6\n  });\n  // 设置滤镜\n  webarContext.setFilter(id, 1);\n  // 设置美妆、特效、贴纸\n  webarContext.setEffect([{ id, intensity:1 }]);\n  webarContext.download(true) // 保存图片，参数为是否存储到相册\n},\n```\n\n### 使用 webar-live-pusher 组件接入直播推流美颜特效\n\nwebar-live-pusher 组件使用微信组件 [live-pusher](https://developers.weixin.qq.com/miniprogram/dev/component/live-pusher.html) 进行封装，适用于直播推流场景下的美颜特效处理。\n\n#### 设置美颜、滤镜、美妆、贴纸\n\n该模式目前仅支持使用云直播接入，暂不支持 trtc\n\n1. 在 page 的`.json`文件中定义需要引入的`webar-live-pusher`组件。\n\n```json\n{\n  \"usingComponents\": {\n    \"webar-live-pusher\": \"tencentcloud-webar-wx/webar-live-pusher\"\n  }\n}\n```\n\n2. 在 page 的`.wxml`文件中使用组件。\n\n```html\n<!--美颜特效模式，支持除虚拟背景外所有美颜特效-->\n<webar-live-pusher\n  enableVideoCustomRender\n  licenseKey=\"{{licenseKey}}\"\n  appId=\"{{appId}}\"\n  authFunc=\"{{authFunc}}\"\n  plugin3d=\"{{plugin3d}}\"\n  bind:created=\"onArCreated\"\n  style=\"width: 100vw; height: 100vh\"\n/>\n```\n\n组件 webar-live-pusher 的使用方法和微信原生标签 live-pusher 的方法一致，更多属性可参考微信小程序标签 [live-pusher](https://developers.weixin.qq.com/miniprogram/dev/component/live-pusher.html) 的文档说明，美颜特效相关参数请参考[组件属性说明](#propsdesc)。\n\n3. 在 page 的.js 文件中使用 sdkContext 设置美颜特效。\n\nwebar-live-pusher 会通过 created 事件返回 [WebarContext](#method)\n\n```js\nasync onArCreated(event) {\n  const webarContext = event.detail\n  // 设置美颜\n  webarContext.setBeautify({\n    whiten: 0.5,\n    dermabrasion: 0.6\n  });\n  // 设置滤镜\n  webarContext.setFilter(id, 1);\n  // 设置美妆、特效、贴纸\n  webarContext.setEffect([{ id, intensity:1 }]);\n},\n```\n\n#### 设置虚拟背景\n\n1. 在 page 的`.json`文件中定义需要引入的`webar-live-pusher`组件。\n\n```json\n{\n  \"usingComponents\": {\n    \"webar-live-pusher\": \"webar-live-pusher/webar-live-pusher\"\n  }\n}\n```\n\n2. 在 page 的`.wxml`文件中使用组件。\n\n<!--虚拟背景模式，仅支持虚拟背景-->\n\n<webar-live-pusher\n  custom-effect\n  licenseKey=\"{{licenseKey}}\"\n  appId=\"{{appId}}\"\n  authFunc=\"{{authFunc}}\"\n  plugin3d=\"{{plugin3d}}\"\n  background=\"{{backgroundUrl}}\"\n  bind:created=\"onArCreated\"\n  style=\"width: 100vw; height: 100vh\"\n/>\n\n> **注意**\n>\n> 1. webar-live-pusher 分为 美颜特效 和 虚拟背景，开启 enableVideoCustomRender 即为 美颜特效 模式，开启 custom-effect 即为 虚拟背景，两者不可同时使用。\n\n## <a id=\"uniapp\">使用 uniapp 接入</a>\n\n### 接入前配置\n\n1. 使用组件前需在 uniapp 工程的`manifest.json`中声明要使用的插件：\n\n```json\n{\n  \"mp-weixin\": {\n    \"plugins\": {\n      \"webarPlugin\": {\n        \"version\": \"1.0.1\",\n        \"provider\": \"wx04445cff065100ed\"\n      }\n    }\n  }\n}\n```\n\n2. 在 uniapp 项目根目录安装 npm 包: tencentcloud-webar-wx\n\n```bash\nnpm install tencentcloud-webar-wx\n```\n\n### 使用 WebArImage 组件接入图片美颜特效\n\nWebArImage 基于 webgl 相关能力，提供图片和相册美颜特效处理能力，支持导出和预览。\n\n1. 在引入组件的页面 的`.vue`文件中使用组件。\n\nWebArImage 会通过 created 事件返回 [WebarContext](#method)\n\n```html\n<template>\n  <view>\n    <WebArImage\n      :licenseKey=\"licenseKey\"\n      :appId=\"appId\"\n      :authFunc=\"authFunc\"\n      :plugin3d=\"plugin3d\"\n      url=\"https://webar-static.tencent-cloud.com/assets/image2.jpg\"\n      @created=\"onArCreated\"\n      my-style=\"width: 100vw; height: 100vh\"\n    />\n  </view>\n</template>\n\n<script>\n  import WebArImage from \"tencentcloud-webar-wx/WebArImage/WebArImage.vue\";\n\n  export default {\n    components: {\n      WebArImage,\n    },\n    methods: {\n      // 此事件会返回 webarContext 实例，通过该实例调用 webar sdk的美颜方法。方法介绍参考文末。\n      onArCreated(sdk) {\n        webarContext = sdk.detail || sdk; // uniapp 下事件有可能有detail也有可能没有\n        // 设置美颜\n        webarContext.setBeautify({\n          whiten: 0.5,\n          dermabrasion: 0.6,\n        });\n        // 设置滤镜\n        webarContext.setFilter(id, 1);\n        // 设置美妆、特效、贴纸\n        webarContext.setEffect([{ id, intensity: 1 }]);\n        webarContext.download(true); // 保存图片，参数为是否存储到相册\n      },\n    },\n  };\n</script>\n```\n\n### 使用 WebArCamera 组件接入拍照录像美颜\n\nWebArCamera 组件使用微信组件 [camera](https://developers.weixin.qq.com/miniprogram/dev/component/camera.html) 进行封装，适用于拍摄录像场景下的美颜特效处理，美颜特效相关参数请参考[插件相关组件美颜特效属性说明](#propsdesc)。\n\n1. 在引入组件的页面 的`.vue`文件中使用组件。\n\nWebArCamera 会通过 created 事件返回 [WebarContext](#method)\n\n```html\n<template>\n  <view>\n    <WebArCamera\n      :licenseKey=\"licenseKey\"\n      :appId=\"appId\"\n      :authFunc=\"authFunc\"\n      :plugin3d=\"plugin3d\"\n      @created=\"onArCreated\"\n      my-style=\"width: 100vw; height: 100vh\"\n    />\n  </view>\n</template>\n\n<script>\n  import WebArCamera from \"tencentcloud-webar-wx/WebArCamera/WebArCamera.vue\";\n\n  export default {\n    components: {\n      WebArCamera,\n    },\n    methods: {\n      // 此事件会返回 webarContext 实例，通过该实例调用 webar sdk的美颜方法。方法介绍参考文末。\n      onArCreated(sdk) {\n        webarContext = sdk.detail || sdk; // uniapp 下事件有可能有detail也有可能没有\n        // 设置美颜\n        webarContext.setBeautify({\n          whiten: 0.5,\n          dermabrasion: 0.6,\n        });\n        // 设置滤镜\n        webarContext.setFilter(id, 1);\n        // 设置美妆、特效、贴纸\n        webarContext.setEffect([{ id, intensity: 1 }]);\n      },\n    },\n  };\n</script>\n```\n\n### 使用 WebArPusher 组件接入直播推流美颜特效\n\n#### 设置美颜、滤镜、美妆、贴纸\n\nWebArPusher 组件使用微信组件 [live-pusher](https://developers.weixin.qq.com/miniprogram/dev/component/live-pusher.html) 进行封装，适用于直播推流场景下的美颜特效处理，美颜特效相关参数请参考[插件相关组件美颜特效属性说明](#propsdesc)，此组件目前仅支持使用云直播接入，暂不支持 trtc。\n\n1. 在引入组件的页面 的`.vue`文件中使用组件。\n\nWebArPusher 会通过 created 事件返回 [WebarContext](#method)\n\n```html\n<template>\n  <view>\n    <WebArPusher\n      enableVideoCustomRender\n      :licenseKey=\"licenseKey\"\n      :appId=\"appId\"\n      :authFunc=\"authFunc\"\n      :plugin3d=\"plugin3d\"\n      @created=\"onArCreated\"\n      my-style=\"width: 100vw; height: 100vh\"\n    />\n  </view>\n</template>\n\n<script>\n  import WebArPusher from \"tencentcloud-webar-wx/WebArPusher/WebArPusher.vue\";\n  export default {\n    components: {\n      WebArPusher,\n    },\n    methods: {\n      // 此事件会返回 webarContext 实例，通过该实例调用 webar sdk的美颜方法。方法介绍参考文末。\n      onArCreated(sdk) {\n        webarContext = sdk.detail || sdk; // uniapp 下事件有可能有detail也有可能没有\n        // 设置美颜\n        webarContext.setBeautify({\n          whiten: 0.5,\n          dermabrasion: 0.6,\n        });\n        // 设置滤镜\n        webarContext.setFilter(id, 1);\n        // 设置美妆、特效、贴纸\n        webarContext.setEffect([{ id, intensity: 1 }]);\n      },\n    },\n  };\n</script>\n```\n\n#### 设置虚拟背景\n\n1. 在引入组件的页面 的`.vue`文件中使用组件。\n\n```html\n<template>\n  <view>\n    <WebArPusher\n      custom-effect\n      :licenseKey=\"licenseKey\"\n      :appId=\"appId\"\n      :authFunc=\"authFunc\"\n      :plugin3d=\"plugin3d\"\n      :background=\"backgroundUrl\"\n      @created=\"onArCreated\"\n      my-style=\"width: 100vw; height: 100vh\"\n    />\n  </view>\n</template>\n```\n\n> **注意**\n>\n> 1. WebArPusher 分为 美颜特效 和 虚拟背景，开启 enableVideoCustomRender 即为 美颜特效 模式，开启 custom-effect 即为 虚拟背景，两者不可同时使用。\n\n## <a id=\"propsdesc\">组件美颜特效属性说明</a>\n\n| 属性        | 类型           | 默认值 | 必填 | 说明                                                                                   |\n| :---------- | :------------- | :----- | :--- | :------------------------------------------------------------------------------------- |\n| licenseKey  | string         | \"\"     | 是   | 腾讯云视立方 licenseKey                                                                |\n| appId       | string         | \"\"     | 是   | 腾讯云 appid                                                                           |\n| authFunc    | async function | null   | 是   | 需返回 signature, timestamp，详见[WEBAR 鉴权方法](#authFunc)，传递时请不要包含在对象中 |\n| plugin3d    | function       | null   | 否   | 3d 特效插件，开启 3d 贴纸时需传入                                                      |\n| beautify    | Object         | null   | 否   | 初始美颜参数，取值范围：0-1，可用： whiten、dermabrasion、lift、shave、eye、chin       |\n| background  | string         | ''     | 否   | 虚拟背景图片 url，域名需加入小程序白名单                                               |\n| bindcreated | event          | null   | 否   | 腾讯特效 sdk 初始化完成事件                                                            |\n| bindready   | event          | null   | 否   | 腾讯特效 sdk 加载完成事件                                                              |\n\n## <a id=\"authFunc\">WEBAR 鉴权方法 authFunc 生成方式</a>\n\n```js\nconst config = {\n    appid: '您的腾讯云APPID',\n    token: '您的Token',\n}\nconst authFunc = async function() {\n    const timestamp = Math.round(new Date().getTime() / 1000);\n    const signature = sha256(timestamp + config.token + config.appid + timestamp).toUpperCase();\n    return { signature, timestamp };\n```\n\n此方法仅测试时使用，为防止 token 泄露，发布时请使用服务端加密，详见[腾讯云-腾讯特效 SDK 官网文档](https://cloud.tencent.com/document/product/616/71364)\n\n## <a id=\"method\">插件 webarContext 实例方法说明</a>\n\n| 属性            | 类型                                                                                                        | 返回值            | 必填 | 说明                                                                               |\n| :-------------- | :---------------------------------------------------------------------------------------------------------- | :---------------- | :--- | :--------------------------------------------------------------------------------- |\n| pusherContext   | [LivePusherContext](https://developers.weixin.qq.com/miniprogram/dev/api/media/live/LivePusherContext.html) | \"\"                | 否   | 插件中 live-pusher 实例，仅 webar-live-pusher 组件拥有                             |\n| setBeautify     | function(beautyParam):void                                                                                  | \"\"                | 否   | 设置美颜                                                                           |\n| setFilter       | function(filterId, intensity):void                                                                          | null              | 否   | 设置滤镜                                                                           |\n| setEffect       | function([{ id, intensity }]):void                                                                          | null              | 否   | 设置特效（美妆、贴纸）                                                             |\n| setBackground   | function({ type: 'image',src: arrayBuffer }):void                                                           | null              | 否   | 设置虚拟背景，仅 pusher 组件在开启 custom-effect 时生效                            |\n| getCommonFilter | function()                                                                                                  | Promise\\<Filter\\> | 否   | 获取滤镜列表                                                                       |\n| getEffectList   | function()                                                                                                  | Promise\\<Effect\\> | 否   | 获取特效列表（美妆、贴纸）                                                         |\n| download        | function(isSave)                                                                                            | string            | 否   | 下载美颜图片 仅 image 组件有效，不传参数时仅返回图片缓存地址，传 true 则下载到相册 |\n\n更多方法请参考[腾讯特效-API 文档](https://cloud.tencent.com/document/product/616/75676#.E5.AF.B9.E8.B1.A1.E6.96.B9.E6.B3.95)\n","readmeFilename":"README.md"}