Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@api-encrypt/sdk

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@api-encrypt/sdk - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

package.json
{
"name": "@api-encrypt/sdk",
"version": "0.0.5",
"version": "0.0.6",
"type": "commonjs",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -110,3 +110,3 @@ "use strict";

catch (error) {
throw Error((error === null || error === void 0 ? void 0 : error.message) || 'request api encrypt error');
throw Error('request api encrypt error: ' + (error === null || error === void 0 ? void 0 : error.message) || '');
}

@@ -118,3 +118,3 @@ // decode secret key

catch (error) {
throw Error((error === null || error === void 0 ? void 0 : error.message) || 'decode secret keys error');
throw Error('decode secret keys error: ' + (error === null || error === void 0 ? void 0 : error.message) || '');
}

@@ -126,3 +126,3 @@ // get data from db

catch (error) {
throw Error((error === null || error === void 0 ? void 0 : error.message) || 'Get data from db error');
throw Error('Get data from db error: ' + (error === null || error === void 0 ? void 0 : error.message) || '');
}

@@ -134,3 +134,3 @@ // decrypt data with secretEncrypted & userSecret

catch (error) {
throw Error((error === null || error === void 0 ? void 0 : error.message) || 'Decrypt data error');
throw Error('Decrypt data error: ' + (error === null || error === void 0 ? void 0 : error.message) || '');
}

@@ -137,0 +137,0 @@ console.log('dataEncryptedFromDb >>', JSON.parse(data));

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