tornado-core 1.0.11
fixed encryptedNote filtering bug
This commit is contained in:
parent
48bb7aed82
commit
29744cfce4
2
dist/index.js
vendored
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
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
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,
|
||||
|
Loading…
Reference in New Issue
Block a user