0.1.24 use await-to-js over better try catch
parent
fff771ee17
commit
7bc824863f
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@uci/i2c-bus",
|
"name": "@uci/i2c-bus",
|
||||||
"version": "0.1.23",
|
"version": "0.1.24",
|
||||||
"description": "I2c Bus Classes for Communication to I2C bus via socket or direct call",
|
"description": "I2c Bus Classes for Communication to I2C bus via socket or direct call",
|
||||||
"main": "src/bus",
|
"main": "src/bus",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@uci-utils/logger": "^0.0.15",
|
"@uci-utils/logger": "^0.0.15",
|
||||||
"@uci/base": "^0.1.30",
|
"@uci/base": "^0.1.30",
|
||||||
"better-try-catch": "^0.6.2",
|
"await-to-js": "^2.1.1",
|
||||||
"p-queue": "^6.1.1",
|
"p-queue": "^6.1.1",
|
||||||
"pify": "^4.0.1"
|
"pify": "^4.0.1"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import pify from 'pify'
|
import pify from 'pify'
|
||||||
// import btc from 'better-try-catch'
|
|
||||||
import to from 'await-to-js'
|
import to from 'await-to-js'
|
||||||
import i2c from 'i2c-bus'
|
import i2c from 'i2c-bus'
|
||||||
import PQueue from 'p-queue'
|
import PQueue from 'p-queue'
|
||||||
|
|
Loading…
Reference in New Issue