@mpxjs/api-proxy 2.9.70 → 2.9.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/api-proxy",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.73",
|
|
4
4
|
"description": "convert miniprogram API at each end",
|
|
5
5
|
"module": "src/index.js",
|
|
6
6
|
"types": "@types/index.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/didi/mpx#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@mpxjs/utils": "^2.9.
|
|
40
|
+
"@mpxjs/utils": "^2.9.73",
|
|
41
41
|
"axios": "^1.7.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"optional": true
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "296482bcb03ab01081a96dcb41ce37df393c3281"
|
|
76
76
|
}
|
|
@@ -139,7 +139,7 @@ const getLaunchOptionsSync = function () {
|
|
|
139
139
|
throwSSRWarning('getLaunchOptionsSync API is running in non browser environments')
|
|
140
140
|
return
|
|
141
141
|
}
|
|
142
|
-
return global.
|
|
142
|
+
return global.__mpxLaunchOptions || {}
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
export {
|
|
@@ -41,18 +41,11 @@ const getWindowInfo = function () {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
const getLaunchOptionsSync = function () {
|
|
44
|
-
|
|
45
|
-
const { path, scene, query } = options
|
|
46
|
-
return {
|
|
47
|
-
path,
|
|
48
|
-
scene,
|
|
49
|
-
query
|
|
50
|
-
}
|
|
44
|
+
return global.__mpxLaunchOptions || {}
|
|
51
45
|
}
|
|
52
46
|
|
|
53
47
|
const getEnterOptionsSync = function () {
|
|
54
|
-
|
|
55
|
-
return result
|
|
48
|
+
return global.__mpxEnterOptions || {}
|
|
56
49
|
}
|
|
57
50
|
|
|
58
51
|
export {
|