@effect-ts-app/core
Advanced tools
Comparing version 0.20.2 to 0.20.5
{ | ||
"name": "@effect-ts-app/core", | ||
"version": "0.20.2", | ||
"version": "0.20.5", | ||
"main": "./index.js", | ||
@@ -44,3 +44,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "046b4e35964ca738c58f2a69f6f303587da7bc04" | ||
"gitHead": "2359598adfcba7c60db0698fe2a56e1f6cff845e" | ||
} |
@@ -237,3 +237,3 @@ "use strict"; | ||
const p = new path_parser_1.Path(path); | ||
const params = p.params; | ||
const params = p.urlParams; | ||
return params; | ||
@@ -244,7 +244,7 @@ } | ||
function makeRequest(method, path, self, __name) { | ||
const params = parsePathParams(path); | ||
const pathParams = parsePathParams(path); | ||
// TODO: path props must be parsed "from string" | ||
const remainProps = { ...self.Api.props }; | ||
const pathProps = params.length | ||
? params.reduce((prev, cur) => { | ||
const pathProps = pathParams.length | ||
? pathParams.reduce((prev, cur) => { | ||
prev[cur] = self.Api.props[cur]; | ||
@@ -251,0 +251,0 @@ delete remainProps[cur]; |
Sorry, the diff of this file is not supported yet
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
370001