You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank you for this library. It works well but I encountered a small problem with the AbortController when sending update queries. It's working when executed with Node, but the 'fetchUpdate' function has an error when it's bundled (with browserify or React).
JavaScript project
fetch-sparql-endpoint v2.3.2
abort-controller v3.0.0
Here is the problem in the browser:
constabort_controller_1=require("abort-controller");asyncfetchUpdate(endpoint,query){constabortController=newabort_controller_1.AbortController();// TypeError: abort_controller_1.AbortController is not a constructorconstinit={method: 'POST',headers: {'content-type': 'application/sparql-update',},body: query,signal: abortController.signal,};awaitthis.handleFetchCall(endpoint,init,{ignoreBody: true});abortController.abort();}
Hi Ruben,
thank you for this library. It works well but I encountered a small problem with the AbortController when sending update queries. It's working when executed with Node, but the 'fetchUpdate' function has an error when it's bundled (with browserify or React).
Here is the problem in the browser:
A quick workaround was:
The text was updated successfully, but these errors were encountered: