@uniformdev/context
Advanced tools
Comparing version 19.159.1-alpha.16 to 19.159.1-alpha.27
@@ -8,2 +8,5 @@ "use strict"; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __typeError = (msg) => { | ||
throw TypeError(msg); | ||
}; | ||
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
@@ -31,19 +34,6 @@ var __export = (target, all) => { | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
var __publicField = (obj, key, value) => { | ||
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
return value; | ||
}; | ||
var __accessCheck = (obj, member, msg) => { | ||
if (!member.has(obj)) | ||
throw TypeError("Cannot " + msg); | ||
}; | ||
var __privateGet = (obj, member, getter) => { | ||
__accessCheck(obj, member, "read from private field"); | ||
return getter ? getter.call(obj) : member.get(obj); | ||
}; | ||
var __privateAdd = (obj, member, value) => { | ||
if (member.has(obj)) | ||
throw TypeError("Cannot add the same private member more than once"); | ||
member instanceof WeakSet ? member.add(obj) : member.set(obj, value); | ||
}; | ||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); | ||
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg); | ||
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj)); | ||
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value); | ||
@@ -200,4 +190,3 @@ // src/api/api.ts | ||
ensureApiHost(apiHost) { | ||
if (!apiHost) | ||
return "https://uniform.app"; | ||
if (!apiHost) return "https://uniform.app"; | ||
if (!(apiHost == null ? void 0 : apiHost.startsWith("http"))) { | ||
@@ -204,0 +193,0 @@ throw new Error('Your apiHost must start with "http"'); |
{ | ||
"name": "@uniformdev/context", | ||
"version": "19.159.1-alpha.16+112313047e", | ||
"version": "19.159.1-alpha.27+344f3d36db", | ||
"description": "Uniform Context core package", | ||
@@ -71,3 +71,3 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
}, | ||
"gitHead": "112313047e98c7a1c0045ea1c5d01a4c74b29871" | ||
"gitHead": "344f3d36dba87d4e2340a1687c20b163be1d2c83" | ||
} |
Sorry, the diff of this file is too big to display
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 too big to display
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
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
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
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
716509
14780