{"_id":"@blocdigital/usescorm","_rev":"9-801d82771be63309f4f1659879c90850","name":"@blocdigital/usescorm","dist-tags":{"latest":"0.2.3"},"versions":{"0.1.0":{"name":"@blocdigital/usescorm","version":"0.1.0","keywords":["react","react hook","SCORM","SCORM2004","SCORM1.2","learning","LMS","moodle"],"author":{"name":"Bloc Digital","email":"web@bloc.digital"},"license":"MIT","_id":"@blocdigital/usescorm@0.1.0","maintainers":[{"name":"hwickham","email":"harrywickham9876@gmail.com"},{"name":"nadakbar","email":"nadeem.akbar@bloc.digital"},{"name":"acol","email":"acol248@gmail.com"},{"name":"link2twenty","email":"AndrewB05@gmail.com"}],"homepage":"https://github.com/bloc-digital/uselocalscorm/blob/main/README.md","bugs":{"url":"https://github.com/bloc-digital/uselocalscorm/issues"},"dist":{"shasum":"688e2e177b94c483cbe3af8a7f0c496b425e660e","tarball":"https://registry.npmjs.org/@blocdigital/usescorm/-/usescorm-0.1.0.tgz","fileCount":12,"integrity":"sha512-l49lbZ3JlJQSGkTJaX+QH/Me5TjALUv4AsxlxFbLowNhBk1RLAs9q7MpWGFkWla24Tb+ty/iYGaAQQ6yzTs/eQ==","signatures":[{"sig":"MEUCIGPi9EqWfsTgE67cPxmsCdNfub9h45ckJp4pR2UWN5ECAiEA5ejV4GAH3bjup77pwg1pdgLt0YKvoZL9cmaSuk88jwU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64176},"jest":{"testEnvironment":"jsdom"},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/types/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"gitHead":"bf65e2b93f4276911ec3ed2598ce844a320a4531","scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"jest","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json","preview":"vite preview"},"_npmUser":{"name":"link2twenty","email":"AndrewB05@gmail.com"},"repository":{"url":"git+https://github.com/bloc-digital/uselocalscorm.git","type":"git"},"_npmVersion":"10.2.0","description":"React hook for communicating with the SCORM API.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","vite":"^4.4.5","eslint":"^8.45.0","prettier":"^3.0.3","babel-jest":"^29.7.0","typescript":"^5.0.2","@babel/core":"^7.23.2","@types/jest":"^29.5.6","@types/react":"^18.2.15","@types/react-dom":"^18.2.7","@babel/preset-env":"^7.23.2","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest-environment-jsdom":"^29.7.0","eslint-config-react-app":"^7.0.1","@babel/preset-typescript":"^7.23.2","@vitejs/plugin-react-swc":"^3.3.2","@typescript-eslint/parser":"^6.8.0","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.3","@typescript-eslint/eslint-plugin":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/usescorm_0.1.0_1698163600236_0.5114064216002718","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@blocdigital/usescorm","version":"0.1.1","keywords":["react","react hook","SCORM","SCORM2004","SCORM1.2","learning","LMS","moodle"],"author":{"name":"Bloc Digital","email":"web@bloc.digital"},"license":"MIT","_id":"@blocdigital/usescorm@0.1.1","maintainers":[{"name":"hwickham","email":"harrywickham9876@gmail.com"},{"name":"nadakbar","email":"nadeem.akbar@bloc.digital"},{"name":"acol","email":"acol248@gmail.com"},{"name":"link2twenty","email":"AndrewB05@gmail.com"}],"homepage":"https://github.com/bloc-digital/usescorm/blob/main/README.md","bugs":{"url":"https://github.com/bloc-digital/usescorm/issues"},"dist":{"shasum":"9a6d19853da984e21e6a68a3a0d18b2824700235","tarball":"https://registry.npmjs.org/@blocdigital/usescorm/-/usescorm-0.1.1.tgz","fileCount":12,"integrity":"sha512-YnytkAWJ3KdE4m0DkDUXUZmpln4oQ+9lYpzaS3V7a+MSLIiYyYqJ/3qB88iD5eXMX0aikYZDUHTaTNnraatK4A==","signatures":[{"sig":"MEUCIGDETTW0rK33N6F77EUPUFuZJf0R2dVyVbn7Hy3zPGsLAiEAkfJWeO1f6nq6CnQ3+/yuJ0A8KK2K8BfZnfoyHlGD+Eg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64162},"jest":{"testEnvironment":"jsdom"},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/types/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"gitHead":"60af2e2c1f51ec54fd3fb75e73f4f3beaa813212","scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"jest","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json","preview":"vite preview"},"_npmUser":{"name":"link2twenty","email":"AndrewB05@gmail.com"},"repository":{"url":"git+https://github.com/bloc-digital/usescorm.git","type":"git"},"_npmVersion":"10.2.0","description":"React hook for communicating with the SCORM API.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","vite":"^4.4.5","eslint":"^8.45.0","prettier":"^3.0.3","babel-jest":"^29.7.0","typescript":"^5.0.2","@babel/core":"^7.23.2","@types/jest":"^29.5.6","@types/react":"^18.2.15","@types/react-dom":"^18.2.7","@babel/preset-env":"^7.23.2","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest-environment-jsdom":"^29.7.0","eslint-config-react-app":"^7.0.1","@babel/preset-typescript":"^7.23.2","@vitejs/plugin-react-swc":"^3.3.2","@typescript-eslint/parser":"^6.8.0","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.3","@typescript-eslint/eslint-plugin":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/usescorm_0.1.1_1698164297277_0.9209397848544116","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@blocdigital/usescorm","version":"0.1.2","keywords":["react","react hook","SCORM","SCORM2004","SCORM1.2","learning","LMS","moodle"],"author":{"name":"Bloc Digital","email":"web@bloc.digital"},"license":"MIT","_id":"@blocdigital/usescorm@0.1.2","maintainers":[{"name":"hwickham","email":"harrywickham9876@gmail.com"},{"name":"nadakbar","email":"nadeem.akbar@bloc.digital"},{"name":"acol","email":"acol248@gmail.com"},{"name":"link2twenty","email":"AndrewB05@gmail.com"}],"homepage":"https://github.com/bloc-digital/usescorm/blob/main/README.md","bugs":{"url":"https://github.com/bloc-digital/usescorm/issues"},"dist":{"shasum":"877c2da72d6b5179f6419a72af7f459d086d133d","tarball":"https://registry.npmjs.org/@blocdigital/usescorm/-/usescorm-0.1.2.tgz","fileCount":12,"integrity":"sha512-48M6/yhaCTKytzxpnTrNwWfR1/gSje8RQrHXSxByz3R944BoR5PHxS1PHnWeVr1m7T8Qr3xqYa4oUuwsUDHuUw==","signatures":[{"sig":"MEUCIQChbbjWc++kd/ETogkpHqUsA5rR074tp5n5OmG1+wqyLAIgCD3WyL3oLWjUq/yNouI2IsptTWGyyiOm8eW9V8DXmbk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64157},"jest":{"testEnvironment":"jsdom"},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/types/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"gitHead":"83d6399c9241c6e40543b86db30ebd9723fe289c","scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"jest","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json","preview":"vite preview"},"_npmUser":{"name":"link2twenty","email":"AndrewB05@gmail.com"},"repository":{"url":"git+https://github.com/bloc-digital/usescorm.git","type":"git"},"_npmVersion":"10.2.0","description":"React hook for communicating with the SCORM API.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","vite":"^4.4.5","eslint":"^8.45.0","prettier":"^3.0.3","babel-jest":"^29.7.0","typescript":"^5.0.2","@babel/core":"^7.23.2","@types/jest":"^29.5.6","@types/react":"^18.2.15","@types/react-dom":"^18.2.7","@babel/preset-env":"^7.23.2","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest-environment-jsdom":"^29.7.0","eslint-config-react-app":"^7.0.1","@babel/preset-typescript":"^7.23.2","@vitejs/plugin-react-swc":"^3.3.2","@typescript-eslint/parser":"^6.8.0","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.3","@typescript-eslint/eslint-plugin":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/usescorm_0.1.2_1698164606715_0.8415528339978187","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@blocdigital/usescorm","version":"0.1.3","keywords":["react","react hook","SCORM","SCORM2004","SCORM1.2","learning","LMS","moodle"],"author":{"name":"Bloc Digital","email":"web@bloc.digital"},"license":"MIT","_id":"@blocdigital/usescorm@0.1.3","maintainers":[{"name":"hwickham","email":"harrywickham9876@gmail.com"},{"name":"nadakbar","email":"nadeem.akbar@bloc.digital"},{"name":"acol","email":"acol248@gmail.com"},{"name":"link2twenty","email":"AndrewB05@gmail.com"}],"homepage":"https://github.com/bloc-digital/usescorm/blob/main/README.md","bugs":{"url":"https://github.com/bloc-digital/usescorm/issues"},"dist":{"shasum":"8bdc553d5f8e6dbd3167b73173ed08c49d1f0099","tarball":"https://registry.npmjs.org/@blocdigital/usescorm/-/usescorm-0.1.3.tgz","fileCount":12,"integrity":"sha512-StDDcKGSbSY3qlsg9IrzpO30jQFu/88WCCh6KmMt9t/JOtD1LgZNPUbm153X8OynDJ5Y/iqYksCmk8hA50k+vQ==","signatures":[{"sig":"MEQCIB+LLbe0py7DTpjpGP2lZzTcfrTH03zFcL4oI4nXp7GUAiBKYHp0rXGllmU2fYI6Vmwbkk1wuBgoWNVaeBebsPpf0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71029},"jest":{"testEnvironment":"jsdom"},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/types/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"gitHead":"679e27a9a15118ef6f51714e135a637376750d56","scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"jest","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json","preview":"vite preview"},"_npmUser":{"name":"link2twenty","email":"AndrewB05@gmail.com"},"repository":{"url":"git+https://github.com/bloc-digital/usescorm.git","type":"git"},"_npmVersion":"10.2.0","description":"React hook for communicating with the SCORM API.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","vite":"^4.4.5","eslint":"^8.45.0","prettier":"^3.0.3","babel-jest":"^29.7.0","typescript":"^5.0.2","@babel/core":"^7.23.2","@types/jest":"^29.5.6","@types/react":"^18.2.15","@types/react-dom":"^18.2.7","@babel/preset-env":"^7.23.2","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest-environment-jsdom":"^29.7.0","eslint-config-react-app":"^7.0.1","@babel/preset-typescript":"^7.23.2","@vitejs/plugin-react-swc":"^3.3.2","@typescript-eslint/parser":"^6.8.0","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.3","@typescript-eslint/eslint-plugin":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/usescorm_0.1.3_1698221344018_0.3023573202936216","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@blocdigital/usescorm","version":"0.1.4","keywords":["react","react hook","SCORM","SCORM2004","SCORM1.2","learning","LMS","moodle"],"author":{"name":"Bloc Digital","email":"web@bloc.digital"},"license":"MIT","_id":"@blocdigital/usescorm@0.1.4","maintainers":[{"name":"hwickham","email":"harrywickham9876@gmail.com"},{"name":"nadakbar","email":"nadeem.akbar@bloc.digital"},{"name":"acol","email":"acol248@gmail.com"},{"name":"link2twenty","email":"AndrewB05@gmail.com"}],"homepage":"https://github.com/bloc-digital/usescorm/blob/main/README.md","bugs":{"url":"https://github.com/bloc-digital/usescorm/issues"},"dist":{"shasum":"f4627085ddd1760101cd4b49bd584d04f7691562","tarball":"https://registry.npmjs.org/@blocdigital/usescorm/-/usescorm-0.1.4.tgz","fileCount":12,"integrity":"sha512-SU+JVYutHYOWUDbNVTu6F/9V37eCP646wisxdMf9Vsgqm9lPffmSQMkPVnTcMu7gseW4u38F9IPVRGWC/HDKZQ==","signatures":[{"sig":"MEYCIQCIztiLDBc3EQPIkXax46i/FNPydAp/QilWfTsdhnVLIgIhAOjqASWwP04rIq7eAafvZa+cTsi4O2IemuDs29YxL49E","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71032},"jest":{"testEnvironment":"jsdom"},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/types/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"gitHead":"bcf7b8606574e69df5310b76a49351c02d08be7d","scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"jest","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json","preview":"vite preview"},"_npmUser":{"name":"link2twenty","email":"AndrewB05@gmail.com"},"repository":{"url":"git+https://github.com/bloc-digital/usescorm.git","type":"git"},"_npmVersion":"10.2.0","description":"React hook for communicating with the SCORM API.","directories":{},"_nodeVersion":"20.9.0","dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","vite":"^4.5.0","eslint":"^8.53.0","prettier":"^3.1.0","babel-jest":"^29.7.0","typescript":"^5.2.2","@babel/core":"^7.23.3","@types/jest":"^29.5.8","@types/react":"^18.2.37","@types/react-dom":"^18.2.15","@babel/preset-env":"^7.23.3","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest-environment-jsdom":"^29.7.0","eslint-config-react-app":"^7.0.1","@babel/preset-typescript":"^7.23.3","@vitejs/plugin-react-swc":"^3.4.1","@typescript-eslint/parser":"^6.11.0","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.4","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/usescorm_0.1.4_1699976848378_0.7976971241604325","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@blocdigital/usescorm","version":"0.1.5","keywords":["react","react hook","SCORM","SCORM2004","SCORM1.2","learning","LMS","moodle"],"author":{"name":"Bloc Digital","email":"web@bloc.digital"},"license":"MIT","_id":"@blocdigital/usescorm@0.1.5","maintainers":[{"name":"hwickham","email":"harrywickham9876@gmail.com"},{"name":"nadakbar","email":"nadeem.akbar@bloc.digital"},{"name":"acol","email":"acol248@gmail.com"},{"name":"link2twenty","email":"AndrewB05@gmail.com"}],"homepage":"https://github.com/bloc-digital/usescorm/blob/main/README.md","bugs":{"url":"https://github.com/bloc-digital/usescorm/issues"},"dist":{"shasum":"0db16f42ebb045ed5e2b8833bac79df165e6c759","tarball":"https://registry.npmjs.org/@blocdigital/usescorm/-/usescorm-0.1.5.tgz","fileCount":12,"integrity":"sha512-6o+7pUwaBPdtTpdfrv/m5Z7vBwxtEpHipj/PlAJlDer/c5WnovvQ8GZhkCLGvbakGhWmLfM05mCFKUdbeuTdmg==","signatures":[{"sig":"MEUCIE9b8fSKGG1N42OsRzYUwDasWK8NvkAvaqWzQrNETs8nAiEApU44GBTbZxyLu6PY9bjCr8dYgaFUGXNnJ+wLJw6Bgjk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71086},"jest":{"testEnvironment":"jsdom"},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/types/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"gitHead":"bcf7b8606574e69df5310b76a49351c02d08be7d","scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"jest","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json","preview":"vite preview"},"_npmUser":{"name":"link2twenty","email":"AndrewB05@gmail.com"},"repository":{"url":"git+https://github.com/bloc-digital/usescorm.git","type":"git"},"_npmVersion":"10.2.0","description":"React hook for communicating with the SCORM API.","directories":{},"_nodeVersion":"20.9.0","dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","vite":"^4.5.0","eslint":"^8.53.0","prettier":"^3.1.0","babel-jest":"^29.7.0","typescript":"^5.2.2","@babel/core":"^7.23.3","@types/jest":"^29.5.8","@types/react":"^18.2.37","@types/react-dom":"^18.2.15","@babel/preset-env":"^7.23.3","eslint-plugin-react":"^7.33.2","@testing-library/react":"^14.1.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.1","jest-environment-jsdom":"^29.7.0","eslint-config-react-app":"^7.0.1","@babel/preset-typescript":"^7.23.3","@vitejs/plugin-react-swc":"^3.4.1","@typescript-eslint/parser":"^6.11.0","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.4","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/usescorm_0.1.5_1699977153860_0.5982636220271562","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@blocdigital/usescorm","version":"0.2.0","keywords":["react","react hook","SCORM","SCORM2004","SCORM1.2","learning","LMS","moodle"],"author":{"name":"Bloc Digital","email":"web@bloc.digital"},"license":"MIT","_id":"@blocdigital/usescorm@0.2.0","maintainers":[{"name":"hwickham","email":"harrywickham9876@gmail.com"},{"name":"nadakbar","email":"nadeem.akbar@bloc.digital"},{"name":"acol","email":"acol248@gmail.com"},{"name":"link2twenty","email":"AndrewB05@gmail.com"}],"homepage":"https://github.com/bloc-digital/usescorm/blob/main/README.md","bugs":{"url":"https://github.com/bloc-digital/usescorm/issues"},"dist":{"shasum":"dd94221cf3b00ebf7bb6998a2125f726f23683ee","tarball":"https://registry.npmjs.org/@blocdigital/usescorm/-/usescorm-0.2.0.tgz","fileCount":12,"integrity":"sha512-k6bOYhxmv2YnCdk+QCrDDjJjSINIZWwf/KRF+OICX3H4FzyyWpOXOfabYOSz6JAAVcLn4wmjdLj9oHm6rpR7DA==","signatures":[{"sig":"MEUCIQDg7wEV6SaEKotdJKAaq/M723B+lUnP330yQ0381giiVwIgRW8RUjj+EjOkYxTrQb82Ec/PlJDqmmSJgEmG6efRs8Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73385},"jest":{"testEnvironment":"jsdom"},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/types/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"gitHead":"71c950d5c2165593bc509902b5b09fbe1c580dbf","scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"jest","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json","preview":"vite preview"},"_npmUser":{"name":"link2twenty","email":"AndrewB05@gmail.com"},"repository":{"url":"git+https://github.com/bloc-digital/usescorm.git","type":"git"},"_npmVersion":"10.8.2","description":"React hook for communicating with the SCORM API.","directories":{},"_nodeVersion":"20.16.0","dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","vite":"^5.3.5","eslint":"^8.53.0","prettier":"^3.3.3","babel-jest":"^29.7.0","typescript":"^5.5.4","@babel/core":"^7.25.2","@types/jest":"^29.5.12","@types/react":"^18.3.3","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.25.2","eslint-plugin-react":"^7.35.0","@testing-library/react":"^16.0.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","jest-environment-jsdom":"^29.7.0","eslint-config-react-app":"^7.0.1","@babel/preset-typescript":"^7.24.7","@vitejs/plugin-react-swc":"^3.7.0","@typescript-eslint/parser":"^7.18.0","eslint-plugin-react-hooks":"^4.6.2","eslint-plugin-react-refresh":"^0.4.9","@typescript-eslint/eslint-plugin":"^7.18.0"},"_npmOperationalInternal":{"tmp":"tmp/usescorm_0.2.0_1722422831003_0.0869590533319411","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@blocdigital/usescorm","version":"0.2.1","keywords":["react","react hook","SCORM","SCORM2004","SCORM1.2","learning","LMS","moodle"],"author":{"name":"Bloc Digital","email":"web@bloc.digital"},"license":"MIT","_id":"@blocdigital/usescorm@0.2.1","maintainers":[{"name":"hwickham","email":"harrywickham9876@gmail.com"},{"name":"nadakbar","email":"nadeem.akbar@bloc.digital"},{"name":"acol","email":"acol248@gmail.com"},{"name":"link2twenty","email":"AndrewB05@gmail.com"}],"homepage":"https://github.com/bloc-digital/usescorm/blob/main/README.md","bugs":{"url":"https://github.com/bloc-digital/usescorm/issues"},"dist":{"shasum":"be4d54665f789d27469ae90108446aadf2429341","tarball":"https://registry.npmjs.org/@blocdigital/usescorm/-/usescorm-0.2.1.tgz","fileCount":12,"integrity":"sha512-sOJeZaDY8knjpN4d5hrVpHKbR+IJpPlSSmC0uAYXinTDm4O+wvOYq8YRdO7iALbV5PpbCBOoz5rV3MWWbiWGDA==","signatures":[{"sig":"MEYCIQC3sXmKIbGDi8XP867Az3Y2EU9a3Rd2AZQFDdAvrv+g+wIhAJRT0mVl0PGT8siEk6ohY6jiudeEVPT3QxvX0iXpRYCR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73545},"jest":{"testEnvironment":"jsdom"},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/types/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"gitHead":"71c950d5c2165593bc509902b5b09fbe1c580dbf","scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"jest","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json","preview":"vite preview"},"_npmUser":{"name":"link2twenty","email":"AndrewB05@gmail.com"},"repository":{"url":"git+https://github.com/bloc-digital/usescorm.git","type":"git"},"_npmVersion":"10.8.2","description":"React hook for communicating with the SCORM API.","directories":{},"_nodeVersion":"20.16.0","dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","vite":"^5.3.5","eslint":"^8.53.0","prettier":"^3.3.3","babel-jest":"^29.7.0","typescript":"^5.5.4","@babel/core":"^7.25.2","@types/jest":"^29.5.12","@types/react":"^18.3.3","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.25.3","eslint-plugin-react":"^7.35.0","@testing-library/react":"^16.0.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","jest-environment-jsdom":"^29.7.0","eslint-config-react-app":"^7.0.1","@babel/preset-typescript":"^7.24.7","@vitejs/plugin-react-swc":"^3.7.0","@typescript-eslint/parser":"^8.0.1","eslint-plugin-react-hooks":"^4.6.2","eslint-plugin-react-refresh":"^0.4.9","@typescript-eslint/eslint-plugin":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/usescorm_0.2.1_1722948427675_0.8257874377066432","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@blocdigital/usescorm","version":"0.2.2","keywords":["react","react hook","SCORM","SCORM2004","SCORM1.2","learning","LMS","moodle"],"author":{"name":"Bloc Digital","email":"web@bloc.digital"},"license":"MIT","_id":"@blocdigital/usescorm@0.2.2","maintainers":[{"name":"hwickham","email":"harrywickham9876@gmail.com"},{"name":"nadakbar","email":"nadeem.akbar@bloc.digital"},{"name":"acol","email":"acol248@gmail.com"},{"name":"link2twenty","email":"AndrewB05@gmail.com"}],"homepage":"https://github.com/bloc-digital/usescorm/blob/main/README.md","bugs":{"url":"https://github.com/bloc-digital/usescorm/issues"},"dist":{"shasum":"eaeac1f6f5c1f169f056f64ed2a372fca50d1b35","tarball":"https://registry.npmjs.org/@blocdigital/usescorm/-/usescorm-0.2.2.tgz","fileCount":12,"integrity":"sha512-89XJMfUTiWIfSZyQvEaqPmsyu/sOjvxzu+JEJ8mZpSouBwaP79Ant1i8EXgnUge5SMherC/ixnYo2C/Sn1kXtA==","signatures":[{"sig":"MEUCIQDj5yACMd2BCs6K1WTR+Qb1O9A4av/ZkyR1fkiINrMJZQIgCd5uXYyVDnD+Ukay3wgsujBQ3hbC7WE7QvNZ9T66N7g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73317},"jest":{"testEnvironment":"jsdom"},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/types/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"gitHead":"abd3ebd7efffd822fc359ac5bd1755ce749fd11b","scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"jest","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json","preview":"vite preview"},"_npmUser":{"name":"link2twenty","email":"AndrewB05@gmail.com"},"repository":{"url":"git+https://github.com/bloc-digital/usescorm.git","type":"git"},"_npmVersion":"10.8.2","description":"React hook for communicating with the SCORM API.","directories":{},"_nodeVersion":"20.16.0","dependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","vite":"^5.4.0","eslint":"^8.53.0","prettier":"^3.3.3","babel-jest":"^29.7.0","typescript":"^5.5.4","@babel/core":"^7.25.2","@types/jest":"^29.5.12","@types/react":"^18.3.3","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.25.3","eslint-plugin-react":"^7.35.0","@testing-library/react":"^16.0.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.2.1","jest-environment-jsdom":"^29.7.0","eslint-config-react-app":"^7.0.1","@babel/preset-typescript":"^7.24.7","@vitejs/plugin-react-swc":"^3.7.0","@typescript-eslint/parser":"^8.0.1","eslint-plugin-react-hooks":"^4.6.2","eslint-plugin-react-refresh":"^0.4.9","@typescript-eslint/eslint-plugin":"^8.0.1"},"_npmOperationalInternal":{"tmp":"tmp/usescorm_0.2.2_1723127442110_0.4627588926531747","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"@blocdigital/usescorm","type":"module","version":"0.2.3","description":"React hook for communicating with the SCORM API.","author":{"name":"Bloc Digital","email":"web@bloc.digital"},"license":"MIT","keywords":["react","react hook","SCORM","SCORM2004","SCORM1.2","learning","LMS","moodle"],"repository":{"type":"git","url":"git+https://github.com/bloc-digital/usescorm.git"},"homepage":"https://github.com/bloc-digital/usescorm/blob/main/README.md","jest":{"testEnvironment":"jsdom"},"types":"dist/types/index.d.ts","main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/types/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/types/index.d.ts","default":"./dist/cjs/index.js"}},"./package.json":"./package.json"},"scripts":{"dev":"vite","build":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","preview":"vite preview","test":"jest"},"devDependencies":{"@babel/core":"^7.26.9","@babel/preset-env":"^7.26.9","@babel/preset-typescript":"^7.26.0","@testing-library/react":"^16.2.0","@types/jest":"^29.5.14","@types/react":"^19.0.10","@types/react-dom":"^19.0.4","@typescript-eslint/eslint-plugin":"^8.25.0","@typescript-eslint/parser":"^8.25.0","@vitejs/plugin-react-swc":"^3.8.0","babel-jest":"^29.7.0","eslint":"^9.21.0","eslint-config-prettier":"^10.0.2","eslint-plugin-prettier":"^5.2.3","eslint-plugin-react-hooks":"^5.1.0","eslint-plugin-react-refresh":"^0.4.19","globals":"^16.0.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.5.2","typescript":"^5.7.3","vite":"^6.2.0"},"bugs":{"url":"https://github.com/bloc-digital/usescorm/issues"},"peerDependencies":{"react":"^17 || ^18 || ^19","react-dom":"^17 || ^18 || ^19"},"_id":"@blocdigital/usescorm@0.2.3","gitHead":"2e6a795f22df9f39d5d50162a6705ab651396e84","_nodeVersion":"20.18.3","_npmVersion":"11.0.0","dist":{"integrity":"sha512-RSVNAYsK4iEhnhdWn9Sy+qd6TQ1nx/XmqqX89EIZe/RL4tsOgvQKmnwfjlAP8zoo5WuszQcApZSTr8p8eMBF5A==","shasum":"d9b32406d1a9af4826ea2d7b6509f89e87ae3dc3","tarball":"https://registry.npmjs.org/@blocdigital/usescorm/-/usescorm-0.2.3.tgz","fileCount":12,"unpackedSize":73293,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCw3iEADyegSsmqOM7esNmyeiaYouJlXMx5RJ6G9k/GZAIhAJtdevehZmaqpJavsO7+PPytFzts9QMdDNxlEdB5es9c"}]},"_npmUser":{"name":"link2twenty","email":"AndrewB05@gmail.com"},"directories":{},"maintainers":[{"name":"hwickham","email":"harrywickham9876@gmail.com"},{"name":"link2twenty","email":"AndrewB05@gmail.com"},{"name":"acol","email":"acol248@gmail.com"},{"name":"nadakbar","email":"nadeem.akbar@bloc.digital"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/usescorm_0.2.3_1740737605081_0.90704190991771"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-24T16:06:40.107Z","modified":"2025-02-28T10:13:25.535Z","0.1.0":"2023-10-24T16:06:40.560Z","0.1.1":"2023-10-24T16:18:17.476Z","0.1.2":"2023-10-24T16:23:26.925Z","0.1.3":"2023-10-25T08:09:04.251Z","0.1.4":"2023-11-14T15:47:28.527Z","0.1.5":"2023-11-14T15:52:34.070Z","0.2.0":"2024-07-31T10:47:11.146Z","0.2.1":"2024-08-06T12:47:07.858Z","0.2.2":"2024-08-08T14:30:42.299Z","0.2.3":"2025-02-28T10:13:25.350Z"},"bugs":{"url":"https://github.com/bloc-digital/usescorm/issues"},"author":{"name":"Bloc Digital","email":"web@bloc.digital"},"license":"MIT","homepage":"https://github.com/bloc-digital/usescorm/blob/main/README.md","keywords":["react","react hook","SCORM","SCORM2004","SCORM1.2","learning","LMS","moodle"],"repository":{"type":"git","url":"git+https://github.com/bloc-digital/usescorm.git"},"description":"React hook for communicating with the SCORM API.","maintainers":[{"name":"hwickham","email":"harrywickham9876@gmail.com"},{"name":"link2twenty","email":"AndrewB05@gmail.com"},{"name":"acol","email":"acol248@gmail.com"},{"name":"nadakbar","email":"nadeem.akbar@bloc.digital"}],"readme":"# usescorm\n\n> React hook for communicating with the SCORM API.\n\nI would recommend reading the the [SCORM documentation](https://scorm.com/scorm-explained/technical-scorm/run-time/run-time-reference/) to familiarise yourself with the syntax.\n\n## Install\n\n```bash\nnpm install --save @blocdigital/usescorm\n```\n\n## Usage\n\n```tsx\nimport { useState, useEffect } from 'react';\n\nimport useScorm from '@blocdigital/usescorm';\n\nconst Example = () => {\n  // initiate the scorm session\n  const scorm = useScorm({ version: '1.2' });\n\n  const [state, setState] = useState(scorm?.storage || null);\n\n  /**\n   * toggle the pass status of a module\n   *\n   * @param {string} module which module to update\n   * @param {number} item index of item\n   */\n  const handleToggle = (module, item) => {\n    scorm.store((state) => {\n      const newObj = structuredClone(state);\n\n      newObj[module][item] = newObj[module][item] > 0 ? -1 : 1;\n\n      return newObj;\n    });\n  };\n\n  // set up listeners to keep state in sync with suspend data\n  useEffect(() => {\n    const onStateChange = (data) => setState(data);\n\n    scorm.on('storage', onStateChange);\n\n    // remember to tidy up your event listeners\n    return () => scorm.off('storage', onStateChange);\n  }, [scorm]);\n\n  // initialise the suspend data\n  useEffect(() => {\n    scorm.store((state) => ({ module1: [0, 0, 0], module2: [0, 0, 0], ...state }));\n  }, [scorm]);\n\n  return (\n    <>\n      <h2>Module 1</h2>\n      {state &&\n        state.module1.map((pass, index) => (\n          <p key={index}>\n            Module 1, item {index + 1} is {pass === -1 ? 'failed' : pass === 1 ? 'passed' : 'not started'}\n            <button onClick={() => handleToggle('module1', index)}>toggle</button>\n          </p>\n        ))}\n      <h2>Module 2</h2>\n      {state &&\n        state.module2.map((pass, index) => (\n          <p key={index}>\n            Module 2, item {index + 1} is {pass === -1 ? 'failed' : pass === 1 ? 'passed' : 'not started'}\n            <button onClick={() => handleToggle('module2', index)}>toggle</button>\n          </p>\n        ))}\n    </>\n  );\n};\n```\n\n## Properties\n\n| Name                   | Type    | Default | Description                                                                           |\n| ---------------------- | ------- | ------- | ------------------------------------------------------------------------------------- |\n| version                | string  | 'auto'  | Version of scorm used.                                                                |\n| debug                  | boolean | false   | Whether or not debug mode is enabled.                                                 |\n| handleCompletionStatus | boolean | true    | Whether or not the wrapper should automatically handle the initial completion status. |\n| handleExitMode         | boolean | true    | Whether or not the wrapper should automatically handle the exit mode.                 |\n| autoCommit             | boolean | true    | Whether or not the each action automatically saves.                                   |\n\n## API\n\n| Name                    | Type                                                                             | Description                                                                           |\n| ----------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |\n| version                 | string                                                                           | Version of scorm used                                                                 |\n| handleCompletionStatus  | boolean                                                                          | Whether or not the wrapper should automatically handle the initial completion status. |\n| handleExitMode          | boolean                                                                          | Whether or not the wrapper should automatically handle the exit mode.                 |\n| autoCommit              | boolean                                                                          | Whether or not the each action automatically saves.                                   |\n| storage                 | unknown                                                                          | Live version of data that is in suspend_data.                                         |\n| API.handle              | null \\| IScorm1_2 \\| IScorm2004                                                  | Stored version of SCORM API.                                                          |\n| API.isFound             | boolean                                                                          | Whether the SCORM API has been detected or not.                                       |\n| API.find                | (win: Window) => null \\| IScorm1_2 \\| IScorm2004                                 | Find a copy of SCORM.                                                                 |\n| API.get                 | () => null \\| IScorm1_2 \\| IScorm2004                                            | Find a copy of SCORM (using current window).                                          |\n| API.getHandle           | () => null \\| IScorm1_2 \\| IScorm2004                                            | Find a copy of SCORM (using current window + update handle).                          |\n| connection.isActive     | boolean                                                                          | Whether the connection to the SCORM API is active.                                    |\n| data.completionStatus   | lesson_status                                                                    | Current Course completion status.                                                     |\n| data.exitStatus         | boolean                                                                          | Course Exit status.                                                                   |\n| debug.isActive          | boolean                                                                          | Whether or not debug mode is enabled.                                                 |\n| debug.getCode           | () => number                                                                     | Returns the error code that resulted from the last API call.                          |\n| debug.getInfo           | (error: number) => string \\| undefined                                           | Returns a short string describing the specified error code.                           |\n| debug.getDiagnosticInfo | (error: number) => string \\| undefined                                           | Returns detailed information about the last error that occurred.                      |\n| init                    | () => boolean                                                                    | Begins a communication session with the LMS.                                          |\n| terminate               | () => boolean                                                                    | Ends a communication session with the LMS.                                            |\n| get                     | (parameter: CMIElement) => string                                                | Retrieves a value from the LMS.                                                       |\n| set                     | (parameter: CMIElement, value: string) => boolean                                | Saves a value to the LMS                                                              |\n| store                   | (value: unknown \\| ((value: unknown) => unknown)) => boolean                     | Store data in suspense data                                                           |\n| save                    | () => boolean                                                                    | Saves a value to the LMS.                                                             |\n| status                  | (action: 'get' \\| 'set', status?: lesson_status) => boolean \\| lesson_status     | Update the lesson status.                                                             |\n| on                      | (event: 'init' \\| 'set' \\| 'storage', callback: (data: unknown) => void) => void | Add event listener for when this component is used.                                   |\n| onAny                   | (callback: (data: unknown) => void) => void                                      | Add event listener, for all events, for when this component is used.                  |\n| off                     | (event: 'init' \\| 'set' \\| 'storage', callback: (data: unknown) => void) => void | If you exactly match an `on` event you can remove it.                                 |\n| offAny                  | (callback: (data: unknown) => void) => void                                      | If you exactly match an `onAny` function you can remove it.                           |\n","readmeFilename":"README.md"}