forked from tornado-packages/tornado-core
tornado-core 1.0.10
revert reverse ordering for relayers
This commit is contained in:
parent
0bd87f9b67
commit
d6cfea1d19
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 registerEvents = (yield this.updateEvents()).events;
|
||||||
const subdomains = Object.values(this.relayerEnsSubdomains);
|
const subdomains = Object.values(this.relayerEnsSubdomains);
|
||||||
const registerSet = /* @__PURE__ */ new Set();
|
const registerSet = /* @__PURE__ */ new Set();
|
||||||
const uniqueRegisters = registerEvents.reverse().filter(({ ensName }) => {
|
const uniqueRegisters = registerEvents.filter(({ ensName }) => {
|
||||||
if (!registerSet.has(ensName)) {
|
if (!registerSet.has(ensName)) {
|
||||||
registerSet.add(ensName);
|
registerSet.add(ensName);
|
||||||
return true;
|
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 registerEvents = (yield this.updateEvents()).events;
|
||||||
const subdomains = Object.values(this.relayerEnsSubdomains);
|
const subdomains = Object.values(this.relayerEnsSubdomains);
|
||||||
const registerSet = /* @__PURE__ */ new Set();
|
const registerSet = /* @__PURE__ */ new Set();
|
||||||
const uniqueRegisters = registerEvents.reverse().filter(({ ensName }) => {
|
const uniqueRegisters = registerEvents.filter(({ ensName }) => {
|
||||||
if (!registerSet.has(ensName)) {
|
if (!registerSet.has(ensName)) {
|
||||||
registerSet.add(ensName);
|
registerSet.add(ensName);
|
||||||
return true;
|
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 registerEvents = (yield this.updateEvents()).events;
|
||||||
const subdomains = Object.values(this.relayerEnsSubdomains);
|
const subdomains = Object.values(this.relayerEnsSubdomains);
|
||||||
const registerSet = /* @__PURE__ */ new Set();
|
const registerSet = /* @__PURE__ */ new Set();
|
||||||
const uniqueRegisters = registerEvents.reverse().filter(({ ensName }) => {
|
const uniqueRegisters = registerEvents.filter(({ ensName }) => {
|
||||||
if (!registerSet.has(ensName)) {
|
if (!registerSet.has(ensName)) {
|
||||||
registerSet.add(ensName);
|
registerSet.add(ensName);
|
||||||
return true;
|
return true;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tornado/core",
|
"name": "@tornado/core",
|
||||||
"version": "1.0.9",
|
"version": "1.0.10",
|
||||||
"description": "An SDK for building applications on top of Privacy Pools",
|
"description": "An SDK for building applications on top of Privacy Pools",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
|
@ -856,7 +856,7 @@ export class BaseRegistryService extends BaseEventsService<RegistersEvents> {
|
|||||||
|
|
||||||
const registerSet = new Set();
|
const registerSet = new Set();
|
||||||
|
|
||||||
const uniqueRegisters = registerEvents.reverse().filter(({ ensName }) => {
|
const uniqueRegisters = registerEvents.filter(({ ensName }) => {
|
||||||
if (!registerSet.has(ensName)) {
|
if (!registerSet.has(ensName)) {
|
||||||
registerSet.add(ensName);
|
registerSet.add(ensName);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user