@kontsedal/olas-core 0.0.3 → 0.0.4

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.
@@ -2761,6 +2761,7 @@ var LocalCacheImpl = class {
2761
2761
  refetch = () => this.entry.refetch();
2762
2762
  reset = () => this.entry.reset();
2763
2763
  firstValue = () => this.entry.firstValue();
2764
+ promise = () => this.entry.firstValue();
2764
2765
  invalidate = () => {
2765
2766
  this.entry.invalidate().catch(() => {});
2766
2767
  };
@@ -3056,6 +3057,7 @@ var SubscriptionImpl = class {
3056
3057
  if (!cur) return Promise.reject(/* @__PURE__ */ new Error("[olas] no active subscription"));
3057
3058
  return cur.entry.firstValue().then((v) => this.project(v));
3058
3059
  };
3060
+ promise = () => this.firstValue();
3059
3061
  project(v) {
3060
3062
  return this.select === void 0 ? v : this.select(v);
3061
3063
  }
@@ -3215,6 +3217,7 @@ var InfiniteSubscriptionImpl = class {
3215
3217
  if (!cur) return Promise.reject(/* @__PURE__ */ new Error("[olas] no active subscription"));
3216
3218
  return cur.entry.firstValue();
3217
3219
  };
3220
+ promise = () => this.firstValue();
3218
3221
  fetchNextPage = () => {
3219
3222
  const cur = this.current$.peek();
3220
3223
  if (!cur) return Promise.resolve();
@@ -4181,4 +4184,4 @@ Object.defineProperty(exports, "untracked", {
4181
4184
  }
4182
4185
  });
4183
4186
 
4184
- //# sourceMappingURL=root-D_xAdcom.cjs.map
4187
+ //# sourceMappingURL=root-CoafhkTg.cjs.map