monkey-front-core 0.0.162 → 0.0.163

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.
@@ -2254,8 +2254,11 @@ class MonkeyEcxCommonsService {
2254
2254
  });
2255
2255
  }
2256
2256
  }
2257
- handlePaginationOptions(service, callback) {
2258
- service.setCallback(callback);
2257
+ handlePaginationOptions(args) {
2258
+ const { service, callback } = args;
2259
+ service.setCallback((type) => {
2260
+ this.doPaginationv2.bind(this, type, callback);
2261
+ });
2259
2262
  }
2260
2263
  setPage(requestPaged) {
2261
2264
  this.__requestPaged = {
@@ -2347,10 +2350,7 @@ class MonkeyEcxCommonsService {
2347
2350
  this.__callbackPagination = otherArgs.callbackPagination;
2348
2351
  }
2349
2352
  if (otherArgs?.paginationOptions) {
2350
- const { service, callback } = otherArgs.paginationOptions;
2351
- service.setCallback((type) => {
2352
- this.doPaginationv2.bind(this, type, callback);
2353
- });
2353
+ this.handlePaginationOptions(otherArgs?.paginationOptions);
2354
2354
  }
2355
2355
  if (otherArgs?.feature) {
2356
2356
  const { flag, service } = otherArgs.feature;