@wahoopredict/trading-sdk 0.4.2 → 0.4.3

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.
@@ -75,7 +75,9 @@
75
75
  * }
76
76
  */ /** @description Get user profile */ /**
77
77
  * @description Comma-separated list of fields to include in the response.
78
- * If omitted, a default set of public fields will be returned (e.g., id, username, email).
78
+ * If omitted, a default set of public fields will be returned.
79
+ * Available values: id, username, role, firstName, lastName, email, photo, phone, verifications, permissions, transactionsLimit, hasPassword, OTPEnabled, balance, bonusBalance, totalBalance, unsubscribed_mails, payId, referralProfit
80
+ * @example id,username,email
79
81
  */ /** @description User data successfully retrieved. */ /** @description Unique identifier for the user. */ /** @description User's chosen username. */ /** @enum {string} */ /** Format: email */ /**
80
82
  * Format: uri
81
83
  * @description URL to the user's profile picture.
@@ -482,9 +482,11 @@ export interface paths {
482
482
  query?: {
483
483
  /**
484
484
  * @description Comma-separated list of fields to include in the response.
485
- * If omitted, a default set of public fields will be returned (e.g., id, username, email).
485
+ * If omitted, a default set of public fields will be returned.
486
+ * Available values: id, username, role, firstName, lastName, email, photo, phone, verifications, permissions, transactionsLimit, hasPassword, OTPEnabled, balance, bonusBalance, totalBalance, unsubscribed_mails, payId, referralProfit
487
+ * @example id,username,email
486
488
  */
487
- fields?: ("id" | "username" | "role" | "firstName" | "lastName" | "email" | "photo" | "phone" | "verifications" | "permissions" | "transactionsLimit" | "hasPassword" | "OTPEnabled" | "balance" | "bonusBalance" | "totalBalance" | "unsubscribed_mails" | "payId" | "referralProfit")[];
489
+ fields?: string;
488
490
  };
489
491
  header?: never;
490
492
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wahoopredict/trading-sdk",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "TypeScript SDK for the WahooPredict trading API",
5
5
  "author": "WahooPredict",
6
6
  "license": "MIT",