@mpxjs/api-proxy 2.10.4 → 2.10.5

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.10.4",
3
+ "version": "2.10.5",
4
4
  "description": "convert miniprogram API at each end",
5
5
  "module": "src/index.js",
6
6
  "types": "@types/index.d.ts",
@@ -68,5 +68,5 @@
68
68
  "optional": true
69
69
  }
70
70
  },
71
- "gitHead": "c877bcebc894c75fe107f7b997cee5b494932e43"
71
+ "gitHead": "80a4120733a1ee64e394ae58240497ea6721f435"
72
72
  }
@@ -1,4 +1,4 @@
1
- import Animation from './animation.react'
1
+ import Animation from './animation'
2
2
 
3
3
  export const createAnimation = (option) => {
4
4
  return new Animation(option)
@@ -33,7 +33,7 @@ function getSystemInfoSync () {
33
33
  }
34
34
 
35
35
  const getDeviceInfo = function () {
36
- const res = ENV_OBJ.getDeviceBaseInfo
36
+ const res = ENV_OBJ.getDeviceBaseInfo()
37
37
  defineUnsupportedProps(res, ['deviceAbi', 'benchmarkLevel', 'cpuType'])
38
38
  return res
39
39
  }