@fto-consult/expo-ui 6.52.4 → 6.52.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.52.4",
3
+ "version": "6.52.5",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {
@@ -70,7 +70,7 @@
70
70
  "@expo/html-elements": "^0.5.1",
71
71
  "@expo/vector-icons": "^13.0.0",
72
72
  "@faker-js/faker": "^8.0.2",
73
- "@fto-consult/common": "^3.47.0",
73
+ "@fto-consult/common": "^3.47.1",
74
74
  "@pchmn/expo-material3-theme": "^1.3.1",
75
75
  "@react-native-async-storage/async-storage": "1.18.2",
76
76
  "@react-native-community/datetimepicker": "7.2.0",
@@ -189,14 +189,15 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
189
189
  delete opts.page;
190
190
  delete opts.offset;
191
191
  }
192
+ opts.url = opts.path = url;
192
193
  if(showProgressRef.current ===false){
193
194
  opts.showError = false;
194
195
  }
195
- const {url:fUrl,...rest} = prepareFetchOptions(url,opts);
196
+ console.log("will fetch ",url,opts);
196
197
  if(typeof fetcher =='function'){
197
- return fetcher(fUrl,rest);
198
+ return fetcher(url,opts);
198
199
  }
199
- return apiFetch(fUrl,rest);
200
+ return apiFetch(url,opts);
200
201
  },
201
202
  swrOptions : getSWROptions(swrConfig.refreshTimeout)
202
203
  });