@pear-protocol/core-sdk 2.3.0 → 2.5.0

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.
@@ -47,7 +47,7 @@ declare class Auth {
47
47
  refreshToken: string;
48
48
  user: {
49
49
  id: string;
50
- role: "vault" | "basic" | "pro";
50
+ role: "basic" | "pro" | "vault";
51
51
  providerId: string | null;
52
52
  loginMethod: "email" | "evm_wallet" | "oauth" | "x";
53
53
  };
@@ -77,7 +77,7 @@ declare class Auth {
77
77
  refreshToken: string;
78
78
  user: {
79
79
  id: string;
80
- role: "vault" | "basic" | "pro";
80
+ role: "basic" | "pro" | "vault";
81
81
  providerId: string | null;
82
82
  loginMethod: "email" | "evm_wallet" | "oauth" | "x";
83
83
  };
@@ -91,7 +91,7 @@ declare class Auth {
91
91
  logout(headers?: ClientHeaders): Promise<void>;
92
92
  me(headers?: ClientHeaders): Promise<{
93
93
  id: string;
94
- role: "vault" | "basic" | "pro";
94
+ role: "basic" | "pro" | "vault";
95
95
  providerId: string | null;
96
96
  loginMethod: "email" | "evm_wallet" | "oauth" | "x";
97
97
  identities: {
@@ -102,7 +102,7 @@ declare class Auth {
102
102
  }>;
103
103
  apiKeyMe(headers?: ClientHeaders): Promise<{
104
104
  id: string;
105
- role: "vault" | "basic" | "pro";
105
+ role: "basic" | "pro" | "vault";
106
106
  scope: "read" | "read_write";
107
107
  authMethod: "api_key";
108
108
  }>;