Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
chore: update project and fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Oct 7, 2023
1 parent 4923768 commit 0766315
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"generate": "aegir run generate",
"build": "aegir run build",
"lint": "aegir run lint",
"docs": "NODE_OPTIONS=--max_old_space_size=4096 aegir docs -- --exclude packages/interop",
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=4096 aegir docs --publish false -- --exclude packages/interop",
"dep-check": "aegir run dep-check",
"release": "npm run docs:no-publish && aegir run release && npm run docs"
"release": "run-s build docs:no-publish npm:release docs",
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs -- --exclude packages/interop --excludeExternals",
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs --publish false -- --exclude packages/interop"
},
"devDependencies": {
"aegir": "^41.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/dag-cbor/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface DAGCBOR {
* // CID(bafyreidykglsfhoixmivffc5uwhcgshx4j465xwqntbmu43nb2dzqwfvae)
* ```
*/
add: (str: unknown, options?: Partial<AddOptions>) => Promise<CID>
add(str: unknown, options?: Partial<AddOptions>): Promise<CID>

/**
* Get an object from your Helia node, either previously added to it or to
Expand All @@ -85,7 +85,7 @@ export interface DAGCBOR {
* // { hello: 'world' }
* ```
*/
get: <T> (cid: CID, options?: Partial<GetOptions>) => Promise<T>
get<T>(cid: CID, options?: Partial<GetOptions>): Promise<T>
}

class DefaultDAGCBOR implements DAGCBOR {
Expand Down

0 comments on commit 0766315

Please sign in to comment.