@peerbit/crypto
Advanced tools
Comparing version 2.3.2 to 2.3.3-115f7aa
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
export declare const coerce: (o: any) => Uint8Array; | ||
export declare const coerce: (o: any) => Uint8Array<ArrayBufferLike>; | ||
//# sourceMappingURL=bytes.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const randomBytes: (len: number) => Uint8Array; | ||
export declare const randomBytes: (len: number) => Uint8Array<ArrayBuffer>; | ||
//# sourceMappingURL=random.browser.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const randomBytes: (len: number) => Buffer; | ||
export declare const randomBytes: (len: number) => Buffer<ArrayBufferLike>; | ||
//# sourceMappingURL=random.d.ts.map |
@@ -1,8 +0,8 @@ | ||
export declare const fromHexString: (hexString: string) => Uint8Array; | ||
export declare const fromHexString: (hexString: string) => Uint8Array<ArrayBufferLike>; | ||
export declare const toHexString: (bytes: Uint8Array) => string; | ||
export declare const toBase64: (arr: Uint8Array) => string; | ||
export declare const fromBase64: (base64: string) => Uint8Array; | ||
export declare const fromBase64: (base64: string) => Uint8Array<ArrayBufferLike>; | ||
export declare const toBase64URL: (arr: Uint8Array) => string; | ||
export declare const fromBase64URL: (base64: string) => Uint8Array; | ||
export declare const fromBase64URL: (base64: string) => Uint8Array<ArrayBufferLike>; | ||
export declare const toBase58: (arr: Uint8Array) => string; | ||
//# sourceMappingURL=utils.d.ts.map |
154
package.json
{ | ||
"name": "@peerbit/crypto", | ||
"version": "2.3.2", | ||
"description": "Crypto fn", | ||
"sideEffects": false, | ||
"type": "module", | ||
"types": "./dist/src/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"*": [ | ||
"*", | ||
"dist/*", | ||
"dist/src/*", | ||
"dist/src/*/index" | ||
], | ||
"src/*": [ | ||
"*", | ||
"dist/*", | ||
"dist/src/*", | ||
"dist/src/*/index" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"src", | ||
"dist", | ||
"!dist/test", | ||
"!**/*.tsbuildinfo" | ||
], | ||
"exports": { | ||
".": { | ||
"types": "./dist/src/index.d.ts", | ||
"import": "./dist/src/index.js" | ||
} | ||
}, | ||
"eslintConfig": { | ||
"extends": "peerbit", | ||
"parserOptions": { | ||
"project": true, | ||
"sourceType": "module" | ||
}, | ||
"ignorePatterns": [ | ||
"!.aegir.js", | ||
"test/ts-use", | ||
"*.d.ts" | ||
] | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"browser": { | ||
"./dist/src/hash.js": "./dist/src/hash.browser.js", | ||
"./dist/src/random.js": "./dist/src/random.browser.js", | ||
"./dist/src/ed25519-sign.js": "./dist/src/ed25519-sign.browser.js" | ||
}, | ||
"scripts": { | ||
"clean": "aegir clean", | ||
"build": "aegir build --no-bundle", | ||
"test": "aegir test", | ||
"lint": "aegir lint" | ||
}, | ||
"author": "dao.xyz", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/libsodium-wrappers": "^0.7.14", | ||
"uint8arrays": "^5.1.0", | ||
"@types/elliptic": "^6.4.18", | ||
"multiformats": "^13.1.0" | ||
}, | ||
"dependencies": { | ||
"@peerbit/cache": "^2.1.0", | ||
"@dao-xyz/borsh": "^5.2.3", | ||
"@stablelib/sha256": "^2.0.0", | ||
"@ethersproject/wallet": "^5.7.0", | ||
"@libp2p/crypto": "^5.0.5", | ||
"@libp2p/peer-id": "^5.0.5", | ||
"libsodium-wrappers": "^0.7.15" | ||
} | ||
"name": "@peerbit/crypto", | ||
"version": "2.3.3-115f7aa", | ||
"description": "Crypto fn", | ||
"sideEffects": false, | ||
"type": "module", | ||
"types": "./dist/src/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"*": [ | ||
"*", | ||
"dist/*", | ||
"dist/src/*", | ||
"dist/src/*/index" | ||
], | ||
"src/*": [ | ||
"*", | ||
"dist/*", | ||
"dist/src/*", | ||
"dist/src/*/index" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"src", | ||
"dist", | ||
"!dist/test", | ||
"!**/*.tsbuildinfo" | ||
], | ||
"exports": { | ||
".": { | ||
"types": "./dist/src/index.d.ts", | ||
"import": "./dist/src/index.js" | ||
} | ||
}, | ||
"eslintConfig": { | ||
"extends": "peerbit", | ||
"parserOptions": { | ||
"project": true, | ||
"sourceType": "module" | ||
}, | ||
"ignorePatterns": [ | ||
"!.aegir.js", | ||
"test/ts-use", | ||
"*.d.ts" | ||
] | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"browser": { | ||
"./dist/src/hash.js": "./dist/src/hash.browser.js", | ||
"./dist/src/random.js": "./dist/src/random.browser.js", | ||
"./dist/src/ed25519-sign.js": "./dist/src/ed25519-sign.browser.js" | ||
}, | ||
"scripts": { | ||
"clean": "aegir clean", | ||
"build": "aegir build --no-bundle", | ||
"test": "aegir test", | ||
"lint": "aegir lint" | ||
}, | ||
"author": "dao.xyz", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/libsodium-wrappers": "^0.7.14", | ||
"uint8arrays": "^5.1.0", | ||
"@types/elliptic": "^6.4.18", | ||
"multiformats": "^13.1.0" | ||
}, | ||
"dependencies": { | ||
"@peerbit/cache": "2.1.1-115f7aa", | ||
"@dao-xyz/borsh": "^5.2.3", | ||
"@stablelib/sha256": "^2.0.0", | ||
"@ethersproject/wallet": "^5.7.0", | ||
"@libp2p/crypto": "^5.0.5", | ||
"@libp2p/peer-id": "^5.0.5", | ||
"libsodium-wrappers": "^0.7.15" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
175454
2
+ Added@peerbit/cache@2.1.1-115f7aa(transitive)
- Removed@peerbit/cache@2.1.2(transitive)
Updated@peerbit/cache@2.1.1-115f7aa