@social-mail/social-mail-web-server 1.9.80 → 1.9.82

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.9.80",
3
+ "version": "1.9.82",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -30,6 +30,9 @@ export default class JsonClient {
30
30
  line += text;
31
31
  }
32
32
  this.socket.write(`${line}\n`, (error) => error && console.error(error));
33
+ if (log) {
34
+ console.log(line);
35
+ }
33
36
  const v: any = await p;
34
37
  if(v?.value) {
35
38
  this.resolveReferences(v, new Map());
@@ -176,7 +179,7 @@ export default class JsonClient {
176
179
  let buffer = null as Buffer;
177
180
  s.on("data", (d) => {
178
181
  try {
179
- // console.log(d.toString("utf-8"));
182
+ console.log(d.toString("utf-8"));
180
183
  for(;;) {
181
184
  const i = d.indexOf(n);
182
185
  if (i === -1) {