{"_id":"@el12n/react-native-zendesk-support","_rev":"1-fc837c694d1c901753e0b6390cc93eb6","name":"@el12n/react-native-zendesk-support","dist-tags":{"latest":"0.2.1"},"versions":{"0.2.1":{"name":"@el12n/react-native-zendesk-support","version":"0.2.1","description":"ZendeskSupport SDK ported to React-Native","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/src/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","build":"yarn typescript && yarn lint --fix"},"keywords":["react-native","ios","android","zendesk","support","sdk"],"repository":{"type":"git","url":"git+https://github.com/el12n/react-native-zendesk-support.git"},"author":{"name":"Alvaro De La Cruz","email":"alvarolock@gmail.com","url":"https://github.com/el12n"},"license":"MIT","bugs":{"url":"https://github.com/el12n/react-native-zendesk-support/issues"},"homepage":"https://github.com/el12n/react-native-zendesk-support#readme","devDependencies":{"@commitlint/config-conventional":"^8.3.4","@react-native-community/bob":"^0.16.2","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^1.1.4","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^8.3.5","eslint":"^7.2.0","eslint-config-prettier":"^6.11.0","eslint-plugin-prettier":"^3.1.3","husky":"^4.2.5","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.11.0","react-native":"0.62.2","release-it":"^13.5.8","typescript":"^3.8.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"yarn lint && yarn typescript"}},"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":{"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-community/bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"nativePackage":true,"gitHead":"72ab5be019bfce2f44ea00356c10012b1a32f593","_id":"@el12n/react-native-zendesk-support@0.2.1","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-vGewB47qHvSFBsSq2uiVA10cD5/jgX0KhmRyC3CD0XNjO3g287E5HQHnLsJw38tFKntLOY31ZrUqwCECGrbPiQ==","shasum":"2495c84b79eaf20661c336cb965c943db47bc63b","tarball":"https://registry.npmjs.org/@el12n/react-native-zendesk-support/-/react-native-zendesk-support-0.2.1.tgz","fileCount":146,"unpackedSize":9156924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLCTUCRA9TVsSAnZWagAAQeMQAJTfMIEJlwqlaIN6q0de\nZxgK7f2wQtWL9gnBxv/vFflBi5A3OCKmUEQsbkhWApz6WawGOHljpXgaRwyz\nYeKayuOI0UX/Qjq59s8leOH8A4kfFRIMk9GfQU3YsRui5a9dzH3CWuaj7OfP\ngnGFImzzfjIcMDklyyyZVmhRlTzUTSKnBrwgx5DsMHmpamVZs9ic9KsfIWPJ\nBBePL2Fq9+FrEigFy2fdl1fKuPx55z2lXVbG9cmd32YxKpischAjS6sklAUv\n+Brmg6uThK0FHxRB2psG9rCbPEq4sJMrUoSZJ4brvMK0+cDT7oCurFjTLZgW\nQUFWa0IRDv1CIT3Jcp1kH+MXbnKJxbTXS/a5Pluz05mxy8h1leWXqJRx5su4\nKxIsYXeHk/9b4sSlKXYTZqNevNhWB8zfejIRn9UQG1+pZaLHtKRulQVAL99D\nFCm7PA1WSr2P7Or3PgCt1gy+0gaSsAdfSn8KCdxnZ0HdO38f45/d0U20ZAea\nelqT7f0Ol9WHmf4ytkE10uJybUxkvPP6lpC1M9cWEJDtlmJb3j6Mg23xgbF6\nEbBHZl4//PdojUmMZI9bSjfe+XtcSdEpZwPrudglnMkXJntoxYpPIOBw93PI\nAsaGrng3hataf7IFMUmcB6a2Ao5Y+ytEQvpgEKQHjDmaqIVJ7//9FxIKvYA7\neR/u\r\n=IceP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRaqt/6aNCxAEdj2xKzcw8YRxoNHW/n0q0VHdvuo3/igIhAKfHhAqr0vhG7mJVU49Z9jraNW6Ko1HUTeqbnlVwpt1d"}]},"maintainers":[{"name":"el12n","email":"alvarolock@gmail.com"}],"_npmUser":{"name":"el12n","email":"alvarolock@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-zendesk-support_0.2.1_1596728532259_0.4265297372657306"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-06T15:42:12.223Z","0.2.1":"2020-08-06T15:42:12.512Z","modified":"2022-04-05T07:03:21.215Z"},"maintainers":[{"name":"el12n","email":"alvarolock@gmail.com"}],"description":"ZendeskSupport SDK ported to React-Native","homepage":"https://github.com/el12n/react-native-zendesk-support#readme","keywords":["react-native","ios","android","zendesk","support","sdk"],"repository":{"type":"git","url":"git+https://github.com/el12n/react-native-zendesk-support.git"},"author":{"name":"Alvaro De La Cruz","email":"alvarolock@gmail.com","url":"https://github.com/el12n"},"bugs":{"url":"https://github.com/el12n/react-native-zendesk-support/issues"},"license":"MIT","readme":"# react-native-zendesk-support\n\nA wrapper for the ZendeskSupport SDK for both android and ios.\n\n## Getting started\n\nIf you are using `react-native >= 0.60` you just need to do a simple:\n\n```shell\nyarn add react-native-zendesk-support\n```\n\nOr if are using npm:\n\n\n```shell\nnpm i react-native-zendesk-support --save\n```\n\n## Usage\n\n```js\nimport ZendeskSupport from \"react-native-zendesk-support\";\n\n// Initialize the Zendesk Support SDK in the following form, at the very beginning of your app:\nconst result = await ZendeskSupport.initialization(\n    appId: string,\n    clientId: string,\n    zendeskUrl: string,\n    locale?: ZendeskSupportLocale | undefined);\n\n/* \n* Later just call the next method when you want to launch\n* the Request List, with its native capability to create new\n* tickets and answer current tickets...\n*/\nconst result = await ZendeskSupport.openTickets(\"Your subject\");\n```\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","readmeFilename":"README.md"}