Comparing version 0.2.0 to 0.2.1
@@ -0,1 +1,6 @@ | ||
# Version 0.2.1 - 2017/10/11 | ||
- Added WebBluetooth support for the Vorze A10 Cyclone | ||
- Fixed types in VorzeA10CycloneCmd message | ||
# Version 0.2.0 - 2017/10/08 | ||
@@ -2,0 +7,0 @@ |
@@ -142,7 +142,7 @@ import "reflect-metadata"; | ||
export declare class VorzeA10CycloneCmd extends ButtplugDeviceMessage { | ||
Speed: string; | ||
Speed: number; | ||
Clockwise: boolean; | ||
DeviceIndex: number; | ||
Id: number; | ||
constructor(Speed: string, Clockwise: boolean, DeviceIndex?: number, Id?: number); | ||
constructor(Speed: number, Clockwise: boolean, DeviceIndex?: number, Id?: number); | ||
} | ||
@@ -149,0 +149,0 @@ export declare const Messages: { |
@@ -5,2 +5,3 @@ "use strict"; | ||
var Lovense_1 = require("./devices/Lovense"); | ||
var VorzeA10Cyclone_1 = require("./devices/VorzeA10Cyclone"); | ||
var WeVibe_1 = require("./devices/WeVibe"); | ||
@@ -11,3 +12,3 @@ var BluetoothDevices = /** @class */ (function () { | ||
BluetoothDevices.GetDeviceInfo = function () { | ||
return [FleshlightLaunch_1.default.DeviceInfo, | ||
return [FleshlightLaunch_1.FleshlightLaunch.DeviceInfo, | ||
Lovense_1.LovenseRev1.DeviceInfo, | ||
@@ -17,3 +18,4 @@ Lovense_1.LovenseRev2.DeviceInfo, | ||
Lovense_1.LovenseRev4.DeviceInfo, | ||
WeVibe_1.default.DeviceInfo]; | ||
VorzeA10Cyclone_1.VorzeA10Cyclone.DeviceInfo, | ||
WeVibe_1.WeVibe.DeviceInfo]; | ||
}; | ||
@@ -20,0 +22,0 @@ return BluetoothDevices; |
import BluetoothDeviceInfo from "../BluetoothDeviceInfo"; | ||
import ButtplugBluetoothDevice from "../ButtplugBluetoothDevice"; | ||
import IBluetoothDeviceImpl from "../IBluetoothDeviceImpl"; | ||
export default class FleshlightLaunch extends ButtplugBluetoothDevice { | ||
export declare class FleshlightLaunch extends ButtplugBluetoothDevice { | ||
static readonly DeviceInfo: BluetoothDeviceInfo; | ||
@@ -6,0 +6,0 @@ static CreateInstance(aDeviceImpl: IBluetoothDeviceImpl): Promise<ButtplugBluetoothDevice>; |
@@ -91,3 +91,3 @@ "use strict"; | ||
}(ButtplugBluetoothDevice_1.default)); | ||
exports.default = FleshlightLaunch; | ||
exports.FleshlightLaunch = FleshlightLaunch; | ||
//# sourceMappingURL=FleshlightLaunch.js.map |
import BluetoothDeviceInfo from "../BluetoothDeviceInfo"; | ||
import ButtplugBluetoothDevice from "../ButtplugBluetoothDevice"; | ||
import IBluetoothDeviceImpl from "../IBluetoothDeviceImpl"; | ||
export default class WeVibe extends ButtplugBluetoothDevice { | ||
export declare class WeVibe extends ButtplugBluetoothDevice { | ||
static readonly DeviceInfo: BluetoothDeviceInfo; | ||
@@ -6,0 +6,0 @@ static CreateInstance(aDeviceImpl: IBluetoothDeviceImpl): Promise<ButtplugBluetoothDevice>; |
@@ -92,3 +92,3 @@ "use strict"; | ||
}(ButtplugBluetoothDevice_1.default)); | ||
exports.default = WeVibe; | ||
exports.WeVibe = WeVibe; | ||
//# sourceMappingURL=WeVibe.js.map |
{ | ||
"name": "buttplug", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Javascript library for accessing buttplug servers via node.js or web sockets", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main/src/index.js", |
@@ -225,3 +225,3 @@ // tslint:disable:max-classes-per-file | ||
export class VorzeA10CycloneCmd extends ButtplugDeviceMessage { | ||
constructor(public Speed: string, | ||
constructor(public Speed: number, | ||
public Clockwise: boolean, | ||
@@ -228,0 +228,0 @@ public DeviceIndex: number = -1, |
import BluetoothDeviceInfo from "./BluetoothDeviceInfo"; | ||
import FleshlightLaunch from "./devices/FleshlightLaunch"; | ||
import { FleshlightLaunch } from "./devices/FleshlightLaunch"; | ||
import { LovenseRev1, LovenseRev2, LovenseRev3, LovenseRev4 } from "./devices/Lovense"; | ||
import WeVibe from "./devices/WeVibe"; | ||
import { VorzeA10Cyclone } from "./devices/VorzeA10Cyclone"; | ||
import { WeVibe } from "./devices/WeVibe"; | ||
@@ -13,4 +14,5 @@ export default class BluetoothDevices { | ||
LovenseRev4.DeviceInfo, | ||
VorzeA10Cyclone.DeviceInfo, | ||
WeVibe.DeviceInfo]; | ||
} | ||
} |
@@ -6,3 +6,3 @@ import BluetoothDeviceInfo from "../BluetoothDeviceInfo"; | ||
export default class FleshlightLaunch extends ButtplugBluetoothDevice { | ||
export class FleshlightLaunch extends ButtplugBluetoothDevice { | ||
public static readonly DeviceInfo = new BluetoothDeviceInfo(["Launch"], | ||
@@ -9,0 +9,0 @@ ["88f80580-0000-01e6-aace-0002a5d5c51b"], |
@@ -6,3 +6,3 @@ import BluetoothDeviceInfo from "../BluetoothDeviceInfo"; | ||
export default class WeVibe extends ButtplugBluetoothDevice { | ||
export class WeVibe extends ButtplugBluetoothDevice { | ||
public static readonly DeviceInfo = new BluetoothDeviceInfo(["4 Plus", "Ditto", "Nova", "Wish", "Pivot", "Verge"], | ||
@@ -9,0 +9,0 @@ ["f000bb03-0451-4000-b000-000000000000"], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
390975
130
5501