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

@wix/sdk-runtime

Package Overview
Dependencies
Maintainers
0
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/sdk-runtime - npm Package Compare versions

Comparing version 0.3.12 to 0.3.13

10

build/context-v2.js

@@ -37,3 +37,6 @@ import { EventDefinition, ServicePluginDefinition, } from '@wix/sdk-types';

if (!context) {
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
// this line should throw, but this would be a breaking change for older SDK versions
// this is because in wixClient there's code that calls any function it detects and checks
// if it's an ambassador module (see isAmbassadorModule)
return;
}

@@ -52,3 +55,6 @@ return context.initWixModules(eventDefinition).apply(undefined, args);

if (!context) {
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
// this line should throw, but this would be a breaking change for older SDK versions
// this is because in wixClient there's code that calls any function it detects and checks
// if it's an ambassador module (see isAmbassadorModule)
return;
}

@@ -55,0 +61,0 @@ return context.initWixModules(servicePlugin).apply(undefined, args);

@@ -43,3 +43,6 @@ "use strict";

if (!context) {
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
// this line should throw, but this would be a breaking change for older SDK versions
// this is because in wixClient there's code that calls any function it detects and checks
// if it's an ambassador module (see isAmbassadorModule)
return;
}

@@ -59,3 +62,6 @@ return context.initWixModules(eventDefinition).apply(undefined, args);

if (!context) {
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
// this line should throw, but this would be a breaking change for older SDK versions
// this is because in wixClient there's code that calls any function it detects and checks
// if it's an ambassador module (see isAmbassadorModule)
return;
}

@@ -62,0 +68,0 @@ return context.initWixModules(servicePlugin).apply(undefined, args);

4

package.json
{
"name": "@wix/sdk-runtime",
"version": "0.3.12",
"version": "0.3.13",
"license": "UNLICENSED",

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

},
"falconPackageHash": "f474bf76b5befb2b20bcf1da96c431a8b0da27f5cccc02d20f75a7b6"
"falconPackageHash": "685d8b51a1c2b47092cdaba85dc8b12c16b8d168ce67484fd4612d42"
}
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