When using the js demo implementation => Uncaught (in promise) TypeError: Torus is not a constructor

Hi All

today i noticed that the simple HTML Demo (Integration Builder | Documentation) is not more working.

In the JS Debugger i see:

any suggestions?

Cheers
Stefan

The problem is that tor.us has deployed a major release!

Due to that reason

  • const torus = new Torus();

has to be changed to

  • const torus = new Torus.default();

see (Uncaught TypeError: Torus is not a constructor · Issue #557 · torusresearch/torus-embed · GitHub)

The problem is that the documentation e.g.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.