Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/cube/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
},
"devDependencies": {
"@types/jest": "^25.1.0",
"jest": "^25.1.0",
"@types/semver": "^7.1.0",
"jest": "^25.1.0",
"rimraf": "^2.6.3",
"ts-jest": "^25.0.0",
"typed-emitter": "^0.1.0",
"typescript": "^3.7.5"
},
"dependencies": {
"noble-mac": "Timeular/noble-mac",
"@abandonware/noble": "^1.9.2-25",
"semver": "^7.1.2"
},
"publishConfig": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { EventEmitter } from 'events'
import TypedEmitter from 'typed-emitter'
import { Characteristic } from 'noble-mac'
import { Characteristic } from '@abandonware/noble'
import { BatterySpec, DataType } from './specs/battery-spec'

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/cube/src/characteristics/button-characteristic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { EventEmitter } from 'events'
import TypedEmitter from 'typed-emitter'
import { Characteristic } from 'noble-mac'
import { Characteristic } from '@abandonware/noble'
import { DataType, ButtonSpec } from './specs/button-spec'

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { clamp } from '../util/clamp'
import { EventEmitter } from 'events'
import TypedEmitter from 'typed-emitter'
import { Characteristic } from 'noble-mac'
import { Characteristic } from '@abandonware/noble'

/**
* @hidden
Expand Down
2 changes: 1 addition & 1 deletion packages/cube/src/characteristics/id-characteristic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { EventEmitter } from 'events'
import TypedEmitter from 'typed-emitter'
import { Characteristic } from 'noble-mac'
import { Characteristic } from '@abandonware/noble'
import { IdSpec, PositionIdInfo, StandardIdInfo, DataType } from './specs/id-spec'

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/cube/src/characteristics/light-characteristic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import { Characteristic } from 'noble-mac'
import { Characteristic } from '@abandonware/noble'
import { LightSpec, LightOperation } from './specs/light-spec'

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/cube/src/characteristics/motor-characteristic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { EventEmitter } from 'events'
import TypedEmitter from 'typed-emitter'
import { Characteristic } from 'noble-mac'
import { Characteristic } from '@abandonware/noble'
import semver from 'semver'
import { MotorSpec, MoveToTarget, MoveToOptions, MotorResponse } from './specs/motor-spec'

Expand Down
2 changes: 1 addition & 1 deletion packages/cube/src/characteristics/sensor-characteristic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { EventEmitter } from 'events'
import TypedEmitter from 'typed-emitter'
import { Characteristic } from 'noble-mac'
import { Characteristic } from '@abandonware/noble'
import { SensorSpec } from './specs/sensor-spec'

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/cube/src/characteristics/sound-characteristic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import { Characteristic } from 'noble-mac'
import { Characteristic } from '@abandonware/noble'
import { SoundOperation, SoundSpec } from './specs/sound-spec'

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/cube/src/cube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { EventEmitter } from 'events'
import TypedEmitter from 'typed-emitter'
import { Peripheral, Characteristic } from 'noble-mac'
import { Peripheral, Characteristic } from '@abandonware/noble'
import {
Event,
IdCharacteristic,
Expand Down
2 changes: 1 addition & 1 deletion packages/scanner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"@toio/cube": "^1.0.0",
"noble-mac": "Timeular/noble-mac"
"@abandonware/noble": "^1.9.2-25"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/scanner/src/near-scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import { Peripheral } from 'noble-mac'
import { Peripheral } from '@abandonware/noble'
import { Cube } from '@toio/cube'
import { Scanner } from './scanner'

Expand Down
2 changes: 1 addition & 1 deletion packages/scanner/src/nearest-scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import { Peripheral } from 'noble-mac'
import { Peripheral } from '@abandonware/noble'
import { Cube } from '@toio/cube'
import { Scanner } from './scanner'

Expand Down
2 changes: 1 addition & 1 deletion packages/scanner/src/scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { EventEmitter } from 'events'
import TypedEmitter from 'typed-emitter'
import noble from 'noble-mac'
import noble from '@abandonware/noble'
import { Cube } from '@toio/cube'

interface Event {
Expand Down
Loading