trezor-link
Advanced tools
Comparing version 1.7.1-beta.1 to 1.7.1
@@ -77,3 +77,3 @@ declare class Chrome { | ||
send: (connectionId: number, reportId: number, data: ArrayBuffer, callback: () => void) => void; | ||
receive: (connectionId: number, callback: (reportId: number, data: ArrayBuffer) => void) => void; | ||
@@ -155,3 +155,3 @@ | ||
declare class ChromeApp { | ||
runtime: ChromeAppRuntime; | ||
runtime: ChromeAppRuntime; | ||
window: ChromeAppWindow; | ||
@@ -161,3 +161,3 @@ } | ||
declare class ChromeAppRuntime { | ||
onLaunched: ChromeAppOnLaunched; | ||
onLaunched: ChromeAppOnLaunched; | ||
} | ||
@@ -167,3 +167,3 @@ | ||
addListener: ( | ||
callback: () => void //callback can have more parameters but I am not using them | ||
callback: () => void // callback can have more parameters but I am not using them | ||
) => void; | ||
@@ -189,3 +189,3 @@ } | ||
declare class ChromeAppWindowOnClosed { | ||
addListener: ( callback: () => void ) => void | ||
addListener: (callback: () => void) => void | ||
} | ||
@@ -192,0 +192,0 @@ |
declare class USBConnectionEvent extends Event { | ||
device: USBDevice; | ||
}; | ||
} | ||
@@ -14,3 +14,3 @@ declare type USBConnectionEventHandler = (event: USBConnectionEvent) => mixed; | ||
requestDevice: (options?: USBDeviceRequestOptions) => Promise<USBDevice>; | ||
}; | ||
} | ||
@@ -63,3 +63,3 @@ declare type USBDeviceRequestOptions = { | ||
reset: () => Promise<void>; | ||
}; | ||
} | ||
@@ -72,3 +72,3 @@ declare type USBDirection = 'in' | 'out'; | ||
interfaces: Array<USBInterface>; | ||
}; | ||
} | ||
@@ -80,3 +80,3 @@ declare class USBInterface { | ||
claimed: boolean; | ||
}; | ||
} | ||
@@ -90,3 +90,3 @@ declare class USBAlternateInterface { | ||
endpoints: Array<USBEndpoint>; | ||
}; | ||
} | ||
@@ -96,5 +96,5 @@ declare class USBEndpoint { | ||
direction: USBDirection; | ||
type: 'bulk' | 'interrupt' | 'isochronous'; | ||
type: 'bulk' | 'interrupt' | 'isochronous'; | ||
packetSize: number; | ||
}; | ||
} | ||
@@ -117,3 +117,3 @@ declare type USBRequestType = 'standard' | 'class' | 'vendor'; | ||
status: USBTransferStatus; | ||
}; | ||
} | ||
@@ -123,3 +123,3 @@ declare class USBOutTransferResult { | ||
status: USBTransferStatus; | ||
}; | ||
} | ||
@@ -129,3 +129,3 @@ declare class USBIsochronousInTransferPacket { | ||
status: USBTransferStatus; | ||
}; | ||
} | ||
@@ -135,3 +135,3 @@ declare class USBIsochronousInTransferResult { | ||
packets: Array<USBIsochronousInTransferPacket>; | ||
}; | ||
} | ||
@@ -142,6 +142,6 @@ declare class USBIsochronousOutTransferPacket { | ||
status: USBTransferStatus; | ||
}; | ||
} | ||
declare class USBIsochronousOutTransferResult { | ||
packets: Array<USBIsochronousOutTransferPacket>; | ||
}; | ||
} |
{ | ||
"name": "trezor-link", | ||
"version": "1.7.1-beta.1", | ||
"version": "1.7.1", | ||
"description": "Trezor Link for browser", | ||
@@ -30,6 +30,6 @@ "main": "lib/index.js", | ||
"bump-version": "^0.5.0", | ||
"eslint": "^6.1.0", | ||
"eslint-plugin-flowtype": "^3.12.2", | ||
"eslint": "^7.14.0", | ||
"eslint-plugin-flowtype": "^5.2.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"eslint-plugin-standard": "^5.0.0", | ||
"flow-bin": "0.78.0" | ||
@@ -36,0 +36,0 @@ }, |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
292303