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

@wildberries/databus-service-products

Package Overview
Dependencies
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wildberries/databus-service-products - npm Package Compare versions

Comparing version 0.1.0-beta.3 to 0.1.0-beta.4

1

dist/module/constants.d.ts
export declare const FETCH_PRODUCTS = "fetch-products";
export declare const NAVIGATE_TO_PRODUCT = "navigate-to-product";
export declare const PREFETCH_PRODUCTS = "PREFETCH_PRODUCTS";

@@ -5,1 +5,2 @@ "use strict";

exports.NAVIGATE_TO_PRODUCT = 'navigate-to-product';
exports.PREFETCH_PRODUCTS = 'PREFETCH_PRODUCTS';
import { FetchMenuActionPayloadType, NavigateToRouteParamsType } from './types';
export declare const setFetchProductsEvent: (params: FetchMenuActionPayloadType) => void;
export declare const navigateToProductEvent: (params: NavigateToRouteParamsType) => void;
export declare const setPrefetchProductsEvent: (params: Pick<FetchMenuActionPayloadType, "withErrorNotification" | "routeUrl" | "callbackFinallyLoad" | "configs" | "navigateAfterLoadConfig"> & {
timeout: number;
}) => void;

@@ -17,1 +17,7 @@ "use strict";

};
exports.setPrefetchProductsEvent = function (params) {
new databus_1.Databus({ name: constants_1.PREFETCH_PRODUCTS }).addEvent({
detail: params,
});
databus_1.Databus.dispatchEvent({ eventName: constants_1.PREFETCH_PRODUCTS });
};

@@ -10,2 +10,3 @@ export declare type BaseAction = () => {

withoutLoadingIndicator?: boolean;
routeUrl?: string;
callbackFinallyLoad?: CallbackFinallyLoadType;

@@ -21,2 +22,4 @@ configs?: {

};
loadAllModules?: boolean;
withoutFetchMenu?: boolean;
};

@@ -23,0 +26,0 @@ export declare type ListenerType<T> = (params: T) => void;

2

package.json
{
"name": "@wildberries/databus-service-products",
"version": "0.1.0-beta.3",
"version": "0.1.0-beta.4",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

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