Skip to content

Commit

Permalink
feat: update shared
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Pickel authored and Pascal Pickel committed Feb 13, 2024
1 parent 46867ae commit 612748e
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 34 deletions.
67 changes: 38 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"prepare": "husky install"
},
"devDependencies": {
"@nordicsemiconductor/pc-nrfconnect-shared": "^142.0.0",
"@nordicsemiconductor/pc-nrfconnect-shared": "^157.0.0",
"@testing-library/user-event": "^13.1.9",
"chart.js": "^4.0.1",
"chartjs-plugin-datalabels": "2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/DeviceSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
jprogDeviceSetup,
logger,
} from '@nordicsemiconductor/pc-nrfconnect-shared';
import { DeviceTraits } from '@nordicsemiconductor/pc-nrfconnect-shared/nrfutil';
import { DeviceTraits } from '@nordicsemiconductor/pc-nrfconnect-shared/nrfutil/device';
import path from 'path';

import { deselectDevice, selectDevice } from './actions/testActions';
Expand Down
9 changes: 6 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
*/

import React from 'react';
import { App, render } from '@nordicsemiconductor/pc-nrfconnect-shared';
import usageData from '@nordicsemiconductor/pc-nrfconnect-shared/src/utils/usageData';
import {
App,
render,
telemetry,
} from '@nordicsemiconductor/pc-nrfconnect-shared';

import DeviceSelector from './DeviceSelector';
import Receiver from './Receiver';
Expand All @@ -16,7 +19,7 @@ import Transmitter from './Transmitter';

import './index.scss';

usageData.enableTelemetry();
telemetry.enableTelemetry();

render(
<App
Expand Down

0 comments on commit 612748e

Please sign in to comment.