New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@searchspring/snap-store-mobx

Package Overview
Dependencies
Maintainers
2
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@searchspring/snap-store-mobx - npm Package Compare versions

Comparing version 0.56.3 to 0.56.4

19

dist/cjs/Search/Stores/SearchResultStore.d.ts

@@ -20,8 +20,11 @@ import type { StoreServices, StoreConfigs, ResultBadge, VariantOptionConfig, VariantConfig } from '../../types';

attributes: Record<string, unknown>;
options: Record<string, {
value: string;
attributeId?: string;
optionId?: string;
}>;
options: VariantDataOptions;
};
export type VariantDataOptions = Record<string, {
value: string;
background?: string;
backgroundImageUrl?: string;
attributeId?: string;
optionId?: string;
}>;
type ProductMinimal = {

@@ -96,7 +99,3 @@ id: string;

attributes: Record<string, unknown>;
options: Record<string, {
value: string;
attributeId?: string;
optionId?: string;
}>;
options: VariantDataOptions;
mappings: SearchResponseModelResultMappings;

@@ -103,0 +102,0 @@ custom: {};

@@ -447,2 +447,8 @@ "use strict";

}
else if (variant.options[_this.field].backgroundImageUrl) {
mappedValue.backgroundImageUrl = variant.options[_this.field].backgroundImageUrl;
}
if (variant.options[_this.field].background) {
mappedValue.background = variant.options[_this.field].background;
}
if (_this.config.mappings && _this.config.mappings && _this.config.mappings[value.toString().toLowerCase()]) {

@@ -449,0 +455,0 @@ var mapping = _this.config.mappings[value.toString().toLowerCase()];

@@ -20,8 +20,11 @@ import type { StoreServices, StoreConfigs, ResultBadge, VariantOptionConfig, VariantConfig } from '../../types';

attributes: Record<string, unknown>;
options: Record<string, {
value: string;
attributeId?: string;
optionId?: string;
}>;
options: VariantDataOptions;
};
export type VariantDataOptions = Record<string, {
value: string;
background?: string;
backgroundImageUrl?: string;
attributeId?: string;
optionId?: string;
}>;
type ProductMinimal = {

@@ -96,7 +99,3 @@ id: string;

attributes: Record<string, unknown>;
options: Record<string, {
value: string;
attributeId?: string;
optionId?: string;
}>;
options: VariantDataOptions;
mappings: SearchResponseModelResultMappings;

@@ -103,0 +102,0 @@ custom: {};

@@ -364,2 +364,8 @@ import { computed, makeObservable, observable } from 'mobx';

}
else if (variant.options[this.field].backgroundImageUrl) {
mappedValue.backgroundImageUrl = variant.options[this.field].backgroundImageUrl;
}
if (variant.options[this.field].background) {
mappedValue.background = variant.options[this.field].background;
}
if (this.config.mappings && this.config.mappings && this.config.mappings[value.toString().toLowerCase()]) {

@@ -366,0 +372,0 @@ const mapping = this.config.mappings[value.toString().toLowerCase()];

{
"name": "@searchspring/snap-store-mobx",
"version": "0.56.3",
"version": "0.56.4",
"description": "Snap MobX Store",

@@ -23,8 +23,8 @@ "main": "dist/cjs/index.js",

"dependencies": {
"@searchspring/snap-toolbox": "^0.56.3",
"@searchspring/snap-toolbox": "^0.56.4",
"mobx": "6.9.0"
},
"devDependencies": {
"@searchspring/snap-client": "^0.56.3",
"@searchspring/snap-url-manager": "^0.56.3"
"@searchspring/snap-client": "^0.56.4",
"@searchspring/snap-url-manager": "^0.56.4"
},

@@ -35,3 +35,3 @@ "sideEffects": false,

],
"gitHead": "adfae18ce3d54a471fa84feb5dd88a074c204520"
"gitHead": "7321bec220286736c9fae5c2810cb26452894a04"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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