lemoncloud-engine-js
Advanced tools
Comparing version 0.3.13 to 0.3.14
@@ -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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109
101286
23