@sentio/runtime 3.5.0-rc.4 → 3.5.1-rc.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.
@@ -38555,16 +38555,16 @@ ${stack}` : "")
38555
38555
  upsertBatch = void 0;
38556
38556
  async sendUpsertInBatch(req) {
38557
38557
  if (this.upsertBatch) {
38558
- const { request, promise } = this.upsertBatch;
38559
- request.entity = this.upsertBatch.request.entity.concat(req.entity);
38560
- request.entityData = this.upsertBatch.request.entityData.concat(req.entityData);
38561
- request.id = this.upsertBatch.request.id.concat(req.id);
38558
+ const { request, promise, opId } = this.upsertBatch;
38559
+ request.entity = request.entity.concat(req.entity);
38560
+ request.entityData = request.entityData.concat(req.entityData);
38561
+ request.id = request.id.concat(req.id);
38562
38562
  if (request.entity.length >= STORE_BATCH_SIZE) {
38563
38563
  this.sendBatch();
38564
38564
  }
38565
38565
  if (STORE_UPSERT_NO_WAIT) {
38566
38566
  return {
38567
- opId: this.upsertBatch.opId
38567
+ opId
38568
38568
  };
38569
38569
  }
38570
38570
  return promise;
@@ -60361,4 +60361,4 @@ long/umd/index.js:
60361
60361
  @noble/curves/esm/secp256k1.js:
60362
60362
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
60363
60363
  */
60364
- //# sourceMappingURL=chunk-K4D4HKPO.js.map
60364
+ //# sourceMappingURL=chunk-ZP25HZI2.js.map