@open-rpc/schema-utils-js
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -286,2 +286,3 @@ "use strict"; | ||
_h.params = _o.sent(); | ||
if (!(method.result !== undefined)) return [3 /*break*/, 17]; | ||
_j = method; | ||
@@ -291,2 +292,4 @@ return [4 /*yield*/, derefItem(method.result, doc, resolver)]; | ||
_j.result = _o.sent(); | ||
_o.label = 17; | ||
case 17: | ||
componentSchemas = {}; | ||
@@ -298,21 +301,23 @@ if (doc.components && doc.components.schemas) { | ||
_k = 0, params_1 = params; | ||
_o.label = 17; | ||
case 17: | ||
if (!(_k < params_1.length)) return [3 /*break*/, 20]; | ||
_o.label = 18; | ||
case 18: | ||
if (!(_k < params_1.length)) return [3 /*break*/, 21]; | ||
p = params_1[_k]; | ||
_l = p; | ||
return [4 /*yield*/, handleSchemaWithSchemaComponents(p.schema, componentSchemas)]; | ||
case 18: | ||
case 19: | ||
_l.schema = _o.sent(); | ||
_o.label = 19; | ||
case 19: | ||
_o.label = 20; | ||
case 20: | ||
_k++; | ||
return [3 /*break*/, 17]; | ||
case 20: | ||
return [3 /*break*/, 18]; | ||
case 21: | ||
if (!(method.result !== undefined)) return [3 /*break*/, 23]; | ||
result = method.result; | ||
_m = result; | ||
return [4 /*yield*/, handleSchemaWithSchemaComponents(result.schema, componentSchemas)]; | ||
case 21: | ||
case 22: | ||
_m.schema = _o.sent(); | ||
return [2 /*return*/, method]; | ||
_o.label = 23; | ||
case 23: return [2 /*return*/, method]; | ||
} | ||
@@ -319,0 +324,0 @@ }); |
{ | ||
"name": "@open-rpc/schema-utils-js", | ||
"private": false, | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "", | ||
@@ -48,3 +48,3 @@ "main": "build/index.js", | ||
"@types/is-url": "^1.2.28", | ||
"@types/isomorphic-fetch": "0.0.36", | ||
"@types/isomorphic-fetch": "0.0.39", | ||
"@types/jest": "^29.5.12", | ||
@@ -51,0 +51,0 @@ "@types/json-schema": "^7.0.3", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88111
1680