Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@orbis-systems/orbis-chart-react

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orbis-systems/orbis-chart-react - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

2

dist/index.d.ts

@@ -7,3 +7,3 @@ export * from './OrbisChart';

new (apiUrl: string, updateInterval: number, type: OrbisChartProps['quoteType']): TradingView.ChartingLibraryWidgetOptions['datafeed'];
new (apiUrl: string, updateInterval: number, type: OrbisChartProps['quoteType'], sessionId: 'sessionid', token: string): TradingView.ChartingLibraryWidgetOptions['datafeed'];
new (apiUrl: string, updateInterval: number, type: OrbisChartProps['quoteType'], sessionId: 'sessionid', token: string, env?: string): TradingView.ChartingLibraryWidgetOptions['datafeed'];
}

@@ -10,0 +10,0 @@ declare global {

@@ -53,5 +53,5 @@ import React from 'react';

}
const { apiUrl = 'https://charts.orbis.dev/api/', quoteType = 'delayed', token, updateInterval = 2000, chartConfig, } = this.props;
const { apiUrl = 'https://charts.orbis.dev/api/', quoteType = 'delayed', token, env, updateInterval = 2000, chartConfig, } = this.props;
new TradingView.widget(Object.assign(Object.assign({ locale: 'en', interval: 'D', library_path: '/charting/' }, chartConfig), { container_id: this.containerId, datafeed: token
? new OrbisDatafeed(apiUrl, updateInterval, quoteType, 'sessionid', token)
? new OrbisDatafeed(apiUrl, updateInterval, quoteType, 'sessionid', token, env)
: new OrbisDatafeed(apiUrl, updateInterval, quoteType) }));

@@ -58,0 +58,0 @@ };

@@ -8,2 +8,3 @@ import React from 'react';

token?: string;
env?: string;
updateInterval?: number;

@@ -10,0 +11,0 @@ chartConfig: Partial<TradingTerminalWidgetOptions> & {

{
"name": "@orbis-systems/orbis-chart-react",
"version": "0.0.10",
"version": "0.0.11",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc