Skip to content

Commit

Permalink
Merge pull request #43 from celestiaorg/client-update
Browse files Browse the repository at this point in the history
docs: adding new typescript client, marking others as community maintained
  • Loading branch information
jcstein authored May 16, 2024
2 parents d50d079 + 32b9450 commit 19d5842
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,24 @@ import Seo from '@/components/Seo';
const clients = [
{
name: 'Golang',
href: 'https://github.com/celestiaorg/celestia-node/blob/main/api/rpc/client/client.go',
href: 'https://github.com/celestiaorg/celestia-openrpc',
current: false,
},
{
name: 'Rust',
name: 'Rust (Community)',
href: 'https://github.com/eigerco/celestia-node-rs',
current: false,
},
{
name: 'Python',
name: 'Python (Community)',
href: 'https://github.com/grumpyp/celestia-node-client-py',
current: false,
},
{
name: 'Typescript (Community)',
href: 'https://github.com/ashishbhintade/cntsc',
current: false,
},
];

function classNames(...classes: any[]) {
Expand Down Expand Up @@ -513,10 +518,10 @@ export default function Example() {
.includes(searchTerm.toLowerCase())
? methods
: methods.filter((method) =>
method.name
.toLowerCase()
.includes(searchTerm.toLowerCase())
);
method.name
.toLowerCase()
.includes(searchTerm.toLowerCase())
);

return (
<div key={pkg} className='pb-6' id={pkg}>
Expand Down Expand Up @@ -795,7 +800,7 @@ const RPCMethod = ({
jsonrpc: '2.0',
result:
method.result.description == 'Null' ||
!method.result.schema.examples
!method.result.schema.examples
? []
: [method.result.schema.examples[0]],
},
Expand Down

0 comments on commit 19d5842

Please sign in to comment.