Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nuskin/configuration-sdk

Package Overview
Dependencies
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuskin/configuration-sdk - npm Package Compare versions

Comparing version 1.0.3-cx16-7895.4 to 1.0.3-cx16-7895.5

2

package.json
{
"name": "@nuskin/configuration-sdk",
"version": "1.0.3-cx16-7895.4",
"version": "1.0.3-cx16-7895.5",
"description": "The configuration sdk gets market configuration from content stack. You can get the full configuration for a list of config maps or get partial configuration using graphql. The sdk caches the configurations for 2 minutes in memory. The sdk also allows for configuraitons to be overridden. Override configurations for runtime shopping context configurations. Or use the function for testing purposes to override configuration in the browser on the fly.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -288,3 +288,5 @@ 'use strict'

country = country || getCountry();
const result = Object.values(configCache[country]).find((config) => config[configField]);
const result = Object.values(configCache[country])
.find((config) => Object.keys(config)
.some((k) => k === configField));

@@ -291,0 +293,0 @@ if (!result) {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc