longbridge
Advanced tools
Comparing version 0.2.34 to 0.2.35
@@ -23,3 +23,3 @@ /* tslint:disable */ | ||
* Websocket url for trade API (default: | ||
* "wss://openapi-trade.longbridgeapp.com") | ||
* "wss://openapi-trade.longbridgeapp.com/v2") | ||
*/ | ||
@@ -393,3 +393,5 @@ tradeWsUrl?: string | ||
/** Trailing Market If Touched (Trailing Percent) */ | ||
TSMPCT = 12 | ||
TSMPCT = 12, | ||
/** Special Limit Order */ | ||
SLO = 13 | ||
} | ||
@@ -497,6 +499,8 @@ /** Order tag */ | ||
/** | ||
* Gets a new `access_token`, and also replaces the `access_token` in | ||
* `Config` | ||
* Gets a new `access_token` | ||
* | ||
* `expired_at` - The expiration time of the access token, defaults to `90` | ||
* days. | ||
*/ | ||
refreshAccessToken(): Promise<string> | ||
refreshAccessToken(expiredAt?: Date | undefined | null): Promise<string> | ||
} | ||
@@ -503,0 +507,0 @@ export class Decimal { |
{ | ||
"name": "longbridge", | ||
"version": "0.2.34", | ||
"version": "0.2.35", | ||
"main": "index.js", | ||
@@ -35,7 +35,7 @@ "types": "index.d.ts", | ||
"optionalDependencies": { | ||
"longbridge-win32-x64-msvc": "0.2.34", | ||
"longbridge-darwin-x64": "0.2.34", | ||
"longbridge-linux-x64-gnu": "0.2.34", | ||
"longbridge-darwin-arm64": "0.2.34" | ||
"longbridge-win32-x64-msvc": "0.2.35", | ||
"longbridge-darwin-x64": "0.2.35", | ||
"longbridge-linux-x64-gnu": "0.2.35", | ||
"longbridge-darwin-arm64": "0.2.35" | ||
} | ||
} |
71185
2546