Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Commit

Permalink
feat: fix the type doc bug
Browse files Browse the repository at this point in the history
  • Loading branch information
imotai committed Jun 22, 2023
1 parent 2c154f2 commit 39c0f6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "db3.js",
"version": "0.3.9",
"version": "0.3.10",
"description": "DB3 Network Javascript API",
"author": "dbpunk labs",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/provider/indexer_provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class IndexerProvider {

async getContractSyncStatus() {
const request: GetContractSyncStatusRequest = {}
const { response } = await this.client.getContractSyncStatus()
const { response } = await this.client.getContractSyncStatus(request)
return response
}
}
4 changes: 2 additions & 2 deletions src/store/database_v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,13 @@ export async function getDatabase(addr: string, client: Client) {
}
if (db.database.oneofKind === 'docDb') {
return {
addr: '0x' + toHEX(db.database.docDb.address),
addr,
client,
internal: db,
}
} else {
return {
addr: '0x' + toHEX(db.eventDb.address),
addr,
client,
internal: db,
}
Expand Down

0 comments on commit 39c0f6f

Please sign in to comment.