You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vue-use-async

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-use-async - npm Package Compare versions

Comparing version

to
1.4.3

2

dist/useMutation.d.ts

@@ -7,3 +7,3 @@ import { ComputedRef, Ref } from 'vue';

export default function useMutation<T, Z, A extends TypeAllowed[]>(func: (arg: Z, ...args: A) => Promise<T>): {
mutate: (param: Z, ...restParams: A) => Promise<UnwrappedPromiseType<typeof func>>;
mutate: (param?: Z, ...restParams: A) => Promise<UnwrappedPromiseType<typeof func>>;
onError: (cb: OnErrorCb<Z, A>) => unknown;

@@ -10,0 +10,0 @@ onEnd: (cb: OnEndCb<UnwrappedPromiseType<typeof func>, Z, A>) => unknown;

{
"name": "vue-use-async",
"version": "1.4.2",
"version": "1.4.3",
"description": "Xhr and async helpers",

@@ -5,0 +5,0 @@ "repository": {