@driveflux/api-swr 4.0.67 → 4.0.69

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.
@@ -345,24 +345,7 @@ export var useApiWithAuth = function(key, config) {
345
345
  accessToken
346
346
  ] : null, fetchWithAuth, config);
347
347
  return _object_spread_props(_object_spread({}, result), {
348
- revalidate: function() {
349
- return _async_to_generator(function() {
350
- return _ts_generator(this, function(_state) {
351
- switch(_state.label){
352
- case 0:
353
- return [
354
- 4,
355
- result.mutate()
356
- ];
357
- case 1:
358
- return [
359
- 2,
360
- !!_state.sent()
361
- ];
362
- }
363
- });
364
- })();
365
- }
348
+ revalidate: result.mutate
366
349
  });
367
350
  };
368
351
  export var usePaginationApiWithAuth = function(key, config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/api-swr",
3
- "version": "4.0.67",
3
+ "version": "4.0.69",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -16,9 +16,9 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@driveflux/auth": "4.0.67",
19
+ "@driveflux/auth": "4.0.69",
20
20
  "@driveflux/config": "3.0.9",
21
- "@driveflux/db": "4.0.44",
21
+ "@driveflux/db": "4.1.1",
22
22
  "@driveflux/fetch": "8.0.1",
23
23
  "@driveflux/problem": "6.0.1",
24
24
  "@driveflux/result": "6.0.1",