@rivetkit/next-js 2.0.2 → 2.0.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/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  RivetKit Next.js is a framework for building serverless and edge applications using Next.js, leveraging RivetKit's actor model for scalable and efficient microservices.
4
4
 
5
- [Learn More →](https://github.com/rivet-gg/rivetkit)
5
+ [Learn More →](https://github.com/rivet-dev/rivetkit)
6
6
 
7
- [Discord](https://rivet.gg/discord) — [Documentation](https://rivetkit.org) — [Issues](https://github.com/rivet-gg/rivetkit/issues)
7
+ [Discord](https://rivet.dev/discord) — [Documentation](https://rivetkit.org) — [Issues](https://github.com/rivet-dev/rivetkit/issues)
8
8
 
9
9
  ## License
10
10
 
@@ -1 +1 @@
1
- {"version":3,"sources":["/Users/nathan/rivetkit/packages/frameworks/next-js/dist/client/mod.js","../../src/client/mod.ts"],"names":[],"mappings":"AAAA;ACAA,mEAAc","file":"/Users/nathan/rivetkit/packages/frameworks/next-js/dist/client/mod.js","sourcesContent":[null,"export * from \"@rivetkit/react\";\n"]}
1
+ {"version":3,"sources":["/Users/nathan/rivetkit/packages/next-js/dist/client/mod.js","../../src/client/mod.ts"],"names":[],"mappings":"AAAA;ACAA,mEAAc","file":"/Users/nathan/rivetkit/packages/next-js/dist/client/mod.js","sourcesContent":[null,"export * from \"@rivetkit/react\";\n"]}
package/dist/mod.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { Registry } from '@rivetkit/core';
1
+ import { Registry } from 'rivetkit';
2
2
 
3
3
  declare const toNextHandler: (server: ReturnType<Registry<any>["createServer"]>) => {
4
4
  GET: (req: Request) => Response | Promise<Response>;
package/dist/mod.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Registry } from '@rivetkit/core';
1
+ import { Registry } from 'rivetkit';
2
2
 
3
3
  declare const toNextHandler: (server: ReturnType<Registry<any>["createServer"]>) => {
4
4
  GET: (req: Request) => Response | Promise<Response>;
package/dist/mod.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["/Users/nathan/rivetkit/packages/frameworks/next-js/dist/mod.js","../src/mod.ts"],"names":[],"mappings":"AAAA;ACCA,qCAAuB;AAEhB,IAAM,cAAA,EAAgB,CAC5B,MAAA,EAAA,GACI;AACJ,EAAA,MAAM,EAAE,IAAA,EAAM,aAAa,EAAA,EAAI,MAAA;AAE/B,EAAA,MAAM,QAAA,EAAU,4BAAA,YAAmB,CAAA;AAEnC,EAAA,OAAO;AAAA,IACN,GAAA,EAAK,OAAA;AAAA,IACL,IAAA,EAAM,OAAA;AAAA,IACN,KAAA,EAAO,OAAA;AAAA,IACP,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,EACV,CAAA;AACD,CAAA;ADJA;AACE;AACF,sCAAC","file":"/Users/nathan/rivetkit/packages/frameworks/next-js/dist/mod.js","sourcesContent":[null,"import type { Registry } from \"@rivetkit/core\";\nimport { handle } from \"hono/vercel\";\n\nexport const toNextHandler = (\n\tserver: ReturnType<Registry<any>[\"createServer\"]>,\n) => {\n\tconst { hono: registryHono } = server;\n\n\tconst handler = handle(registryHono);\n\n\treturn {\n\t\tGET: handler,\n\t\tPOST: handler,\n\t\tPATCH: handler,\n\t\tHEAD: handler,\n\t\tOPTIONS: handler,\n\t};\n};\n"]}
1
+ {"version":3,"sources":["/Users/nathan/rivetkit/packages/next-js/dist/mod.js","../src/mod.ts"],"names":[],"mappings":"AAAA;ACAA,qCAAuB;AAGhB,IAAM,cAAA,EAAgB,CAC5B,MAAA,EAAA,GACI;AACJ,EAAA,MAAM,EAAE,IAAA,EAAM,aAAa,EAAA,EAAI,MAAA;AAE/B,EAAA,MAAM,QAAA,EAAU,4BAAA,YAAmB,CAAA;AAEnC,EAAA,OAAO;AAAA,IACN,GAAA,EAAK,OAAA;AAAA,IACL,IAAA,EAAM,OAAA;AAAA,IACN,KAAA,EAAO,OAAA;AAAA,IACP,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,EACV,CAAA;AACD,CAAA;ADJA;AACE;AACF,sCAAC","file":"/Users/nathan/rivetkit/packages/next-js/dist/mod.js","sourcesContent":[null,"import { handle } from \"hono/vercel\";\nimport type { Registry } from \"rivetkit\";\n\nexport const toNextHandler = (\n\tserver: ReturnType<Registry<any>[\"createServer\"]>,\n) => {\n\tconst { hono: registryHono } = server;\n\n\tconst handler = handle(registryHono);\n\n\treturn {\n\t\tGET: handler,\n\t\tPOST: handler,\n\t\tPATCH: handler,\n\t\tHEAD: handler,\n\t\tOPTIONS: handler,\n\t};\n};\n"]}
package/dist/mod.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/mod.ts"],"sourcesContent":["import type { Registry } from \"@rivetkit/core\";\nimport { handle } from \"hono/vercel\";\n\nexport const toNextHandler = (\n\tserver: ReturnType<Registry<any>[\"createServer\"]>,\n) => {\n\tconst { hono: registryHono } = server;\n\n\tconst handler = handle(registryHono);\n\n\treturn {\n\t\tGET: handler,\n\t\tPOST: handler,\n\t\tPATCH: handler,\n\t\tHEAD: handler,\n\t\tOPTIONS: handler,\n\t};\n};\n"],"mappings":";AACA,SAAS,cAAc;AAEhB,IAAM,gBAAgB,CAC5B,WACI;AACJ,QAAM,EAAE,MAAM,aAAa,IAAI;AAE/B,QAAM,UAAU,OAAO,YAAY;AAEnC,SAAO;AAAA,IACN,KAAK;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,EACV;AACD;","names":[]}
1
+ {"version":3,"sources":["../src/mod.ts"],"sourcesContent":["import { handle } from \"hono/vercel\";\nimport type { Registry } from \"rivetkit\";\n\nexport const toNextHandler = (\n\tserver: ReturnType<Registry<any>[\"createServer\"]>,\n) => {\n\tconst { hono: registryHono } = server;\n\n\tconst handler = handle(registryHono);\n\n\treturn {\n\t\tGET: handler,\n\t\tPOST: handler,\n\t\tPATCH: handler,\n\t\tHEAD: handler,\n\t\tOPTIONS: handler,\n\t};\n};\n"],"mappings":";AAAA,SAAS,cAAc;AAGhB,IAAM,gBAAgB,CAC5B,WACI;AACJ,QAAM,EAAE,MAAM,aAAa,IAAI;AAE/B,QAAM,UAAU,OAAO,YAAY;AAEnC,SAAO;AAAA,IACN,KAAK;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,EACV;AACD;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@rivetkit/next-js",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
+ "description": "Next.js integration for RivetKit actors and client",
4
5
  "license": "Apache-2.0",
5
6
  "keywords": [
6
7
  "rivetkit",
@@ -45,8 +46,8 @@
45
46
  },
46
47
  "dependencies": {
47
48
  "hono": "^4.8.3",
48
- "@rivetkit/core": "^2.0.2",
49
- "@rivetkit/react": "2.0.2"
49
+ "@rivetkit/react": "2.0.4",
50
+ "rivetkit": "^2.0.4"
50
51
  },
51
52
  "peerDependencies": {
52
53
  "react": "^18 || ^19",