New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

libcip54

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libcip54 - npm Package Compare versions

Comparing version 1.0.31 to 1.0.33

2

lib/package.json
{
"name": "libcip54",
"version": "1.0.31",
"version": "1.0.33",
"description": "Cardano Smart NFT Library",

@@ -5,0 +5,0 @@ "main": "lib/src/index.js",

@@ -567,6 +567,13 @@ "use strict";

function getDataURLFromBlob(blob) {
return new Promise(function (resolve, _) {
var reader = new FileReader();
reader.onloadend = function () { return resolve(typeof reader.result === 'string' ? reader.result : ''); };
reader.readAsDataURL(blob);
return __awaiter(this, void 0, void 0, function () {
var arrayBuf, mType;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, blob.arrayBuffer()];
case 1:
arrayBuf = _a.sent();
mType = blob.type.split(';')[0];
return [2 /*return*/, 'data:' + mType + ';base64,' + Buffer.from(arrayBuf).toString('base64')];
}
});
});

@@ -573,0 +580,0 @@ }

{
"name": "libcip54",
"version": "1.0.31",
"version": "1.0.33",
"description": "Cardano Smart NFT Library",

@@ -5,0 +5,0 @@ "main": "lib/src/index.js",

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