grexxconnect-ess 1.2.2 → 1.3.2
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/client.js +0 -0
- package/index.js +7 -5
- package/package.json +25 -25
package/client.js
CHANGED
|
File without changes
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (C) 2014-
|
|
2
|
+
* Copyright (C) 2014-2023 Grexx - All Rights Reserved
|
|
3
3
|
* Unauthorized copying of this file, via any medium is strictly prohibited
|
|
4
4
|
* Proprietary and confidential
|
|
5
5
|
*/
|
|
@@ -37,9 +37,11 @@ class EssConnect extends EventEmitter {
|
|
|
37
37
|
content: content,
|
|
38
38
|
timestamp: Date.now()
|
|
39
39
|
}));
|
|
40
|
-
|
|
40
|
+
resolve();
|
|
41
|
+
return;
|
|
41
42
|
} catch (error) {
|
|
42
|
-
|
|
43
|
+
reject(error);
|
|
44
|
+
return;
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
|
|
@@ -51,7 +53,7 @@ class EssConnect extends EventEmitter {
|
|
|
51
53
|
_waitQueue[essCorrelationId] = () => {
|
|
52
54
|
clearTimeout(exceededTimeout);
|
|
53
55
|
ws.debug(`ack response received from server`);
|
|
54
|
-
|
|
56
|
+
resolve('Ack response received from server');
|
|
55
57
|
};
|
|
56
58
|
|
|
57
59
|
ws.send(JSON.stringify({
|
|
@@ -60,7 +62,7 @@ class EssConnect extends EventEmitter {
|
|
|
60
62
|
timestamp: Date.now()
|
|
61
63
|
}), (error) => {
|
|
62
64
|
if (error) {
|
|
63
|
-
|
|
65
|
+
reject(error);
|
|
64
66
|
}
|
|
65
67
|
});
|
|
66
68
|
});
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name" : "grexxconnect-ess",
|
|
3
|
-
"author" : "Grexx <info@grexxboxx.com>",
|
|
4
|
-
"description" : "Grexx Connect - External System Service Helper",
|
|
5
|
-
"version" : "1.
|
|
6
|
-
"types" : "./schema/index.d.ts",
|
|
7
|
-
"contributors" : [
|
|
8
|
-
{
|
|
9
|
-
"name" : "Jeffrey van Norden",
|
|
10
|
-
"email": "jeffrey@grexx.net"
|
|
11
|
-
}
|
|
12
|
-
],
|
|
13
|
-
"dependencies" : {
|
|
14
|
-
"colors": "1.4",
|
|
15
|
-
"ws" : "
|
|
16
|
-
},
|
|
17
|
-
"optionalDependencies": {
|
|
18
|
-
"utf-8-validate": "
|
|
19
|
-
"bufferutil" : "4.
|
|
20
|
-
},
|
|
21
|
-
"license" : "MIT",
|
|
22
|
-
"engines" : {
|
|
23
|
-
"node": ">=
|
|
24
|
-
}
|
|
25
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name" : "grexxconnect-ess",
|
|
3
|
+
"author" : "Grexx <info@grexxboxx.com>",
|
|
4
|
+
"description" : "Grexx Connect - External System Service Helper",
|
|
5
|
+
"version" : "1.3.2",
|
|
6
|
+
"types" : "./schema/index.d.ts",
|
|
7
|
+
"contributors" : [
|
|
8
|
+
{
|
|
9
|
+
"name" : "Jeffrey van Norden",
|
|
10
|
+
"email": "jeffrey@grexx.net"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"dependencies" : {
|
|
14
|
+
"colors": "1.4",
|
|
15
|
+
"ws" : "8.22"
|
|
16
|
+
},
|
|
17
|
+
"optionalDependencies": {
|
|
18
|
+
"utf-8-validate": "6.0",
|
|
19
|
+
"bufferutil" : "4.1"
|
|
20
|
+
},
|
|
21
|
+
"license" : "MIT",
|
|
22
|
+
"engines" : {
|
|
23
|
+
"node": ">=20"
|
|
24
|
+
}
|
|
25
|
+
}
|