fix(core): update
This commit is contained in:
		| @@ -1,4 +1,7 @@ | ||||
| import * as plugins from './smartrx.plugins'; | ||||
| export * from './smartrx.classes.observablemap'; | ||||
| export * from './smartrx.classes.observableintake'; | ||||
| export * from './smartrx.plugins.rxjs'; | ||||
| import * as rxjs from './smartrx.plugins.rxjs'; | ||||
| export { | ||||
|   rxjs | ||||
| } | ||||
|   | ||||
| @@ -1,4 +1,5 @@ | ||||
| import * as plugins from './smartrx.plugins'; | ||||
| import * as rxjs from './smartrx.plugins.rxjs'; | ||||
|  | ||||
| export interface IEventEmitter<T = any> { | ||||
|   on: (eventNameArg: string, eventHandlerArg: (eventPayload: T) => any) => void; | ||||
| @@ -8,7 +9,7 @@ export interface IEventEmitter<T = any> { | ||||
|  * bundles an observable with an emitter | ||||
|  */ | ||||
| export interface IObservableEmitterBundle { | ||||
|   observable: plugins.rxjs.Observable<any>; | ||||
|   observable: rxjs.Observable<any>; | ||||
|   emitter: IEventEmitter<unknown>; | ||||
|   event: string; | ||||
| } | ||||
| @@ -30,7 +31,7 @@ export class Observablemap { | ||||
|     if (existingBundle) { | ||||
|       return existingBundle.observable; | ||||
|     } else { | ||||
|       const emitterObservable = plugins.rxjs.fromEvent<T>(emitterArg as any, eventArg); | ||||
|       const emitterObservable = rxjs.fromEvent<T>(emitterArg as any, eventArg); | ||||
|       this.observableEmitterBundleObjectmap.add({ | ||||
|         observable: emitterObservable, | ||||
|         emitter: emitterArg, | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| import * as lik from '@pushrocks/lik'; | ||||
| import * as rxjs from './smartrx.plugins.rxjs'; | ||||
| import * as smartpromise from '@pushrocks/smartpromise'; | ||||
|  | ||||
| export { lik, rxjs, smartpromise }; | ||||
| export { lik, smartpromise }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user