@stacks/encryption
Advanced tools
Comparing version 6.14.1-pr.68 to 6.14.1-pr.78
export declare function isSubtleCryptoAvailable(): boolean; | ||
export declare function isNodeCryptoAvailable<T>(withFeature: (nodeCrypto: typeof import('crypto')) => boolean | T): false | T; | ||
export declare const NO_CRYPTO_LIB = "Crypto lib not found. Either the WebCrypto \"crypto.subtle\" or Node.js \"crypto\" module must be available."; | ||
export type TriplesecDecryptSignature = (arg: { | ||
data: Uint8Array; | ||
key: Uint8Array; | ||
}, cb: (err: Error | null, buff: Uint8Array | null) => void) => void; | ||
export interface WebCryptoLib { | ||
@@ -9,0 +5,0 @@ lib: SubtleCrypto; |
export declare function isSubtleCryptoAvailable(): boolean; | ||
export declare function isNodeCryptoAvailable<T>(withFeature: (nodeCrypto: typeof import('crypto')) => boolean | T): false | T; | ||
export declare const NO_CRYPTO_LIB = "Crypto lib not found. Either the WebCrypto \"crypto.subtle\" or Node.js \"crypto\" module must be available."; | ||
export type TriplesecDecryptSignature = (arg: { | ||
data: Uint8Array; | ||
key: Uint8Array; | ||
}, cb: (err: Error | null, buff: Uint8Array | null) => void) => void; | ||
export interface WebCryptoLib { | ||
@@ -9,0 +5,0 @@ lib: SubtleCrypto; |
{ | ||
"name": "@stacks/encryption", | ||
"version": "6.14.1-pr.68+9f9cb5d0", | ||
"version": "6.14.1-pr.78+8cf2e30c", | ||
"description": "Encryption utilities for Stacks", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
"@scure/bip39": "1.1.0", | ||
"@stacks/common": "^6.14.1-pr.68+9f9cb5d0", | ||
"@stacks/common": "^6.14.1-pr.78+8cf2e30c", | ||
"base64-js": "^1.5.1", | ||
@@ -35,4 +35,4 @@ "bs58": "^5.0.0", | ||
"@peculiar/webcrypto": "^1.1.6", | ||
"@stacks/network": "^6.14.1-pr.68+9f9cb5d0", | ||
"@stacks/transactions": "^6.14.1-pr.68+9f9cb5d0", | ||
"@stacks/network": "^6.14.1-pr.78+8cf2e30c", | ||
"@stacks/transactions": "^6.14.1-pr.78+8cf2e30c", | ||
"@types/bs58check": "^2.1.0", | ||
@@ -71,3 +71,3 @@ "@types/elliptic": "^6.4.12", | ||
}, | ||
"gitHead": "9f9cb5d01deb8b166278da106238bd2443e91e43" | ||
"gitHead": "8cf2e30c3d75ee42c85716df848b132d0ab28c6e" | ||
} |
@@ -35,7 +35,2 @@ // @ts-ignore | ||
export type TriplesecDecryptSignature = ( | ||
arg: { data: Uint8Array; key: Uint8Array }, | ||
cb: (err: Error | null, buff: Uint8Array | null) => void | ||
) => void; | ||
export interface WebCryptoLib { | ||
@@ -42,0 +37,0 @@ lib: SubtleCrypto; |
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
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
664554
3866
+ Added@types/node@18.19.66(transitive)
- Removed@types/node@18.19.65(transitive)