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

@thirdweb-dev/storage

Package Overview
Dependencies
Maintainers
8
Versions
801
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thirdweb-dev/storage - npm Package Compare versions

Comparing version

to
2.0.6-nightly-f93bd325-20231129214354

8

dist/thirdweb-dev-storage.cjs.dev.js

@@ -274,3 +274,9 @@ 'use strict';

const path = uri.replace(scheme, "");
return getGatewayUrlForCid(schemeGatewayUrls[index], path, clientId);
try {
const gatewayUrl = getGatewayUrlForCid(schemeGatewayUrls[index], path, clientId);
return gatewayUrl;
} catch (err) {
console.warn(`The IPFS uri: ${path} is not valid.`);
return undefined;
}
}

@@ -277,0 +283,0 @@

@@ -274,3 +274,9 @@ 'use strict';

const path = uri.replace(scheme, "");
return getGatewayUrlForCid(schemeGatewayUrls[index], path, clientId);
try {
const gatewayUrl = getGatewayUrlForCid(schemeGatewayUrls[index], path, clientId);
return gatewayUrl;
} catch (err) {
console.warn(`The IPFS uri: ${path} is not valid.`);
return undefined;
}
}

@@ -277,0 +283,0 @@

@@ -265,3 +265,9 @@ import CIDTool from 'cid-tool';

const path = uri.replace(scheme, "");
return getGatewayUrlForCid(schemeGatewayUrls[index], path, clientId);
try {
const gatewayUrl = getGatewayUrlForCid(schemeGatewayUrls[index], path, clientId);
return gatewayUrl;
} catch (err) {
console.warn(`The IPFS uri: ${path} is not valid.`);
return undefined;
}
}

@@ -268,0 +274,0 @@

2

package.json
{
"name": "@thirdweb-dev/storage",
"version": "2.0.5",
"version": "2.0.6-nightly-f93bd325-20231129214354",
"main": "dist/thirdweb-dev-storage.cjs.js",

@@ -5,0 +5,0 @@ "module": "dist/thirdweb-dev-storage.esm.js",

Sorry, the diff of this file is not supported yet