@pear-protocol/core-sdk 1.10.0 → 1.11.1

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.
@@ -48,7 +48,12 @@ declare class Auth {
48
48
  tokenType: "Bearer";
49
49
  expiresIn: number;
50
50
  }>;
51
- verifyEmail(body: HttpTypes.VerifyEmailRequest, headers?: ClientHeaders): Promise<void>;
51
+ verifyEmail(body: HttpTypes.VerifyEmailRequest, headers?: ClientHeaders): Promise<{
52
+ verified: true;
53
+ email: string;
54
+ flow: "register" | "link";
55
+ verifiedAt: string;
56
+ }>;
52
57
  resendVerificationForLink(headers?: ClientHeaders): Promise<void>;
53
58
  resendVerificationForRegister(body: HttpTypes.ResendVerificationForRegisterRequest, headers?: ClientHeaders): Promise<void>;
54
59
  changePassword(body: HttpTypes.ChangePasswordRequest, headers?: ClientHeaders): Promise<void>;
@@ -2060,6 +2060,7 @@ declare class Core {
2060
2060
  openLite: (headers?: ClientHeaders) => Promise<{
2061
2061
  positions: {
2062
2062
  id: string;
2063
+ positionKey: string;
2063
2064
  createdAt: string;
2064
2065
  exposure: Record<string, `-${string}` | `+${string}`>;
2065
2066
  status: "OPEN";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pear-protocol/core-sdk",
3
- "version": "1.10.0",
3
+ "version": "1.11.1",
4
4
  "description": "Pear Protocol Core SDK",
5
5
  "private": false,
6
6
  "type": "module",
@@ -25,8 +25,8 @@
25
25
  "typecheck": "tsc --noEmit"
26
26
  },
27
27
  "dependencies": {
28
- "@pear-protocol/types": "^1.13.0",
29
- "@pear-protocol/utils": "^0.2.0",
28
+ "@pear-protocol/types": "^1.14.1",
29
+ "@pear-protocol/utils": "^0.3.0",
30
30
  "qs": "^6.14.0"
31
31
  },
32
32
  "devDependencies": {