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

xfb-sdk

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xfb-sdk - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

19

dist/bundle.js

@@ -142,3 +142,2 @@ (function (global, factory) {

imgUrl,
success: updateAppMessageShareDataSuccess,
});

@@ -150,3 +149,2 @@ this._wx.updateTimelineShareData({

imgUrl,
success: updateAppMessageShareDataSuccess,
});

@@ -156,8 +154,15 @@ }

/**
* 分享参数设置成功
* 展示分享引导
*/
function updateAppMessageShareDataSuccess() {
console.log('【XFB-SDK】Jweixin 分享参数设置成功');
function showShareDrive() {
console.log('【XFB-SDK】Jweixin 更新分享数据成功');
console.log(document.getElementsByClassName('overlay-xfbsdk'));
Array.from(document.getElementsByClassName('overlay-xfbsdk')).forEach(item => {
item.remove();
});
const overlay = document.createElement('div');
overlay.className = 'overlay-xfbsdk';
overlay.style.position = 'fixed';

@@ -169,3 +174,3 @@ overlay.style.top = '0';

overlay.style.zIndex = '999999';
overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.5)';
overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.7)';
overlay.style.backgroundRepeat = 'no-repeat';

@@ -184,3 +189,3 @@ overlay.style.backgroundPosition = 'top center';

updateAppMessageShareData,
updateAppMessageShareDataSuccess,
showShareDrive,
_wx: null,

@@ -187,0 +192,0 @@ _wxReady: false,

{
"name": "xfb-sdk",
"version": "0.0.10",
"version": "0.0.11",
"author": "wangfei",

@@ -5,0 +5,0 @@ "description": "",

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