brilliantsole 0.0.68 → 0.0.69

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.
@@ -1509,7 +1509,7 @@ declare class Device {
1509
1509
  set reconnectOnDisconnection(newReconnectOnDisconnection: boolean);
1510
1510
  get connectionType(): "webBluetooth" | "noble" | "client" | "webSocket" | "udp" | undefined;
1511
1511
  disconnect(): Promise<boolean | undefined>;
1512
- toggleConnection(): void;
1512
+ toggleConnection(reconnectIfConnected?: boolean): void;
1513
1513
  get connectionStatus(): ConnectionStatus;
1514
1514
  get isConnectionBusy(): boolean;
1515
1515
  latestConnectionMessages: Map<ConnectionMessageType, DataView>;
@@ -1509,7 +1509,7 @@ declare class Device {
1509
1509
  set reconnectOnDisconnection(newReconnectOnDisconnection: boolean);
1510
1510
  get connectionType(): "webBluetooth" | "noble" | "client" | "webSocket" | "udp" | undefined;
1511
1511
  disconnect(): Promise<boolean | undefined>;
1512
- toggleConnection(): void;
1512
+ toggleConnection(reconnectIfConnected?: boolean): void;
1513
1513
  get connectionStatus(): ConnectionStatus;
1514
1514
  get isConnectionBusy(): boolean;
1515
1515
  latestConnectionMessages: Map<ConnectionMessageType, DataView>;
@@ -1508,7 +1508,7 @@ declare class Device {
1508
1508
  set reconnectOnDisconnection(newReconnectOnDisconnection: boolean);
1509
1509
  get connectionType(): "webBluetooth" | "noble" | "client" | "webSocket" | "udp" | undefined;
1510
1510
  disconnect(): Promise<boolean | undefined>;
1511
- toggleConnection(): void;
1511
+ toggleConnection(reconnectIfConnected?: boolean): void;
1512
1512
  get connectionStatus(): ConnectionStatus;
1513
1513
  get isConnectionBusy(): boolean;
1514
1514
  latestConnectionMessages: Map<ConnectionMessageType, DataView>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brilliantsole",
3
- "version": "0.0.68",
3
+ "version": "0.0.69",
4
4
  "description": "JavaScript SDK for BrilliantSole Smart Insoles",
5
5
  "main": "./build/brilliantsole.module.js",
6
6
  "module": "./build/brilliantsole.module.js",