Jonathan Putney
9cd9cf096a
Merge branch 'pr/451'
2022-02-11 08:03:59 -05:00
Jonathan Putney
91dc37f48e
Merge branch 'pr/452'
2022-02-11 08:00:17 -05:00
Jonathan Putney
2ee4fa7769
Dependency updates
2022-02-11 08:00:07 -05:00
Rubén Herrero
be11f4d0b6
Add a requestHandler setting to BaseAPI.
...
It mirrors `responseHandler` and it's useful for the same reason:
to be able to adapt the data sent to the LMS.
2022-02-11 08:49:37 +01:00
Rubén Herrero
d25fabee28
Add a onLogMessage setting to BaseAPI.
...
This allows intercepting log messages,
for example to allow displaying them in
a user-visible interface.
2022-02-10 18:33:03 +01:00
Jonathan Putney
96337bf2fb
Dependency updates
2022-01-27 15:44:36 -05:00
Jonathan Putney
1f42c090aa
Dependency updates
2022-01-10 21:49:48 -05:00
Jonathan Putney
3adbf5c9df
[skip ci] - Updating Dist and Docs
2021-10-15 16:44:58 +00:00
Jonathan Putney
23cea04711
Dependency updates
2021-10-15 12:42:47 -04:00
Jonathan Putney
0f3e879a8e
Fixing eslint issues
2021-09-07 14:10:16 -04:00
dependabot[bot]
7c042901f7
Bump glob-parent from 5.1.1 to 5.1.2
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-07 14:09:15 -04:00
dependabot[bot]
13f778701e
Bump path-parse from 1.0.6 to 1.0.7
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-07 14:09:04 -04:00
Jonathan Putney
a5f09f6cbd
Version bump
2021-09-07 14:07:13 -04:00
Jonathan Putney
32e3d4fc85
Updating dist packages
2021-09-07 13:59:31 -04:00
Jonathan Putney
d1602bbfe0
Merge branch 'master' into pr/338
2021-09-07 13:58:00 -04:00
Jonathan Putney
3a19efb91c
Fixing an issue with "urn:scormdriver:" values in SCORM 2004 4th edition
2021-09-07 13:45:56 -04:00
Ross Steele
e7249d9869
feat(add-headers):
...
- Adds 2 new settings to BaseAPI, xhrWithCredentials and xhrHeaders.
- xhrWithCredentials is set to false default to make this a non breaking change but will allow people to set this to try to send Domain Cookies
- xhrHeaders gives the ability to add custom headers to the XHR Request to the LMS, allowing additional information to be sent
2021-07-09 08:49:21 +01:00
Jonathan Putney
674bbf051c
Adding NPM badge
2021-05-27 12:11:30 -04:00
Jonathan Putney
25186d870d
[skip ci] - Updating Dist and Docs
2021-05-27 16:02:39 +00:00
Jonathan Putney
e227d6b37a
Updating README for individual API use
2021-05-27 12:01:40 -04:00
Jonathan Putney
099eec0084
Splitting out module files, so each API can be used separately
2021-05-27 11:59:40 -04:00
Jonathan Putney
7847921fac
[skip ci] - Updating Dist and Docs
2021-05-27 15:04:10 +00:00
Jonathan Putney
e0039da6f8
Merge branch 'master' into issue/283
2021-05-27 11:02:44 -04:00
Jonathan Putney
983d750be1
[skip ci] - Updating Dist and Docs
2021-05-27 15:00:43 +00:00
Jonathan Putney
c24f6ef8d1
Merge branch 'master' into master
2021-05-27 10:58:42 -04:00
Jonathan Putney
338d5b107d
Allowing the creation of ValidationErrors with just error codes, but setting the proper message for debugging
2021-05-27 10:56:17 -04:00
Jonathan Putney
fe2e53d858
Merge branch 'master' of https://github.com/dacoho/scorm-again into pr/288
2021-05-27 09:21:38 -04:00
Daniel Cortés
67bf600c52
Throw message for ValidationExceptions
2021-05-27 09:21:17 -04:00
dependabot[bot]
20ac7770fc
Bump browserslist from 4.16.3 to 4.16.6
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-27 09:13:31 -04:00
dependabot[bot]
d399b4b333
Bump hosted-git-info from 2.8.8 to 2.8.9
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-27 09:13:12 -04:00
Jonathan Putney
c84a379738
[skip ci] - Updating Dist and Docs
2021-05-27 13:12:50 +00:00
Jonathan Putney
7b92c65061
1.6.0 build
2021-05-27 09:11:45 -04:00
Jonathan Putney
9a6b8007a3
Dependency updates
2021-05-27 09:11:12 -04:00
Jonathan Putney
954768ec61
GetValue should no longer throw an exception if an error code is returned
...
This was causing issues with JavaScript execution stopping on the exception, preventing further processing in the module. This was especially an issue when the module was trying to get a value that it should have been providing in the first place (looking at you SkillSoft)
2021-05-27 09:11:02 -04:00
Jonathan Putney
ef81884a3b
Merge branch 'master' of https://github.com/jcputney/scorm-again
2021-05-27 08:58:09 -04:00
Jonathan Putney
758ac91000
Catching getValue errors, same as setValue
2021-05-27 08:57:37 -04:00
Thomas Schuiki
656d58281e
resolve #283
2021-05-10 13:59:34 +02:00
Daniel Cortés
1c0dadb30f
Throw message for ValidationExceptions
2021-04-28 20:07:11 +02:00
Jonathan Putney
37fa7fdf5d
Fixing license in package
2021-04-23 09:26:02 -04:00
Jonathan Putney
1a5d8d3241
Only allowing 'not attempted' when CMI has not been initialized
2021-04-19 15:50:35 -04:00
Jonathan Putney
6d1eabc3fc
Updating dependencies, fixing cmi.core.lesson_status for 'not attempted'
2021-04-19 15:38:28 -04:00
Jonathan Putney
f2ed09e9ff
[skip ci] - Updating Dist and Docs
2021-02-23 13:42:14 +00:00
Jonathan Putney
6da30c693d
Dev dependency updates, codeclimate fixes
2021-02-23 08:41:29 -05:00
Jonathan Putney
e52bf85903
Fixing issue with commit callback not being called for scheduled commits
2021-02-20 12:07:41 -05:00
Jonathan Putney
98ee351886
Saving dependency updates
2021-02-13 12:03:32 -05:00
Jonathan Putney
e355f8bb00
Dependency updates
2021-02-13 12:00:22 -05:00
Jonathan Putney
bbd232b5ee
Update dependabot.yml
2021-02-13 11:57:27 -05:00
Jonathan Putney
6a3c15943a
Dependency updates
2021-02-13 11:45:05 -05:00
Jonathan Putney
2c2bd7a66c
[skip ci] - Updating Dist and Docs
2021-02-08 12:51:13 +00:00
Jonathan Putney
50d14ee695
Dependency updates
2021-02-08 07:50:06 -05:00