@mars-sea/dsh-commandcode-provider 0.11.3 → 0.11.5
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/CHANGELOG.md +14 -0
- package/lib/client.js +73 -23
- package/lib/client.js.map +1 -1
- package/lib/index.js +7 -5
- package/lib/index.js.map +1 -1
- package/package.json +39 -38
package/lib/index.js
CHANGED
|
@@ -4690,6 +4690,12 @@ function makeBoundaryValidator(prefix) {
|
|
|
4690
4690
|
* only its own facts.
|
|
4691
4691
|
*/
|
|
4692
4692
|
function makeRemoteDescriptor(endpoint, method, typeSymbol, schema) {
|
|
4693
|
+
const result = {
|
|
4694
|
+
mode: "strict",
|
|
4695
|
+
typeSymbol,
|
|
4696
|
+
schema,
|
|
4697
|
+
create: () => schema
|
|
4698
|
+
};
|
|
4693
4699
|
return {
|
|
4694
4700
|
id: `${REMOTE_PACKAGE}#${endpoint}`,
|
|
4695
4701
|
service: REMOTE_SERVICE,
|
|
@@ -4697,11 +4703,7 @@ function makeRemoteDescriptor(endpoint, method, typeSymbol, schema) {
|
|
|
4697
4703
|
method,
|
|
4698
4704
|
invocation: { kind: "direct" },
|
|
4699
4705
|
parameters: [],
|
|
4700
|
-
result
|
|
4701
|
-
mode: "strict",
|
|
4702
|
-
typeSymbol,
|
|
4703
|
-
schema
|
|
4704
|
-
}
|
|
4706
|
+
result
|
|
4705
4707
|
};
|
|
4706
4708
|
}
|
|
4707
4709
|
//#endregion
|