pic-assembler
Advanced tools
Comparing version 0.9.1 to 0.9.2
{ | ||
"name": "pic-assembler", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "Picture assembler fore breedable nfts", | ||
@@ -22,2 +22,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@types/sharp": "^0.30.1", | ||
"ts-node": "^10.7.0", | ||
@@ -24,0 +25,0 @@ "typescript": "^4.6.3" |
@@ -9,3 +9,3 @@ import sharp from "sharp"; | ||
function toBuffer(arrBuff: ArrayBuffer): Buffer { | ||
function arrayBufferToBuffer(arrBuff: ArrayBuffer): Buffer { | ||
const buf = Buffer.alloc(arrBuff.byteLength); | ||
@@ -26,3 +26,3 @@ const uintArr = new Uint8Array(arrBuff); | ||
const arrBuff: ArrayBuffer = response.data; | ||
return toBuffer(arrBuff); | ||
return arrayBufferToBuffer(arrBuff); | ||
} | ||
@@ -29,0 +29,0 @@ |
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
13282
3