Socket
Socket
Sign inDemoInstall

@dynatrace-sdk/user-preferences

Package Overview
Dependencies
0
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # User Preferences

## 1.1.1
### Patch Changes
- web runtime name updated in console logs and errors.
## 1.1.0

@@ -7,0 +13,0 @@

8

cjs/index.js

@@ -54,3 +54,3 @@ /**

} else {
console.warn("Missing getTheme function from sdk-web-runtime.");
console.warn("Missing getTheme function from web runtime.");
return "auto";

@@ -66,3 +66,3 @@ }

} else {
console.warn("Missing getLanguage function from sdk-web-runtime.");
console.warn("Missing getLanguage function from web runtime.");
return "en";

@@ -78,3 +78,3 @@ }

} else {
console.warn("Missing getRegionalFormat function from sdk-web-runtime.");
console.warn("Missing getRegionalFormat function from web runtime.");
return "en";

@@ -90,5 +90,5 @@ }

} else {
console.warn("Missing getTimezone function from sdk-web-runtime.");
console.warn("Missing getTimezone function from web runtime.");
return "UTC";
}
}
---
title: User Preferences
title: "User Preferences"
description: Obtain the currently logged-in user preferences, like theme or language.

@@ -20,3 +20,3 @@ ---

<div class="col" style={{textAlign: 'right'}}>
<a href="https://www.npmjs.com/package/@dynatrace-sdk/user-preferences/v/1.1.0">v1.1.0</a>
<a href="https://www.npmjs.com/package/@dynatrace-sdk/user-preferences/v/1.1.1">v1.1.1</a>
</div>

@@ -72,3 +72,3 @@ </div>

<div class="padding-bottom--md">
<strong>getTheme(): <a href="#themetype">ThemeType</a></strong>
<strong>getTheme(): ThemeType</strong>

@@ -75,0 +75,0 @@ <div class="padding-left--md">

@@ -26,3 +26,3 @@ /**

} else {
console.warn("Missing getTheme function from sdk-web-runtime.");
console.warn("Missing getTheme function from web runtime.");
return "auto";

@@ -38,3 +38,3 @@ }

} else {
console.warn("Missing getLanguage function from sdk-web-runtime.");
console.warn("Missing getLanguage function from web runtime.");
return "en";

@@ -50,3 +50,3 @@ }

} else {
console.warn("Missing getRegionalFormat function from sdk-web-runtime.");
console.warn("Missing getRegionalFormat function from web runtime.");
return "en";

@@ -62,3 +62,3 @@ }

} else {
console.warn("Missing getTimezone function from sdk-web-runtime.");
console.warn("Missing getTimezone function from web runtime.");
return "UTC";

@@ -65,0 +65,0 @@ }

{
"name": "@dynatrace-sdk/user-preferences",
"version": "1.1.0",
"version": "1.1.1",
"description": "Obtain the currently logged-in user preferences, like theme or language.",

@@ -5,0 +5,0 @@ "homepage": "https://developer.dynatrace.com/reference/sdks/user-preferences/",

{
"name": "@dynatrace-sdk/user-preferences/testing",
"main": "./cjs/index.js",

@@ -4,0 +3,0 @@ "module": "./esm/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc