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

deps(dev): bump aegir from 40.0.13 to 41.0.0 #107

Merged
merged 2 commits into from
Oct 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@
"generate": "aegir run generate",
"build": "aegir run build",
"lint": "aegir run lint",
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs -- --exclude packages/interop",
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 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 -- --exclude packages/interop"
"release": "run-s build docs:no-publish npm:release docs",
"npm:release": "aegir run release",
"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": "^40.0.8"
"aegir": "^41.0.0",
"npm-run-all": "^4.1.5"
},
"type": "module",
"workspaces": [
Expand Down
3 changes: 2 additions & 1 deletion packages/interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"project": true,
"sourceType": "module"
}
},
Expand Down Expand Up @@ -59,7 +60,7 @@
"@libp2p/peer-id-factory": "^3.0.3",
"@libp2p/tcp": "^8.0.4",
"@libp2p/websockets": "^7.0.4",
"aegir": "^40.0.8",
"aegir": "^41.0.0",
"blockstore-core": "^4.0.1",
"datastore-core": "^9.0.3",
"go-ipfs": "^0.22.0",
Expand Down
5 changes: 0 additions & 5 deletions packages/interop/typedoc.json

This file was deleted.

3 changes: 2 additions & 1 deletion packages/ipns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"project": true,
"sourceType": "module"
}
},
Expand Down Expand Up @@ -169,7 +170,7 @@
},
"devDependencies": {
"@libp2p/peer-id-factory": "^3.0.3",
"aegir": "^40.0.8",
"aegir": "^41.0.0",
"datastore-core": "^9.0.3",
"sinon": "^16.0.0",
"sinon-ts": "^1.0.0"
Expand Down
8 changes: 4 additions & 4 deletions packages/ipns/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,23 +128,23 @@ export interface IPNS {
*
* If the valid is a PeerId, a recursive IPNS record will be created.
*/
publish: (key: PeerId, value: CID | PeerId, options?: PublishOptions) => Promise<IPNSRecord>
publish(key: PeerId, value: CID | PeerId, options?: PublishOptions): Promise<IPNSRecord>

/**
* Accepts a public key formatted as a libp2p PeerID and resolves the IPNS record
* corresponding to that public key until a value is found
*/
resolve: (key: PeerId, options?: ResolveOptions) => Promise<CID>
resolve(key: PeerId, options?: ResolveOptions): Promise<CID>

/**
* Resolve a CID from a dns-link style IPNS record
*/
resolveDns: (domain: string, options?: ResolveDNSOptions) => Promise<CID>
resolveDns(domain: string, options?: ResolveDNSOptions): Promise<CID>

/**
* Periodically republish all IPNS records found in the datastore
*/
republish: (options?: RepublishOptions) => void
republish(options?: RepublishOptions): void
}

export type { IPNSRouting } from './routing/index.js'
Expand Down
4 changes: 2 additions & 2 deletions packages/ipns/src/routing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export interface GetOptions extends AbortOptions, ProgressOptions {
}

export interface IPNSRouting {
put: (routingKey: Uint8Array, marshaledRecord: Uint8Array, options?: PutOptions) => Promise<void>
get: (routingKey: Uint8Array, options?: GetOptions) => Promise<Uint8Array>
put(routingKey: Uint8Array, marshaledRecord: Uint8Array, options?: PutOptions): Promise<void>
get(routingKey: Uint8Array, options?: GetOptions): Promise<Uint8Array>
}

export type IPNSRoutingEvents =
Expand Down
2 changes: 1 addition & 1 deletion packages/ipns/src/routing/local-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type DatastoreProgressEvents =
ProgressEvent<'ipns:routing:datastore:error', Error>

export interface LocalStore extends IPNSRouting {
has: (routingKey: Uint8Array, options?: AbortOptions) => Promise<boolean>
has(routingKey: Uint8Array, options?: AbortOptions): Promise<boolean>
}

/**
Expand Down