@onekeyfe/cross-inpage-provider-core 2.2.28 → 2.2.30

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.
@@ -16,6 +16,7 @@ import { IJsBridgeMessageTypes, } from '@onekeyfe/cross-inpage-provider-types';
16
16
  import versionInfo from './versionInfo';
17
17
  function toPlainError(errorInfo) {
18
18
  return {
19
+ constructorName: errorInfo.constructorName,
19
20
  name: errorInfo.name,
20
21
  message: errorInfo.message,
21
22
  stack: errorInfo.stack,
@@ -26,6 +27,8 @@ function toPlainError(errorInfo) {
26
27
  className: errorInfo.className,
27
28
  autoToast: errorInfo.autoToast,
28
29
  requestId: errorInfo.requestId,
30
+ reconnect: errorInfo.reconnect,
31
+ payload: errorInfo.payload,
29
32
  };
30
33
  }
31
34
  function isLegacyExtMessage(payload) {
@@ -23,6 +23,7 @@ const cross_inpage_provider_types_1 = require("@onekeyfe/cross-inpage-provider-t
23
23
  const versionInfo_1 = __importDefault(require("./versionInfo"));
24
24
  function toPlainError(errorInfo) {
25
25
  return {
26
+ constructorName: errorInfo.constructorName,
26
27
  name: errorInfo.name,
27
28
  message: errorInfo.message,
28
29
  stack: errorInfo.stack,
@@ -33,6 +34,8 @@ function toPlainError(errorInfo) {
33
34
  className: errorInfo.className,
34
35
  autoToast: errorInfo.autoToast,
35
36
  requestId: errorInfo.requestId,
37
+ reconnect: errorInfo.reconnect,
38
+ payload: errorInfo.payload,
36
39
  };
37
40
  }
38
41
  function isLegacyExtMessage(payload) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const version = '2.2.28';
3
+ const version = '2.2.30';
4
4
  const versionBuild = '2020-0101-1';
5
5
  exports.default = {
6
6
  version,
@@ -1,4 +1,4 @@
1
- const version = '2.2.28';
1
+ const version = '2.2.30';
2
2
  const versionBuild = '2020-0101-1';
3
3
  export default {
4
4
  version,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/cross-inpage-provider-core",
3
- "version": "2.2.28",
3
+ "version": "2.2.30",
4
4
  "keywords": [
5
5
  "cross-inpage-provider"
6
6
  ],
@@ -30,9 +30,9 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@noble/hashes": "^1.7.1",
33
- "@onekeyfe/cross-inpage-provider-errors": "2.2.28",
34
- "@onekeyfe/cross-inpage-provider-events": "2.2.28",
35
- "@onekeyfe/cross-inpage-provider-types": "2.2.28",
33
+ "@onekeyfe/cross-inpage-provider-errors": "2.2.30",
34
+ "@onekeyfe/cross-inpage-provider-events": "2.2.30",
35
+ "@onekeyfe/cross-inpage-provider-types": "2.2.30",
36
36
  "events": "^3.3.0",
37
37
  "lodash-es": "^4.17.21",
38
38
  "ms": "^2.1.3"
@@ -40,5 +40,5 @@
40
40
  "devDependencies": {
41
41
  "@types/lodash-es": "^4.17.12"
42
42
  },
43
- "gitHead": "473ece52d08eeb9eed490a3172fad5f954338800"
43
+ "gitHead": "71614ae7f94a2692426d5654d35d96a934d16dde"
44
44
  }