Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stacks/encryption

Package Overview
Dependencies
Maintainers
0
Versions
644
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stacks/encryption - npm Package Compare versions

Comparing version 6.14.1-pr.68 to 6.14.1-pr.78

4

dist/cryptoUtils.d.ts
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;

10

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc