@libp2p/crypto 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,7 +30,7 @@ export declare class Ed25519PrivateKey {
30
30
  /**
31
31
  * Exports the key into a password protected `format`
32
32
  */
33
- export(password: string, format?: string): Promise<import("multiformats/bases/base").Multibase<"m">>;
33
+ export(password: string, format?: string): Promise<import("multiformats/bases/base.js").Multibase<"m">>;
34
34
  }
35
35
  export declare function unmarshalEd25519PrivateKey(bytes: Uint8Array): Ed25519PrivateKey;
36
36
  export declare function unmarshalEd25519PublicKey(bytes: Uint8Array): Ed25519PublicKey;
@@ -3,5 +3,5 @@
3
3
  * The PrivateKey is encrypted via a password derived PBKDF2 key
4
4
  * leveraging the aes-gcm cipher algorithm.
5
5
  */
6
- export declare function exporter(privateKey: Uint8Array, password: string): Promise<import("multiformats/bases/base").Multibase<"m">>;
6
+ export declare function exporter(privateKey: Uint8Array, password: string): Promise<import("multiformats/bases/base.js").Multibase<"m">>;
7
7
  //# sourceMappingURL=exporter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/keys/exporter.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAsB,QAAQ,CAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,6DAIvE"}
1
+ {"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/keys/exporter.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAsB,QAAQ,CAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,gEAIvE"}
@@ -28,7 +28,7 @@ export declare class Secp256k1PrivateKey {
28
28
  /**
29
29
  * Exports the key into a password protected `format`
30
30
  */
31
- export(password: string, format?: string): Promise<import("multiformats/bases/base").Multibase<"m">>;
31
+ export(password: string, format?: string): Promise<import("multiformats/bases/base.js").Multibase<"m">>;
32
32
  }
33
33
  export declare function unmarshalSecp256k1PrivateKey(bytes: Uint8Array): Secp256k1PrivateKey;
34
34
  export declare function unmarshalSecp256k1PublicKey(bytes: Uint8Array): Secp256k1PublicKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/crypto",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Crypto primitives for libp2p",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p-crypto#readme",
@@ -194,7 +194,7 @@
194
194
  "protons": "^5.1.0",
195
195
  "sinon": "^14.0.0",
196
196
  "util": "^0.12.3",
197
- "wherearewe": "^1.0.0"
197
+ "wherearewe": "^2.0.1"
198
198
  },
199
199
  "browser": {
200
200
  "./dist/src/aes/ciphers.js": "./dist/src/aes/ciphers-browser.js",