@uniformdev/context
Advanced tools
Comparing version 18.2.2 to 18.3.1-alpha.21
@@ -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.2.2", | ||
"version": "18.3.1-alpha.21+5789df064", | ||
"description": "Uniform Context core package", | ||
@@ -62,3 +62,3 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
"@types/yargs": "17.0.20", | ||
"@uniformdev/cli": "18.2.2", | ||
"@uniformdev/cli": "18.3.1-alpha.21+5789df064", | ||
"benny": "3.7.1", | ||
@@ -80,3 +80,3 @@ "yargs": "17.6.2" | ||
}, | ||
"gitHead": "eb69f934f799579fdd71d5dc7dba0375bbb5c265" | ||
"gitHead": "5789df064396b6ab274cdaf44743d48bc1542dc4" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3306008
56964
2