Skip to content

Commit

Permalink
fix(aens): make extendTtl argument optional
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Oct 27, 2023
1 parent 79f4257 commit 028876f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/aens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export async function aensQuery(
}
) => ReturnType<typeof aensRevoke>;
extendTtl: (
nameTtl: number,
nameTtl?: number,
options?: Omit<Parameters<typeof aensQuery>[1], 'onNode' | 'onCompiler' | 'onAccount'>
) => ReturnType<typeof aensUpdate> & ReturnType<typeof aensQuery>;
}
Expand Down
4 changes: 2 additions & 2 deletions test/integration/Middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ describe('Middleware API', () => {
mdwVersion: res.mdwVersion,
nodeHeight: res.nodeHeight,
nodeProgress: 100,
nodeRevision: 'a42c1b1e84dabdad350005213a2a9334113a6832',
nodeRevision: '4d9fd25ad9d449c6e9805cd46a3cb8150fc4b6c1',
nodeSyncing: false,
nodeVersion: '6.8.1',
nodeVersion: '6.11.0',
};
expect(res).to.be.eql(expectedRes);
});
Expand Down

0 comments on commit 028876f

Please sign in to comment.