@metamask-previews/bridge-status-controller 34.0.0-preview-d9822daf → 34.0.0-preview-f064b975

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/CHANGELOG.md CHANGED
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Changed
11
11
 
12
+ - Bump `@metamask/controller-utils` from `^11.10.0` to `^11.11.0` ([#6069](https://github.com/MetaMask/core/pull/6069))
12
13
  - Bump `@metamask/utils` from `^11.2.0` to `^11.4.2` ([#6054](https://github.com/MetaMask/core/pull/6054))
13
14
 
14
15
  ## [34.0.0]
@@ -3,6 +3,7 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
3
3
  status: StatusTypes;
4
4
  srcChain: {
5
5
  chainId: number;
6
+ amount?: string | undefined;
6
7
  token?: {
7
8
  symbol: string;
8
9
  address: string;
@@ -13,13 +14,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
13
14
  iconUrl?: string | null | undefined;
14
15
  icon?: string | null | undefined;
15
16
  } | {} | undefined;
16
- amount?: string | undefined;
17
17
  txHash?: string | undefined;
18
18
  };
19
19
  bridge?: string | undefined;
20
20
  refuel?: {} | undefined;
21
21
  destChain?: {
22
22
  chainId: number;
23
+ amount?: string | undefined;
23
24
  token?: {
24
25
  symbol: string;
25
26
  address: string;
@@ -30,7 +31,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
30
31
  iconUrl?: string | null | undefined;
31
32
  icon?: string | null | undefined;
32
33
  } | {} | undefined;
33
- amount?: string | undefined;
34
34
  txHash?: string | undefined;
35
35
  } | undefined;
36
36
  isExpectedToken?: boolean | undefined;
@@ -44,6 +44,7 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
44
44
  }>;
45
45
  srcChain: import("@metamask/superstruct").Struct<{
46
46
  chainId: number;
47
+ amount?: string | undefined;
47
48
  token?: {
48
49
  symbol: string;
49
50
  address: string;
@@ -54,7 +55,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
54
55
  iconUrl?: string | null | undefined;
55
56
  icon?: string | null | undefined;
56
57
  } | {} | undefined;
57
- amount?: string | undefined;
58
58
  txHash?: string | undefined;
59
59
  }, {
60
60
  chainId: import("@metamask/superstruct").Struct<number, null>;
@@ -80,6 +80,7 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
80
80
  }>;
81
81
  destChain: import("@metamask/superstruct").Struct<{
82
82
  chainId: number;
83
+ amount?: string | undefined;
83
84
  token?: {
84
85
  symbol: string;
85
86
  address: string;
@@ -90,7 +91,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
90
91
  iconUrl?: string | null | undefined;
91
92
  icon?: string | null | undefined;
92
93
  } | {} | undefined;
93
- amount?: string | undefined;
94
94
  txHash?: string | undefined;
95
95
  } | undefined, {
96
96
  chainId: import("@metamask/superstruct").Struct<number, null>;
@@ -3,6 +3,7 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
3
3
  status: StatusTypes;
4
4
  srcChain: {
5
5
  chainId: number;
6
+ amount?: string | undefined;
6
7
  token?: {
7
8
  symbol: string;
8
9
  address: string;
@@ -13,13 +14,13 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
13
14
  iconUrl?: string | null | undefined;
14
15
  icon?: string | null | undefined;
15
16
  } | {} | undefined;
16
- amount?: string | undefined;
17
17
  txHash?: string | undefined;
18
18
  };
19
19
  bridge?: string | undefined;
20
20
  refuel?: {} | undefined;
21
21
  destChain?: {
22
22
  chainId: number;
23
+ amount?: string | undefined;
23
24
  token?: {
24
25
  symbol: string;
25
26
  address: string;
@@ -30,7 +31,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
30
31
  iconUrl?: string | null | undefined;
31
32
  icon?: string | null | undefined;
32
33
  } | {} | undefined;
33
- amount?: string | undefined;
34
34
  txHash?: string | undefined;
35
35
  } | undefined;
36
36
  isExpectedToken?: boolean | undefined;
@@ -44,6 +44,7 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
44
44
  }>;
45
45
  srcChain: import("@metamask/superstruct").Struct<{
46
46
  chainId: number;
47
+ amount?: string | undefined;
47
48
  token?: {
48
49
  symbol: string;
49
50
  address: string;
@@ -54,7 +55,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
54
55
  iconUrl?: string | null | undefined;
55
56
  icon?: string | null | undefined;
56
57
  } | {} | undefined;
57
- amount?: string | undefined;
58
58
  txHash?: string | undefined;
59
59
  }, {
60
60
  chainId: import("@metamask/superstruct").Struct<number, null>;
@@ -80,6 +80,7 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
80
80
  }>;
81
81
  destChain: import("@metamask/superstruct").Struct<{
82
82
  chainId: number;
83
+ amount?: string | undefined;
83
84
  token?: {
84
85
  symbol: string;
85
86
  address: string;
@@ -90,7 +91,6 @@ export declare const StatusResponseSchema: import("@metamask/superstruct").Struc
90
91
  iconUrl?: string | null | undefined;
91
92
  icon?: string | null | undefined;
92
93
  } | {} | undefined;
93
- amount?: string | undefined;
94
94
  txHash?: string | undefined;
95
95
  } | undefined, {
96
96
  chainId: import("@metamask/superstruct").Struct<number, null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/bridge-status-controller",
3
- "version": "34.0.0-preview-d9822daf",
3
+ "version": "34.0.0-preview-f064b975",
4
4
  "description": "Manages bridge-related status fetching functionality for MetaMask",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@metamask/base-controller": "^8.0.1",
51
- "@metamask/controller-utils": "^11.10.0",
51
+ "@metamask/controller-utils": "^11.11.0",
52
52
  "@metamask/keyring-api": "^18.0.0",
53
53
  "@metamask/polling-controller": "^14.0.0",
54
54
  "@metamask/superstruct": "^3.1.0",
@@ -63,7 +63,7 @@
63
63
  "@metamask/gas-fee-controller": "^24.0.0",
64
64
  "@metamask/network-controller": "^24.0.0",
65
65
  "@metamask/snaps-controllers": "^14.0.1",
66
- "@metamask/transaction-controller": "^58.1.0",
66
+ "@metamask/transaction-controller": "^58.1.1",
67
67
  "@types/jest": "^27.4.1",
68
68
  "deepmerge": "^4.2.2",
69
69
  "jest": "^27.5.1",