@mpxjs/core 2.6.106 → 2.6.108

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/@types/index.d.ts CHANGED
@@ -304,7 +304,8 @@ interface MpxConfig {
304
304
  hookErrorHandler: (e: Error, target: ComponentIns<{}, {}, {}, {}, []>, hookName: string) => any | null
305
305
  proxyEventHandler: (e: Event) => any | null
306
306
  setDataHandler: (data: object, target: ComponentIns<{}, {}, {}, {}, []>) => any | null
307
- forceRunWatcherSync: boolean
307
+ forceRunWatcherSync: boolean,
308
+ webRouteConfig: object
308
309
  }
309
310
 
310
311
  type SupportedMode = 'wx' | 'ali' | 'qq' | 'swan' | 'tt' | 'web' | 'qa'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/core",
3
- "version": "2.6.106",
3
+ "version": "2.6.108",
4
4
  "description": "mpx runtime core",
5
5
  "keywords": [
6
6
  "miniprogram",
@@ -41,5 +41,5 @@
41
41
  "url": "https://github.com/didi/mpx/issues"
42
42
  },
43
43
  "sideEffects": false,
44
- "gitHead": "449cd5308df9abc1eda6465d6d13608941134ec7"
44
+ "gitHead": "5efa2dec1597b0b7dd45e46b3ddf23bf46e25177"
45
45
  }
package/src/index.js CHANGED
@@ -205,7 +205,8 @@ EXPORT_MPX.config = {
205
205
  hookErrorHandler: null,
206
206
  proxyEventHandler: null,
207
207
  setDataHandler: null,
208
- forceRunWatcherSync: false
208
+ forceRunWatcherSync: false,
209
+ webRouteConfig: {}
209
210
  }
210
211
 
211
212
  global.__mpx = EXPORT_MPX