@alipay/faas-common-sdk 1.1.21 → 1.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/decorator.js +1 -1
- package/package.json +2 -2
package/lib/decorator.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var __awaiter=this&&this.__awaiter||function(c,f,n,a){function r(t){return t instanceof n?t:new n(function(u){u(t)})}return new(n||(n=Promise))(function(t,u){function l(i){try{e(a.next(i))}catch(o){u(o)}}function s(i){try{e(a["throw"](i))}catch(o){u(o)}}function e(i){i.done?t(i.value):r(i.value).then(l,s)}e((a=a.apply(c,f||[])).next())})};var __generator=this&&this.__generator||function(c,f){var n={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},a,r,t,u;return u={next:l(0),"throw":l(1),"return":l(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(e){return function(i){return s([e,i])}}function s(e){if(a)throw new TypeError("Generator is already executing.");while(u&&(u=0,e[0]&&(n=0)),n)try{if(a=1,r&&(t=e[0]&2?r["return"]:e[0]?r["throw"]||((t=r["return"])&&t.call(r),0):r.next)&&!(t=t.call(r,e[1])).done)return t;if(r=0,t)e=[e[0]&2,t.value];switch(e[0]){case 0:case 1:t=e;break;case 4:n.label++;return{value:e[1],done:false};case 5:n.label++;r=e[1];e=[0];continue;case 7:e=n.ops.pop();n.trys.pop();continue;default:if(!(t=n.trys,t=t.length>0&&t[t.length-1])&&(e[0]===6||e[0]===2)){n=0;continue}if(e[0]===3&&(!t||e[1]>t[0]&&e[1]<t[3])){n.label=e[1];break}if(e[0]===6&&n.label<t[1]){n.label=t[1];t=e;break}if(t&&n.label<t[2]){n.label=t[2];n.ops.push(e);break}if(t[2])n.ops.pop();n.trys.pop();continue}e=f.call(c,n)}catch(i){e=[6,i];r=0}finally{a=t=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:true}}};Object.defineProperty(exports,"__esModule",{value:true});exports.WrapCallback=
|
|
1
|
+
"use strict";var __awaiter=this&&this.__awaiter||function(c,f,n,a){function r(t){return t instanceof n?t:new n(function(u){u(t)})}return new(n||(n=Promise))(function(t,u){function l(i){try{e(a.next(i))}catch(o){u(o)}}function s(i){try{e(a["throw"](i))}catch(o){u(o)}}function e(i){i.done?t(i.value):r(i.value).then(l,s)}e((a=a.apply(c,f||[])).next())})};var __generator=this&&this.__generator||function(c,f){var n={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},a,r,t,u;return u={next:l(0),"throw":l(1),"return":l(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(e){return function(i){return s([e,i])}}function s(e){if(a)throw new TypeError("Generator is already executing.");while(u&&(u=0,e[0]&&(n=0)),n)try{if(a=1,r&&(t=e[0]&2?r["return"]:e[0]?r["throw"]||((t=r["return"])&&t.call(r),0):r.next)&&!(t=t.call(r,e[1])).done)return t;if(r=0,t)e=[e[0]&2,t.value];switch(e[0]){case 0:case 1:t=e;break;case 4:n.label++;return{value:e[1],done:false};case 5:n.label++;r=e[1];e=[0];continue;case 7:e=n.ops.pop();n.trys.pop();continue;default:if(!(t=n.trys,t=t.length>0&&t[t.length-1])&&(e[0]===6||e[0]===2)){n=0;continue}if(e[0]===3&&(!t||e[1]>t[0]&&e[1]<t[3])){n.label=e[1];break}if(e[0]===6&&n.label<t[1]){n.label=t[1];t=e;break}if(t&&n.label<t[2]){n.label=t[2];n.ops.push(e);break}if(t[2])n.ops.pop();n.trys.pop();continue}e=f.call(c,n)}catch(i){e=[6,i];r=0}finally{a=t=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:true}}};Object.defineProperty(exports,"__esModule",{value:true});exports.WrapCallback=WrapCallback;var utils_1=require("./utils");function WrapCallback(){return function(c,f,n){var a=n.value;n.value=function(r){return __awaiter(this,void 0,void 0,function(){return __generator(this,function(t){return[2,(0,utils_1.wrapCallback)(a,this)(r)]})})}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alipay/faas-common-sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.22",
|
|
4
4
|
"description": "云函数服务通用 SDK",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"typescript": "^5.0.4"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@alipay/faas-db-builder": "^1.1.
|
|
33
|
+
"@alipay/faas-db-builder": "^1.1.22"
|
|
34
34
|
},
|
|
35
35
|
"engines": {
|
|
36
36
|
"node": ">= 14.0.0"
|