Minor updates #1

Closed
tornadocontrib wants to merge 67 commits from tornadocontrib/tornado-core:main into main
5 changed files with 5 additions and 5 deletions
Showing only changes of commit d6cfea1d19 - Show all commits

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;