@codingame/monaco-vscode-telemetry-service-override 25.1.1 → 25.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-telemetry-service-override",
3
- "version": "25.1.1",
3
+ "version": "25.1.2",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - telemetry service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "25.1.1",
18
+ "@codingame/monaco-vscode-api": "25.1.2",
19
19
  "@microsoft/1ds-core-js": "3.2.18",
20
20
  "@microsoft/1ds-post-js": "3.2.18"
21
21
  },
@@ -6,8 +6,8 @@ import { validateTelemetryData } from '@codingame/monaco-vscode-api/vscode/vs/pl
6
6
  const endpointUrl = 'https://mobile.events.data.microsoft.com/OneCollector/1.0';
7
7
  const endpointHealthUrl = 'https://mobile.events.data.microsoft.com/ping';
8
8
  async function getClient(instrumentationKey, addInternalFlag, xhrOverride) {
9
- const oneDs = await import('@microsoft/1ds-core-js').then(module => module.default ?? module);
10
- const postPlugin = await import('@microsoft/1ds-post-js').then(module => module.default ?? module);
9
+ const oneDs = await import('@microsoft/1ds-core-js');
10
+ const postPlugin = await import('@microsoft/1ds-post-js');
11
11
  const appInsightsCore = new oneDs.AppInsightsCore();
12
12
  const collectorChannelPlugin = new postPlugin.PostChannel();
13
13
  const coreConfig = {