@thirdweb-dev/crypto
Advanced tools
Comparing version 0.2.6 to 0.2.7-nightly-d320777eea5404f596aa39b2b49b5165d3e1959a-20240621000551
export type TypedArray = | ||
| Int8Array | ||
| Uint8Array | ||
| Uint8ClampedArray | ||
| Int16Array | ||
| Uint16Array | ||
| Int32Array | ||
| Uint32Array | ||
| Float32Array | ||
| Float64Array | ||
| BigInt64Array | ||
| BigUint64Array; | ||
| Int8Array | ||
| Uint8Array | ||
| Uint8ClampedArray | ||
| Int16Array | ||
| Uint16Array | ||
| Int32Array | ||
| Uint32Array | ||
| Float32Array | ||
| Float64Array | ||
| BigInt64Array | ||
| BigUint64Array; | ||
@@ -58,3 +58,5 @@ /** | ||
*/ | ||
export function toUint8Array(value: TypedArray | ArrayBuffer | DataView): Uint8Array; | ||
export function toUint8Array( | ||
value: TypedArray | ArrayBuffer | DataView, | ||
): Uint8Array; | ||
@@ -81,3 +83,6 @@ /** | ||
*/ | ||
export function concatUint8Arrays(arrays: Uint8Array[], totalLength?: number): Uint8Array; | ||
export function concatUint8Arrays( | ||
arrays: Uint8Array[], | ||
totalLength?: number, | ||
): Uint8Array; | ||
@@ -174,3 +179,6 @@ /** | ||
*/ | ||
export function uint8ArrayToBase64(array: Uint8Array, options?: {urlSafe: boolean}): string; | ||
export function uint8ArrayToBase64( | ||
array: Uint8Array, | ||
options?: { urlSafe: boolean }, | ||
): string; | ||
@@ -207,3 +215,6 @@ /** | ||
*/ | ||
export function stringToBase64(string: string, options?: {urlSafe: boolean}): string; | ||
export function stringToBase64( | ||
string: string, | ||
options?: { urlSafe: boolean }, | ||
): string; | ||
@@ -255,2 +266,2 @@ /** | ||
*/ | ||
export function hexToUint8Array(hexString: string): Uint8Array; | ||
export function hexToUint8Array(hexString: string): Uint8Array; |
{ | ||
"name": "@thirdweb-dev/crypto", | ||
"version": "0.2.6", | ||
"version": "0.2.7-nightly-d320777eea5404f596aa39b2b49b5165d3e1959a-20240621000551", | ||
"main": "dist/thirdweb-dev-crypto.cjs.js", | ||
@@ -34,3 +34,2 @@ "module": "dist/thirdweb-dev-crypto.esm.js", | ||
"devDependencies": { | ||
"eslint": "8.57.0", | ||
"@preconstruct/cli": "2.7.0", | ||
@@ -40,3 +39,4 @@ "@thirdweb-dev/tsconfig": "^0.1.7", | ||
"crypto-js": "^4.2.0", | ||
"eslint-config-thirdweb": "^0.1.9", | ||
"eslint": "8.57.0", | ||
"eslint-config-thirdweb": "^0.1.10-nightly-d320777eea5404f596aa39b2b49b5165d3e1959a-20240621000551", | ||
"ethers": "^5.7.2", | ||
@@ -46,3 +46,3 @@ "js-awe": "^1.0.65", | ||
"typescript": "5.4.4", | ||
"viem": "2.9.9" | ||
"viem": "2.15.1" | ||
}, | ||
@@ -53,3 +53,3 @@ "engines": { | ||
"scripts": { | ||
"format": "prettier --write 'src/**/*'", | ||
"format": "biome format ./src --write", | ||
"lint": "eslint src/", | ||
@@ -56,0 +56,0 @@ "fix": "eslint src/ --fix", |
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
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
108624
2385