@ledgerhq/hw-transport-webhid
Advanced tools
Comparing version 6.27.1 to 6.27.2-next.0
@@ -69,3 +69,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import Transport from "@ledgerhq/hw-transport"; | ||
import hidFraming from "@ledgerhq/devices/lib/hid-framing"; | ||
import hidFraming from "@ledgerhq/devices/hid-framing"; | ||
import { identifyUSBProductId, ledgerUSBVendorId } from "@ledgerhq/devices"; | ||
@@ -72,0 +72,0 @@ import { log } from "@ledgerhq/logs"; |
@@ -74,3 +74,3 @@ "use strict"; | ||
var hw_transport_1 = __importDefault(require("@ledgerhq/hw-transport")); | ||
var hid_framing_1 = __importDefault(require("@ledgerhq/devices/lib/hid-framing")); | ||
var hid_framing_1 = __importDefault(require("@ledgerhq/devices/hid-framing")); | ||
var devices_1 = require("@ledgerhq/devices"); | ||
@@ -77,0 +77,0 @@ var logs_1 = require("@ledgerhq/logs"); |
{ | ||
"name": "@ledgerhq/hw-transport-webhid", | ||
"version": "6.27.1", | ||
"version": "6.27.2-next.0", | ||
"description": "Ledger Hardware Wallet WebHID implementation of the communication layer", | ||
@@ -15,8 +15,8 @@ "keywords": [ | ||
"type": "git", | ||
"url": "https://github.com/LedgerHQ/ledgerjs" | ||
"url": "https://github.com/LedgerHQ/ledger-live.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/LedgerHQ/ledgerjs/issues" | ||
"url": "https://github.com/LedgerHQ/ledger-live/issues" | ||
}, | ||
"homepage": "https://github.com/LedgerHQ/ledgerjs", | ||
"homepage": "https://github.com/LedgerHQ/ledger-live/tree/develop/libs/ledgerjs/packages/hw-transport-webhid", | ||
"publishConfig": { | ||
@@ -30,5 +30,5 @@ "access": "public" | ||
"dependencies": { | ||
"@ledgerhq/devices": "^6.27.1", | ||
"@ledgerhq/errors": "^6.10.0", | ||
"@ledgerhq/hw-transport": "^6.27.1", | ||
"@ledgerhq/devices": "^7.0.0-next.0", | ||
"@ledgerhq/errors": "^6.10.1-next.0", | ||
"@ledgerhq/hw-transport": "^6.27.2-next.0", | ||
"@ledgerhq/logs": "^6.10.0" | ||
@@ -39,10 +39,14 @@ }, | ||
}, | ||
"gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec", | ||
"scripts": { | ||
"flow": "flow", | ||
"clean": "bash ../../script/clean.sh", | ||
"build": "bash ../../script/build.sh", | ||
"watch": "bash ../../script/watch.sh", | ||
"doc": "bash ../../script/doc.sh" | ||
}, | ||
"gitHead": "9639f96a970e1f46e9e39d0c2c361ce2289923be" | ||
} | ||
"clean": "rimraf lib lib-es", | ||
"build": "tsc && tsc -m ES6 --outDir lib-es", | ||
"prewatch": "pnpm build", | ||
"watch": "tsc --watch", | ||
"doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts", | ||
"lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx", | ||
"lint:fix": "pnpm lint --fix", | ||
"test": "jest" | ||
} | ||
} |
@@ -7,3 +7,3 @@ import Transport from "@ledgerhq/hw-transport"; | ||
} from "@ledgerhq/hw-transport"; | ||
import hidFraming from "@ledgerhq/devices/lib/hid-framing"; | ||
import hidFraming from "@ledgerhq/devices/hid-framing"; | ||
import { identifyUSBProductId, ledgerUSBVendorId } from "@ledgerhq/devices"; | ||
@@ -86,3 +86,3 @@ import type { DeviceModel } from "@ledgerhq/devices"; | ||
if (this.inputs.length) { | ||
return Promise.resolve((this.inputs.shift() as unknown) as Buffer); | ||
return Promise.resolve(this.inputs.shift() as unknown as Buffer); | ||
} | ||
@@ -89,0 +89,0 @@ |
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "lib" | ||
"outDir": "lib", | ||
"lib": ["DOM", "ES2017"] | ||
}, | ||
"include": ["src/**/*"] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15
1083
63735
1
1
+ Added@ledgerhq/devices@7.0.7(transitive)
- Removed@ledgerhq/devices@6.27.1(transitive)