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

@neoskop/ethereal-secrets-client

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neoskop/ethereal-secrets-client - npm Package Compare versions

Comparing version 1.2.0 to 1.2.3

12

dist/index.d.ts

@@ -26,8 +26,8 @@ export interface EtherealSecretsClientConfig {

removeRemote(fragmentIdentifier: string): Promise<void>;
saveRemote(clearText: string, ttl?: number): Promise<RemoteSaveResult>;
private parseFragmentIdentifier(fragmentIdentifier);
private generateLocalSecret();
private decryptCipherText(cipherText);
private encryptClearText(value);
private retrieveRemoteSecret();
saveRemote(clearText: string): Promise<RemoteSaveResult>;
private parseFragmentIdentifier;
private generateLocalSecret;
private decryptCipherText;
private encryptClearText;
private retrieveRemoteSecret;
}

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

};
EtherealSecretsClient.prototype.saveRemote = function (clearText, ttl) {
EtherealSecretsClient.prototype.saveRemote = function (clearText) {
var secret = this.generateLocalSecret();

@@ -86,3 +86,3 @@ var cipherText = sjcl.encrypt(secret, clearText);

.post(this._endpoint)
.send({ data: cipherText.toString(), ttl: ttl })
.send({ data: cipherText.toString() })
.accept("application/json")

@@ -89,0 +89,0 @@ .then(function (res) {

{
"name": "@neoskop/ethereal-secrets-client",
"version": "1.2.0",
"version": "1.2.3",
"main": "dist/index.js",

@@ -8,3 +8,2 @@ "typings": "dist/index.d.ts",

"license": "MIT",
"repository": "https://github.com/neoskop/ethereal-secrets",
"files": [

@@ -17,26 +16,26 @@ "dist"

"build": "npm run clean; npm run tsc",
"start": "mocha -w --inspect=0.0.0.0:9229 --compilers ts:ts-node/register src/test/*.ts",
"test": "nyc --reporter=text mocha --compilers ts:ts-node/register src/test/*.ts"
"start": "mocha -w --inspect=0.0.0.0:9229 --require ts-node/register src/test/*.ts",
"test": "nyc --reporter=text mocha --require ts-node/register src/test/*.ts"
},
"devDependencies": {
"@types/chai": "4.1.2",
"@types/chai-as-promised": "0.0.31",
"@types/mocha": "2.2.48",
"chai": "4.1.2",
"chai-as-promised": "^7.1.1",
"concurrently": "4.1.0",
"mocha": "^5.2.0",
"node-localstorage": "^1.3.0",
"nyc": "^14.1.1",
"rimraf": "2.6.2",
"ts-node": "^3.0.6",
"typescript": "2.7.1"
"@types/chai": "4.2.7",
"@types/chai-as-promised": "7.1.2",
"@types/mocha": "5.2.7",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"concurrently": "5.0.2",
"mocha": "6.2.2",
"node-localstorage": "2.1.5",
"nyc": "14.1.1",
"rimraf": "3.0.0",
"ts-node": "8.5.4",
"typescript": "3.7.3"
},
"dependencies": {
"@types/bluebird": "3.5.20",
"@types/sjcl": "^1.0.28",
"@types/superagent": "3.5.7",
"bluebird": "3.5.1",
"sjcl": "^1.0.7",
"superagent": "3.8.2"
"@types/bluebird": "3.5.29",
"@types/sjcl": "1.0.28",
"@types/superagent": "4.1.4",
"bluebird": "3.7.2",
"sjcl": "1.0.8",
"superagent": "5.1.2"
},

@@ -61,4 +60,4 @@ "nyc": {

"engines": {
"node": "12.4.0"
"node": ">= 12.4.0"
}
}
}

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