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

lemoncloud-engine-js

Package Overview
Dependencies
Maintainers
3
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lemoncloud-engine-js - npm Package Compare versions

Comparing version 0.3.13 to 0.3.14

2

lib/sqs-proxy.js

@@ -1,1 +0,1 @@

"use strict";module.exports=function(t,i){i=i||"RS";var n=t.U,e=t._;if(!n)throw new Error("$U is required!");if(!e)throw new Error("$_ is required!");var s=n.NS(i,"yellow"),u=t.log,r=(t.inf,t.err,{do_sendMessage:function(e,r,t){if(!e)return Promise.reject("TYPE is required!");if(!r)return Promise.reject("$attrs is required!");if(!t)return Promise.reject("$data is required!");var i=Object.assign({},r||{});return f().do_put(e,"0",void 0,i,t).then(function(e){return e.result})},do_receiveMessage:function(e,r){if(r=n.N(r,1),!e)return Promise.reject("TYPE is required!");if(!r)return Promise.reject("size is required!");var t=Object.assign({},{});return t.size=r,f().do_get(e,"0",void 0,t).then(function(e){return e.result})},do_deleteMessage:function(e,r){if(!e)return Promise.reject("TYPE is required!");if(!r)return Promise.reject("handle is required!");Object.assign({},{});return f().do_delete(e,r,void 0).then(function(e){return e.result})},do_test_self:function(e){u(s,"do_test_self()... param=",e=e||{});var r=Object.assign({},e||{});return f().do_get("#","0","test-self",r).then(function(e){return e.result})}});t(i,r);var o=n.env("SS_ENDPOINT"),d=require("./http-proxy"),f=function(){if(!o)throw new Error("env:SS_ENDPOINT is required!");var e="X"+i,r=t(e);return r||d(t,e,o)};return r};
"use strict";module.exports=function(t,i){i=i||"RS";var n=t.U,e=t._;if(!n)throw new Error("$U is required!");if(!e)throw new Error("$_ is required!");var s=n.NS(i,"yellow"),u=t.log,r=(t.inf,t.err,{do_sendMessage:function(e,r,t){if(!e)return Promise.reject("TYPE is required!");if(!r)return Promise.reject("$attrs is required!");if(!t)return Promise.reject("$data is required!");var i=Object.assign({},r||{});return c().do_put(e,"0",void 0,i,t).then(function(e){return e.result})},do_receiveMessage:function(e,r){if(r=n.N(r,1),!e)return Promise.reject("TYPE is required!");if(!r)return Promise.reject("size is required!");var t=Object.assign({},{});return t.size=r,c().do_get(e,"0",void 0,t).then(function(e){return e.result})},do_deleteMessage:function(e,r){if(!e)return Promise.reject("TYPE is required!");if(!r)return Promise.reject("handle is required!");Object.assign({},{});return c().do_delete(e,r,void 0).then(function(e){return e.result})},do_statistics:function(e,r){if(!e)return Promise.reject("TYPE is required!");Object.assign({},{});return c().do_get(e,"0","stat").then(function(e){return e.result})},do_test_self:function(e){u(s,"do_test_self()... param=",e=e||{});var r=Object.assign({},e||{});return c().do_get("#","0","test-self",r).then(function(e){return e.result})}});t(i,r);var o=n.env("SS_ENDPOINT"),d=require("./http-proxy"),c=function(){if(!o)throw new Error("env:SS_ENDPOINT is required!");var e="X"+i,r=t(e);return r||d(t,e,o)};return r};
{
"name": "lemoncloud-engine-js",
"version": "0.3.13",
"version": "0.3.14",
"description": "lemoncloud.io - core engine module with user/group/chat service.",

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

@@ -88,2 +88,3 @@ # lemoncloud-engine-js

|-- |--
| 0.3.14 | add sqs stat as `$SS.do_statistics()`.
| 0.3.13 | lambda-proxy as 'LS'. set `LS_ENDPOINT`.

@@ -90,0 +91,0 @@ | 0.3.12 | optimize 404 error message.

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