@byted-apaas/server-sdk-node 1.1.1 → 1.1.2

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.
@@ -0,0 +1,7 @@
1
+ export declare class GlobalVar<gv> {
2
+ /**
3
+ * 根据 apiName 获取对应的全局变量
4
+ * @param apiName 全局变量的 API Name
5
+ */
6
+ getVar<Key extends keyof gv>(apiName: Key): Promise<gv[Key]>;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=globalVar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globalVar.js","sourceRoot":"","sources":["globalVar.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byted-apaas/server-sdk-node",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "aPaaS Server SDK",
5
5
  "author": "zhouwexin <zhouwexin@bytedance.com>",
6
6
  "homepage": "",