@litert/televoke 0.4.11 → 0.4.13

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 (87) hide show
  1. package/CHANGES.md +8 -0
  2. package/lib/Client/Common.d.ts +1 -1
  3. package/lib/Client/Common.js +1 -1
  4. package/lib/Client/Errors.d.ts +1 -1
  5. package/lib/Client/Errors.js +1 -1
  6. package/lib/Client/HttpClient.d.ts +1 -1
  7. package/lib/Client/HttpClient.js +1 -1
  8. package/lib/Client/HttpsClient.d.ts +1 -1
  9. package/lib/Client/HttpsClient.js +1 -1
  10. package/lib/Client/TCPClient.d.ts +1 -1
  11. package/lib/Client/TCPClient.js +1 -1
  12. package/lib/Client/TLSClient.d.ts +1 -1
  13. package/lib/Client/TLSClient.js +1 -1
  14. package/lib/Client/index.d.ts +1 -1
  15. package/lib/Client/index.js +1 -1
  16. package/lib/Common/API.d.ts +1 -1
  17. package/lib/Common/API.js +1 -1
  18. package/lib/Common/Encoding.d.ts +1 -1
  19. package/lib/Common/Encoding.js +1 -1
  20. package/lib/Common/Request.d.ts +1 -1
  21. package/lib/Common/Request.js +1 -1
  22. package/lib/Common/Response.d.ts +1 -1
  23. package/lib/Common/Response.js +1 -1
  24. package/lib/Common/index.d.ts +1 -1
  25. package/lib/Common/index.js +1 -1
  26. package/lib/Encoder/Decoder.d.ts +1 -1
  27. package/lib/Encoder/Decoder.js +1 -1
  28. package/lib/Encoder/Encoder.d.ts +1 -1
  29. package/lib/Encoder/Encoder.js +1 -1
  30. package/lib/Encoder/Errors.d.ts +1 -1
  31. package/lib/Encoder/Errors.js +1 -1
  32. package/lib/Errors.d.ts +1 -1
  33. package/lib/Errors.js +1 -1
  34. package/lib/Server/Common/Gateway.d.ts +1 -1
  35. package/lib/Server/Common/Gateway.js +1 -1
  36. package/lib/Server/Common/Request.d.ts +1 -1
  37. package/lib/Server/Common/Request.js +1 -1
  38. package/lib/Server/Common/Router.d.ts +1 -1
  39. package/lib/Server/Common/Router.js +1 -1
  40. package/lib/Server/Common/Server.d.ts +1 -1
  41. package/lib/Server/Common/Server.js +1 -1
  42. package/lib/Server/Common/index.d.ts +1 -1
  43. package/lib/Server/Common/index.js +1 -1
  44. package/lib/Server/Errors.d.ts +1 -1
  45. package/lib/Server/Errors.js +1 -1
  46. package/lib/Server/Gateways/Http.d.ts +1 -1
  47. package/lib/Server/Gateways/Http.js +2 -2
  48. package/lib/Server/Gateways/Http.js.map +1 -1
  49. package/lib/Server/Gateways/TCP.d.ts +1 -1
  50. package/lib/Server/Gateways/TCP.js +1 -1
  51. package/lib/Server/Server.d.ts +1 -1
  52. package/lib/Server/Server.js +1 -1
  53. package/lib/Server/SimpleRouter.d.ts +1 -1
  54. package/lib/Server/SimpleRouter.js +1 -1
  55. package/lib/Server/index.d.ts +1 -1
  56. package/lib/Server/index.js +1 -1
  57. package/lib/index.d.ts +1 -1
  58. package/lib/index.js +1 -1
  59. package/package.json +1 -1
  60. package/src/lib/Client/Common.ts +1 -1
  61. package/src/lib/Client/Errors.ts +1 -1
  62. package/src/lib/Client/HttpClient.ts +1 -1
  63. package/src/lib/Client/HttpsClient.ts +1 -1
  64. package/src/lib/Client/TCPClient.ts +1 -1
  65. package/src/lib/Client/TLSClient.ts +1 -1
  66. package/src/lib/Client/index.ts +1 -1
  67. package/src/lib/Common/API.ts +1 -1
  68. package/src/lib/Common/Encoding.ts +1 -1
  69. package/src/lib/Common/Request.ts +1 -1
  70. package/src/lib/Common/Response.ts +1 -1
  71. package/src/lib/Common/index.ts +1 -1
  72. package/src/lib/Encoder/Decoder.ts +1 -1
  73. package/src/lib/Encoder/Encoder.ts +1 -1
  74. package/src/lib/Encoder/Errors.ts +1 -1
  75. package/src/lib/Errors.ts +1 -1
  76. package/src/lib/Server/Common/Gateway.ts +1 -1
  77. package/src/lib/Server/Common/Request.ts +1 -1
  78. package/src/lib/Server/Common/Router.ts +1 -1
  79. package/src/lib/Server/Common/Server.ts +1 -1
  80. package/src/lib/Server/Common/index.ts +1 -1
  81. package/src/lib/Server/Errors.ts +1 -1
  82. package/src/lib/Server/Gateways/Http.ts +2 -2
  83. package/src/lib/Server/Gateways/TCP.ts +1 -1
  84. package/src/lib/Server/Server.ts +1 -1
  85. package/src/lib/Server/SimpleRouter.ts +1 -1
  86. package/src/lib/Server/index.ts +1 -1
  87. package/src/lib/index.ts +1 -1
package/CHANGES.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changes Logs
2
2
 
3
+ ## v0.4.13
4
+
5
+ - fix(server): remove braces-quick-check for the request body.
6
+
7
+ ## v0.4.12
8
+
9
+ - fix(client): reject when status code is not 200.
10
+
3
11
  ## v0.4.10
4
12
 
5
13
  - fix(server): fixed error response content for invalid requests.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/Common/API.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/lib/Errors.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/Errors.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -73,7 +73,7 @@ class HttpGateway {
73
73
  chunk.copy(buf, index);
74
74
  }).on('end', () => {
75
75
  let input;
76
- if (offset !== length || buf[0] !== 123 || buf[offset - 1] !== 125) {
76
+ if (offset !== length) {
77
77
  refuseBadRequest(resp);
78
78
  return;
79
79
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Http.js","sourceRoot":"","sources":["../../../src/lib/Server/Gateways/Http.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,kCAAkC;AAClC,+BAA+B;AAC/B,8BAA8B;AAE9B,IAAK,OAMJ;AAND,WAAK,OAAO;IAER,qCAAI,CAAA;IACJ,6CAAQ,CAAA;IACR,2CAAO,CAAA;IACP,2CAAO,CAAA;AACX,CAAC,EANI,OAAO,KAAP,OAAO,QAMX;AAED,MAAM,wBAAwB,GAAG,MAAM,CAAC,IAAI,CAAC,8EAA8E,CAAC,CAAC;AAE7H,SAAS,gBAAgB,CAAC,IAA0B;IAEhD,IAAI,CAAC;QAED,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE;YAChB,gBAAgB,EAAE,wBAAwB,CAAC,UAAU;SACxD,CAAC,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,MAAO,CAAC;QAC5B,IAAI,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;QACnC,MAAM,CAAC,OAAO,EAAE,CAAC;IACrB,CAAC;IACD,WAAM,CAAC;QAEH,cAAc;IAClB,CAAC;AACL,CAAC;AAED,MAAM,WAAW;IAab,YACW,IA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AAM,IAAI,CAAC,CAAC,kBAAkB,EAAE,CAAC;YACrC,KAAK,OAAO,CAAC,OAAO;gBAChB,MAAM,IAAI,CAAC,CAAC,iBAAiB,EAAE,CAAC;YACpC,KAAK,OAAO,CAAC,OAAO;gBAChB,OAAO;QACf,CAAC;IACL,CAAC;IAEM,KAAK,CAAC,KAAK;QAEd,QAAQ,IAAI,CAAC,OAAO,EAAE,CAAC;YAEnB,KAAK,OAAO,CAAC,IAAI;gBACb,OAAO;YACX,KAAK,OAAO,CAAC,QAAQ;gBACjB,MAAM,IAAI,CAAC,CAAC,kBAAkB,EAAE,CAAC;YACrC,KAAK,OAAO,CAAC,OAAO;gBAChB,MAAM,IAAI,CAAC,CAAC,iBAAiB,EAAE,CAAC;YACpC,KAAK,OAAO,CAAC,OAAO;gBAChB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;oBAE3B,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC7C,CAAC,CAAC,CAAC;QACX,CAAC;IACL,CAAC;CACJ;AAED,SAAgB,iBAAiB,CAAC,IAAY,EAAE,IAAY,EAAE,OAAgB;IAE1E,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AAChD,CAAC;AAHD,8CAGC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
3
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litert/televoke",
3
- "version": "0.4.11",
3
+ "version": "0.4.13",
4
4
  "description": "A simple RPC service framework.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/src/lib/Errors.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -107,7 +107,7 @@ class HttpGateway implements C.IGateway {
107
107
 
108
108
  let input: any;
109
109
 
110
- if (offset !== length || buf[0] !== 123 || buf[offset - 1] !== 125) {
110
+ if (offset !== length) {
111
111
 
112
112
  refuseBadRequest(resp);
113
113
  return;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/src/lib/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2023 Angus.Fenying <fenying@litert.org>
2
+ * Copyright 2024 Angus.Fenying <fenying@litert.org>
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.