File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# @proofgeist/fmdapi
22
3+ ## 3.3.6
4+
5+ ### Patch Changes
6+
7+ - fix wv find
8+
39## 3.3.5
410
511### Patch Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " @proofgeist/fmdapi" ,
3- "version" : " 3.3.5 " ,
3+ "version" : " 3.3.6 " ,
44 "description" : " FileMaker Data API client" ,
55 "main" : " dist/index.js" ,
66 "repository" : " git@github.com:proofgeist/fm-dapi.git" ,
Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ function DataApi<
351351 ) : Promise < FMRecord < T , U > [ ] > {
352352 let runningData : GetResponse < T , U > [ "data" ] = [ ] ;
353353 const limit = args . limit ?? 100 ;
354- const offset = args . offset ?? 1 ;
354+ let offset = args . offset ?? 1 ;
355355 // eslint-disable-next-line no-constant-condition
356356 while ( true ) {
357357 const data = await find < T , U > ( { ...args , ignoreEmptyResult : true } ) ;
@@ -361,7 +361,7 @@ function DataApi<
361361 runningData . length >= data . dataInfo . foundCount
362362 )
363363 break ;
364- args . offset = offset + limit ;
364+ offset = offset + limit ;
365365 }
366366 return runningData ;
367367 }
You can’t perform that action at this time.
0 commit comments