@anuma/sdk 11.3.2 → 11.3.3

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.
@@ -37333,12 +37333,17 @@ async function listICloudFiles() {
37333
37333
  recordType: RECORD_TYPE
37334
37334
  };
37335
37335
  const allRecords = [];
37336
- const response = await database.performQuery(query);
37336
+ let response = await database.performQuery(query);
37337
37337
  if (response.records) {
37338
37338
  allRecords.push(...response.records);
37339
37339
  }
37340
37340
  while (response.continuationMarker) {
37341
- break;
37341
+ response = await database.performQuery(query, {
37342
+ continuationMarker: response.continuationMarker
37343
+ });
37344
+ if (response.records) {
37345
+ allRecords.push(...response.records);
37346
+ }
37342
37347
  }
37343
37348
  const files = allRecords.map((record3) => ({
37344
37349
  recordName: record3.recordName,
@@ -174,7 +174,9 @@ interface CloudKitDatabase {
174
174
  }[], options?: {
175
175
  zoneName?: string;
176
176
  }) => Promise<CloudKitResponse>;
177
- performQuery: (query: CloudKitQuery) => Promise<CloudKitResponse>;
177
+ performQuery: (query: CloudKitQuery, options?: {
178
+ continuationMarker?: string;
179
+ }) => Promise<CloudKitResponse>;
178
180
  fetchRecords: (recordNames: Array<{
179
181
  recordName: string;
180
182
  }>, options?: {
@@ -174,7 +174,9 @@ interface CloudKitDatabase {
174
174
  }[], options?: {
175
175
  zoneName?: string;
176
176
  }) => Promise<CloudKitResponse>;
177
- performQuery: (query: CloudKitQuery) => Promise<CloudKitResponse>;
177
+ performQuery: (query: CloudKitQuery, options?: {
178
+ continuationMarker?: string;
179
+ }) => Promise<CloudKitResponse>;
178
180
  fetchRecords: (recordNames: Array<{
179
181
  recordName: string;
180
182
  }>, options?: {
@@ -35386,12 +35386,17 @@ async function listICloudFiles() {
35386
35386
  recordType: RECORD_TYPE
35387
35387
  };
35388
35388
  const allRecords = [];
35389
- const response = await database.performQuery(query);
35389
+ let response = await database.performQuery(query);
35390
35390
  if (response.records) {
35391
35391
  allRecords.push(...response.records);
35392
35392
  }
35393
35393
  while (response.continuationMarker) {
35394
- break;
35394
+ response = await database.performQuery(query, {
35395
+ continuationMarker: response.continuationMarker
35396
+ });
35397
+ if (response.records) {
35398
+ allRecords.push(...response.records);
35399
+ }
35395
35400
  }
35396
35401
  const files = allRecords.map((record3) => ({
35397
35402
  recordName: record3.recordName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anuma/sdk",
3
- "version": "11.3.2",
3
+ "version": "11.3.3",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",