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
1
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 0.0.8 to 0.0.9

5

dist/index.js

@@ -241,4 +241,3 @@ "use strict";

this.media.emit(evName, evData);
// this.collector && this.collector.trigger(evName, e)
this.triggerCollector(evName, e);
evName !== index_1.MediaEvents.ERROR && this.triggerCollector(evName, e);
// The event is a component prop event for 'bind***'

@@ -274,2 +273,3 @@ this.triggerEvent(evName, evData);

}
this.triggerCollector(index_1.MediaEvents.ERROR, e, { errCode, errMsg });
this.setData({

@@ -350,3 +350,2 @@ error: new error_1.XGError(error_1.ErrorCategory.MEDIA, errCode, errMsg)

this._emitEvt(index_1.MediaEvents.ENDED, e);
this._emitEvt(index_1.MediaEvents.ENDED, e);
},

@@ -353,0 +352,0 @@ onProgress(e) {

2

dist/tool/collector.js

@@ -28,3 +28,3 @@ "use strict";

app_version: config.appVersion || '1.0.0',
user_unique_id: config.lineUserId || ''
user_unique_id: config.userId || ''
};

@@ -31,0 +31,0 @@ config.needET && (_data['event_verify_url'] = 'https://mcs.bytedance.net');

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
let __COLLECTOR__ = undefined;
let __COLLECTOR_INFO__ = {
lineAppId: 0,
lineUserId: ''
};
const mediaManager = {

@@ -9,0 +4,0 @@ name: 'mediaManager',

{
"name": "veplayer-mp-wechat",
"version": "0.0.8",
"version": "0.0.9",
"license": "MIT",

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

@@ -66,3 +66,3 @@ # Veplayer小程序播放器

>
> - `playDomain`是调用火山引擎视频点播OpenAPI的接口地址,业务方如果做了该接口的代理,可以替换成业务方的地址。
> - `playDomain`是调用火山引擎视频点播OpenAPI的接口地址,业务方如果做了该接口的代理,可以替换成业务方的地址。使用正式appid调试时需要将该地址配置在小程序[服务器域名配置](https://developers.weixin.qq.com/miniprogram/dev/framework/ability/network.html)白名单中。
> - `playAuthToken`是获取视频播放信息的临时凭证,由业务方服务端通过调用火山服务端SDK本地生成,具体生成参考[火山引擎视频点播文档](https://www.volcengine.com/docs/4/67350#%E6%9C%8D%E5%8A%A1%E7%AB%AF-sdk)

@@ -69,0 +69,0 @@ ## [组件属性](#VideoProps)

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