Socket
Socket
Sign inDemoInstall

sanity-plugin-mux-input

Package Overview
Dependencies
Maintainers
24
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sanity-plugin-mux-input - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

10

build/actions/secrets.js

@@ -36,7 +36,7 @@ "use strict";

cache.secrets = {
token: secrets.token || null,
secretKey: secrets.secretKey || null,
enableSignedUrls: secrets.enableSignedUrls || false,
signingKeyId: secrets.signingKeyId || null,
signingKeyPrivate: secrets.signingKeyPrivate || null
token: (secrets === null || secrets === void 0 ? void 0 : secrets.token) || null,
secretKey: (secrets === null || secrets === void 0 ? void 0 : secrets.secretKey) || null,
enableSignedUrls: (secrets === null || secrets === void 0 ? void 0 : secrets.enableSignedUrls) || false,
signingKeyId: (secrets === null || secrets === void 0 ? void 0 : secrets.signingKeyId) || null,
signingKeyPrivate: (secrets === null || secrets === void 0 ? void 0 : secrets.signingKeyPrivate) || null
};

@@ -43,0 +43,0 @@ return cache;

@@ -112,6 +112,2 @@ "use strict";

};
}).catch(error => {
this.setState({
error
});
});

@@ -407,3 +403,5 @@ }

});
});
}).catch(error => this.setState({
error
}));
this.setupButton = /*#__PURE__*/_react.default.createRef();

@@ -410,0 +408,0 @@ this.pollInterval = null;

@@ -137,7 +137,15 @@ "use strict";

if (!hasValidSigningKeys && enableSignedUrls) {
var _yield$createSigningK = yield (0, _secrets.createSigningKeys)(),
data = _yield$createSigningK.data;
try {
var _yield$createSigningK = yield (0, _secrets.createSigningKeys)(),
data = _yield$createSigningK.data;
signingKeyId = data.id;
signingKeyPrivate = data.private_key;
signingKeyId = data.id;
signingKeyPrivate = data.private_key;
} catch (_ref2) {
var message = _ref2.message;
_this.setState({
error: message
});
}
}

@@ -144,0 +152,0 @@

{
"name": "sanity-plugin-mux-input",
"version": "0.3.0",
"version": "0.3.1",
"description": "An input component that integrates Sanity Studio with MUX.com video encoding/hosting service.",

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

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

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