Skip to content

Commit

Permalink
Merge pull request #27 from initia-labs/fix/remove-bluebird
Browse files Browse the repository at this point in the history
Remove bluebird dependency
  • Loading branch information
ALPAC-4 authored Feb 24, 2025
2 parents 62b5214 + 8410dc9 commit 1246caf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 20 deletions.
17 changes: 3 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"axios": "^1.7.5",
"bech32": "^2.0.0",
"better-sqlite3": "^11.3.0",
"bluebird": "^3.7.2",
"cosmjs-types": "^0.9.0",
"express": "^4.19.2",
"http": "^0.0.1-security",
Expand All @@ -38,7 +37,6 @@
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.11",
"@types/bluebird": "^3.5.42",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.14",
"@types/node": "^22.5.4",
Expand Down
2 changes: 1 addition & 1 deletion src/msgs/timeout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
getChannelProof,
getRawProof,
} from 'src/lib/proof'
import { delay } from 'bluebird'
import { setTimeout as delay } from 'timers/promises'
import { ChainWorker } from 'src/workers/chain'
import { Bool, PacketTimeoutTable } from 'src/types'
import { packetTableToPacket } from 'src/db/utils'
Expand Down
2 changes: 1 addition & 1 deletion src/msgs/updateClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
Validator,
} from 'cosmjs-types/tendermint/types/validator'
import { Height } from 'cosmjs-types/ibc/core/client/v1/client'
import { delay } from 'bluebird'
import { setTimeout as delay } from 'timers/promises'
import { ChainWorker } from 'src/workers/chain'

// generateMsgUpdateClient generates a MsgUpdateClient message
Expand Down
2 changes: 1 addition & 1 deletion src/workers/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import { DB } from 'src/db'
import { SyncInfoController } from 'src/db/controller/syncInfo'
import { PacketController } from 'src/db/controller/packet'
import { delay } from 'bluebird'
import { setTimeout as delay } from 'timers/promises'
import { Logger } from 'winston'
import { RESTClient } from 'src/lib/restClient'
import { ChannelController } from 'src/db/controller/channel'
Expand Down
2 changes: 1 addition & 1 deletion src/workers/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ConnectionController } from 'src/db/controller/connection'
import { Wallet, isTxError, MsgUpdateClient, Coins } from '@initia/initia.js'
import { createLoggerWithPrefix } from 'src/lib/logger'
import { bech32 } from 'bech32'
import { delay } from 'bluebird'
import { setTimeout as delay } from 'timers/promises'
import { Logger } from 'winston'
import { ChannelController } from 'src/db/controller/channel'
import { State } from '@initia/initia.proto/ibc/core/channel/v1/channel'
Expand Down

0 comments on commit 1246caf

Please sign in to comment.