JsStore Constructor Uncaught TypeError

mrcodesmrcodes Posts: 99

Hello guys, so I have an error on my console when importing and calling the JsStore library object.

importScripts('https://cdn.jsdelivr.net/npm/[email protected]/dist/jsstore.min.js');
importScripts('https://cdn.jsdelivr.net/npm/[email protected]/dist/jsstore.worker.min.js');

var connection = new JsStore.Connection();


This gives a console error as follows

Uncaught TypeError: JsStore is not a constructor


Sign In or Register to comment.