Comparing version 0.10.0-rc.5 to 0.10.0-rc.6
@@ -12,7 +12,6 @@ import { from } from 'rxjs'; | ||
catch (_) { } | ||
if (argIsProxy) { | ||
return toRef(arg, subArg); | ||
} | ||
return ref(arg); | ||
return argIsProxy | ||
? toRef(arg, subArg) | ||
: ref(arg); | ||
} | ||
//# sourceMappingURL=ref-from.js.map |
@@ -12,7 +12,6 @@ import { from } from 'rxjs'; | ||
catch (_) { } | ||
if (argIsProxy) { | ||
return toRef(arg, subArg); | ||
} | ||
return ref(arg); | ||
return argIsProxy | ||
? toRef(arg, subArg) | ||
: ref(arg); | ||
} | ||
//# sourceMappingURL=ref-from.js.map |
@@ -15,8 +15,7 @@ "use strict"; | ||
catch (_) { } | ||
if (argIsProxy) { | ||
return vue_1.toRef(arg, subArg); | ||
} | ||
return vue_1.ref(arg); | ||
return argIsProxy | ||
? vue_1.toRef(arg, subArg) | ||
: vue_1.ref(arg); | ||
} | ||
exports.refFrom = refFrom; | ||
//# sourceMappingURL=ref-from.js.map |
{ | ||
"name": "vuse-rx", | ||
"version": "0.10.0-rc.5", | ||
"version": "0.10.0-rc.6", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "description": "First-class rxjs support for Vue 3", |
@@ -18,3 +18,3 @@ import { Observable } from 'rxjs'; | ||
export const fromHook = (hook: VueHook) => new Observable<void>( | ||
ctx => { getCurrentInstance() && hook(() => ctx.next()); } | ||
ctx => { getCurrentInstance() && hook(() => ctx.next()) } | ||
); |
@@ -91,7 +91,5 @@ import { from, ObservableInput } from 'rxjs'; | ||
if (argIsProxy) { | ||
return toRef(arg as Record<any, any>, subArg); | ||
} | ||
return ref(arg); | ||
return argIsProxy | ||
? toRef(arg as Record<any, any>, subArg) | ||
: ref(arg); | ||
} |
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
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
648375
1102