@libp2p/peer-id-factory
Advanced tools
Comparing version 2.0.4 to 3.0.0-fdd80820
@@ -1,3 +0,3 @@ | ||
import type { PublicKey, PrivateKey } from '@libp2p/interface-keys'; | ||
import type { RSAPeerId, Ed25519PeerId, Secp256k1PeerId, PeerId } from '@libp2p/interface-peer-id'; | ||
import type { PublicKey, PrivateKey } from '@libp2p/interface/keys'; | ||
import type { RSAPeerId, Ed25519PeerId, Secp256k1PeerId, PeerId } from '@libp2p/interface/peer-id'; | ||
export declare const createEd25519PeerId: () => Promise<Ed25519PeerId>; | ||
@@ -4,0 +4,0 @@ export declare const createSecp256k1PeerId: () => Promise<Secp256k1PeerId>; |
118
package.json
{ | ||
"name": "@libp2p/peer-id-factory", | ||
"version": "2.0.4", | ||
"version": "3.0.0-fdd80820", | ||
"description": "Create PeerId instances", | ||
"license": "Apache-2.0 OR MIT", | ||
"homepage": "https://github.com/libp2p/js-libp2p-peer-id/tree/master/packages/libp2p-peer-id-factory#readme", | ||
"homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/peer-id-factory#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/libp2p/js-libp2p-peer-id.git" | ||
"url": "git+https://github.com/libp2p/js-libp2p.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/libp2p/js-libp2p-peer-id/issues" | ||
"url": "https://github.com/libp2p/js-libp2p/issues" | ||
}, | ||
@@ -17,6 +17,2 @@ "keywords": [ | ||
], | ||
"engines": { | ||
"node": ">=16.0.0", | ||
"npm": ">=7.0.0" | ||
}, | ||
"type": "module", | ||
@@ -45,87 +41,2 @@ "types": "./dist/src/index.d.ts", | ||
}, | ||
"release": { | ||
"branches": [ | ||
"master" | ||
], | ||
"plugins": [ | ||
[ | ||
"@semantic-release/commit-analyzer", | ||
{ | ||
"preset": "conventionalcommits", | ||
"releaseRules": [ | ||
{ | ||
"breaking": true, | ||
"release": "major" | ||
}, | ||
{ | ||
"revert": true, | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "feat", | ||
"release": "minor" | ||
}, | ||
{ | ||
"type": "fix", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "docs", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "test", | ||
"release": "patch" | ||
}, | ||
{ | ||
"type": "deps", | ||
"release": "patch" | ||
}, | ||
{ | ||
"scope": "no-release", | ||
"release": false | ||
} | ||
] | ||
} | ||
], | ||
[ | ||
"@semantic-release/release-notes-generator", | ||
{ | ||
"preset": "conventionalcommits", | ||
"presetConfig": { | ||
"types": [ | ||
{ | ||
"type": "feat", | ||
"section": "Features" | ||
}, | ||
{ | ||
"type": "fix", | ||
"section": "Bug Fixes" | ||
}, | ||
{ | ||
"type": "chore", | ||
"section": "Trivial Changes" | ||
}, | ||
{ | ||
"type": "docs", | ||
"section": "Documentation" | ||
}, | ||
{ | ||
"type": "deps", | ||
"section": "Dependencies" | ||
}, | ||
{ | ||
"type": "test", | ||
"section": "Tests" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/github", | ||
"@semantic-release/git" | ||
] | ||
}, | ||
"scripts": { | ||
@@ -143,22 +54,17 @@ "clean": "aegir clean", | ||
"test:node": "aegir test -t node --cov", | ||
"test:electron-main": "aegir test -t electron-main", | ||
"release": "aegir release" | ||
"test:electron-main": "aegir test -t electron-main" | ||
}, | ||
"dependencies": { | ||
"@libp2p/crypto": "^1.0.0", | ||
"@libp2p/interface-keys": "^1.0.2", | ||
"@libp2p/interface-peer-id": "^2.0.0", | ||
"@libp2p/peer-id": "^2.0.0", | ||
"multiformats": "^11.0.0", | ||
"@libp2p/crypto": "2.0.0-fdd80820", | ||
"@libp2p/interface": "0.1.0-fdd80820", | ||
"@libp2p/peer-id": "3.0.0-fdd80820", | ||
"multiformats": "^12.0.1", | ||
"protons-runtime": "^5.0.0", | ||
"uint8arraylist": "^2.0.0", | ||
"uint8arrays": "^4.0.2" | ||
"uint8arraylist": "^2.4.3", | ||
"uint8arrays": "^4.0.4" | ||
}, | ||
"devDependencies": { | ||
"aegir": "^39.0.10", | ||
"aegir": "^40.0.1", | ||
"protons": "^7.0.2" | ||
}, | ||
"typedoc": { | ||
"entryPoint": "./src/index.ts" | ||
} | ||
} |
@@ -5,4 +5,4 @@ # @libp2p/peer-id-factory <!-- omit in toc --> | ||
[![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io) | ||
[![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-peer-id.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-peer-id) | ||
[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p-peer-id/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/libp2p/js-libp2p-peer-id/actions/workflows/js-test-and-release.yml?query=branch%3Amaster) | ||
[![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p) | ||
[![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster) | ||
@@ -19,3 +19,3 @@ > Create PeerId instances | ||
- [License](#license) | ||
- [Contribute](#contribute) | ||
- [Contribution](#contribution) | ||
@@ -30,3 +30,3 @@ ## Install | ||
Loading this module through a script tag will make it's exports available as `Libp2PPeerIdFactory` in the global namespace. | ||
Loading this module through a script tag will make it's exports available as `Libp2pPeerIdFactory` in the global namespace. | ||
@@ -60,3 +60,3 @@ ```html | ||
- <https://libp2p.github.io/js-libp2p-peer-id/modules/_libp2p_peer_id_factory.html> | ||
- <https://libp2p.github.io/js-libp2p/modules/_libp2p_peer_id_factory.html> | ||
@@ -70,4 +70,4 @@ ## License | ||
## Contribute | ||
## Contribution | ||
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. |
@@ -5,4 +5,4 @@ import { generateKeyPair, marshalPrivateKey, unmarshalPrivateKey, marshalPublicKey, unmarshalPublicKey } from '@libp2p/crypto/keys' | ||
import { PeerIdProto } from './proto.js' | ||
import type { PublicKey, PrivateKey } from '@libp2p/interface-keys' | ||
import type { RSAPeerId, Ed25519PeerId, Secp256k1PeerId, PeerId } from '@libp2p/interface-peer-id' | ||
import type { PublicKey, PrivateKey } from '@libp2p/interface/keys' | ||
import type { RSAPeerId, Ed25519PeerId, Secp256k1PeerId, PeerId } from '@libp2p/interface/peer-id' | ||
@@ -9,0 +9,0 @@ export const createEd25519PeerId = async (): Promise<Ed25519PeerId> => { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
275388
7
1273
15
2
+ Added@chainsafe/is-ip@2.0.2(transitive)
+ Added@chainsafe/netmask@2.0.0(transitive)
+ Added@leichtgewicht/ip-codec@2.0.5(transitive)
+ Added@libp2p/crypto@2.0.0-fdd80820(transitive)
+ Added@libp2p/interface@0.1.0-fdd80820(transitive)
+ Added@libp2p/peer-id@3.0.0-fdd80820(transitive)
+ Added@multiformats/dns@1.0.6(transitive)
+ Added@multiformats/multiaddr@12.3.4(transitive)
+ Added@types/dns-packet@5.6.5(transitive)
+ Added@types/node@22.10.2(transitive)
+ Addedabortable-iterator@5.1.0(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbuffer@6.0.3(transitive)
+ Addeddns-packet@5.6.1(transitive)
+ Addedeventemitter3@5.0.1(transitive)
+ Addedget-iterator@2.0.1(transitive)
+ Addedhashlru@2.3.0(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedit-pushable@3.2.3(transitive)
+ Addedit-stream-types@2.0.2(transitive)
+ Addedp-defer@4.0.1(transitive)
+ Addedp-queue@8.0.1(transitive)
+ Addedp-timeout@6.1.3(transitive)
+ Addedprogress-events@1.0.1(transitive)
+ Addedundici-types@6.20.0(transitive)
- Removed@libp2p/interface-keys@^1.0.2
- Removed@libp2p/interface-peer-id@^2.0.0
- Removed@libp2p/crypto@1.0.17(transitive)
- Removed@libp2p/interface-keys@1.0.8(transitive)
- Removed@libp2p/interface-peer-id@2.0.2(transitive)
- Removed@libp2p/interfaces@3.3.2(transitive)
- Removed@libp2p/peer-id@2.0.4(transitive)
- Removedmultiformats@11.0.2(transitive)
Updatedmultiformats@^12.0.1
Updateduint8arraylist@^2.4.3
Updateduint8arrays@^4.0.4