mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-12 10:37:32 +00:00
Upgrade dependency versions to remove vulnerabilities from dependabot (#343)
* Dependency patch updates * Minor update @apollo/client 3.3.19 -> 3.7.10 * Minor update @nomiclabs/hardhat-ethers 2.0.2 -> 2.2.2 * Minor update @openzeppelin/contracts 4.3.2 -> 4.8.2 * Minor update @types/chai 4.2.19 -> 4.3.4 * Minor update decimal 10.3.1 -> 10.4.3 * Minor update @graphql-tools/utils 9.1.1 -> 9.2.1 * Minor update @graphql, graphql-ws, graphql-request * Minor update yargs * Minor update @types/node * Minor update graph-ts * Minor updates graphql-tools, multiaddr * Update dependencies with minor updates * Minor updates to eslint and related dependencies * Update solidity compiler version for erc721-watcher * Fix ESLint indent rule --------- Co-authored-by: Dhruv Srivastava <dhruvdhs.ds@gmail.com>
This commit is contained in:
@@ -8,12 +8,12 @@ import { Trace } from './Trace';
|
||||
@Entity()
|
||||
export class Account {
|
||||
@PrimaryColumn('varchar', { length: 42 })
|
||||
address!: string;
|
||||
address!: string;
|
||||
|
||||
@Column('integer')
|
||||
startingBlock!: number;
|
||||
startingBlock!: number;
|
||||
|
||||
@ManyToMany(() => Trace, trace => trace.accounts)
|
||||
@JoinTable()
|
||||
appearances: Trace[];
|
||||
appearances: Trace[];
|
||||
}
|
||||
|
||||
@@ -8,17 +8,17 @@ import { Entity, PrimaryColumn, Column, Index } from 'typeorm';
|
||||
@Index(['blockNumber'])
|
||||
export class BlockProgress {
|
||||
@PrimaryColumn('varchar', { length: 66 })
|
||||
blockHash!: string;
|
||||
blockHash!: string;
|
||||
|
||||
@Column('integer')
|
||||
blockNumber!: number;
|
||||
blockNumber!: number;
|
||||
|
||||
@Column('integer')
|
||||
numTx!: number;
|
||||
numTx!: number;
|
||||
|
||||
@Column('integer')
|
||||
numTracedTx!: number;
|
||||
numTracedTx!: number;
|
||||
|
||||
@Column('boolean')
|
||||
isComplete!: boolean;
|
||||
isComplete!: boolean;
|
||||
}
|
||||
|
||||
@@ -11,17 +11,17 @@ import { Account } from './Account';
|
||||
@Index(['blockNumber'])
|
||||
export class Trace {
|
||||
@PrimaryColumn('varchar', { length: 66 })
|
||||
txHash!: string;
|
||||
txHash!: string;
|
||||
|
||||
@Column('integer')
|
||||
blockNumber!: number;
|
||||
blockNumber!: number;
|
||||
|
||||
@Column('varchar', { length: 66 })
|
||||
blockHash!: string;
|
||||
blockHash!: string;
|
||||
|
||||
@Column('text')
|
||||
trace!: string;
|
||||
trace!: string;
|
||||
|
||||
@ManyToMany(() => Account, account => account.appearances, { eager: true, cascade: ['insert'] })
|
||||
accounts: Account[];
|
||||
accounts: Account[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user