{"_id":"@altmind-digital/videoask-custom-provider","_rev":"4-8aaba0b100db10f8312e7b25f9236c87","name":"@altmind-digital/videoask-custom-provider","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@altmind-digital/videoask-custom-provider","version":"1.0.0","keywords":["react","videoask","videoask","custom","provider","react","videoask"],"author":{"name":"altMind Inc"},"license":"MIT","_id":"@altmind-digital/videoask-custom-provider@1.0.0","maintainers":[{"name":"altmindinc-digital","email":"altmindcorp@gmail.com"}],"homepage":"https://github.com/altMindInc/videoask-custom-provider#readme","bugs":{"url":"https://github.com/altMindInc/videoask-custom-provider/issues"},"dist":{"shasum":"20d2f21ba9be67ffb9661bf4a69a9e185617baeb","tarball":"https://registry.npmjs.org/@altmind-digital/videoask-custom-provider/-/videoask-custom-provider-1.0.0.tgz","fileCount":5,"integrity":"sha512-wLER4tMxA9U0E48/oMENCx/1MKd05peZpSGEuL+maJwh97Ykz/Kuar6W/OkbWLNB4ICTkoLRZ4RUd7NQl9ESnQ==","signatures":[{"sig":"MEUCIQCtH+4Jd9sF4Bkhque52n3qXGn+JAZQcc2jHFAvkGAjZQIgdsyZoWMBKxfypDcBvj3Lo8c8mxbkW9WZI3Ir/nk/XCQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8144},"main":"dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"6f58d163ff0f638ab3dea5586fed85dbecb8c81b","scripts":{"build":"tsc","clean":"rimraf dist","version":"npm publish --access=public","prebuild":"npm run clean","preversion":"npm run build"},"_npmUser":{"name":"altmindinc-digital","email":"altmindcorp@gmail.com"},"repository":{"url":"git+https://github.com/altMindInc/videoask-custom-provider.git","type":"git"},"_npmVersion":"10.2.4","description":"Custom provider to embed VideoAsk to react application","directories":{},"_nodeVersion":"21.5.0","dependencies":{"rimraf":"^5.0.5"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","typescript":"^5.3.3","@types/react":"^18.2.61","@types/react-dom":"^18.2.19"},"peerDependencies":{"react":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/videoask-custom-provider_1.0.0_1709408203783_0.8706210828285907","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@altmind-digital/videoask-custom-provider","version":"1.0.1","keywords":["react","videoask","videoask","custom","provider","react","videoask"],"author":{"name":"altMind Inc"},"license":"MIT","_id":"@altmind-digital/videoask-custom-provider@1.0.1","maintainers":[{"name":"altmindinc-digital","email":"altmindcorp@gmail.com"}],"homepage":"https://github.com/altMindInc/videoask-custom-provider#readme","bugs":{"url":"https://github.com/altMindInc/videoask-custom-provider/issues"},"dist":{"shasum":"b3fde2fa76fc42405f3042758becbc25d2d8f5f5","tarball":"https://registry.npmjs.org/@altmind-digital/videoask-custom-provider/-/videoask-custom-provider-1.0.1.tgz","fileCount":5,"integrity":"sha512-uN8/bH1kDziz1WSLEZyBjhZWBJl7nNNHL2Pvb3wWl0kArlD+zdrEpmznCHHbab9NQd2NIbMa9NOdqZxV+HnCWg==","signatures":[{"sig":"MEUCID9eBbLEGQGt9kz0+KQogboIo2z7Bpv+zPf2XB5iOrFLAiEAmqMsM2vHfJ+PzrpTFy/fkdPYraWZyvgGhE8uBs2lBME=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9031},"main":"dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"86cde01c54bff51d225201ec565131c2acb78045","scripts":{"build":"tsc","clean":"rimraf dist","version":"npm publish --access=public","prebuild":"npm run clean","preversion":"npm run build"},"_npmUser":{"name":"altmindinc-digital","email":"altmindcorp@gmail.com"},"repository":{"url":"git+https://github.com/altMindInc/videoask-custom-provider.git","type":"git"},"_npmVersion":"10.2.4","description":"Custom provider to embed VideoAsk to react application","directories":{},"_nodeVersion":"21.5.0","dependencies":{"rimraf":"^5.0.5"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","typescript":"^5.3.3","@types/react":"^18.2.61","@types/react-dom":"^18.2.19"},"peerDependencies":{"react":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/videoask-custom-provider_1.0.1_1709411727227_0.11627958562939988","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@altmind-digital/videoask-custom-provider","version":"1.0.2","keywords":["react","videoask","videoask","custom","provider","react","videoask"],"author":{"name":"altMind Inc"},"license":"MIT","_id":"@altmind-digital/videoask-custom-provider@1.0.2","maintainers":[{"name":"altmindinc-digital","email":"altmindcorp@gmail.com"}],"homepage":"https://github.com/altMindInc/videoask-custom-provider#readme","bugs":{"url":"https://github.com/altMindInc/videoask-custom-provider/issues"},"dist":{"shasum":"f16bd5d81aaa6f71b2f62daf02f6df78054feda2","tarball":"https://registry.npmjs.org/@altmind-digital/videoask-custom-provider/-/videoask-custom-provider-1.0.2.tgz","fileCount":5,"integrity":"sha512-wkE0/tvlh58AAuelqKc46oIP1t1z5qUCbnpRZ2OX1Y0TFlzR7PWYtYg4iob7Q5o8mNAWUYi0fGDa81JQK+lk6A==","signatures":[{"sig":"MEUCIQDT6+29BIt121TFUMm+uwEtbVXlDTP+CuYOHT9606oHOQIgIpNJEC9D/XzsDh0noPEwAFWyBjFLrknFtG55dzoBKmI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9033},"main":"dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"86cde01c54bff51d225201ec565131c2acb78045","scripts":{"build":"tsc","clean":"rimraf dist","version":"npm publish --access=public","prebuild":"npm run clean","preversion":"npm run build"},"_npmUser":{"name":"altmindinc-digital","email":"altmindcorp@gmail.com"},"repository":{"url":"git+https://github.com/altMindInc/videoask-custom-provider.git","type":"git"},"_npmVersion":"10.2.4","description":"Custom provider to embed VideoAsk to react application","directories":{},"_nodeVersion":"21.5.0","dependencies":{"rimraf":"^5.0.5"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","typescript":"^5.3.3","@types/react":"^18.2.61","@types/react-dom":"^18.2.19"},"peerDependencies":{"react":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/videoask-custom-provider_1.0.2_1727202686208_0.6491363521930242","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@altmind-digital/videoask-custom-provider","version":"1.0.3","keywords":["react","videoask","videoask","custom","provider","react","videoask"],"author":{"name":"altMind Inc"},"license":"MIT","_id":"@altmind-digital/videoask-custom-provider@1.0.3","maintainers":[{"name":"altmindinc-digital","email":"altmindcorp@gmail.com"}],"homepage":"https://github.com/altMindInc/videoask-custom-provider#readme","bugs":{"url":"https://github.com/altMindInc/videoask-custom-provider/issues"},"dist":{"shasum":"3487f4ef1016b74f3e1c6728a121f92433672516","tarball":"https://registry.npmjs.org/@altmind-digital/videoask-custom-provider/-/videoask-custom-provider-1.0.3.tgz","fileCount":5,"integrity":"sha512-sudrbwuJxPchdPxZ4ay7ZCB6NyHj2f7Mc6hwsGUEmMpZii2iOvG4eIxvDIoUvDS0TtEWExuTwgbxCDSq9SwJJA==","signatures":[{"sig":"MEQCIHGmqGZ77pRR09yNjYqUzakaNz5Ge5aCNuFRsnCgtA23AiAjtFax4u9vqH2KjI8/R8uqq6x/5ZSMSCutnCVxwFXJjQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8882},"main":"dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"bd58c749379cddf665696471e3b88001acc261cb","scripts":{"build":"tsc","clean":"rimraf dist","version":"npm publish --access=public","prebuild":"npm run clean","preversion":"npm run build"},"_npmUser":{"name":"altmindinc-digital","email":"altmindcorp@gmail.com"},"repository":{"url":"git+https://github.com/altMindInc/videoask-custom-provider.git","type":"git"},"_npmVersion":"10.2.4","description":"Custom provider to embed VideoAsk to react application","directories":{},"_nodeVersion":"21.5.0","dependencies":{"rimraf":"^5.0.5"},"_hasShrinkwrap":false,"devDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","typescript":"^5.3.3","@types/react":"^18.2.61","@types/react-dom":"^18.2.19"},"peerDependencies":{"react":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/videoask-custom-provider_1.0.3_1727203140475_0.37192573355405534","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@altmind-digital/videoask-custom-provider","version":"1.0.4","description":"Custom provider to embed VideoAsk to react application","main":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"clean":"rimraf dist","prebuild":"npm run clean","build":"tsc","preversion":"npm run build","version":"npm publish --access=public"},"repository":{"type":"git","url":"git+https://github.com/altMindInc/videoask-custom-provider.git"},"keywords":["react","videoask","videoask","custom","provider","react","videoask"],"author":{"name":"altMind Inc"},"license":"MIT","bugs":{"url":"https://github.com/altMindInc/videoask-custom-provider/issues"},"homepage":"https://github.com/altMindInc/videoask-custom-provider#readme","devDependencies":{"@types/react":"^18.2.61","@types/react-dom":"^18.2.19","react":"^18.2.0","react-dom":"^18.2.0","typescript":"^5.3.3"},"peerDependencies":{"react":"^18.2.0"},"dependencies":{"rimraf":"^5.0.5"},"_id":"@altmind-digital/videoask-custom-provider@1.0.4","gitHead":"553b63dbe62a72504fb6eeb8dbee28f7cd1beab5","types":"./dist/index.d.ts","_nodeVersion":"21.5.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-XXvxqB/7LbAHsIJOnddakd6hon1MoSbqxpOpOG+JnOEbY3gdD7CFaeU0hrE8LRMrR1d0zyHiXFE/ck2xqzzazw==","shasum":"49194e2a0f3873c52ee6c8f4188136c318846c90","tarball":"https://registry.npmjs.org/@altmind-digital/videoask-custom-provider/-/videoask-custom-provider-1.0.4.tgz","fileCount":5,"unpackedSize":8883,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAVHJ8wtp6ECnf5h8Hyc/3T8xfaStTR7XCHyuy43do2cAiEAlV3U8aG6uIaDfJhFP92PGX7MwzAWI2G1syPIcQUVLqo="}]},"_npmUser":{"name":"altmindinc-digital","email":"altmindcorp@gmail.com"},"directories":{},"maintainers":[{"name":"altmindinc-digital","email":"altmindcorp@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/videoask-custom-provider_1.0.4_1727203372530_0.5070338808582677"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-02T19:36:43.690Z","modified":"2024-09-24T18:42:52.900Z","1.0.0":"2024-03-02T19:36:43.928Z","1.0.1":"2024-03-02T20:35:27.379Z","1.0.2":"2024-09-24T18:31:26.372Z","1.0.3":"2024-09-24T18:39:00.656Z","1.0.4":"2024-09-24T18:42:52.708Z"},"bugs":{"url":"https://github.com/altMindInc/videoask-custom-provider/issues"},"author":{"name":"altMind Inc"},"license":"MIT","homepage":"https://github.com/altMindInc/videoask-custom-provider#readme","keywords":["react","videoask","videoask","custom","provider","react","videoask"],"repository":{"type":"git","url":"git+https://github.com/altMindInc/videoask-custom-provider.git"},"description":"Custom provider to embed VideoAsk to react application","maintainers":[{"name":"altmindinc-digital","email":"altmindcorp@gmail.com"}],"readme":"# videoask-custom-provider\nThis custom React provider provides an easy way to integrate VideoAsk interactive videos into your React applications. With this, you can effortlessly embed VideoAsk elements and handle events within your React components.\n\n## Installation\n\nYou can install the VideoAsk React Custom Provider via npm or yarn:\n\n```bash\nnpm install @altmind-digital/videoask-custom-provider\n\nor \n\nyarn add @altmind-digital/videoask-custom-provider\n```\n\n## Usage\nTo use the VideoAsk React Custom Provider, simply import it into your React component and call it:\n\n```bash\n  const videoAskConfig = {\n    kind: 'widget',\n    // eslint-disable-next-line max-len\n    url: `https://www.videoask.com/[YOURVIDEOID]?YOURCUSTOMVARIABLES`,\n    options: {\n      widgetType: 'VideoThumbnailExtraLarge',\n      text: '',\n      backgroundColor: '#7E3DD4',\n      position: 'bottom-right',\n      dismissible: true,\n      videoPosition: 'center center',\n    },\n  };\n\n  <VideoAskContextProvider\n    config={videoAskConfig}\n    callbacks={{ onCloseWidget, onMessage }}\n  >\n    <ShowWidget />\n  </VideoAskContextProvider>\n```\n\n```bash\nimport { useContext, useEffect } from 'react';\nimport { VideoAskContext } from '@altmind-digital/videoask-custom-provider';\n\nconst ShowWidget = () => {\n  const { showWidget } = useContext(VideoAskContext);\n  useEffect(() => showWidget(), [showWidget]);\n  return null;\n};\n\nexport default ShowWidget;\n```\n\n## Features\n- Easy Integration: Quickly embed VideoAsk elements into your React components.\n- Event Handling: Handle events such as form submissions and button clicks from your VideoAsk video.\n- Customization: Customize the appearance and behavior of your VideoAsk video directly from your React components.\n\n## Documentation\nFor detailed documentation on the usage and available options of the VideoAsk React Custom Hook, refer to the official [documentation](https://www.videoask.com/help/embed/360059030911-embed-a-videoask-widget).\n\n## Contributing\nContributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/altMindInc/videoask-custom-provider/blob/main/LICENSE) file for details.\n","readmeFilename":"README.md"}