@microsoft/kiota-abstractions
Advanced tools
Comparing version 1.0.0-preview.19 to 1.0.0-preview.20
@@ -67,3 +67,3 @@ "use strict"; | ||
ApiKeyLocation[ApiKeyLocation["Header"] = 1] = "Header"; | ||
})(ApiKeyLocation = exports.ApiKeyLocation || (exports.ApiKeyLocation = {})); | ||
})(ApiKeyLocation || (exports.ApiKeyLocation = ApiKeyLocation = {})); | ||
//# sourceMappingURL=apiKeyAuthenticationProvider.js.map |
@@ -27,3 +27,3 @@ "use strict"; | ||
HttpMethod["PUT"] = "PUT"; | ||
})(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {})); | ||
})(HttpMethod || (exports.HttpMethod = HttpMethod = {})); | ||
//# sourceMappingURL=httpMethod.js.map |
@@ -181,3 +181,2 @@ "use strict"; | ||
else { | ||
const template = new Template(this.urlTemplate); | ||
const data = {}; | ||
@@ -194,3 +193,3 @@ for (const key in this.queryParameters) { | ||
} | ||
return template.expand(data); | ||
return Template.expand(this.urlTemplate, data); | ||
} | ||
@@ -197,0 +196,0 @@ } |
@@ -178,3 +178,2 @@ import { trace } from "@opentelemetry/api"; | ||
else { | ||
const template = new Template(this.urlTemplate); | ||
const data = {}; | ||
@@ -191,3 +190,3 @@ for (const key in this.queryParameters) { | ||
} | ||
return template.expand(data); | ||
return Template.expand(this.urlTemplate, data); | ||
} | ||
@@ -194,0 +193,0 @@ } |
{ | ||
"name": "@microsoft/kiota-abstractions", | ||
"version": "1.0.0-preview.19", | ||
"version": "1.0.0-preview.20", | ||
"description": "Core abstractions for kiota generated libraries in TypeScript and JavaScript", | ||
@@ -47,3 +47,3 @@ "main": "dist/cjs/src/index.js", | ||
}, | ||
"gitHead": "09d5497b93a5e7bda6ffb5860d670a337f34a0ce" | ||
"gitHead": "4d33c1141694a5a66046acc52214dbcf1064b2e4" | ||
} |
declare module 'uri-template-lite' { | ||
class Template { | ||
constructor(template: string); | ||
} | ||
function expand(template: string, data: { [key: string]: unknown }): string; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
439131
4573