@mathrunet/masamune_cloudflare 3.1.1 → 3.1.4

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/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## 3.1.1 (2026-06-29)
1
+ ## 3.1.4 (2026-06-29)
2
2
 
3
3
 
4
4
  ### chore
package/dist/index.d.ts CHANGED
@@ -1,3 +1,14 @@
1
+ /**
2
+ * Copyright (c) 2025 mathru. All rights reserved.
3
+ *
4
+ * Manages packages on Cloudflare Workers for the server portion (NodeJS) of the Masamune framework.
5
+ *
6
+ * To use, import * as masamune from "@mathrunet/masamune";
7
+ *
8
+ * [mathru.net]: https://mathru.net
9
+ * [YouTube]: https://www.youtube.com/c/mathrunetchannel
10
+ */
11
+ import * as hono from "hono";
1
12
  import { WorkersBase } from "./lib/src/workers_base";
2
13
  export * from "@mathrunet/masamune";
3
14
  export * from "./lib/api";
@@ -19,4 +30,4 @@ export * from "./lib/src/request_process_workders_base";
19
30
  *
20
31
  * [Workers]で定義された要素を配列として渡します。渡されたメソッドがデプロイされます。
21
32
  */
22
- export declare function deploy(exports: any, deployWorkders: WorkersBase[]): void;
33
+ export declare function deploy(deployWorkders: WorkersBase[]): hono.Hono;
package/dist/index.js CHANGED
@@ -68,11 +68,11 @@ __exportStar(require("./lib/src/request_process_workders_base"), exports);
68
68
  *
69
69
  * [Workers]で定義された要素を配列として渡します。渡されたメソッドがデプロイされます。
70
70
  */
71
- function deploy(exports, deployWorkders) {
71
+ function deploy(deployWorkders) {
72
72
  const app = new hono.Hono();
73
73
  for (const worker of deployWorkders) {
74
74
  app.route(worker.path, worker.build());
75
75
  }
76
- exports.default = app;
76
+ return app;
77
77
  }
78
78
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,wBAMC;AAxCD;;;;;;;;;GASG;AACH,2CAA6B;AAG7B,sDAAoC;AACpC,4CAA0B;AAC1B,yDAAuC;AACvC,yDAAuC;AACvC,0EAAwD;AAExD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,MAAM,CAAC,OAAY,EAAE,cAA6B;IAC9D,MAAM,GAAG,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;IAC5B,KAAK,MAAM,MAAM,IAAI,cAAc,EAAE,CAAC;QAClC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;IAC3C,CAAC;IACD,OAAO,CAAC,OAAO,GAAG,GAAG,CAAC;AAC1B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,wBAMC;AAxCD;;;;;;;;;GASG;AACH,2CAA6B;AAG7B,sDAAoC;AACpC,4CAA0B;AAC1B,yDAAuC;AACvC,yDAAuC;AACvC,0EAAwD;AAExD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,MAAM,CAAC,cAA6B;IAChD,MAAM,GAAG,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;IAC5B,KAAK,MAAM,MAAM,IAAI,cAAc,EAAE,CAAC;QAClC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;IAC3C,CAAC;IACD,OAAO,GAAG,CAAC;AACf,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mathrunet/masamune_cloudflare",
3
- "version": "3.1.1",
3
+ "version": "3.1.4",
4
4
  "description": "Manages packages on Cloudflare Workers for the server portion (NodeJS) of the Masamune framework.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",