@ningboyz/apis 1.7.113 → 1.7.114

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/index.ts CHANGED
@@ -40,6 +40,7 @@ import YzhtRequest from "./packages/yzht";
40
40
  import YzpzRequest from "./packages/yzpz";
41
41
  import ZbhdRequest from "./packages/zbhd";
42
42
  import ZbzdRequest from "./packages/zbzd";
43
+ import NoteRequest from "./packages/note";
43
44
 
44
45
  class JavaRequest {
45
46
  public static ssb: SsbRequest;
@@ -91,6 +92,7 @@ class Request {
91
92
  public static talk: TalkRequest;
92
93
  public static ding: DingRequest;
93
94
  public static yzcq: YzcqRequest;
95
+ public static note: NoteRequest;
94
96
 
95
97
  public static createRequest(config: IAxiosConfig) {
96
98
  this.core = new CoreRequest(config);
@@ -132,6 +134,7 @@ class Request {
132
134
  this.talk = new TalkRequest(config);
133
135
  this.ding = new DingRequest(config);
134
136
  this.yzcq = new YzcqRequest(config);
137
+ this.note = new NoteRequest(config);
135
138
  }
136
139
  }
137
140
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.7.113",
3
+ "version": "1.7.114",
4
4
  "private": false,
5
5
  "description": "宁波甬政请求库",
6
6
  "author": "nbyt-syq",
@@ -17,7 +17,7 @@
17
17
  "registry": "https://registry.npmjs.org/"
18
18
  },
19
19
  "dependencies": {
20
- "@ningboyz/types": "1.7.113",
20
+ "@ningboyz/types": "1.7.114",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,15 +1,13 @@
1
1
  import { createRequest, IAxiosConfig } from "../axios";
2
2
  import MainRequest from "./main";
3
3
 
4
- class LoadRequest {
4
+ class MyoaRequest {
5
5
  public main: MainRequest;
6
-
7
6
  constructor(config: IAxiosConfig) {
8
7
  const request = createRequest(config);
9
8
  this.main = new MainRequest(request);
10
9
  }
11
10
  }
12
11
 
13
- export default MainRequest;
12
+ export default MyoaRequest;
14
13
  export * from "./types";
15
-