@pear-protocol/core-sdk 2.14.0 → 2.14.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.
@@ -2379,13 +2379,24 @@ declare class Core {
2379
2379
  get: (query?: HttpTypes.QuoteFeeParamsInput, headers?: ClientHeaders) => Promise<{
2380
2380
  baseBps: string;
2381
2381
  discounts: {
2382
- scope: "user" | "connector" | "all" | "client_id";
2382
+ scope: "user" | "connector" | "all" | "client_id" | "referral";
2383
2383
  rate: string;
2384
2384
  }[];
2385
2385
  finalBps: string;
2386
2386
  feeRecipient?: string | undefined;
2387
2387
  overrideBps?: string | undefined;
2388
2388
  overrideScope?: "user" | "client_id" | undefined;
2389
+ stpearPricing?: {
2390
+ scheduleVersion: string;
2391
+ observedBalance: string;
2392
+ observedAt: string;
2393
+ tierDiscountRate: string;
2394
+ feeWithoutStpearBps: string;
2395
+ observedBlock?: string | undefined;
2396
+ tierName?: string | undefined;
2397
+ tierMinimumBalance?: string | undefined;
2398
+ nextTierMinimumBalance?: string | undefined;
2399
+ } | undefined;
2389
2400
  }>;
2390
2401
  recipient: (query: HttpTypes.GetFeeRecipientParamsInput, headers?: ClientHeaders) => Promise<{
2391
2402
  recipient?: string | undefined;
@@ -6379,6 +6390,8 @@ declare class Core {
6379
6390
  status: "BOUND";
6380
6391
  tradeCount: number;
6381
6392
  volumeUsd: string;
6393
+ feesPaid: string;
6394
+ earned: string;
6382
6395
  address?: HttpTypes.EthereumAddress | undefined;
6383
6396
  referredAt?: number | undefined;
6384
6397
  } | {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pear-protocol/core-sdk",
3
- "version": "2.14.0",
3
+ "version": "2.14.1",
4
4
  "description": "Pear Protocol Core SDK",
5
5
  "private": false,
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "typecheck": "bunx --package bun@1.4.3 bun --check --threads=2"
27
27
  },
28
28
  "dependencies": {
29
- "@pear-protocol/types": "^2.21.0",
29
+ "@pear-protocol/types": "^2.22.0",
30
30
  "@pear-protocol/utils": "^1.5.0",
31
31
  "qs": "^6.14.0"
32
32
  },