const n = /* @__PURE__ */ new Map(), c = (t, s) => {
  n.set(t, s);
}, e = (t) => [...n.values()].filter(
  (i) => i.senders.includes(t) || i.recipient === t
), o = (t) => {
  n.delete(t);
};
export {
  c as addOptimisticTransaction,
  e as getOptimisticTransactions,
  o as removeOptimisticTransaction
};
//# sourceMappingURL=addOptimisticTransaction.js.map
