@metamask-previews/keyring-utils 3.2.0-25e4b24 → 3.2.0-cd75414

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.
@@ -1,14 +1,14 @@
1
1
  import type { Infer } from "@metamask/superstruct";
2
2
  export declare const JsonRpcRequestStruct: import("@metamask/superstruct").Struct<{
3
- method: string;
4
- id: string | number | null;
5
3
  jsonrpc: "2.0";
6
- params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
4
+ id: string | number | null;
5
+ method: string;
6
+ params?: import("@metamask/utils").Json[] | Record<string, import("@metamask/utils").Json>;
7
7
  }, {
8
8
  jsonrpc: import("@metamask/superstruct").Struct<"2.0", "2.0">;
9
9
  id: import("@metamask/superstruct").Struct<string | number | null, null>;
10
10
  method: import("@metamask/superstruct").Struct<string, null>;
11
- params: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[] | import("./superstruct.cjs").ExactOptionalTag, null>;
11
+ params: import("@metamask/superstruct").Struct<import("./superstruct.cjs").ExactOptionalTag | import("@metamask/utils").Json[] | Record<string, import("@metamask/utils").Json>, null>;
12
12
  }>;
13
13
  /**
14
14
  * JSON-RPC request type.
@@ -1,14 +1,14 @@
1
1
  import type { Infer } from "@metamask/superstruct";
2
2
  export declare const JsonRpcRequestStruct: import("@metamask/superstruct").Struct<{
3
- method: string;
4
- id: string | number | null;
5
3
  jsonrpc: "2.0";
6
- params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
4
+ id: string | number | null;
5
+ method: string;
6
+ params?: import("@metamask/utils").Json[] | Record<string, import("@metamask/utils").Json>;
7
7
  }, {
8
8
  jsonrpc: import("@metamask/superstruct").Struct<"2.0", "2.0">;
9
9
  id: import("@metamask/superstruct").Struct<string | number | null, null>;
10
10
  method: import("@metamask/superstruct").Struct<string, null>;
11
- params: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[] | import("./superstruct.mjs").ExactOptionalTag, null>;
11
+ params: import("@metamask/superstruct").Struct<import("./superstruct.mjs").ExactOptionalTag | import("@metamask/utils").Json[] | Record<string, import("@metamask/utils").Json>, null>;
12
12
  }>;
13
13
  /**
14
14
  * JSON-RPC request type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/keyring-utils",
3
- "version": "3.2.0-25e4b24",
3
+ "version": "3.2.0-cd75414",
4
4
  "description": "MetaMask Keyring utils",
5
5
  "keywords": [
6
6
  "metamask",