@ahoo-wang/fetcher-wow 3.1.6 → 3.1.8

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/dist/index.es.js CHANGED
@@ -340,17 +340,17 @@ let W = class {
340
340
  constructor(t) {
341
341
  this.apiMetadata = t;
342
342
  }
343
- count(t, E) {
344
- throw u(t, E);
343
+ count(t, E, i) {
344
+ throw u(t, E, i);
345
345
  }
346
- list(t, E) {
347
- throw u(t, E);
346
+ list(t, E, i) {
347
+ throw u(t, E, i);
348
348
  }
349
- listStream(t, E) {
350
- throw u(t, E);
349
+ listStream(t, E, i) {
350
+ throw u(t, E, i);
351
351
  }
352
- paged(t, E) {
353
- throw u(t, E);
352
+ paged(t, E, i) {
353
+ throw u(t, E, i);
354
354
  }
355
355
  };
356
356
  H([
@@ -399,32 +399,32 @@ let O = class {
399
399
  constructor(t) {
400
400
  this.apiMetadata = t;
401
401
  }
402
- count(t, E) {
403
- throw u(t, E);
402
+ count(t, E, i) {
403
+ throw u(t, E, i);
404
404
  }
405
- list(t, E) {
406
- throw u(t, E);
405
+ list(t, E, i) {
406
+ throw u(t, E, i);
407
407
  }
408
- listStream(t, E) {
409
- throw u(t, E);
408
+ listStream(t, E, i) {
409
+ throw u(t, E, i);
410
410
  }
411
- listState(t, E) {
412
- throw u(t, E);
411
+ listState(t, E, i) {
412
+ throw u(t, E, i);
413
413
  }
414
- listStateStream(t, E) {
415
- throw u(t, E);
414
+ listStateStream(t, E, i) {
415
+ throw u(t, E, i);
416
416
  }
417
- paged(t, E) {
418
- throw u(t, E);
417
+ paged(t, E, i) {
418
+ throw u(t, E, i);
419
419
  }
420
- pagedState(t, E) {
421
- throw u(t, E);
420
+ pagedState(t, E, i) {
421
+ throw u(t, E, i);
422
422
  }
423
- single(t, E) {
424
- throw u(t, E);
423
+ single(t, E, i) {
424
+ throw u(t, E, i);
425
425
  }
426
- singleState(t, E) {
427
- throw u(t, E);
426
+ singleState(t, E, i) {
427
+ throw u(t, E, i);
428
428
  }
429
429
  /**
430
430
  * Retrieves a single materialized snapshot by its ID.
@@ -433,6 +433,7 @@ let O = class {
433
433
  * @param attributes - Optional shared attributes that can be accessed by interceptors
434
434
  * throughout the request lifecycle. These attributes allow passing
435
435
  * custom data between different interceptors.
436
+ * @param abortController - Optional AbortController for cancelling the request.
436
437
  * @returns A promise that resolves to the materialized snapshot with the specified ID
437
438
  *
438
439
  * @example
@@ -441,11 +442,11 @@ let O = class {
441
442
  * console.log('Snapshot:', snapshot);
442
443
  * ```
443
444
  */
444
- getById(t, E) {
445
- const i = rt({
445
+ getById(t, E, i) {
446
+ const r = rt({
446
447
  condition: Et(t)
447
448
  });
448
- return this.single(i, E);
449
+ return this.single(r, E, i);
449
450
  }
450
451
  /**
451
452
  * Retrieves a single snapshot state by its ID.
@@ -454,6 +455,7 @@ let O = class {
454
455
  * @param attributes - Optional shared attributes that can be accessed by interceptors
455
456
  * throughout the request lifecycle. These attributes allow passing
456
457
  * custom data between different interceptors.
458
+ * @param abortController - Optional AbortController for cancelling the request.
457
459
  * @returns A promise that resolves to the snapshot state with the specified ID
458
460
  *
459
461
  * @example
@@ -462,11 +464,11 @@ let O = class {
462
464
  * console.log('State:', state);
463
465
  * ```
464
466
  */
465
- getStateById(t, E) {
466
- const i = rt({
467
+ getStateById(t, E, i) {
468
+ const r = rt({
467
469
  condition: Et(t)
468
470
  });
469
- return this.singleState(i, E);
471
+ return this.singleState(r, E, i);
470
472
  }
471
473
  /**
472
474
  * Retrieves multiple materialized snapshots by their IDs.
@@ -475,6 +477,7 @@ let O = class {
475
477
  * @param attributes - Optional shared attributes that can be accessed by interceptors
476
478
  * throughout the request lifecycle. These attributes allow passing
477
479
  * custom data between different interceptors.
480
+ * @param abortController - Optional AbortController for cancelling the request.
478
481
  * @returns A promise that resolves to an array of materialized snapshots with the specified IDs
479
482
  *
480
483
  * @example
@@ -485,12 +488,12 @@ let O = class {
485
488
  * }
486
489
  * ```
487
490
  */
488
- getByIds(t, E) {
489
- const i = et({
491
+ getByIds(t, E, i) {
492
+ const r = et({
490
493
  condition: it(t),
491
494
  limit: t.length
492
495
  });
493
- return this.list(i, E);
496
+ return this.list(r, E, i);
494
497
  }
495
498
  /**
496
499
  * Retrieves multiple snapshot states by their IDs.
@@ -499,6 +502,7 @@ let O = class {
499
502
  * @param attributes - Optional shared attributes that can be accessed by interceptors
500
503
  * throughout the request lifecycle. These attributes allow passing
501
504
  * custom data between different interceptors.
505
+ * @param abortController - Optional AbortController for cancelling the request.
502
506
  * @returns A promise that resolves to an array of snapshot states with the specified IDs
503
507
  *
504
508
  * @example
@@ -509,12 +513,12 @@ let O = class {
509
513
  * }
510
514
  * ```
511
515
  */
512
- getStateByIds(t, E) {
513
- const i = et({
516
+ getStateByIds(t, E, i) {
517
+ const r = et({
514
518
  condition: it(t),
515
519
  limit: t.length
516
520
  });
517
- return this.listState(i, E);
521
+ return this.listState(r, E, i);
518
522
  }
519
523
  };
520
524
  D([
@@ -595,14 +599,14 @@ let V = M, $ = class {
595
599
  constructor(t) {
596
600
  this.apiMetadata = t;
597
601
  }
598
- load(t, E) {
599
- throw u(t, E);
600
- }
601
- loadVersioned(t, E, i) {
602
+ load(t, E, i) {
602
603
  throw u(t, E, i);
603
604
  }
604
- loadTimeBased(t, E, i) {
605
- throw u(t, E, i);
605
+ loadVersioned(t, E, i, r) {
606
+ throw u(t, E, i, r);
607
+ }
608
+ loadTimeBased(t, E, i, r) {
609
+ throw u(t, E, i, r);
606
610
  }
607
611
  };
608
612
  Q([
@@ -637,14 +641,14 @@ let B = C, U = class {
637
641
  constructor(t) {
638
642
  this.apiMetadata = t;
639
643
  }
640
- load(t) {
641
- throw u(t);
642
- }
643
- loadVersioned(t, E) {
644
+ load(t, E) {
644
645
  throw u(t, E);
645
646
  }
646
- loadTimeBased(t, E) {
647
- throw u(t, E);
647
+ loadVersioned(t, E, i) {
648
+ throw u(t, E, i);
649
+ }
650
+ loadTimeBased(t, E, i) {
651
+ throw u(t, E, i);
648
652
  }
649
653
  };
650
654
  J([