@makeswift/hono-react 0.0.7-canary.1 → 0.0.7

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,38 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var runtime_exports = {};
20
+ __export(runtime_exports, {
21
+ HonoReactRuntime: () => HonoReactRuntime
22
+ });
23
+ module.exports = __toCommonJS(runtime_exports);
24
+ var import_unstable_framework_support = require("@makeswift/runtime/unstable-framework-support");
25
+ class HonoReactRuntime extends import_unstable_framework_support.ReactRuntime {
26
+ constructor(args = {}) {
27
+ super({
28
+ ...args,
29
+ fetch: (url, init) => fetch(url, init)
30
+ // TODO: revalidation support
31
+ });
32
+ }
33
+ }
34
+ // Annotate the CommonJS export names for ESM import in node:
35
+ 0 && (module.exports = {
36
+ HonoReactRuntime
37
+ });
38
+ //# sourceMappingURL=runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/runtime.ts"],"sourcesContent":["import { type Breakpoints, ReactRuntime } from '@makeswift/runtime/unstable-framework-support'\n\nexport class HonoReactRuntime extends ReactRuntime {\n constructor(args: { appOrigin?: string; apiOrigin?: string; breakpoints?: Breakpoints } = {}) {\n super({\n ...args,\n fetch: (url, init) => fetch(url, init), // TODO: revalidation support\n })\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wCAA+C;AAExC,MAAM,yBAAyB,+CAAa;AAAA,EACjD,YAAY,OAA8E,CAAC,GAAG;AAC5F,UAAM;AAAA,MACJ,GAAG;AAAA,MACH,OAAO,CAAC,KAAK,SAAS,MAAM,KAAK,IAAI;AAAA;AAAA,IACvC,CAAC;AAAA,EACH;AACF;","names":[]}
@@ -0,0 +1,14 @@
1
+ import { ReactRuntime } from "@makeswift/runtime/unstable-framework-support";
2
+ class HonoReactRuntime extends ReactRuntime {
3
+ constructor(args = {}) {
4
+ super({
5
+ ...args,
6
+ fetch: (url, init) => fetch(url, init)
7
+ // TODO: revalidation support
8
+ });
9
+ }
10
+ }
11
+ export {
12
+ HonoReactRuntime
13
+ };
14
+ //# sourceMappingURL=runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/runtime.ts"],"sourcesContent":["import { type Breakpoints, ReactRuntime } from '@makeswift/runtime/unstable-framework-support'\n\nexport class HonoReactRuntime extends ReactRuntime {\n constructor(args: { appOrigin?: string; apiOrigin?: string; breakpoints?: Breakpoints } = {}) {\n super({\n ...args,\n fetch: (url, init) => fetch(url, init), // TODO: revalidation support\n })\n }\n}\n"],"mappings":"AAAA,SAA2B,oBAAoB;AAExC,MAAM,yBAAyB,aAAa;AAAA,EACjD,YAAY,OAA8E,CAAC,GAAG;AAC5F,UAAM;AAAA,MACJ,GAAG;AAAA,MACH,OAAO,CAAC,KAAK,SAAS,MAAM,KAAK,IAAI;AAAA;AAAA,IACvC,CAAC;AAAA,EACH;AACF;","names":[]}
@@ -0,0 +1,9 @@
1
+ import { type Breakpoints, ReactRuntime } from '@makeswift/runtime/unstable-framework-support';
2
+ export declare class HonoReactRuntime extends ReactRuntime {
3
+ constructor(args?: {
4
+ appOrigin?: string;
5
+ apiOrigin?: string;
6
+ breakpoints?: Breakpoints;
7
+ });
8
+ }
9
+ //# sourceMappingURL=runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAA;AAE9F,qBAAa,gBAAiB,SAAQ,YAAY;gBACpC,IAAI,GAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,WAAW,CAAA;KAAO;CAM7F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makeswift/hono-react",
3
- "version": "0.0.7-canary.1",
3
+ "version": "0.0.7",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "url": "makeswift/makeswift",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "cookie": "^1.0.2",
31
- "@makeswift/runtime": "0.26.4-canary.1"
31
+ "@makeswift/runtime": "0.26.4"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@types/react": "^19.0.0",