@aj-shadow/z-abs-corelayer-cs 0.0.0-aj-beta.227 → 0.0.0-aj-beta.236

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.
Files changed (52) hide show
  1. package/npm-shrinkwrap.json +3 -3
  2. package/package.json +2 -2
  3. package/project/clientServer/_build/Bundle-CoreLayer-cs.bld +8 -12
  4. package/project/clientServer/_build/Client-CoreLayer-cs.bld +1 -1
  5. package/project/clientServer/_build/Server-CoreLayer-cs.bld +1 -1
  6. package/project/clientServer/cache/cache-array.js +6 -1
  7. package/project/clientServer/cache/cache-map.js +6 -1
  8. package/project/clientServer/cache/cache-set.js +6 -1
  9. package/project/clientServer/communication/action-request.js +11 -1
  10. package/project/clientServer/communication/action-response-error.js +6 -1
  11. package/project/clientServer/communication/action-response-success.js +6 -1
  12. package/project/clientServer/communication/app-protocol/app-deserializer.js +6 -1
  13. package/project/clientServer/communication/app-protocol/app-serializer.js +6 -1
  14. package/project/clientServer/communication/cache/text-cache.js +6 -2
  15. package/project/clientServer/communication/core-protocol/core-message.js +6 -1
  16. package/project/clientServer/communication/core-protocol/core-protocol-const.js +6 -1
  17. package/project/clientServer/communication/core-protocol/deserializer-message-persistent-init-request.js +6 -1
  18. package/project/clientServer/communication/core-protocol/deserializer-message-persistent-init-response.js +6 -1
  19. package/project/clientServer/communication/core-protocol/deserializer-message-request.js +6 -1
  20. package/project/clientServer/communication/core-protocol/deserializer-message-response.js +6 -1
  21. package/project/clientServer/communication/core-protocol/deserializer-message-service-init-request.js +6 -1
  22. package/project/clientServer/communication/core-protocol/deserializer-message-service-init-response.js +6 -1
  23. package/project/clientServer/communication/core-protocol/deserializer.js +12 -1
  24. package/project/clientServer/communication/core-protocol/encoder-const.js +6 -1
  25. package/project/clientServer/communication/core-protocol/encoder-giud.js +6 -1
  26. package/project/clientServer/communication/core-protocol/envelope.js +6 -1
  27. package/project/clientServer/communication/core-protocol/serializer-message-persistent-init-request.js +6 -1
  28. package/project/clientServer/communication/core-protocol/serializer-message-persistent-init-response.js +6 -1
  29. package/project/clientServer/communication/core-protocol/serializer-message-request.js +11 -1
  30. package/project/clientServer/communication/core-protocol/serializer-message-response.js +11 -1
  31. package/project/clientServer/communication/core-protocol/serializer-message-service-init-request.js +11 -2
  32. package/project/clientServer/communication/core-protocol/serializer-message-service-init-response.js +6 -1
  33. package/project/clientServer/communication/core-protocol/serializer.js +18 -3
  34. package/project/clientServer/communication/response-data.js +9 -3
  35. package/project/clientServer/communication/service-action.js +12 -1
  36. package/project/clientServer/debug-dashboard/garbage-collection.js +3 -3
  37. package/project/clientServer/debug-dashboard/log.js +139 -136
  38. package/project/clientServer/debug-dashboard/memory.js +13 -5
  39. package/project/clientServer/factory/factory-function.js +6 -2
  40. package/project/clientServer/factory/factory-new.js +6 -2
  41. package/project/clientServer/guid-generator.js +6 -1
  42. package/project/clientServer/{project.js → lib.js} +27 -15
  43. package/project/clientServer/memory/memory-cache-array.js +6 -1
  44. package/project/clientServer/memory/memory-cache-map.js +6 -1
  45. package/project/clientServer/memory/memory-cache-object.js +14 -4
  46. package/project/clientServer/memory/memory-cache-set.js +6 -1
  47. package/project/clientServer/memory/memory-pool.js +12 -1
  48. package/project/clientServer/synchronization/mutex-local-callback.js +8 -2
  49. package/project/clientServer/time/high-resolution-date.js +7 -1
  50. package/project/clientServer/time/high-resolution-duration.js +6 -1
  51. package/project/z-abs-corelayer-cs.tree +1 -1
  52. package/LICENSE.txt +0 -96
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@aj-shadow/z-abs-corelayer-cs",
3
- "version": "0.0.0-aj-beta.227",
3
+ "version": "0.0.0-aj-beta.236",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@aj-shadow/z-abs-corelayer-cs",
9
- "version": "0.0.0-aj-beta.227",
10
- "license": "SEE LICENSE IN LICENSE.txt"
9
+ "version": "0.0.0-aj-beta.236",
10
+ "license": "MIT"
11
11
  }
12
12
  }
13
13
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aj-shadow/z-abs-corelayer-cs",
3
- "version": "0.0.0-aj-beta.227",
3
+ "version": "0.0.0-aj-beta.236",
4
4
  "release-step": "delivery",
5
5
  "description": "Library used by @actorjs/actorjs",
6
6
  "author": "ActorJs",
7
- "license": "SEE LICENSE IN LICENSE.txt",
7
+ "license": "MIT",
8
8
  "repository": "https://gitlab.com/actorjs-shadow-delivery-public/z-abs-corelayer-cs.git",
9
9
  "dependencies": {}
10
10
  }
@@ -2,8 +2,8 @@
2
2
  "layer": "Core",
3
3
  "part": "cs",
4
4
  "source": {
5
- "path": "./build/z-abs-corelayer-cs/clientServer",
6
- "filters": ["js"]
5
+ "path": "./build/z-abs-corelayer-cs/client",
6
+ "filters": ["js"]
7
7
  },
8
8
  "dest": "./dist/scripts",
9
9
  "_bundle": true,
@@ -11,15 +11,11 @@
11
11
  "cli-color",
12
12
  "path"
13
13
  ],
14
- "externals": [
15
- "os",
16
- "_process"
14
+ "dictionary": [],
15
+ "exports": [],
16
+ "dependencies": [
17
+ ["z-abs-corelayer-cs", "cs"],
18
+ ["z-abs-3pplayer-nodejs-client", "client"]
17
19
  ],
18
- "externalGlobs": null,
19
- "exports": null,
20
- "exportSource": true,
21
- "dependencyNames": [
22
- "Client:CoreLayer/cs",
23
- "Client:3ppLayer/Nodejs-client"
24
- ]
20
+ "allowRequire": false
25
21
  }
@@ -5,6 +5,6 @@
5
5
  "path": "./project/clientServer",
6
6
  "filters": ["js"]
7
7
  },
8
- "dest": "./build/z-abs-corelayer-cs/clientServer",
8
+ "dest": "./build/z-abs-corelayer-cs/client",
9
9
  "dependencyNames": []
10
10
  }
@@ -5,7 +5,7 @@
5
5
  "path": "./project/clientServer",
6
6
  "filters": ["js"]
7
7
  },
8
- "dest": "./dist/Layers/z-abs-corelayer-cs/clientServer",
8
+ "dest": "./dist/Layers/z-abs-corelayer-cs/server",
9
9
  "replaceCondition": null,
10
10
  "replaceHandle": null,
11
11
  "dependencyNames": []
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class CacheArray {
@@ -35,4 +35,9 @@ class CacheArray {
35
35
  }
36
36
 
37
37
 
38
+ #BUILD_SERVER_START
38
39
  module.exports = CacheArray;
40
+ #BUILD_SERVER_STOP
41
+ #BUILD_CLIENT_START
42
+ export { CacheArray };
43
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class CacheMap {
@@ -23,4 +23,9 @@ class CacheMap {
23
23
  }
24
24
 
25
25
 
26
+ #BUILD_SERVER_START
26
27
  module.exports = CacheMap;
28
+ #BUILD_SERVER_STOP
29
+ #BUILD_CLIENT_START
30
+ export { CacheMap };
31
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class CacheSet {
@@ -21,4 +21,9 @@ class CacheSet {
21
21
  }
22
22
 
23
23
 
24
+ #BUILD_SERVER_START
24
25
  module.exports = CacheSet;
26
+ #BUILD_SERVER_STOP
27
+ #BUILD_CLIENT_START
28
+ export { CacheSet };
29
+ #BUILD_CLIENT_STOP
@@ -1,7 +1,12 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
+ #BUILD_SERVER_START
4
5
  const CoreProtocolConst = require('./core-protocol/core-protocol-const');
6
+ #BUILD_SERVER_STOP
7
+ #BUILD_CLIENT_START
8
+ import { CoreProtocolConst } from './core-protocol/core-protocol-const';
9
+ #BUILD_CLIENT_STOP
5
10
 
6
11
 
7
12
  class ActionRequest {
@@ -31,4 +36,9 @@ class ActionRequest {
31
36
  }
32
37
 
33
38
 
39
+ #BUILD_SERVER_START
34
40
  module.exports = ActionRequest;
41
+ #BUILD_SERVER_STOP
42
+ #BUILD_CLIENT_START
43
+ export { ActionRequest };
44
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class ActionResponseError {
@@ -15,4 +15,9 @@ class ActionResponseError {
15
15
  }
16
16
 
17
17
 
18
+ #BUILD_SERVER_START
18
19
  module.exports = ActionResponseError;
20
+ #BUILD_SERVER_STOP
21
+ #BUILD_CLIENT_START
22
+ export { ActionResponseError };
23
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class ActionResponseSuccess {
@@ -15,4 +15,9 @@ class ActionResponseSuccess {
15
15
  }
16
16
 
17
17
 
18
+ #BUILD_SERVER_START
18
19
  module.exports = ActionResponseSuccess;
20
+ #BUILD_SERVER_STOP
21
+ #BUILD_CLIENT_START
22
+ export { ActionResponseSuccess };
23
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class AppDeserializer {
@@ -71,4 +71,9 @@ class AppDeserializer {
71
71
  }
72
72
 
73
73
 
74
+ #BUILD_SERVER_START
74
75
  module.exports = AppDeserializer;
76
+ #BUILD_SERVER_STOP
77
+ #BUILD_CLIENT_START
78
+ export { AppDeserializer };
79
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class AppSerializer {
@@ -52,4 +52,9 @@ class AppSerializer {
52
52
  }
53
53
 
54
54
 
55
+ #BUILD_SERVER_START
55
56
  module.exports = AppSerializer;
57
+ #BUILD_SERVER_STOP
58
+ #BUILD_CLIENT_START
59
+ export { AppSerializer };
60
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class TextCache {
@@ -73,5 +73,9 @@ class TextCache {
73
73
  }
74
74
  }
75
75
 
76
-
76
+ #BUILD_SERVER_START
77
77
  module.exports = TextCache;
78
+ #BUILD_SERVER_STOP
79
+ #BUILD_CLIENT_START
80
+ export { TextCache };
81
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class CoreMessage {
@@ -19,4 +19,9 @@ class CoreMessage {
19
19
  }
20
20
 
21
21
 
22
+ #BUILD_SERVER_START
22
23
  module.exports = CoreMessage;
24
+ #BUILD_SERVER_STOP
25
+ #BUILD_CLIENT_START
26
+ export { CoreMessage };
27
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class CoreProtocolConst {
@@ -18,4 +18,9 @@ class CoreProtocolConst {
18
18
  }
19
19
 
20
20
 
21
+ #BUILD_SERVER_START
21
22
  module.exports = CoreProtocolConst;
23
+ #BUILD_SERVER_STOP
24
+ #BUILD_CLIENT_START
25
+ export { CoreProtocolConst };
26
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class DeserializerMessagePersistentInitRequest {
@@ -9,4 +9,9 @@ class DeserializerMessagePersistentInitRequest {
9
9
  }
10
10
 
11
11
 
12
+ #BUILD_SERVER_START
12
13
  module.exports = DeserializerMessagePersistentInitRequest;
14
+ #BUILD_SERVER_STOP
15
+ #BUILD_CLIENT_START
16
+ export { DeserializerMessagePersistentInitRequest };
17
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class DeserializerMessagePersistentInitResponse {
@@ -9,4 +9,9 @@ class DeserializerMessagePersistentInitResponse {
9
9
  }
10
10
 
11
11
 
12
+ #BUILD_SERVER_START
12
13
  module.exports = DeserializerMessagePersistentInitResponse;
14
+ #BUILD_SERVER_STOP
15
+ #BUILD_CLIENT_START
16
+ export { DeserializerMessagePersistentInitResponse };
17
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class DeserializerMessageRequest {
@@ -42,4 +42,9 @@ class DeserializerMessageRequest {
42
42
  }
43
43
 
44
44
 
45
+ #BUILD_SERVER_START
45
46
  module.exports = DeserializerMessageRequest;
47
+ #BUILD_SERVER_STOP
48
+ #BUILD_CLIENT_START
49
+ export { DeserializerMessageRequest };
50
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class DeserializerMessageResponse {
@@ -60,4 +60,9 @@ class DeserializerMessageResponse {
60
60
  }
61
61
 
62
62
 
63
+ #BUILD_SERVER_START
63
64
  module.exports = DeserializerMessageResponse;
65
+ #BUILD_SERVER_STOP
66
+ #BUILD_CLIENT_START
67
+ export { DeserializerMessageResponse };
68
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class DeserializerMessageServiceInitRequest {
@@ -21,4 +21,9 @@ class DeserializerMessageServiceInitRequest {
21
21
  }
22
22
 
23
23
 
24
+ #BUILD_SERVER_START
24
25
  module.exports = DeserializerMessageServiceInitRequest;
26
+ #BUILD_SERVER_STOP
27
+ #BUILD_CLIENT_START
28
+ export { DeserializerMessageServiceInitRequest };
29
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class DeserializerMessageServiceInitResponse {
@@ -13,4 +13,9 @@ class DeserializerMessageServiceInitResponse {
13
13
  }
14
14
 
15
15
 
16
+ #BUILD_SERVER_START
16
17
  module.exports = DeserializerMessageServiceInitResponse;
18
+ #BUILD_SERVER_STOP
19
+ #BUILD_CLIENT_START
20
+ export { DeserializerMessageServiceInitResponse };
21
+ #BUILD_CLIENT_STOP
@@ -1,8 +1,14 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
+ #BUILD_SERVER_START
4
5
  const CoreMessage = require('./core-message');
5
6
  const Envelope = require('./envelope');
7
+ #BUILD_SERVER_STOP
8
+ #BUILD_CLIENT_START
9
+ import { CoreMessage } from './core-message';
10
+ import { Envelope } from './envelope';
11
+ #BUILD_CLIENT_STOP
6
12
 
7
13
 
8
14
  class Deserializer {
@@ -346,4 +352,9 @@ class Deserializer {
346
352
  }
347
353
 
348
354
 
355
+ #BUILD_SERVER_START
349
356
  module.exports = Deserializer;
357
+ #BUILD_SERVER_STOP
358
+ #BUILD_CLIENT_START
359
+ export { Deserializer };
360
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class EncoderConst {
@@ -18,4 +18,9 @@ class EncoderConst {
18
18
  }
19
19
 
20
20
 
21
+ #BUILD_SERVER_START
21
22
  module.exports = EncoderConst;
23
+ #BUILD_SERVER_STOP
24
+ #BUILD_CLIENT_START
25
+ export { EncoderConst };
26
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class EncoderGiud {
@@ -21,4 +21,9 @@ class EncoderGiud {
21
21
  }
22
22
 
23
23
 
24
+ #BUILD_SERVER_START
24
25
  module.exports = EncoderGiud;
26
+ #BUILD_SERVER_STOP
27
+ #BUILD_CLIENT_START
28
+ export { EncoderGiud };
29
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class Envelope {
@@ -36,4 +36,9 @@ class Envelope {
36
36
  }
37
37
 
38
38
 
39
+ #BUILD_SERVER_START
39
40
  module.exports = Envelope;
41
+ #BUILD_SERVER_STOP
42
+ #BUILD_CLIENT_START
43
+ export { Envelope };
44
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class SerializerMessagePersistentInitRequest {
@@ -30,4 +30,9 @@ class SerializerMessagePersistentInitRequest {
30
30
  }
31
31
 
32
32
 
33
+ #BUILD_SERVER_START
33
34
  module.exports = SerializerMessagePersistentInitRequest;
35
+ #BUILD_SERVER_STOP
36
+ #BUILD_CLIENT_START
37
+ export { SerializerMessagePersistentInitRequest };
38
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class SerializerMessagePersistentInitResponse {
@@ -9,4 +9,9 @@ class SerializerMessagePersistentInitResponse {
9
9
  }
10
10
 
11
11
 
12
+ #BUILD_SERVER_START
12
13
  module.exports = SerializerMessagePersistentInitResponse;
14
+ #BUILD_SERVER_STOP
15
+ #BUILD_CLIENT_START
16
+ export { SerializerMessagePersistentInitResponse };
17
+ #BUILD_CLIENT_STOP
@@ -1,7 +1,12 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
+ #BUILD_SERVER_START
4
5
  const EncoderConst = require('./encoder-const');
6
+ #BUILD_SERVER_STOP
7
+ #BUILD_CLIENT_START
8
+ import { EncoderConst } from './encoder-const';
9
+ #BUILD_CLIENT_STOP
5
10
 
6
11
 
7
12
  class SerializerMessageRequest {
@@ -81,4 +86,9 @@ class SerializerMessageRequest {
81
86
  }
82
87
 
83
88
 
89
+ #BUILD_SERVER_START
84
90
  module.exports = SerializerMessageRequest;
91
+ #BUILD_SERVER_STOP
92
+ #BUILD_CLIENT_START
93
+ export { SerializerMessageRequest };
94
+ #BUILD_CLIENT_STOP
@@ -1,7 +1,12 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
+ #BUILD_SERVER_START
4
5
  const EncoderConst = require('./encoder-const');
6
+ #BUILD_SERVER_STOP
7
+ #BUILD_CLIENT_START
8
+ import { EncoderConst } from './encoder-const';
9
+ #BUILD_CLIENT_STOP
5
10
 
6
11
 
7
12
  class SerializerMessageResponse {
@@ -87,4 +92,9 @@ class SerializerMessageResponse {
87
92
  }
88
93
 
89
94
 
95
+ #BUILD_SERVER_START
90
96
  module.exports = SerializerMessageResponse;
97
+ #BUILD_SERVER_STOP
98
+ #BUILD_CLIENT_START
99
+ export { SerializerMessageResponse };
100
+ #BUILD_CLIENT_STOP
@@ -1,7 +1,12 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
+ #BUILD_SERVER_START
4
5
  const EncoderConst = require('./encoder-const');
6
+ #BUILD_SERVER_STOP
7
+ #BUILD_CLIENT_START
8
+ import { EncoderConst } from './encoder-const';
9
+ #BUILD_CLIENT_STOP
5
10
 
6
11
 
7
12
  class SerializerMessageServiceInitRequest {
@@ -31,5 +36,9 @@ class SerializerMessageServiceInitRequest {
31
36
  }
32
37
  }
33
38
 
34
-
39
+ #BUILD_SERVER_START
35
40
  module.exports = SerializerMessageServiceInitRequest;
41
+ #BUILD_SERVER_STOP
42
+ #BUILD_CLIENT_START
43
+ export { SerializerMessageServiceInitRequest };
44
+ #BUILD_CLIENT_STOP
@@ -1,5 +1,5 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
4
 
5
5
  class SerializerMessageServiceInitResponse {
@@ -26,4 +26,9 @@ class SerializerMessageServiceInitResponse {
26
26
  }
27
27
 
28
28
 
29
+ #BUILD_SERVER_START
29
30
  module.exports = SerializerMessageServiceInitResponse;
31
+ #BUILD_SERVER_STOP
32
+ #BUILD_CLIENT_START
33
+ export { SerializerMessageServiceInitResponse };
34
+ #BUILD_CLIENT_STOP
@@ -1,6 +1,7 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
+ #BUILD_SERVER_START
4
5
  const CoreMessage = require('./core-message');
5
6
  const EncoderConst = require('./encoder-const');
6
7
  const SerializerMessageRequest = require('./serializer-message-request');
@@ -9,6 +10,17 @@ const SerializerMessageServiceInitRequest = require('./serializer-message-servic
9
10
  const CoreProtocolConst = require('./core-protocol-const');
10
11
  const AppSerializer = require('../app-protocol/app-serializer');
11
12
  const TextCache = require('../cache/text-cache');
13
+ #BUILD_SERVER_STOP
14
+ #BUILD_CLIENT_START
15
+ import { CoreMessage } from './core-message';
16
+ import { EncoderConst } from './encoder-const';
17
+ import { SerializerMessageRequest } from './serializer-message-request';
18
+ import { SerializerMessageResponse } from './serializer-message-response';
19
+ import { SerializerMessageServiceInitRequest } from './serializer-message-service-init-request';
20
+ import { CoreProtocolConst } from './core-protocol-const';
21
+ import { AppSerializer } from '../app-protocol/app-serializer';
22
+ import { TextCache } from '../cache/text-cache';
23
+ #BUILD_CLIENT_STOP
12
24
 
13
25
 
14
26
  // 0 1 2 3
@@ -52,12 +64,10 @@ class Serializer {
52
64
  }
53
65
 
54
66
  do(msg, dataBuffers, envelope) {
55
- //console.log('SERIALIZE:', msg.msgId);
56
67
  const buffers = [];
57
68
  try {
58
69
  const msgId = msg.msgId ? ('number' === typeof msg.msgId ? msg.msgId : 0) : 0;
59
70
  this._do(buffers, envelope, msg, dataBuffers, msgId);
60
- //console.log('SERIALIZE - DONE', buffers);
61
71
  return buffers;
62
72
  }
63
73
  catch(err) {
@@ -185,4 +195,9 @@ class Serializer {
185
195
  }
186
196
 
187
197
 
198
+ #BUILD_SERVER_START
188
199
  module.exports = Serializer;
200
+ #BUILD_SERVER_STOP
201
+ #BUILD_CLIENT_START
202
+ export { Serializer };
203
+ #BUILD_CLIENT_STOP
@@ -1,7 +1,8 @@
1
1
 
2
- 'use strict';
2
+ // SPDX-License-Identifier: MIT; Copyright (c) 2026 Hagnell Konsulting AB
3
3
 
4
- class ActionData {
4
+
5
+ class ResponseData {
5
6
  constructor(result, data) {
6
7
  this.result = result;
7
8
  this.data = data;
@@ -13,4 +14,9 @@ class ActionData {
13
14
  }
14
15
 
15
16
 
16
- module.exports = ActionData;
17
+ #BUILD_SERVER_START
18
+ module.exports = ResponseData;
19
+ #BUILD_SERVER_STOP
20
+ #BUILD_CLIENT_START
21
+ export { ResponseData };
22
+ #BUILD_CLIENT_STOP