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

Commit

Permalink
deps(dev): bump aegir from 40.0.13 to 41.0.0 (#107)
Browse files Browse the repository at this point in the history
Bumps [aegir](https://github.com/ipfs/aegir) from 40.0.13 to 41.0.0.
- [Release notes](https://github.com/ipfs/aegir/releases)
- [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md)
- [Commits](ipfs/aegir@v40.0.13...v41.0.0)

---
updated-dependencies:
- dependency-name: aegir
  dependency-type: direct:development
  update-type: version-update:semver-major
...

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: achingbrain <alex@achingbrain.net>
  • Loading branch information
dependabot[bot] and achingbrain authored Oct 7, 2023
1 parent e206777 commit 5402d30
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 18 deletions.
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

0 comments on commit 5402d30

Please sign in to comment.