@nightlylabs/dex-sdk 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -544,8 +544,9 @@ var Client = class _Client {
|
|
|
544
544
|
this.timeout = 5e3;
|
|
545
545
|
// GETTERS
|
|
546
546
|
this.sendGetJson = async (endpoint, message) => {
|
|
547
|
-
let URL = "http://" + this._serverUrl + endpoint
|
|
547
|
+
let URL = "http://" + this._serverUrl + endpoint;
|
|
548
548
|
if (message) {
|
|
549
|
+
URL = URL + "?";
|
|
549
550
|
for (const key of Object.keys(message)) {
|
|
550
551
|
if (Array.isArray(message[key])) {
|
|
551
552
|
message[key].forEach((value) => {
|
package/dist/index.js
CHANGED
|
@@ -488,8 +488,9 @@ var Client = class _Client {
|
|
|
488
488
|
this.timeout = 5e3;
|
|
489
489
|
// GETTERS
|
|
490
490
|
this.sendGetJson = async (endpoint, message) => {
|
|
491
|
-
let URL = "http://" + this._serverUrl + endpoint
|
|
491
|
+
let URL = "http://" + this._serverUrl + endpoint;
|
|
492
492
|
if (message) {
|
|
493
|
+
URL = URL + "?";
|
|
493
494
|
for (const key of Object.keys(message)) {
|
|
494
495
|
if (Array.isArray(message[key])) {
|
|
495
496
|
message[key].forEach((value) => {
|