@mpxjs/api-proxy 2.8.0-beta.2 → 2.8.1
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.8.
|
|
3
|
+
"version": "2.8.1",
|
|
4
4
|
"description": "convert miniprogram API at each end",
|
|
5
5
|
"module": "src/index.js",
|
|
6
6
|
"types": "@types/index.d.ts",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"axios": "^0.21.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "19f21ed57a671536eb1b2e059758118b026bab25"
|
|
43
43
|
}
|
|
@@ -637,7 +637,7 @@ const getWxToAliApi = ({ optimize = false }) => {
|
|
|
637
637
|
selectorQuery.exec = function (originalCb = noop) {
|
|
638
638
|
const cb = function (results) {
|
|
639
639
|
results.forEach((item, index) => {
|
|
640
|
-
cbs[index](item)
|
|
640
|
+
cbs[index] && cbs[index](item)
|
|
641
641
|
})
|
|
642
642
|
originalCb(results)
|
|
643
643
|
}
|