Socket
Socket
Sign inDemoInstall

wix-style-processor

Package Overview
Dependencies
3
Maintainers
1
Versions
188
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.126 to 3.0.127

1

dist/es/src/types.d.ts
export interface IWixService {
getStyleParams(): Promise<{}[]>;
listenToStyleParamsChange(cb: any): void;
listenToSettingsUpdated(cb: any): void;
isEditorMode(): boolean;

@@ -6,0 +5,0 @@ isPreviewMode(): boolean;

@@ -7,3 +7,2 @@ import { IWixService } from './types';

listenToStyleParamsChange(cb: any): void;
listenToSettingsUpdated(cb: any): void;
isEditorMode(): boolean;

@@ -10,0 +9,0 @@ isPreviewMode(): boolean;

@@ -17,5 +17,2 @@ var WixService = /** @class */ (function () {

};
WixService.prototype.listenToSettingsUpdated = function (cb) {
this.Wix.addEventListener(this.Wix.Events.SETTINGS_UPDATED, cb);
};
WixService.prototype.isEditorMode = function () {

@@ -22,0 +19,0 @@ return this.Wix.Utils.getViewMode() === 'editor';

export interface IWixService {
getStyleParams(): Promise<{}[]>;
listenToStyleParamsChange(cb: any): void;
listenToSettingsUpdated(cb: any): void;
isEditorMode(): boolean;

@@ -6,0 +5,0 @@ isPreviewMode(): boolean;

@@ -7,3 +7,2 @@ import { IWixService } from './types';

listenToStyleParamsChange(cb: any): void;
listenToSettingsUpdated(cb: any): void;
isEditorMode(): boolean;

@@ -10,0 +9,0 @@ isPreviewMode(): boolean;

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

};
WixService.prototype.listenToSettingsUpdated = function (cb) {
this.Wix.addEventListener(this.Wix.Events.SETTINGS_UPDATED, cb);
};
WixService.prototype.isEditorMode = function () {

@@ -24,0 +21,0 @@ return this.Wix.Utils.getViewMode() === 'editor';

2

package.json

@@ -5,3 +5,3 @@ {

"description": "An alternative Wix Styles TPA processor",
"version": "3.0.126",
"version": "3.0.127",
"author": {

@@ -8,0 +8,0 @@ "name": "Eran Shabi",

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc