Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicF96 committed Mar 5, 2024
1 parent ffcc484 commit 90b7ec7
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": "@pinax/chains",
"version": "1.1.5",
"version": "1.1.6",
"description": "Single-source-of-truth for the metadata of chains supported by Pinax.",
"keywords": [
"chains",
Expand Down
2 changes: 1 addition & 1 deletion types/chain.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type Chain = {
block_type: BlockType;

// Image URL
img: URL;
img: string;

// Whether or not the image should be inverted
is_img_dt_invert: boolean;
Expand Down
4 changes: 2 additions & 2 deletions types/service.types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export type Service = 'substreams' | 'firehose' | 'rpc';

export type ServiceEndpoint = {
released_at: Date | null;
deprecated_at: Date | null;
released_at: string | null;
deprecated_at: string | null;
};
export type SupportedServices = { [key in Service]: ServiceEndpoint };

0 comments on commit 90b7ec7

Please sign in to comment.