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

veplayer-mp-wechat

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

veplayer-mp-wechat - npm Package Compare versions

Comparing version 1.2.2-alpha.13 to 1.2.2-alpha.14

29

dist/behaviors/userActionBehavior.js

@@ -12,16 +12,4 @@ "use strict";

'interactState': function (newVal, oldVal) {
let _stateClass = '';
switch (newVal) {
case "focus" /* InteractStates.FOCUS */:
_stateClass = "xg-state-focus" /* ControlsStateClass.FOCUS */;
break;
case "blur" /* InteractStates.BLUR */:
_stateClass = "xg-state-blur" /* ControlsStateClass.BLUR */;
break;
case "immerse" /* InteractStates.IMMERSE */:
_stateClass = "xg-state-immerse" /* ControlsStateClass.IMMERSE */;
break;
}
this.setData({
stateClassName: _stateClass
stateClassName: this.getClassByInteractState(newVal)
});

@@ -38,4 +26,19 @@ }

this.triggerEvent('useraction', _data);
},
getClassByInteractState(interactState) {
let _stateClass = '';
switch (interactState) {
case "focus" /* InteractStates.FOCUS */:
_stateClass = "xg-state-focus" /* ControlsStateClass.FOCUS */;
break;
case "blur" /* InteractStates.BLUR */:
_stateClass = "xg-state-blur" /* ControlsStateClass.BLUR */;
break;
case "immerse" /* InteractStates.IMMERSE */:
_stateClass = "xg-state-immerse" /* ControlsStateClass.IMMERSE */;
break;
}
return _stateClass;
}
}
});
{
"name": "veplayer-mp-wechat",
"version": "1.2.2-alpha.13",
"version": "1.2.2-alpha.14",
"license": "MIT",

@@ -5,0 +5,0 @@ "miniprogram": "dist",

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