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

@evervault/sdk

Package Overview
Dependencies
Maintainers
4
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evervault/sdk - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

8

index.js

@@ -101,2 +101,6 @@ /** @format */

set: async function(toSave) {
toSave = await this.encrypt(toSave, {
preserveObjectShape: true
});
const accessToken = await this.getValidAccessToken();

@@ -134,3 +138,3 @@

return fetch(`${this.urls.api}/v1/data/${this.appId}/${toGet}`, {
return await fetch(`${this.urls.api}/v1/data/${this.appId}/${toGet}`, {
method: 'GET',

@@ -148,3 +152,3 @@ headers: {

return result;
return this.decrypt(result);
})

@@ -151,0 +155,0 @@ .catch((err) => {

{
"name": "@evervault/sdk",
"version": "0.3.0",
"version": "0.3.1",
"description": "evervault Browser SDK",

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

@@ -275,3 +275,3 @@ /** @format */

evervault.set(testData).then((result) => {
chai.assert(result.foo === testData.foo && result.bar === testData.bar);
chai.assert('foo' in result && 'bar' in result);
done();

@@ -278,0 +278,0 @@ });

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