@ahoo-wang/fetcher-wow 3.18.0 → 3.18.1

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
@@ -1226,6 +1226,9 @@ var Ct = class e {
1226
1226
  static {
1227
1227
  this.EVENT_STREAM_RESOURCE_NAME = "event";
1228
1228
  }
1229
+ static {
1230
+ this.AGGREGATION = `${e.EVENT_STREAM_RESOURCE_NAME}/aggregation`;
1231
+ }
1229
1232
  static {
1230
1233
  this.COUNT = `${e.EVENT_STREAM_RESOURCE_NAME}/count`;
1231
1234
  }
@@ -1239,6 +1242,12 @@ var Ct = class e {
1239
1242
  constructor(e) {
1240
1243
  this.apiMetadata = e;
1241
1244
  }
1245
+ aggregate(e, t, n) {
1246
+ throw a(e, t, n);
1247
+ }
1248
+ aggregateStream(e, t, n) {
1249
+ throw a(e, t, n);
1250
+ }
1242
1251
  count(e, t, n) {
1243
1252
  throw a(e, t, n);
1244
1253
  }
@@ -1253,6 +1262,31 @@ var Ct = class e {
1253
1262
  }
1254
1263
  };
1255
1264
  p([
1265
+ u(W.AGGREGATION),
1266
+ f(0, o()),
1267
+ f(1, i()),
1268
+ d("design:type", Function),
1269
+ d("design:paramtypes", [
1270
+ Object,
1271
+ typeof Record > "u" ? Object : Record,
1272
+ typeof AbortController > "u" ? Object : AbortController
1273
+ ]),
1274
+ d("design:returntype", typeof Promise > "u" ? Object : Promise)
1275
+ ], G.prototype, "aggregate", null), p([
1276
+ u(W.AGGREGATION, {
1277
+ headers: { Accept: e.TEXT_EVENT_STREAM },
1278
+ resultExtractor: n
1279
+ }),
1280
+ f(0, o()),
1281
+ f(1, i()),
1282
+ d("design:type", Function),
1283
+ d("design:paramtypes", [
1284
+ Object,
1285
+ typeof Record > "u" ? Object : Record,
1286
+ typeof AbortController > "u" ? Object : AbortController
1287
+ ]),
1288
+ d("design:returntype", typeof Promise > "u" ? Object : Promise)
1289
+ ], G.prototype, "aggregateStream", null), p([
1256
1290
  u(W.COUNT),
1257
1291
  f(0, o()),
1258
1292
  f(1, i()),