@metamask-previews/keyring-api 21.5.0-25e4b24 → 21.5.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +0 -1
  2. package/dist/api/account-options.cjs +4 -0
  3. package/dist/api/account-options.cjs.map +1 -1
  4. package/dist/api/account-options.d.cts +4 -0
  5. package/dist/api/account-options.d.cts.map +1 -1
  6. package/dist/api/account-options.d.mts +4 -0
  7. package/dist/api/account-options.d.mts.map +1 -1
  8. package/dist/api/account-options.mjs +4 -0
  9. package/dist/api/account-options.mjs.map +1 -1
  10. package/dist/api/account.d.cts +2 -2
  11. package/dist/api/account.d.mts +2 -2
  12. package/dist/api/asset.d.cts +2 -2
  13. package/dist/api/asset.d.mts +2 -2
  14. package/dist/api/request.d.cts +3 -3
  15. package/dist/api/request.d.mts +3 -3
  16. package/dist/api/response.d.cts +1 -1
  17. package/dist/api/response.d.mts +1 -1
  18. package/dist/api/transaction.d.cts +71 -71
  19. package/dist/api/transaction.d.mts +71 -71
  20. package/dist/api/v2/create-account/bip44.d.cts +1 -1
  21. package/dist/api/v2/create-account/bip44.d.mts +1 -1
  22. package/dist/api/v2/create-account/index.d.cts +1 -1
  23. package/dist/api/v2/create-account/index.d.mts +1 -1
  24. package/dist/api/v2/keyring-type.cjs +0 -4
  25. package/dist/api/v2/keyring-type.cjs.map +1 -1
  26. package/dist/api/v2/keyring-type.d.cts +1 -5
  27. package/dist/api/v2/keyring-type.d.cts.map +1 -1
  28. package/dist/api/v2/keyring-type.d.mts +1 -5
  29. package/dist/api/v2/keyring-type.d.mts.map +1 -1
  30. package/dist/api/v2/keyring-type.mjs +0 -4
  31. package/dist/api/v2/keyring-type.mjs.map +1 -1
  32. package/dist/btc/types.d.cts +8 -8
  33. package/dist/btc/types.d.mts +8 -8
  34. package/dist/eth/erc4337/types.d.cts +3 -3
  35. package/dist/eth/erc4337/types.d.mts +3 -3
  36. package/dist/eth/rpc/params.d.cts +29 -29
  37. package/dist/eth/rpc/params.d.mts +29 -29
  38. package/dist/eth/types.d.cts +4 -4
  39. package/dist/eth/types.d.mts +4 -4
  40. package/dist/events.d.cts +50 -50
  41. package/dist/events.d.mts +50 -50
  42. package/dist/rpc.d.cts +133 -133
  43. package/dist/rpc.d.mts +133 -133
  44. package/dist/sol/types.d.cts +2 -2
  45. package/dist/sol/types.d.mts +2 -2
  46. package/dist/trx/types.d.cts +2 -2
  47. package/dist/trx/types.d.mts +2 -2
  48. package/package.json +1 -1
@@ -18,6 +18,8 @@ export declare enum SolMethod {
18
18
  export declare const SolDataAccountStruct: import("@metamask/superstruct").Struct<{
19
19
  type: "solana:data-account";
20
20
  id: string;
21
+ address: string;
22
+ scopes: `${string}:${string}`[];
21
23
  options: Record<string, import("@metamask/utils").Json> & {
22
24
  entropy?: {
23
25
  type: "mnemonic";
@@ -31,8 +33,6 @@ export declare const SolDataAccountStruct: import("@metamask/superstruct").Struc
31
33
  };
32
34
  exportable?: boolean;
33
35
  };
34
- address: string;
35
- scopes: `${string}:${string}`[];
36
36
  methods: SolMethod[];
37
37
  }, {
38
38
  /**
@@ -18,6 +18,8 @@ export declare enum SolMethod {
18
18
  export declare const SolDataAccountStruct: import("@metamask/superstruct").Struct<{
19
19
  type: "solana:data-account";
20
20
  id: string;
21
+ address: string;
22
+ scopes: `${string}:${string}`[];
21
23
  options: Record<string, import("@metamask/utils").Json> & {
22
24
  entropy?: {
23
25
  type: "mnemonic";
@@ -31,8 +33,6 @@ export declare const SolDataAccountStruct: import("@metamask/superstruct").Struc
31
33
  };
32
34
  exportable?: boolean;
33
35
  };
34
- address: string;
35
- scopes: `${string}:${string}`[];
36
36
  methods: SolMethod[];
37
37
  }, {
38
38
  /**
@@ -16,6 +16,8 @@ export declare enum TrxMethod {
16
16
  export declare const TrxEoaAccountStruct: import("@metamask/superstruct").Struct<{
17
17
  type: "tron:eoa";
18
18
  id: string;
19
+ address: string;
20
+ scopes: `${string}:${string}`[];
19
21
  options: Record<string, import("@metamask/utils").Json> & {
20
22
  entropy?: {
21
23
  type: "mnemonic";
@@ -29,8 +31,6 @@ export declare const TrxEoaAccountStruct: import("@metamask/superstruct").Struct
29
31
  };
30
32
  exportable?: boolean;
31
33
  };
32
- address: string;
33
- scopes: `${string}:${string}`[];
34
34
  methods: TrxMethod[];
35
35
  }, {
36
36
  /**
@@ -16,6 +16,8 @@ export declare enum TrxMethod {
16
16
  export declare const TrxEoaAccountStruct: import("@metamask/superstruct").Struct<{
17
17
  type: "tron:eoa";
18
18
  id: string;
19
+ address: string;
20
+ scopes: `${string}:${string}`[];
19
21
  options: Record<string, import("@metamask/utils").Json> & {
20
22
  entropy?: {
21
23
  type: "mnemonic";
@@ -29,8 +31,6 @@ export declare const TrxEoaAccountStruct: import("@metamask/superstruct").Struct
29
31
  };
30
32
  exportable?: boolean;
31
33
  };
32
- address: string;
33
- scopes: `${string}:${string}`[];
34
34
  methods: TrxMethod[];
35
35
  }, {
36
36
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/keyring-api",
3
- "version": "21.5.0-25e4b24",
3
+ "version": "21.5.0-cd75414",
4
4
  "description": "MetaMask Keyring API",
5
5
  "keywords": [
6
6
  "metamask",