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

ellipsis-default-storage

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ellipsis-default-storage - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

10

index.js

@@ -16,3 +16,3 @@ var request = require('request');

putItem: function (args) {
var missing = findMissingArgs(["itemId", "itemType", "item", "context"], args);
var missing = findMissingArgs(["itemId", "itemType", "item", "ellipsis"], args);
if (missing.length > 0) {

@@ -23,4 +23,4 @@ onError("Missing values for: " + missing.join(", "));

post({
url: args.context.apiBaseUrl + "/put_item",
form: {itemId: args.itemId, itemType: args.itemType, token: args.context.token, item: args.item}
url: args.ellipsis.apiBaseUrl + "/put_item",
form: {itemId: args.itemId, itemType: args.itemType, token: args.ellipsis.token, item: args.item}
}, function (error, response, body) {

@@ -42,3 +42,3 @@ if (!error && response.statusCode == 200) {

getItem: function (args) {
var missing = findMissingArgs(["itemId", "itemType", "context"], args);
var missing = findMissingArgs(["itemId", "itemType", "ellipsis"], args);
if (missing.length > 0) {

@@ -49,3 +49,3 @@ onError("Missing values for: " + missing.join(", "));

get(
args.context.apiBaseUrl + "/get_item/" + args.itemId + "/" + args.itemType + "/" + args.context.token,
args.context.apiBaseUrl + "/get_item/" + args.itemId + "/" + args.itemType + "/" + args.ellipsis.token,
function (error, response, body) {

@@ -52,0 +52,0 @@ if (!error && response.statusCode == 200) {

{
"name": "ellipsis-default-storage",
"version": "0.1.5",
"version": "0.1.6",
"description": "Interface to the default storage for Ellipsis behaviors",

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

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