@wahoopredict/trading-sdk 0.4.1 → 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.
- package/dist/cjs/package.json +1 -0
- package/dist/esm/schema.d.js +3 -1
- package/dist/types/schema.d.ts +4 -2
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
package/dist/esm/schema.d.js
CHANGED
|
@@ -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
|
|
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.
|
package/dist/types/schema.d.ts
CHANGED
|
@@ -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
|
|
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?:
|
|
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.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "TypeScript SDK for the WahooPredict trading API",
|
|
5
5
|
"author": "WahooPredict",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"generate": "openapi-typescript ./docs/openapi:3.0.public.yml -o ./src/schema.d.ts",
|
|
27
27
|
"build": "npm run build:esm && npm run build:cjs && npm run build:types",
|
|
28
28
|
"build:esm": "swc --config-file esm.swcrc ./src -d dist/esm --strip-leading-paths && node -e \"require('fs').writeFileSync('dist/esm/package.json', JSON.stringify({type: 'module'}))\"",
|
|
29
|
-
"build:cjs": "swc --config-file cjs.swcrc ./src -d dist/cjs --strip-leading-paths",
|
|
29
|
+
"build:cjs": "swc --config-file cjs.swcrc ./src -d dist/cjs --strip-leading-paths && node -e \"require('fs').writeFileSync('dist/cjs/package.json', JSON.stringify({type: 'commonjs'}))\"",
|
|
30
30
|
"build:types": "tsc --project tsconfig.types.json && cp src/schema.d.ts dist/types/schema.d.ts",
|
|
31
31
|
"lint": "eslint src/",
|
|
32
32
|
"lint:types": "tsc --noEmit",
|