@stacks/encryption
Advanced tools
Comparing version 6.14.1-pr.78 to 6.14.1-pr.79
{ | ||
"name": "@stacks/encryption", | ||
"version": "6.14.1-pr.78+8cf2e30c", | ||
"version": "6.14.1-pr.79+e78cc744", | ||
"description": "Encryption utilities for Stacks", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
"@scure/bip39": "1.1.0", | ||
"@stacks/common": "^6.14.1-pr.78+8cf2e30c", | ||
"@stacks/common": "^6.14.1-pr.79+e78cc744", | ||
"base64-js": "^1.5.1", | ||
@@ -35,4 +35,4 @@ "bs58": "^5.0.0", | ||
"@peculiar/webcrypto": "^1.1.6", | ||
"@stacks/network": "^6.14.1-pr.78+8cf2e30c", | ||
"@stacks/transactions": "^6.14.1-pr.78+8cf2e30c", | ||
"@stacks/network": "^6.14.1-pr.79+e78cc744", | ||
"@stacks/transactions": "^6.14.1-pr.79+e78cc744", | ||
"@types/bs58check": "^2.1.0", | ||
@@ -71,3 +71,3 @@ "@types/elliptic": "^6.4.12", | ||
}, | ||
"gitHead": "8cf2e30c3d75ee42c85716df848b132d0ab28c6e" | ||
"gitHead": "e78cc744e5e8d2c14534bb9ae2fe4f347997b4d6" | ||
} |
@@ -11,3 +11,3 @@ import { utils } from '@noble/secp256k1'; | ||
/** Optional function to generate cryptographically secure random bytes */ | ||
/** @deprecated @ignore */ | ||
export type GetRandomBytes = (count: number) => Uint8Array; |
@@ -206,3 +206,3 @@ import { hmac } from '@noble/hashes/hmac'; | ||
* The result string is zero padded and always 64 characters in length. | ||
* @ignore @internal | ||
* @ignore @internal @deprecated | ||
*/ | ||
@@ -225,3 +225,3 @@ export function getHexFromBN(bnInput: bigint): string { | ||
* Converts to zero padded 32 bytes | ||
* @ignore | ||
* @ignore @deprecated | ||
*/ | ||
@@ -228,0 +228,0 @@ export function getBytesFromBN(bnInput: bigint): Uint8Array { |
@@ -14,2 +14,3 @@ import { sha256 } from '@noble/hashes/sha256'; | ||
export function encodeMessage( | ||
/** UTF-8 string or Uint8Array (bytes) */ | ||
message: string | Uint8Array, | ||
@@ -16,0 +17,0 @@ prefix: string = chainPrefix |
@@ -32,2 +32,3 @@ import { | ||
/** @ignore */ | ||
export function encode(number: number, bytes?: Uint8Array, offset: number = 0) { | ||
@@ -61,2 +62,3 @@ ensureUInt53(number); | ||
/** @ignore */ | ||
export function decode(bytes: Uint8Array, offset: number = 0) { | ||
@@ -88,2 +90,3 @@ const first = readUInt8(bytes, offset); | ||
/** @ignore */ | ||
export function encodingLength(number: number) { | ||
@@ -90,0 +93,0 @@ ensureUInt53(number); |
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
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
664688
3870
+ Added@types/node@18.19.65(transitive)
- Removed@types/node@18.19.66(transitive)