cgkineo / adapt-xAPI

An extension to utilise The Experience API (xAPI) to collect data on human performance, stored within a suitable Learning Record Store (LRS).
GNU General Public License v3.0
2 stars 1 forks source link

fetch-polyfill `init` error #19

Closed danielghost closed 6 months ago

danielghost commented 2 years ago

Some defensive coding is needed for https://github.com/cgkineo/adapt-xAPI/blob/master/libraries/fetch-polyfill.js#L456 to prevent fetch calls which don't make use of the init object from causing an error:

var isAsync = !((init && init.keepalive) || false);
github-actions[bot] commented 6 months ago

:tada: This issue has been resolved in version 2.1.4 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: