@kinotic-ai/core 5.0.0-beta.7 → 5.0.0-beta.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 +3 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -939,7 +939,8 @@ class JsonArgumentResolver {
|
|
|
939
939
|
// packages/core/src/internal/api/ReturnValueConverter.ts
|
|
940
940
|
class BasicReturnValueConverter {
|
|
941
941
|
convert(incomingMetadata, returnValue) {
|
|
942
|
-
|
|
942
|
+
const json = returnValue === undefined ? "null" : JSON.stringify(returnValue);
|
|
943
|
+
return Util.createReplyEvent(incomingMetadata, new Map([["content-type" /* CONTENT_TYPE_HEADER */, "application/json"]]), new TextEncoder().encode(json));
|
|
943
944
|
}
|
|
944
945
|
}
|
|
945
946
|
|
|
@@ -1135,7 +1136,7 @@ var import_api2 = __toESM(require("@opentelemetry/api"));
|
|
|
1135
1136
|
// packages/core/package.json
|
|
1136
1137
|
var package_default = {
|
|
1137
1138
|
name: "@kinotic-ai/core",
|
|
1138
|
-
version: "5.0.0-beta.
|
|
1139
|
+
version: "5.0.0-beta.8",
|
|
1139
1140
|
type: "module",
|
|
1140
1141
|
files: [
|
|
1141
1142
|
"dist"
|
package/dist/index.d.cts
CHANGED
|
@@ -421,7 +421,7 @@ interface CRI {
|
|
|
421
421
|
* The zone this `CRI` is addressed in, or `null` if un-zoned.
|
|
422
422
|
*
|
|
423
423
|
* The zone is the isolation boundary routing is validated against, such as
|
|
424
|
-
* `app.acme-org.orders-app` or `
|
|
424
|
+
* `app.acme-org.orders-app` or `management-api`.
|
|
425
425
|
*
|
|
426
426
|
* For the following CRI, `zone` would be the portion specified by `zone`:
|
|
427
427
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -421,7 +421,7 @@ interface CRI {
|
|
|
421
421
|
* The zone this `CRI` is addressed in, or `null` if un-zoned.
|
|
422
422
|
*
|
|
423
423
|
* The zone is the isolation boundary routing is validated against, such as
|
|
424
|
-
* `app.acme-org.orders-app` or `
|
|
424
|
+
* `app.acme-org.orders-app` or `management-api`.
|
|
425
425
|
*
|
|
426
426
|
* For the following CRI, `zone` would be the portion specified by `zone`:
|
|
427
427
|
*
|
package/dist/index.js
CHANGED
|
@@ -826,7 +826,8 @@ class JsonArgumentResolver {
|
|
|
826
826
|
// packages/core/src/internal/api/ReturnValueConverter.ts
|
|
827
827
|
class BasicReturnValueConverter {
|
|
828
828
|
convert(incomingMetadata, returnValue) {
|
|
829
|
-
|
|
829
|
+
const json = returnValue === undefined ? "null" : JSON.stringify(returnValue);
|
|
830
|
+
return Util.createReplyEvent(incomingMetadata, new Map([["content-type" /* CONTENT_TYPE_HEADER */, "application/json"]]), new TextEncoder().encode(json));
|
|
830
831
|
}
|
|
831
832
|
}
|
|
832
833
|
|
|
@@ -1022,7 +1023,7 @@ import opentelemetry, { context as context2, propagation as propagation2, trace,
|
|
|
1022
1023
|
// packages/core/package.json
|
|
1023
1024
|
var package_default = {
|
|
1024
1025
|
name: "@kinotic-ai/core",
|
|
1025
|
-
version: "5.0.0-beta.
|
|
1026
|
+
version: "5.0.0-beta.8",
|
|
1026
1027
|
type: "module",
|
|
1027
1028
|
files: [
|
|
1028
1029
|
"dist"
|