Minor updates #1
2
dist/index.js
vendored
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
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
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user