react-native-email-imap-smtp 0.3.0 → 0.3.1
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import express from 'express';
|
|
2
|
+
declare const app: express.Express;
|
|
2
3
|
declare const server: import("node:http").Server<typeof import("node:http").IncomingMessage, typeof import("node:http").ServerResponse>;
|
|
3
4
|
export interface ServerHandle {
|
|
4
5
|
port: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/index.ts"],"names":[],"mappings":"AAYA,OAAO,OAAO,MAAM,SAAS,CAAC;AAO9B,QAAA,MAAM,GAAG,EAAE,OAAO,CAAC,OAAmB,CAAC;AACvC,QAAA,MAAM,MAAM,mHAAoB,CAAC;AAgajC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5B;AAED,wBAAsB,WAAW,CAC/B,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,YAAY,CAAC,CAuBvB;AAQD,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC"}
|
package/package.json
CHANGED
package/server/src/index.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { WebSocketServer, WebSocket } from 'ws';
|
|
|
17
17
|
import * as imap from './imapHandler';
|
|
18
18
|
import * as smtp from './smtpHandler';
|
|
19
19
|
|
|
20
|
-
const app = express();
|
|
20
|
+
const app: express.Express = express();
|
|
21
21
|
const server = createServer(app);
|
|
22
22
|
|
|
23
23
|
// ─── 配置 ───────────────────────────────────────────────────
|