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

@gaoding/editor-miniprogram-sdk

Package Overview
Dependencies
Maintainers
22
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gaoding/editor-miniprogram-sdk - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

5

demo/components/editor-miniprogram-sdk/editor-miniprogram-sdk.js

@@ -46,2 +46,6 @@ Component({

},
// 自定义webview标题
title: {
type: String
},

@@ -113,2 +117,3 @@ // 稿定账户登录及调试,稿定内部专用

clientId: props.clientId,
title: props.title ? encodeURIComponent(props.title) : '',

@@ -115,0 +120,0 @@ // dev

9

demo/utils/util.js

@@ -20,11 +20,6 @@ const formatTime = date => {

function getCode(fn) {
const kongServiceInfo = {
'dev': 'eyJ0eXBlIjoxLCJzayI6ImY5ZGQ2YzFiNjliMzIzZjZhYzBiNDA4NWY1Y2FiNTEzIiwiYWsiOiI0MzY4YjFlMGY2NzEwMTU1NzFhMmM5NTRkYWRmOWM4YSIsImVmZmVjdGl2ZV90aW1lIjozNjAwLCJ1c2VyX2lkIjoxMDAwMDEsImFwcF9pZCI6IldMbDAyYUd1MmRzNyJ9',
'fat': 'eyJ0eXBlIjoxLCJzayI6ImY5ZGQ2YzFiNjliMzIzZjZhYzBiNDA4NWY1Y2FiNTEzIiwiYWsiOiI0MzY4YjFlMGY2NzEwMTU1NzFhMmM5NTRkYWRmOWM4YSIsImVmZmVjdGl2ZV90aW1lIjozNjAwLCJ1c2VyX2lkIjoxMDAwMDEsImFwcF9pZCI6InJVdDNxVHlPbkxFcyJ9',
'stage': 'eyJ0eXBlIjoxLCJzayI6ImY5ZGQ2YzFiNjliMzIzZjZhYzBiNDA4NWY1Y2FiNTEzIiwiYWsiOiI0MzY4YjFlMGY2NzEwMTU1NzFhMmM5NTRkYWRmOWM4YSIsImVmZmVjdGl2ZV90aW1lIjozNjAwLCJ1c2VyX2lkIjoxMDAwMDEsImFwcF9pZCI6IlFmNXB0d2RHN3BIMSJ9',
'prod': 'eyJ0eXBlIjoxLCJzayI6ImY5ZGQ2YzFiNjliMzIzZjZhYzBiNDA4NWY1Y2FiNTEzIiwiYWsiOiI0MzY4YjFlMGY2NzEwMTU1NzFhMmM5NTRkYWRmOWM4YSIsImVmZmVjdGl2ZV90aW1lIjozNjAwLCJ1c2VyX2lkIjoxMDAwMDEsImFwcF9pZCI6IlFmNXB0d2RHN3BIMSJ9',
}['stage'];
const kongServiceInfo = '';
wx.request({
url: 'https://sso.my-stage.gaoding.com/api/oauth/authorize/sdk',
url: '',
method: 'POST',

@@ -31,0 +26,0 @@ data: {

{
"name": "@gaoding/editor-miniprogram-sdk",
"version": "0.0.6",
"version": "0.0.7",
"description": "稿定小程序编辑器对外 SDK",

@@ -5,0 +5,0 @@ "main": "src/editor-miniprogram-sdk.js",

@@ -46,2 +46,6 @@ Component({

},
// 自定义webview标题
title: {
type: String
},

@@ -113,2 +117,3 @@ // 稿定账户登录及调试,稿定内部专用

clientId: props.clientId,
title: props.title ? encodeURIComponent(props.title) : '',

@@ -115,0 +120,0 @@ // dev

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