infinispan / js-client

Javascript client for Infinispan, over the Hot Rod wire protocol
https://infinispan.org/docs/hotrod-clients/js/latest/js_client.html
Apache License 2.0
15 stars 28 forks source link

JDG-5557 - Fixing queryCache example #98

Closed fabriziosta closed 2 years ago

fabriziosta commented 2 years ago

ECMAScript 6 introduced the "let" statement, which should become the final specification.

Also, the PLAIN auth mechanism is not supported any more by Infinispan, is it?

https://issues.redhat.com/browse/JDG-5557

rigazilla commented 2 years ago

@fabriziosta I've added a commit with a fix and a code improvement: moved clients vars at function level so they can be declared where they are used). If it's ok to you I can merge this

fabriziosta commented 2 years ago

@rigazilla it's perfect, thank you very much!

rigazilla commented 2 years ago

merged, thanks @fabriziosta !