@moddable/typings 5.4.0 → 5.4.1

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.
Files changed (2) hide show
  1. package/ble/btutils.d.ts +2 -1
  2. package/package.json +1 -1
package/ble/btutils.d.ts CHANGED
@@ -34,7 +34,8 @@ type ManufacturerSpec = {
34
34
 
35
35
  declare module "btutils" {
36
36
 
37
- export interface Bytes extends ArrayBuffer {
37
+ export class Bytes extends ArrayBuffer {
38
+ constructor(bytes: string | ArrayBufferLike, littleEndian?: boolean)
38
39
  /**
39
40
  * The `equals` function returns `true` if the instance
40
41
  * ArrayBuffer data equals the data contained in `buffer`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moddable/typings",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "main": "",
5
5
  "types": [
6
6
  "xs.d.ts",