@millistream/millistream-widgets 0.0.17 → 0.0.20

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/README.md CHANGED
@@ -20,11 +20,15 @@ loadChart) {
20
20
  MillistreamWidgetStreamingApi,
21
21
  Milli_Chart,
22
22
  MillistreamWidgetSettings,
23
+ setDataApiUrl
23
24
  } = await import(
24
25
  // @ts-ignore
25
26
  '@millistream/millistream-widgets'
26
27
  );
27
28
 
29
+ // If using your own data-api
30
+ setDataApiUrl('xxx?');
31
+
28
32
  MillistreamWidgetSettings.token = 'xxx';
29
33
 
30
34
  let pushapi = new MillistreamWidgetStreamingApi({