{"_id":"@blackwall/vue-jivosite","_rev":"1-b7182be759ecae2ec7b2b01d6e7aaad7","name":"@blackwall/vue-jivosite","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@blackwall/vue-jivosite","version":"1.0.0","description":"Vue plugin for Jivosite live chat","main":"dist/vue-jivosite.common.js","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build --target lib --name vue-jivosite ./src/index.js","lint":"eslint --ext .js,.vue ./","lint-fix":"npm run lint -- --fix"},"homepage":"https://gitlab.inner.blackwall.group/npm-packages/vue-jivosite","repository":{"type":"git","url":"git+https://gitlab.inner.blackwall.group/npm-packages/vue-jivosite"},"contributors":[{"name":"Zakharov Sergey","email":"zakhse@yandex.ru"}],"license":"MIT","publishConfig":{"access":"public"},"dependencies":{"vue":"^2.5.22"},"devDependencies":{"@bchteam/eslint-config":"^1.1.1","@vue/cli-plugin-babel":"^3.4.0","@vue/cli-plugin-eslint":"^3.4.0","@vue/cli-service":"^3.4.0","@vue/eslint-config-standard":"^4.0.0","babel-eslint":"^10.0.1","eslint":"^5.9.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^8.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","eslint-plugin-vue":"^5.0.0","vue-template-compiler":"^2.5.21"},"gitHead":"6af5071895300d071718bde6d79f4e4296eab368","_id":"@blackwall/vue-jivosite@1.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-SwOECDOVEHa5QdlCJv2vLcGBNGAWzPIqUKsZQsEKCNrAp2sUyirY/9hYv6+Bn55g74nuEKL8CGySFiY3wDIdcw==","shasum":"5a8babf61863a783f360877b03242fd2daa8d636","tarball":"https://registry.npmjs.org/@blackwall/vue-jivosite/-/vue-jivosite-1.0.0.tgz","fileCount":8,"unpackedSize":19190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwCqSCRA9TVsSAnZWagAAH3YP/R8yU8QDYEeLCkKOQfm3\nTfzcWxtQ8O2SBuVs3mh9burs+L7SzepBnb5VT2nXfcTmgkaB0/3dexbMvUPx\nXqUmjygCXf6WkqhAW3cIRGNDsSQjypURkGZMjwKUe38rs3v4yJlzPLvUoTWw\nxbdAXr0LGTUVgFN3d+GqZHsUWmoohILWIX9Vs7Lyyfhbk0vputGzxIUgXKjj\n68UROjMfKkZYlCiebgYNotGSzIQ3SLnqCigSBk0PmSq9+kSpqPRGWncW5JVS\nqU3xSizUilIUNCS+Ky6t+d8slgWPA4Gj1XhrejkPhe7jCnIs7UnEnpV38VoX\nOTqBaVyZykoxeuLDiImTt9Cxs4HGt9IysrtGzMhQzXaaaexjivJYB0hy3eL8\nFatOH5836GEn2YgL6aqNWX4uKqdGCtneLCL07syA/QFwuRAZtsLmX6oGKPx0\nfiAgq3hS4/z+bnHlPuQeU6zsmvPAGWNB9AzwH26ti9s2hqkUoFGqnVKkeCyS\nHsNdEnEzyLCRlYe/9upQoUZwyV+JlMw2AqygepSjtcN5Q3zkaDJoNDD33sRm\nOeZsM+I8wwMN3WDf9bSAGI+pjvDawX8VSSZBMfqzl4nCO1eZtCO9zeMhfFHY\nNG8liO2qSp3fkswdsVQc0xHMFrKH5Q3nX086wEzCfMs5iHYWWRVKZmRMtZH1\noUIj\r\n=6P2Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEW9wLEgDOrivKbR15NCHaS2u8FJUy0teqmFGl7DHA22AiEArNMexZqPRDp0r+vrLnUKdKlyxRGF8uW0ImXnzbFTsoM="}]},"maintainers":[{"name":"zakhse","email":"zakhse@yandex.ru"},{"name":"diqost23","email":"we@blackwall.group"}],"_npmUser":{"name":"zakhse","email":"zakhse@yandex.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-jivosite_1.0.0_1572874898273_0.5680868275047353"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-04T13:41:38.024Z","1.0.0":"2019-11-04T13:41:38.385Z","modified":"2022-04-04T19:23:08.900Z"},"maintainers":[{"name":"zakhse","email":"zakhse@yandex.ru"},{"name":"diqost23","email":"we@blackwall.group"}],"description":"Vue plugin for Jivosite live chat","homepage":"https://gitlab.inner.blackwall.group/npm-packages/vue-jivosite","repository":{"type":"git","url":"git+https://gitlab.inner.blackwall.group/npm-packages/vue-jivosite"},"contributors":[{"name":"Zakharov Sergey","email":"zakhse@yandex.ru"}],"license":"MIT","readme":"# jivosite\n\nVue plugin for [Jivosite](https://www.jivosite.ru/) live chat\n\n## Usage\n1. Install the package\n```bash\n$ npm i @bchteam/vue-jivosite\n```\n\n2. Use the plugin\n```javascript\nimport VueJivosite from '@bchteam/vue-jivosite'\n\nVue.use(VueJivosite, { widgetId: 'Et2u4i' })\n```\n\n3. Handler for success/failed loading can be added:\n```javascript\nimport VueJivosite from '@bchteam/vue-jivosite'\n\nVue.use(VueJivosite, {\n  widgetId: 'Et2u4i',\n  onInit() {\n    console.log('Success!')\n  },\n  onFail(error) {\n    console.log('Failed :-(', error)\n  }\n})\n```\n\nIf `onFail` handler is not provided, failed initialization throws exception (because of unhandled promise rejection). \n","readmeFilename":"README.md"}