Skip to content

Commit

Permalink
Merge pull request #158 from gnosis/fix-backend-network-type
Browse files Browse the repository at this point in the history
Fix: import the correct network type
  • Loading branch information
asgeir-s authored Nov 1, 2022
2 parents f8843ec + 978e9dd commit 32ef353
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
2 changes: 1 addition & 1 deletion packages/backend/api/monitoring/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
createAutotask,
setupAutotaskClient,
} from "../../lib/defender"
import { Network } from "../../lib/types"
import { Network } from "defender-base-client"

export interface Body {
apiKey: string
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/lib/defender/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from "defender-sentinel-client"
import { AutotaskClient } from "defender-autotask-client"
import { CreateAutotaskRequest } from "defender-autotask-client"
import { Network } from "../../lib/types"
import { Network } from "defender-base-client"
import { packageCode, readFileAndReplace } from "../util"

export { NotificationType } from "defender-sentinel-client"
Expand Down
33 changes: 0 additions & 33 deletions packages/backend/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,3 @@ export interface Query {
apiKey: string
apiSecret: string
}

export type Network =
| "mainnet"
| "ropsten"
| "kovan"
| "goerli"
| "xdai"
| "sokol"
| "fuse"
| "bsc"
| "bsctest"
| "fantom"
| "fantomtest"
| "moonbase"
| "moonriver"
| "moonbeam"
| "matic"
| "mumbai"
| "avalanche"
| "fuji"
| "optimism"
| "optimism-kovan"
| "optimism-goerli"
| "arbitrum"
| "arbitrum-goerli"
| "celo"
| "alfajores"
| "harmony-s0"
| "harmony-test-s0"
| "aurora"
| "auroratest"
| "hedera"
| "hederatest"

1 comment on commit 32ef353

@vercel
Copy link

@vercel vercel bot commented on 32ef353 Nov 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

zodiac-safe-app – ./packages/app

zodiac-safe-app-git-master-gnosis-guild.vercel.app
zodiac-safe-app-gnosis-guild.vercel.app
zodiac-safe-app-ui.vercel.app

Please sign in to comment.