@anrmk/str-package 0.1.12 → 0.1.14

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/index.d.cts CHANGED
@@ -4,6 +4,6 @@ export { createDefaultProgress, createDefaultWallet, currentDailyEquity, trading
4
4
  export { isSameUtcDay, parseNumber, toIsoDate } from './utils/helper.cjs';
5
5
  export { TSyncResponse } from './types/index.cjs';
6
6
  export { IBybitAccountInfo, IBybitApiKeyInfo, IBybitApiResponse, IBybitApiResponseList, IBybitClosedPnl, IBybitClosedPnlRequest, IBybitClosedPnlResponse, IBybitCoinBalance, IBybitCredentials, IBybitDemoApplyMoneyItem, IBybitDemoApplyMoneyPayload, IBybitDemoApplyMoneyRequest, IBybitDemoApplyMoneyResponse, IBybitPositionInfo, IBybitWalletAccount, IBybitWalletResponse } from './types/bybit/index.cjs';
7
- export { TChallengeAccountInfo, TChallengeApiKeyInfo, TChallengeCapital, TChallengeItem, TChallengeListItem, TChallengeMode, TChallengePositionInfo, TChallengeProvider, TChallengeRule, TChallengeStatistics, TChallengeStatus, TChallengeType, TDrawdownType, TTradingType } from './types/challenge/index.cjs';
7
+ export { TChallengeAccountInfo, TChallengeApiKeyInfo, TChallengeCapital, TChallengeItem, TChallengeListItem, TChallengeMode, TChallengePositionInfo, TChallengeProvider, TChallengeRule, TChallengeStatistics, TChallengeStatus, TChallengeTier, TChallengeType, TDrawdownType, TTradingType } from './types/challenge/index.cjs';
8
8
  export { T as TChallengeClosedPnl, a as TChallengeProgress, b as TChallengeWalletBalance } from './TChallengeProgress-C_DBsbUa.cjs';
9
9
  export { I as IBybitAccountType, a as IBybitApiKeyVipLevel, b as IBybitCoinType } from './enums--bdw39rp.cjs';
package/dist/index.d.ts CHANGED
@@ -4,6 +4,6 @@ export { createDefaultProgress, createDefaultWallet, currentDailyEquity, trading
4
4
  export { isSameUtcDay, parseNumber, toIsoDate } from './utils/helper.js';
5
5
  export { TSyncResponse } from './types/index.js';
6
6
  export { IBybitAccountInfo, IBybitApiKeyInfo, IBybitApiResponse, IBybitApiResponseList, IBybitClosedPnl, IBybitClosedPnlRequest, IBybitClosedPnlResponse, IBybitCoinBalance, IBybitCredentials, IBybitDemoApplyMoneyItem, IBybitDemoApplyMoneyPayload, IBybitDemoApplyMoneyRequest, IBybitDemoApplyMoneyResponse, IBybitPositionInfo, IBybitWalletAccount, IBybitWalletResponse } from './types/bybit/index.js';
7
- export { TChallengeAccountInfo, TChallengeApiKeyInfo, TChallengeCapital, TChallengeItem, TChallengeListItem, TChallengeMode, TChallengePositionInfo, TChallengeProvider, TChallengeRule, TChallengeStatistics, TChallengeStatus, TChallengeType, TDrawdownType, TTradingType } from './types/challenge/index.js';
7
+ export { TChallengeAccountInfo, TChallengeApiKeyInfo, TChallengeCapital, TChallengeItem, TChallengeListItem, TChallengeMode, TChallengePositionInfo, TChallengeProvider, TChallengeRule, TChallengeStatistics, TChallengeStatus, TChallengeTier, TChallengeType, TDrawdownType, TTradingType } from './types/challenge/index.js';
8
8
  export { T as TChallengeClosedPnl, a as TChallengeProgress, b as TChallengeWalletBalance } from './TChallengeProgress-UmIOnrHy.js';
9
9
  export { I as IBybitAccountType, a as IBybitApiKeyVipLevel, b as IBybitCoinType } from './enums--bdw39rp.js';
@@ -1,4 +1,4 @@
1
- import { a as IBybitApiKeyVipLevel } from '../../enums--bdw39rp.cjs';
1
+ import { a as IBybitApiKeyVipLevel, b as IBybitCoinType } from '../../enums--bdw39rp.cjs';
2
2
  import { a as TChallengeProgress, b as TChallengeWalletBalance } from '../../TChallengeProgress-C_DBsbUa.cjs';
3
3
  export { T as TChallengeClosedPnl } from '../../TChallengeProgress-C_DBsbUa.cjs';
4
4
  export { TSyncResponse } from '../index.cjs';
@@ -24,9 +24,10 @@ type TChallengeRule = {
24
24
  profitTargetPct: number;
25
25
  feePolicy: string;
26
26
  prohibitedActions: string[];
27
+ isActive: boolean;
27
28
  readonly createdAt: string;
28
29
  readonly updatedAt: string;
29
- isActive: boolean;
30
+ tiers?: TChallengeTier[];
30
31
  };
31
32
 
32
33
  type TChallengeAccountInfo = {
@@ -156,4 +157,15 @@ type TChallengeStatistics = {
156
157
  totalCumExitValue?: number;
157
158
  };
158
159
 
159
- export { type TChallengeAccountInfo, type TChallengeApiKeyInfo, type TChallengeCapital, type TChallengeItem, type TChallengeListItem, type TChallengeMode, type TChallengePositionInfo, TChallengeProgress, type TChallengeProvider, type TChallengeRule, type TChallengeStatistics, type TChallengeStatus, type TChallengeType, TChallengeWalletBalance, type TDrawdownType, type TTradingType };
160
+ type TChallengeTier = {
161
+ readonly id: string;
162
+ readonly ruleId: string;
163
+ capital: TChallengeCapital;
164
+ currency: IBybitCoinType;
165
+ priceUsd: number;
166
+ isActive: boolean;
167
+ readonly createdAt: string;
168
+ readonly updatedAt: string;
169
+ };
170
+
171
+ export { type TChallengeAccountInfo, type TChallengeApiKeyInfo, type TChallengeCapital, type TChallengeItem, type TChallengeListItem, type TChallengeMode, type TChallengePositionInfo, TChallengeProgress, type TChallengeProvider, type TChallengeRule, type TChallengeStatistics, type TChallengeStatus, type TChallengeTier, type TChallengeType, TChallengeWalletBalance, type TDrawdownType, type TTradingType };
@@ -1,4 +1,4 @@
1
- import { a as IBybitApiKeyVipLevel } from '../../enums--bdw39rp.js';
1
+ import { a as IBybitApiKeyVipLevel, b as IBybitCoinType } from '../../enums--bdw39rp.js';
2
2
  import { a as TChallengeProgress, b as TChallengeWalletBalance } from '../../TChallengeProgress-UmIOnrHy.js';
3
3
  export { T as TChallengeClosedPnl } from '../../TChallengeProgress-UmIOnrHy.js';
4
4
  export { TSyncResponse } from '../index.js';
@@ -24,9 +24,10 @@ type TChallengeRule = {
24
24
  profitTargetPct: number;
25
25
  feePolicy: string;
26
26
  prohibitedActions: string[];
27
+ isActive: boolean;
27
28
  readonly createdAt: string;
28
29
  readonly updatedAt: string;
29
- isActive: boolean;
30
+ tiers?: TChallengeTier[];
30
31
  };
31
32
 
32
33
  type TChallengeAccountInfo = {
@@ -156,4 +157,15 @@ type TChallengeStatistics = {
156
157
  totalCumExitValue?: number;
157
158
  };
158
159
 
159
- export { type TChallengeAccountInfo, type TChallengeApiKeyInfo, type TChallengeCapital, type TChallengeItem, type TChallengeListItem, type TChallengeMode, type TChallengePositionInfo, TChallengeProgress, type TChallengeProvider, type TChallengeRule, type TChallengeStatistics, type TChallengeStatus, type TChallengeType, TChallengeWalletBalance, type TDrawdownType, type TTradingType };
160
+ type TChallengeTier = {
161
+ readonly id: string;
162
+ readonly ruleId: string;
163
+ capital: TChallengeCapital;
164
+ currency: IBybitCoinType;
165
+ priceUsd: number;
166
+ isActive: boolean;
167
+ readonly createdAt: string;
168
+ readonly updatedAt: string;
169
+ };
170
+
171
+ export { type TChallengeAccountInfo, type TChallengeApiKeyInfo, type TChallengeCapital, type TChallengeItem, type TChallengeListItem, type TChallengeMode, type TChallengePositionInfo, TChallengeProgress, type TChallengeProvider, type TChallengeRule, type TChallengeStatistics, type TChallengeStatus, type TChallengeTier, type TChallengeType, TChallengeWalletBalance, type TDrawdownType, type TTradingType };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anrmk/str-package",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "Shared providers, types, and utils for STR services",
5
5
  "license": "MIT",
6
6
  "type": "module",