@makeswift/hono-react 0.1.5-canary.5 → 0.1.5-canary.6

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.
@@ -23,7 +23,7 @@ __export(runtime_exports, {
23
23
  module.exports = __toCommonJS(runtime_exports);
24
24
  var import_unstable_framework_support = require("@makeswift/runtime/unstable-framework-support");
25
25
  class HonoReactRuntime extends import_unstable_framework_support.ReactRuntime {
26
- constructor(args = {}) {
26
+ constructor(args) {
27
27
  super({
28
28
  ...args,
29
29
  fetch: (url, init) => fetch(url, init)
@@ -1 +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":[]}
1
+ {"version":3,"sources":["../../src/runtime.ts"],"sourcesContent":["import {\n type Breakpoints,\n type StoreKey,\n ReactRuntime,\n} from '@makeswift/runtime/unstable-framework-support'\n\nexport class HonoReactRuntime extends ReactRuntime {\n constructor(args: {\n requestKey?: StoreKey\n appOrigin?: string\n apiOrigin?: string\n breakpoints?: Breakpoints\n }) {\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,wCAIO;AAEA,MAAM,yBAAyB,+CAAa;AAAA,EACjD,YAAY,MAKT;AACD,UAAM;AAAA,MACJ,GAAG;AAAA,MACH,OAAO,CAAC,KAAK,SAAS,MAAM,KAAK,IAAI;AAAA;AAAA,IACvC,CAAC;AAAA,EACH;AACF;","names":[]}
@@ -1,6 +1,8 @@
1
- import { ReactRuntime } from "@makeswift/runtime/unstable-framework-support";
1
+ import {
2
+ ReactRuntime
3
+ } from "@makeswift/runtime/unstable-framework-support";
2
4
  class HonoReactRuntime extends ReactRuntime {
3
- constructor(args = {}) {
5
+ constructor(args) {
4
6
  super({
5
7
  ...args,
6
8
  fetch: (url, init) => fetch(url, init)
@@ -1 +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":[]}
1
+ {"version":3,"sources":["../../src/runtime.ts"],"sourcesContent":["import {\n type Breakpoints,\n type StoreKey,\n ReactRuntime,\n} from '@makeswift/runtime/unstable-framework-support'\n\nexport class HonoReactRuntime extends ReactRuntime {\n constructor(args: {\n requestKey?: StoreKey\n appOrigin?: string\n apiOrigin?: string\n breakpoints?: Breakpoints\n }) {\n super({\n ...args,\n fetch: (url, init) => fetch(url, init), // TODO: revalidation support\n })\n }\n}\n"],"mappings":"AAAA;AAAA,EAGE;AAAA,OACK;AAEA,MAAM,yBAAyB,aAAa;AAAA,EACjD,YAAY,MAKT;AACD,UAAM;AAAA,MACJ,GAAG;AAAA,MACH,OAAO,CAAC,KAAK,SAAS,MAAM,KAAK,IAAI;AAAA;AAAA,IACvC,CAAC;AAAA,EACH;AACF;","names":[]}
@@ -1,6 +1,7 @@
1
- import { type Breakpoints, ReactRuntime } from '@makeswift/runtime/unstable-framework-support';
1
+ import { type Breakpoints, type StoreKey, ReactRuntime } from '@makeswift/runtime/unstable-framework-support';
2
2
  export declare class HonoReactRuntime extends ReactRuntime {
3
- constructor(args?: {
3
+ constructor(args: {
4
+ requestKey?: StoreKey;
4
5
  appOrigin?: string;
5
6
  apiOrigin?: string;
6
7
  breakpoints?: Breakpoints;
@@ -1 +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"}
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,YAAY,EACb,MAAM,+CAA+C,CAAA;AAEtD,qBAAa,gBAAiB,SAAQ,YAAY;gBACpC,IAAI,EAAE;QAChB,UAAU,CAAC,EAAE,QAAQ,CAAA;QACrB,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,WAAW,CAAC,EAAE,WAAW,CAAA;KAC1B;CAMF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makeswift/hono-react",
3
- "version": "0.1.5-canary.5",
3
+ "version": "0.1.5-canary.6",
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.28.3-canary.4"
31
+ "@makeswift/runtime": "0.28.3-canary.5"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@types/react": "^19.0.0",