@cycle-robot-drivers/sound
Advanced tools
Comparing version 1.0.3 to 1.1.1
@@ -1,2 +0,8 @@ | ||
import { ActionSources, ActionSinks, EventSource } from "@cycle-robot-drivers/action"; | ||
import { Stream } from "xstream"; | ||
import { GoalStatus, ActionSources, ActionSinks, EventSource } from "@cycle-robot-drivers/action"; | ||
export declare function status(reducerState$: any): Stream<GoalStatus>; | ||
export declare function output(reducerState$: any): { | ||
result: any; | ||
AudioPlayer: any; | ||
}; | ||
export interface Sources extends ActionSources { | ||
@@ -3,0 +9,0 @@ AudioPlayer: EventSource; |
@@ -140,2 +140,3 @@ "use strict"; | ||
} | ||
exports.status = status; | ||
function output(reducerState$) { | ||
@@ -152,2 +153,3 @@ var outputs$ = reducerState$ | ||
} | ||
exports.output = output; | ||
/** | ||
@@ -154,0 +156,0 @@ * AudioPlayerAction action component. |
export { makeAudioPlayerDriver } from "./makeAudioPlayerDriver"; | ||
export { Sources as AudioPlayerActionSources, Sinks as AudioPlayerActionSinks, AudioPlayerAction } from "./AudioPlayerAction"; | ||
export { Sources as AudioPlayerActionSources, Sinks as AudioPlayerActionSinks, status as selectAudioPlayerActionStatus, output as selectAudioPlayerActionOutput, AudioPlayerAction } from "./AudioPlayerAction"; |
@@ -6,3 +6,5 @@ "use strict"; | ||
var AudioPlayerAction_1 = require("./AudioPlayerAction"); | ||
exports.selectAudioPlayerActionStatus = AudioPlayerAction_1.status; | ||
exports.selectAudioPlayerActionOutput = AudioPlayerAction_1.output; | ||
exports.AudioPlayerAction = AudioPlayerAction_1.AudioPlayerAction; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,8 @@ | ||
import { ActionSources, ActionSinks, EventSource } from "@cycle-robot-drivers/action"; | ||
import { Stream } from "xstream"; | ||
import { GoalStatus, ActionSources, ActionSinks, EventSource } from "@cycle-robot-drivers/action"; | ||
export declare function status(reducerState$: any): Stream<GoalStatus>; | ||
export declare function output(reducerState$: any): { | ||
result: any; | ||
AudioPlayer: any; | ||
}; | ||
export interface Sources extends ActionSources { | ||
@@ -3,0 +9,0 @@ AudioPlayer: EventSource; |
@@ -122,3 +122,3 @@ var __assign = (this && this.__assign) || function () { | ||
} | ||
function status(reducerState$) { | ||
export function status(reducerState$) { | ||
var done$ = reducerState$ | ||
@@ -136,3 +136,3 @@ .filter(function (rs) { return !!rs.outputs && !!rs.outputs.result; }) | ||
} | ||
function output(reducerState$) { | ||
export function output(reducerState$) { | ||
var outputs$ = reducerState$ | ||
@@ -139,0 +139,0 @@ .filter(function (rs) { return !!rs.outputs; }) |
export { makeAudioPlayerDriver } from "./makeAudioPlayerDriver"; | ||
export { Sources as AudioPlayerActionSources, Sinks as AudioPlayerActionSinks, AudioPlayerAction } from "./AudioPlayerAction"; | ||
export { Sources as AudioPlayerActionSources, Sinks as AudioPlayerActionSinks, status as selectAudioPlayerActionStatus, output as selectAudioPlayerActionOutput, AudioPlayerAction } from "./AudioPlayerAction"; |
export { makeAudioPlayerDriver } from "./makeAudioPlayerDriver"; | ||
export { AudioPlayerAction } from "./AudioPlayerAction"; | ||
export { status as selectAudioPlayerActionStatus, output as selectAudioPlayerActionOutput, AudioPlayerAction } from "./AudioPlayerAction"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@cycle-robot-drivers/sound", | ||
"version": "1.0.3", | ||
"version": "1.1.1", | ||
"description": "A Cycle.js driver for playing sounds using HTMLAudioElement", | ||
@@ -5,0 +5,0 @@ "author": "Michael Jae-Yoon Chung", |
@@ -189,3 +189,3 @@ import xs, { Stream } from "xstream"; | ||
function status(reducerState$): Stream<GoalStatus> { | ||
export function status(reducerState$): Stream<GoalStatus> { | ||
const done$: Stream<GoalStatus> = reducerState$ | ||
@@ -204,3 +204,3 @@ .filter(rs => !!rs.outputs && !!rs.outputs.result) | ||
function output(reducerState$) { | ||
export function output(reducerState$) { | ||
const outputs$ = reducerState$ | ||
@@ -207,0 +207,0 @@ .filter(rs => !!rs.outputs) |
@@ -5,3 +5,5 @@ export { makeAudioPlayerDriver } from "./makeAudioPlayerDriver"; | ||
Sinks as AudioPlayerActionSinks, | ||
status as selectAudioPlayerActionStatus, | ||
output as selectAudioPlayerActionOutput, | ||
AudioPlayerAction | ||
} from "./AudioPlayerAction"; |
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
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
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
56837
1135