324 Commits

Author SHA1 Message Date
dd3381fb72 correctif double initialisation scorm 2025-11-17 14:32:15 -05:00
3a8ff2db5a fix scorm iqpf with double initialize 2024-09-30 15:31:45 -04:00
b9d58c33e7 79871 - scorm tried initializing twice 2024-09-10 16:11:03 -04:00
605f479663 79871 - scorm tried initializing twice 2024-09-10 16:00:56 -04:00
fb18690c44 fix keepalive setting 2023-03-03 11:32:56 -05:00
7d5da3bd78 configure fetchKeepalive 2023-03-03 10:28:52 -05:00
27fffa96ad fix regex 2023-02-23 09:54:45 -05:00
35c2905010 fix regex 2023-02-23 09:38:37 -05:00
104f83d892 fix package.json 2023-02-22 01:19:27 -05:00
902b988e02 fix package.json 2023-02-22 01:17:18 -05:00
ccdff1c7b9 remove char limits 2023-02-22 00:56:56 -05:00
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