@bluefin-exchange/pro-sdk 2.0.0-beta.3 → 2.1.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.
package/dist/src/api.d.ts CHANGED
@@ -5532,26 +5532,37 @@ export type TransactionType = typeof TransactionType[keyof typeof TransactionTyp
5532
5532
  * @interface UpdateAccountPreferenceRequest
5533
5533
  */
5534
5534
  export interface UpdateAccountPreferenceRequest {
5535
- [key: string]: any;
5536
5535
  /**
5537
- * User preferred language.
5538
- * @type {string}
5536
+ * Favorite market symbols. Send the full array each time; to remove a favorite, send the array without it.
5537
+ * @type {Array<string>}
5539
5538
  * @memberof UpdateAccountPreferenceRequest
5540
5539
  */
5541
- 'language'?: string;
5540
+ 'favorites'?: Array<string>;
5542
5541
  /**
5543
- * User preferred theme.
5542
+ * Function bar display mode. Note the mixed casing: `all` is lowercase while `Popular` and `Favorites` are capitalized.
5544
5543
  * @type {string}
5545
5544
  * @memberof UpdateAccountPreferenceRequest
5546
5545
  */
5547
- 'theme'?: string;
5546
+ 'functionBarMode'?: UpdateAccountPreferenceRequestFunctionBarModeEnum;
5548
5547
  /**
5549
- *
5550
- * @type {Array<AccountMarketPreference>}
5548
+ * Whether the user has completed onboarding.
5549
+ * @type {boolean}
5551
5550
  * @memberof UpdateAccountPreferenceRequest
5552
5551
  */
5553
- 'market'?: Array<AccountMarketPreference>;
5552
+ 'onboardingCompleted'?: boolean;
5553
+ /**
5554
+ * Whether the user has accepted the terms of service.
5555
+ * @type {boolean}
5556
+ * @memberof UpdateAccountPreferenceRequest
5557
+ */
5558
+ 'termsAccepted'?: boolean;
5554
5559
  }
5560
+ export declare const UpdateAccountPreferenceRequestFunctionBarModeEnum: {
5561
+ readonly All: "all";
5562
+ readonly Popular: "Popular";
5563
+ readonly Favorites: "Favorites";
5564
+ };
5565
+ export type UpdateAccountPreferenceRequestFunctionBarModeEnum = typeof UpdateAccountPreferenceRequestFunctionBarModeEnum[keyof typeof UpdateAccountPreferenceRequestFunctionBarModeEnum];
5555
5566
  /**
5556
5567
  *
5557
5568
  * @export
package/dist/src/api.js CHANGED
@@ -583,6 +583,11 @@ export const TransactionType = {
583
583
  Bonus: 'BONUS',
584
584
  Unspecified: 'UNSPECIFIED'
585
585
  };
586
+ export const UpdateAccountPreferenceRequestFunctionBarModeEnum = {
587
+ All: 'all',
588
+ Popular: 'Popular',
589
+ Favorites: 'Favorites'
590
+ };
586
591
  export const UserCampaignRewardsStatusEnum = {
587
592
  Active: 'ACTIVE',
588
593
  NotStarted: 'NOT_STARTED',
package/package.json CHANGED
@@ -6,11 +6,13 @@
6
6
  "@types/ws": "^8.5.13",
7
7
  "axios": "^1.13.6",
8
8
  "isomorphic-ws": "^5.0.0",
9
+ "ts-node": "^10.9.2",
9
10
  "ws": "^8.18.0"
10
11
  },
11
12
  "description": "OpenAPI client for @bluefin-exchange/pro-sdk",
12
13
  "devDependencies": {
13
14
  "@types/node": "^22.10.7",
15
+ "tsx": "^4.22.4",
14
16
  "typescript": "^4.0 || ^5.0"
15
17
  },
16
18
  "exports": {
@@ -38,7 +40,8 @@
38
40
  "@mysten/sui": "^2.13.0"
39
41
  },
40
42
  "resolutions": {
41
- "@mysten/sui": "^2.13.0"
43
+ "@mysten/sui": "^2.13.0",
44
+ "@noble/curves": "^1.8.1"
42
45
  },
43
46
  "publishConfig": {
44
47
  "access": "public"
@@ -56,5 +59,5 @@
56
59
  "prepare": "npm run build"
57
60
  },
58
61
  "types": "./dist/index.d.ts",
59
- "version": "2.0.0-beta.3"
62
+ "version": "2.1.0"
60
63
  }