Skip to content

Commit

Permalink
fix(core): fix emitter value could have BigDeciaml (#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
zfy0701 authored May 20, 2024
1 parent 4cb0573 commit 12c7bc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/sdk/src/core/event-logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ import {
import { normalizeAttribute } from './normalization.js'
import { MapStateStorage } from '@sentio/runtime'
import { BN } from 'fuels'
import { BigDecimal } from '@sentio/bigdecimal'

export interface Attribute<T> {
[key: string]: Exclude<
T | number | bigint | string | boolean | LogLevel | Attribute<T> | BN | undefined,
T | number | bigint | string | boolean | LogLevel | Attribute<T> | BN | BigDecimal | undefined,
Promise<any>
>
}
Expand Down

0 comments on commit 12c7bc3

Please sign in to comment.