@uniformdev/context
Advanced tools
Comparing version 18.1.2-alpha.4 to 18.1.2-alpha.7
@@ -46,3 +46,3 @@ import { A as AggregateGetParameters, a as AggregateGetResponse, b as AggregatePutParameters, c as AggregateDeleteParameters, D as DimensionDefinition, d as DimensionGetParameters, e as DimensionGetResponse, E as EnrichmentGetParameters, f as EnrichmentGetResponse, g as EnrichmentPutParameters, h as EnrichmentDeleteParameters, i as EnrichmentValuePutParameters, j as EnrichmentValueDeleteParameters, M as ManifestGetParameters, k as ManifestGetResponse, Q as QuirkGetParameters, l as QuirkGetResponse, m as QuirkPutParameters, n as QuirkDeleteParameters, S as SignalGetParameters, o as SignalGetResponse, p as SignalPutParameters, q as SignalDeleteParameters, T as TestGetParameters, r as TestGetResponse, s as TestPutParameters, t as TestDeleteParameters } from '../contextTypes-defd0c5d.js'; | ||
}): Promise<TResponse>; | ||
protected createUrl(path: string, queryParams?: Record<string, string | boolean | undefined | null | number | Array<string | boolean | number>>): URL; | ||
protected createUrl(path: string, queryParams?: Record<string, string | boolean | undefined | null | number | Array<string | boolean | number>>, hostOverride?: string): URL; | ||
private static getRequestId; | ||
@@ -49,0 +49,0 @@ } |
@@ -168,4 +168,4 @@ "use strict"; | ||
} | ||
createUrl(path, queryParams) { | ||
const url = new URL(`${this.options.apiHost}${path}`); | ||
createUrl(path, queryParams, hostOverride) { | ||
const url = new URL(`${hostOverride != null ? hostOverride : this.options.apiHost}${path}`); | ||
Object.entries(queryParams != null ? queryParams : {}).forEach(([key, value]) => { | ||
@@ -172,0 +172,0 @@ var _a; |
{ | ||
"name": "@uniformdev/context", | ||
"version": "18.1.2-alpha.4+e9d268bce", | ||
"version": "18.1.2-alpha.7+682b9aac6", | ||
"description": "Uniform Context core package", | ||
@@ -62,3 +62,3 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
"@types/yargs": "17.0.20", | ||
"@uniformdev/cli": "18.1.2-alpha.4+e9d268bce", | ||
"@uniformdev/cli": "18.1.2-alpha.7+682b9aac6", | ||
"benny": "3.7.1", | ||
@@ -80,3 +80,3 @@ "yargs": "17.6.2" | ||
}, | ||
"gitHead": "e9d268bcef28fc22632f4968ca988e3b0b92d146" | ||
"gitHead": "682b9aac6143d5f462a7126f4ceab55a7c7d0c09" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
3305882
56964