@microsoft/mgt-element
Advanced tools
Comparing version 3.1.3-preview.df8af8c to 3.1.3-preview.ebf5ed3
@@ -13,3 +13,3 @@ /** | ||
* | ||
* @param {string} disambiguation | ||
* @param {string} disambiguation the disambiguation value to be used, should be lowercase | ||
* @return {CustomElementHelper} the current object | ||
@@ -16,0 +16,0 @@ * @memberof CustomElementHelper |
@@ -17,3 +17,3 @@ /** | ||
* | ||
* @param {string} disambiguation | ||
* @param {string} disambiguation the disambiguation value to be used, should be lowercase | ||
* @return {CustomElementHelper} the current object | ||
@@ -23,4 +23,7 @@ * @memberof CustomElementHelper | ||
withDisambiguation(disambiguation) { | ||
if (disambiguation && !this._disambiguation) | ||
this._disambiguation = disambiguation; | ||
if (disambiguation && !this._disambiguation) { | ||
this._disambiguation = disambiguation.toLowerCase(); | ||
if (disambiguation !== this._disambiguation) | ||
console.warn(`🦒: Disambiguation value, ${disambiguation}, should be lowercase. Value has been converted to lowercase, ${this._disambiguation}.`); | ||
} | ||
return this; | ||
@@ -27,0 +30,0 @@ } |
@@ -90,5 +90,5 @@ /** | ||
static setBaseFallbackUrl() { | ||
this._baseUrl = 'https://proxy.apisandbox.msdn.microsoft.com/svc?url='; | ||
this._baseUrl = 'https://graph.office.net/en-us/graph/api/proxy?url='; | ||
} | ||
} | ||
//# sourceMappingURL=MockMiddleware.js.map |
@@ -7,3 +7,3 @@ /** | ||
*/ | ||
export declare const PACKAGE_VERSION = "3.1.3-preview.df8af8c"; | ||
export declare const PACKAGE_VERSION = "3.1.3-preview.ebf5ed3"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -9,3 +9,3 @@ /** | ||
// ANY CHANGES WILL BE LOST DURING BUILD | ||
export const PACKAGE_VERSION = '3.1.3-preview.df8af8c'; | ||
export const PACKAGE_VERSION = '3.1.3-preview.ebf5ed3'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@microsoft/mgt-element", | ||
"version": "3.1.3-preview.df8af8c", | ||
"version": "3.1.3-preview.ebf5ed3", | ||
"description": "Microsoft Graph Toolkit base classes", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/microsoftgraph/microsoft-graph-toolkit", |
@@ -17,3 +17,3 @@ /** | ||
* | ||
* @param {string} disambiguation | ||
* @param {string} disambiguation the disambiguation value to be used, should be lowercase | ||
* @return {CustomElementHelper} the current object | ||
@@ -23,3 +23,9 @@ * @memberof CustomElementHelper | ||
public withDisambiguation(disambiguation: string) { | ||
if (disambiguation && !this._disambiguation) this._disambiguation = disambiguation; | ||
if (disambiguation && !this._disambiguation) { | ||
this._disambiguation = disambiguation.toLowerCase(); | ||
if (disambiguation !== this._disambiguation) | ||
console.warn( | ||
`🦒: Disambiguation value, ${disambiguation}, should be lowercase. Value has been converted to lowercase, ${this._disambiguation}.` | ||
); | ||
} | ||
return this; | ||
@@ -26,0 +32,0 @@ } |
@@ -88,4 +88,4 @@ /** | ||
private static setBaseFallbackUrl() { | ||
this._baseUrl = 'https://proxy.apisandbox.msdn.microsoft.com/svc?url='; | ||
this._baseUrl = 'https://graph.office.net/en-us/graph/api/proxy?url='; | ||
} | ||
} |
@@ -11,2 +11,2 @@ /** | ||
export const PACKAGE_VERSION = '3.1.3-preview.df8af8c'; | ||
export const PACKAGE_VERSION = '3.1.3-preview.ebf5ed3'; |
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
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
649586
9951