tornado-core 1.0.10

revert reverse ordering for relayers
This commit is contained in:
Tornado Contrib 2024-09-22 05:56:21 +00:00
parent 0bd87f9b67
commit d6cfea1d19
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1
5 changed files with 5 additions and 5 deletions

2
dist/index.js vendored

@ -3351,7 +3351,7 @@ class BaseRegistryService extends BaseEventsService {
const registerEvents = (yield this.updateEvents()).events;
const subdomains = Object.values(this.relayerEnsSubdomains);
const registerSet = /* @__PURE__ */ new Set();
const uniqueRegisters = registerEvents.reverse().filter(({ ensName }) => {
const uniqueRegisters = registerEvents.filter(({ ensName }) => {
if (!registerSet.has(ensName)) {
registerSet.add(ensName);
return true;

2
dist/index.mjs vendored

@ -3330,7 +3330,7 @@ class BaseRegistryService extends BaseEventsService {
const registerEvents = (yield this.updateEvents()).events;
const subdomains = Object.values(this.relayerEnsSubdomains);
const registerSet = /* @__PURE__ */ new Set();
const uniqueRegisters = registerEvents.reverse().filter(({ ensName }) => {
const uniqueRegisters = registerEvents.filter(({ ensName }) => {
if (!registerSet.has(ensName)) {
registerSet.add(ensName);
return true;

2
dist/index.umd.js vendored

@ -59699,7 +59699,7 @@ class BaseRegistryService extends BaseEventsService {
const registerEvents = (yield this.updateEvents()).events;
const subdomains = Object.values(this.relayerEnsSubdomains);
const registerSet = /* @__PURE__ */ new Set();
const uniqueRegisters = registerEvents.reverse().filter(({ ensName }) => {
const uniqueRegisters = registerEvents.filter(({ ensName }) => {
if (!registerSet.has(ensName)) {
registerSet.add(ensName);
return true;

@ -1,6 +1,6 @@
{
"name": "@tornado/core",
"version": "1.0.9",
"version": "1.0.10",
"description": "An SDK for building applications on top of Privacy Pools",
"main": "./dist/index.js",
"module": "./dist/index.mjs",

@ -856,7 +856,7 @@ export class BaseRegistryService extends BaseEventsService<RegistersEvents> {
const registerSet = new Set();
const uniqueRegisters = registerEvents.reverse().filter(({ ensName }) => {
const uniqueRegisters = registerEvents.filter(({ ensName }) => {
if (!registerSet.has(ensName)) {
registerSet.add(ensName);
return true;