tornado-core 1.0.11

fixed encryptedNote filtering bug
This commit is contained in:
Tornado Contrib 2024-09-23 04:26:07 +00:00
parent 48bb7aed82
commit 29744cfce4
Signed by: tornadocontrib
GPG Key ID: 60B4DF1A076C64B1
5 changed files with 5 additions and 5 deletions

2
dist/index.js vendored

@ -3153,7 +3153,7 @@ class BaseEncryptedNotesService extends BaseEventsService {
return __async$8(this, null, function* () {
return events.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
const { encryptedNote } = args;
if (encryptedNote) {
if (encryptedNote && encryptedNote !== "0x") {
const eventObjects = {
blockNumber,
logIndex,

2
dist/index.mjs vendored

@ -3132,7 +3132,7 @@ class BaseEncryptedNotesService extends BaseEventsService {
return __async$8(this, null, function* () {
return events.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
const { encryptedNote } = args;
if (encryptedNote) {
if (encryptedNote && encryptedNote !== "0x") {
const eventObjects = {
blockNumber,
logIndex,

2
dist/index.umd.js vendored

@ -59501,7 +59501,7 @@ class BaseEncryptedNotesService extends BaseEventsService {
return __async(this, null, function* () {
return events.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
const { encryptedNote } = args;
if (encryptedNote) {
if (encryptedNote && encryptedNote !== "0x") {
const eventObjects = {
blockNumber,
logIndex,

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

@ -575,7 +575,7 @@ export class BaseEncryptedNotesService extends BaseEventsService<EncryptedNotesE
.map(({ blockNumber, index: logIndex, transactionHash, args }) => {
const { encryptedNote } = args;
if (encryptedNote) {
if (encryptedNote && encryptedNote !== '0x') {
const eventObjects = {
blockNumber,
logIndex,