Skip to content

Commit

Permalink
9220 deprecate getDisplayInfo (#9221)
Browse files Browse the repository at this point in the history
closes: #9220

## Description

Deprecate `getDisplayInfo` so we don't use it more.
Point TODOs to removing it: #10235
Removes the use in auctionBook by using a fixed scaling factor

Also converts the JSDoc types to `.ts` so `@deprecated` can be used

### Security Considerations

None yet but #10235 will change the source of decimal places

### Scaling Considerations

none

### Documentation Considerations

https://docs.agoric.com/reference/ertp-api/brand.html#abrand-getdisplayinfo will need updating.


### Testing Considerations



### Upgrade Considerations
  • Loading branch information
mergify[bot] authored Oct 8, 2024
2 parents 7940ef4 + fff76f3 commit b232bfe
Show file tree
Hide file tree
Showing 7 changed files with 497 additions and 455 deletions.
2 changes: 2 additions & 0 deletions packages/ERTP/src/types-index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Export all the types this package provides
export * from './types.js';
2 changes: 2 additions & 0 deletions packages/ERTP/src/types-index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Empty JS file to correspond with its .d.ts twin
export {};
420 changes: 0 additions & 420 deletions packages/ERTP/src/types.js

This file was deleted.

Loading

0 comments on commit b232bfe

Please sign in to comment.