Jonathan Putney
ae7db3ae3d
Dependency updates
2022-08-09 14:00:45 -04:00
Jonathan Putney
6d1d2861a6
Starting work on 2.0.0
2022-06-22 22:05:10 -04:00
Jonathan Putney
8dd28cf0c8
Merge branch 'master' into pr/458
2022-06-22 21:51:04 -04:00
Jonathan Putney
ba787c0e50
Dependency and dist updates
2022-06-22 21:42:28 -04:00
Jonathan Putney
f224d244cf
[skip ci] - Updating Dist and Docs
2022-04-14 18:06:36 +00:00
Jonathan Putney
7c84f5e84c
Dependency updates
2022-04-14 14:05:34 -04:00
Rubén Herrero
b5c21ea86f
Use fetch with keepalive: true instead of navigator.sendBeacon
...
This allows customizing the headers of the request. It has the same
semantics as `navigator.sendBeacon` and it's the recommended alternative
to `sendBeacon` for customizing the request:
https://www.w3.org/TR/beacon/#introduction
This commit also fixes `settings.requestHandler` not being called when
using `settings.sendBeaconCommit`.
2022-02-16 11:37:26 +01:00
Jonathan Putney
3aec87829a
Yarn is already installed in CircleCI
2022-02-11 08:47:07 -05:00
Jonathan Putney
e9b59e474d
Trying to fix CI build
2022-02-11 08:46:11 -05:00
dependabot[bot]
09b7f07652
Bump cached-path-relative from 1.0.2 to 1.1.0
...
Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative ) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/ashaffer/cached-path-relative/releases )
- [Commits](https://github.com/ashaffer/cached-path-relative/commits )
---
updated-dependencies:
- dependency-name: cached-path-relative
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-11 08:43:28 -05:00
dependabot[bot]
8b1c93b72f
Bump ansi-regex from 5.0.0 to 5.0.1
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-11 08:43:19 -05:00
Jonathan Putney
c6995368d1
Version bump to 1.7.0
2022-02-11 08:41:32 -05:00
Jonathan Putney
a91b608c11
Switching from grunt to webpack for compilation, minify wasn't working
2022-02-11 08:41:08 -05:00
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