laravel-request 1.2.15 → 1.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -205,6 +205,17 @@ declare module 'laravel-request' {
205
205
 
206
206
  constructor();
207
207
 
208
+ call(
209
+ successCallback?: (response: {data: any, result: string, meta?: any}) => void,
210
+ errorCallback?: (xhr: XMLHttpRequest, responseData: any) => void,
211
+ finalCallback?: () => void,
212
+ params?: object,
213
+ dataKey?: string,
214
+ argumentsKey?: string,
215
+ queryKey?: string,
216
+ byUrl?: boolean
217
+ ): ApiRequest;
218
+
208
219
  add(method: string, args: any[]): Builder;
209
220
 
210
221
  toArray(): Array<Record<string, any>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "laravel-request",
3
3
  "productName": "laravel-request",
4
- "version": "1.2.15",
4
+ "version": "1.2.16",
5
5
  "description": "laravel-request",
6
6
  "main": "src/index.js",
7
7
  "module": "src/index.js",