Skip to content

Commit 60d1cd4

Browse files
Upgrade connection library
1 parent 24217ee commit 60d1cd4

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@codemirror/view": "^6.26.3",
1717
"@emotion/react": "^11.11.4",
1818
"@emotion/styled": "^11.11.5",
19-
"@microbit/microbit-connection": "^0.0.0-alpha.14",
19+
"@microbit/microbit-connection": "^v0.0.0-alpha.31",
2020
"@microbit/microbit-fs": "^0.9.2",
2121
"@sanity/block-content-to-react": "^3.0.0",
2222
"@sanity/image-url": "^1.0.1",

src/device/mock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
*
44
* SPDX-License-Identifier: MIT
55
*/
6-
import { TypedEventTarget } from "../common/events";
76
import {
87
BoardVersion,
98
ConnectionStatus,
@@ -15,6 +14,7 @@ import {
1514
ConnectionStatusEvent,
1615
DeviceError,
1716
DeviceErrorCode,
17+
TypedEventTarget,
1818
} from "@microbit/microbit-connection";
1919

2020
/**

src/device/simulator.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
*
44
* SPDX-License-Identifier: MIT
55
*/
6-
import { TypedEventTarget } from "../common/events";
7-
import { Logging } from "../logging/logging";
86
import {
97
BoardVersion,
108
ConnectionStatus,
9+
ConnectionStatusEvent,
1110
DeviceConnection,
1211
DeviceConnectionEventMap,
1312
FlashEvent,
1413
SerialDataEvent,
1514
SerialResetEvent,
16-
ConnectionStatusEvent,
15+
TypedEventTarget,
1716
} from "@microbit/microbit-connection";
17+
import { Logging } from "../logging/logging";
1818

1919
// Simulator-only events.
2020

0 commit comments

Comments
 (0)