@one_deploy/sdk 1.2.2 → 1.2.4
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/{ForexPoolDataGenerator-qwWv6sCE.d.ts → ForexPoolDataGenerator-B3DCN6_i.d.ts} +1 -1
- package/dist/{ForexPoolDataGenerator-JxTPpJPz.d.mts → ForexPoolDataGenerator-DWVj6mGW.d.mts} +1 -1
- package/dist/{OneForexTradeHistory-BE4rJH5t.d.ts → OneForexTradeHistory-BMbwdkMm.d.ts} +1 -1
- package/dist/{OneForexTradeHistory-DbuHXRy0.d.mts → OneForexTradeHistory-DACfkJQF.d.mts} +1 -1
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs.map +1 -1
- package/dist/config/index.d.mts +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/{console-Dvf-N9Gr.d.mts → console-BoAIxikK.d.mts} +21 -1
- package/dist/{console-Dvf-N9Gr.d.ts → console-BoAIxikK.d.ts} +21 -1
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/providers/index.d.mts +1 -1
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/index.js.map +1 -1
- package/dist/providers/index.mjs +1 -1
- package/dist/providers/index.mjs.map +1 -1
- package/dist/react-native.d.mts +4 -4
- package/dist/react-native.d.ts +4 -4
- package/dist/react-native.js +131 -0
- package/dist/react-native.js.map +1 -1
- package/dist/react-native.mjs +129 -1
- package/dist/react-native.mjs.map +1 -1
- package/dist/services/index.d.mts +2 -2
- package/dist/services/index.d.ts +2 -2
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{useForexTrading-CA2DPQVf.d.ts → useForexTrading-BB4eUlHO.d.ts} +1 -1
- package/dist/{useForexTrading-I7nIQyog.d.mts → useForexTrading-xJwkxnhd.d.mts} +1 -1
- package/package.json +1 -1
- package/src/providers/OneProvider.tsx +1 -1
- package/src/providers/ThirdwebProvider.tsx +1 -1
- package/src/react-native.ts +16 -1
|
@@ -3,8 +3,8 @@ import * as _supabase_realtime_js from '@supabase/realtime-js';
|
|
|
3
3
|
import * as _supabase_postgrest_js from '@supabase/postgrest-js';
|
|
4
4
|
import * as _supabase_auth_js from '@supabase/auth-js';
|
|
5
5
|
import { SupabaseClient } from '@supabase/supabase-js';
|
|
6
|
-
export { F as ForexPoolDataGenerator, a as PairState, P as PriceService, f as forexSimulationEngine, p as priceService } from '../ForexPoolDataGenerator-
|
|
7
|
-
export { a as BotLogEntry, B as BotLogType, c as BotState, I as IndicatorSnapshot,
|
|
6
|
+
export { F as ForexPoolDataGenerator, a as PairState, P as PriceService, f as forexSimulationEngine, p as priceService } from '../ForexPoolDataGenerator-DWVj6mGW.mjs';
|
|
7
|
+
export { a as BotLogEntry, B as BotLogType, c as BotState, I as IndicatorSnapshot, $ as STRATEGY_PERSONALITIES, S as StrategyPersonality, b as botSimulationEngine } from '../console-BoAIxikK.mjs';
|
|
8
8
|
import '../types/index.mjs';
|
|
9
9
|
|
|
10
10
|
declare function createSupabaseClient(url?: string, anonKey?: string): SupabaseClient;
|
package/dist/services/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import * as _supabase_realtime_js from '@supabase/realtime-js';
|
|
|
3
3
|
import * as _supabase_postgrest_js from '@supabase/postgrest-js';
|
|
4
4
|
import * as _supabase_auth_js from '@supabase/auth-js';
|
|
5
5
|
import { SupabaseClient } from '@supabase/supabase-js';
|
|
6
|
-
export { F as ForexPoolDataGenerator, a as PairState, P as PriceService, f as forexSimulationEngine, p as priceService } from '../ForexPoolDataGenerator-
|
|
7
|
-
export { a as BotLogEntry, B as BotLogType, c as BotState, I as IndicatorSnapshot,
|
|
6
|
+
export { F as ForexPoolDataGenerator, a as PairState, P as PriceService, f as forexSimulationEngine, p as priceService } from '../ForexPoolDataGenerator-B3DCN6_i.js';
|
|
7
|
+
export { a as BotLogEntry, B as BotLogType, c as BotState, I as IndicatorSnapshot, $ as STRATEGY_PERSONALITIES, S as StrategyPersonality, b as botSimulationEngine } from '../console-BoAIxikK.js';
|
|
8
8
|
import '../types/index.js';
|
|
9
9
|
|
|
10
10
|
declare function createSupabaseClient(url?: string, anonKey?: string): SupabaseClient;
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { M as AGENT_STATUS_COLORS, G as AIDecision, A as AILogType, D as AIPosition, U as AIQuantConsoleOptions, y as AI_LOG_COLORS, V as AgentConsoleOptions, L as AgentStatus, a as BotLogEntry, B as BotLogType, c as BotState, N as CombinedLogEntry, K as ConsoleMetrics, Y as DEFAULT_CONSOLE_METRICS, W as DEFAULT_CONSOLE_OPTIONS, X as DEFAULT_RISK_STATUS, E as DecisionAction, v as FOREX_AGENT, F as FOREX_CAPITAL_SPLIT, h as FOREX_CURRENCY_PAIRS, f as FOREX_CYCLE_OPTIONS, z as FOREX_LOG_COLORS, k as FOREX_POOL_DEFAULTS, u as ForexAgent, g as ForexCurrencyPair, e as ForexCycleOption, p as ForexInvestment, t as ForexLogEntry, s as ForexLogType, j as ForexPool, n as ForexPoolDailySnapshot, m as ForexPoolTransaction, l as ForexPoolTransactionType, i as ForexPoolType, o as ForexPosition, r as ForexTradeRecord, q as ForexTradeStatus, I as IndicatorSnapshot, P as PositionSide, C as PositionStatus, H as RISK_LEVEL_COLORS, R as RiskStatus, S as StrategyPersonality, J as TRADING_STATUS_COLORS, Q as TradingConsoleOptions, O as TradingConsoleState, T as TradingStatus, w as calculateForexNetProfit, Z as calculateRiskLevel, d as computePoolAllocations, x as estimateForexProfit,
|
|
1
|
+
export { M as AGENT_STATUS_COLORS, G as AIDecision, A as AILogType, D as AIPosition, U as AIQuantConsoleOptions, y as AI_LOG_COLORS, V as AgentConsoleOptions, L as AgentStatus, a as BotLogEntry, B as BotLogType, c as BotState, N as CombinedLogEntry, K as ConsoleMetrics, Y as DEFAULT_CONSOLE_METRICS, W as DEFAULT_CONSOLE_OPTIONS, X as DEFAULT_RISK_STATUS, E as DecisionAction, v as FOREX_AGENT, F as FOREX_CAPITAL_SPLIT, h as FOREX_CURRENCY_PAIRS, f as FOREX_CYCLE_OPTIONS, z as FOREX_LOG_COLORS, k as FOREX_POOL_DEFAULTS, u as ForexAgent, g as ForexCurrencyPair, e as ForexCycleOption, p as ForexInvestment, t as ForexLogEntry, s as ForexLogType, j as ForexPool, n as ForexPoolDailySnapshot, m as ForexPoolTransaction, l as ForexPoolTransactionType, i as ForexPoolType, o as ForexPosition, r as ForexTradeRecord, q as ForexTradeStatus, I as IndicatorSnapshot, P as PositionSide, C as PositionStatus, H as RISK_LEVEL_COLORS, R as RiskStatus, S as StrategyPersonality, J as TRADING_STATUS_COLORS, Q as TradingConsoleOptions, O as TradingConsoleState, T as TradingStatus, w as calculateForexNetProfit, Z as calculateRiskLevel, d as computePoolAllocations, x as estimateForexProfit, a5 as formatPercent, _ as formatPnl } from '../console-BoAIxikK.mjs';
|
|
2
2
|
|
|
3
3
|
type StrategyCategory$1 = 'conservative' | 'balanced' | 'aggressive' | 'hedge' | 'arbitrage' | 'trend' | 'grid' | 'dca';
|
|
4
4
|
type OrderStatus = 'pending' | 'active' | 'paused' | 'completed' | 'cancelled' | 'pending_redemption' | 'redeemed';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { M as AGENT_STATUS_COLORS, G as AIDecision, A as AILogType, D as AIPosition, U as AIQuantConsoleOptions, y as AI_LOG_COLORS, V as AgentConsoleOptions, L as AgentStatus, a as BotLogEntry, B as BotLogType, c as BotState, N as CombinedLogEntry, K as ConsoleMetrics, Y as DEFAULT_CONSOLE_METRICS, W as DEFAULT_CONSOLE_OPTIONS, X as DEFAULT_RISK_STATUS, E as DecisionAction, v as FOREX_AGENT, F as FOREX_CAPITAL_SPLIT, h as FOREX_CURRENCY_PAIRS, f as FOREX_CYCLE_OPTIONS, z as FOREX_LOG_COLORS, k as FOREX_POOL_DEFAULTS, u as ForexAgent, g as ForexCurrencyPair, e as ForexCycleOption, p as ForexInvestment, t as ForexLogEntry, s as ForexLogType, j as ForexPool, n as ForexPoolDailySnapshot, m as ForexPoolTransaction, l as ForexPoolTransactionType, i as ForexPoolType, o as ForexPosition, r as ForexTradeRecord, q as ForexTradeStatus, I as IndicatorSnapshot, P as PositionSide, C as PositionStatus, H as RISK_LEVEL_COLORS, R as RiskStatus, S as StrategyPersonality, J as TRADING_STATUS_COLORS, Q as TradingConsoleOptions, O as TradingConsoleState, T as TradingStatus, w as calculateForexNetProfit, Z as calculateRiskLevel, d as computePoolAllocations, x as estimateForexProfit,
|
|
1
|
+
export { M as AGENT_STATUS_COLORS, G as AIDecision, A as AILogType, D as AIPosition, U as AIQuantConsoleOptions, y as AI_LOG_COLORS, V as AgentConsoleOptions, L as AgentStatus, a as BotLogEntry, B as BotLogType, c as BotState, N as CombinedLogEntry, K as ConsoleMetrics, Y as DEFAULT_CONSOLE_METRICS, W as DEFAULT_CONSOLE_OPTIONS, X as DEFAULT_RISK_STATUS, E as DecisionAction, v as FOREX_AGENT, F as FOREX_CAPITAL_SPLIT, h as FOREX_CURRENCY_PAIRS, f as FOREX_CYCLE_OPTIONS, z as FOREX_LOG_COLORS, k as FOREX_POOL_DEFAULTS, u as ForexAgent, g as ForexCurrencyPair, e as ForexCycleOption, p as ForexInvestment, t as ForexLogEntry, s as ForexLogType, j as ForexPool, n as ForexPoolDailySnapshot, m as ForexPoolTransaction, l as ForexPoolTransactionType, i as ForexPoolType, o as ForexPosition, r as ForexTradeRecord, q as ForexTradeStatus, I as IndicatorSnapshot, P as PositionSide, C as PositionStatus, H as RISK_LEVEL_COLORS, R as RiskStatus, S as StrategyPersonality, J as TRADING_STATUS_COLORS, Q as TradingConsoleOptions, O as TradingConsoleState, T as TradingStatus, w as calculateForexNetProfit, Z as calculateRiskLevel, d as computePoolAllocations, x as estimateForexProfit, a5 as formatPercent, _ as formatPnl } from '../console-BoAIxikK.js';
|
|
2
2
|
|
|
3
3
|
type StrategyCategory$1 = 'conservative' | 'balanced' | 'aggressive' | 'hedge' | 'arbitrage' | 'trend' | 'grid' | 'dca';
|
|
4
4
|
type OrderStatus = 'pending' | 'active' | 'paused' | 'completed' | 'cancelled' | 'pending_redemption' | 'redeemed';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as ForexPool, p as ForexInvestment, t as ForexLogEntry, m as ForexPoolTransaction, i as ForexPoolType, n as ForexPoolDailySnapshot, F as FOREX_CAPITAL_SPLIT, v as FOREX_AGENT, h as FOREX_CURRENCY_PAIRS, f as FOREX_CYCLE_OPTIONS, d as computePoolAllocations, x as estimateForexProfit } from './console-
|
|
1
|
+
import { j as ForexPool, p as ForexInvestment, t as ForexLogEntry, m as ForexPoolTransaction, i as ForexPoolType, n as ForexPoolDailySnapshot, F as FOREX_CAPITAL_SPLIT, v as FOREX_AGENT, h as FOREX_CURRENCY_PAIRS, f as FOREX_CYCLE_OPTIONS, d as computePoolAllocations, x as estimateForexProfit } from './console-BoAIxikK.js';
|
|
2
2
|
|
|
3
3
|
/** Set the access token for authenticated forex API calls */
|
|
4
4
|
declare function setForexAccessToken(token: string): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as ForexPool, p as ForexInvestment, t as ForexLogEntry, m as ForexPoolTransaction, i as ForexPoolType, n as ForexPoolDailySnapshot, F as FOREX_CAPITAL_SPLIT, v as FOREX_AGENT, h as FOREX_CURRENCY_PAIRS, f as FOREX_CYCLE_OPTIONS, d as computePoolAllocations, x as estimateForexProfit } from './console-
|
|
1
|
+
import { j as ForexPool, p as ForexInvestment, t as ForexLogEntry, m as ForexPoolTransaction, i as ForexPoolType, n as ForexPoolDailySnapshot, F as FOREX_CAPITAL_SPLIT, v as FOREX_AGENT, h as FOREX_CURRENCY_PAIRS, f as FOREX_CYCLE_OPTIONS, d as computePoolAllocations, x as estimateForexProfit } from './console-BoAIxikK.mjs';
|
|
2
2
|
|
|
3
3
|
/** Set the access token for authenticated forex API calls */
|
|
4
4
|
declare function setForexAccessToken(token: string): void;
|
package/package.json
CHANGED
|
@@ -215,7 +215,7 @@ export function OneProvider({
|
|
|
215
215
|
useEffect(() => {
|
|
216
216
|
const fetchClientConfig = async () => {
|
|
217
217
|
try {
|
|
218
|
-
const response = await fetch(`${config.oneEngineUrl}/v1/config/thirdweb`);
|
|
218
|
+
const response = await fetch(`${config.oneEngineUrl}/api/v1/config/thirdweb`);
|
|
219
219
|
|
|
220
220
|
if (response.ok) {
|
|
221
221
|
const data = await response.json();
|
|
@@ -120,7 +120,7 @@ export function OneThirdwebProvider({
|
|
|
120
120
|
const fetchClientConfig = async () => {
|
|
121
121
|
try {
|
|
122
122
|
const engineUrl = config.engineUrl || DEFAULT_ENGINE_URL;
|
|
123
|
-
const response = await fetch(`${engineUrl}/v1/config/thirdweb`);
|
|
123
|
+
const response = await fetch(`${engineUrl}/api/v1/config/thirdweb`);
|
|
124
124
|
|
|
125
125
|
if (response.ok) {
|
|
126
126
|
const data = await response.json();
|
package/src/react-native.ts
CHANGED
|
@@ -129,7 +129,22 @@ export type {
|
|
|
129
129
|
// ===== Forex Services =====
|
|
130
130
|
export { forexSimulationEngine } from './services/forex/ForexSimulationEngine';
|
|
131
131
|
export { ForexPoolDataGenerator } from './services/forex/ForexPoolDataGenerator';
|
|
132
|
-
export {
|
|
132
|
+
export {
|
|
133
|
+
botSimulationEngine,
|
|
134
|
+
STRATEGY_PERSONALITIES,
|
|
135
|
+
INVESTMENT_TIERS,
|
|
136
|
+
INVESTMENT_CYCLES,
|
|
137
|
+
} from './services/forex/BotSimulationEngine';
|
|
138
|
+
|
|
139
|
+
// ===== Forex Types =====
|
|
140
|
+
export type {
|
|
141
|
+
BotLogEntry,
|
|
142
|
+
BotState,
|
|
143
|
+
StrategyPersonality,
|
|
144
|
+
InvestmentTier,
|
|
145
|
+
CycleConfig,
|
|
146
|
+
TierConfig,
|
|
147
|
+
} from './services/forex/BotSimulationEngine';
|
|
133
148
|
|
|
134
149
|
// ===== React Native Specific Utilities =====
|
|
135
150
|
|