@mpxjs/api-proxy
Advanced tools
Comparing version 2.1.12 to 2.1.13
{ | ||
"name": "@mpxjs/api-proxy", | ||
"version": "2.1.12", | ||
"version": "2.1.13", | ||
"description": "convert miniprogram API at each end", | ||
@@ -30,3 +30,3 @@ "module": "src/index.js", | ||
"homepage": "https://github.com/didi/mpx#readme", | ||
"gitHead": "cad6c0288717229ba47911aa1fca4579518f83b3" | ||
"gitHead": "2667e21f5b0651e04e1b924b9d005ffccfdf9502" | ||
} |
@@ -456,10 +456,4 @@ import { changeOpts, handleSuccess, getEnvObj, error, warn, noop } from '../utils' | ||
login (options = {}) { | ||
let opts | ||
const opts = changeOpts(options) | ||
if (!options.scopes) { | ||
opts = changeOpts(options, undefined, { scopes: 'auth_user' }) | ||
} else { | ||
opts = changeOpts(options) | ||
} | ||
handleSuccess(opts, res => { | ||
@@ -466,0 +460,0 @@ return changeOpts(res, { authCode: 'code' }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41234
10
756
1