@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 +2 -2
- package/dist/client/mod.js.map +1 -1
- package/dist/mod.d.mts +1 -1
- package/dist/mod.d.ts +1 -1
- package/dist/mod.js.map +1 -1
- package/dist/mod.mjs.map +1 -1
- package/package.json +4 -3
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-
|
|
5
|
+
[Learn More →](https://github.com/rivet-dev/rivetkit)
|
|
6
6
|
|
|
7
|
-
[Discord](https://rivet.
|
|
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
|
|
package/dist/client/mod.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/nathan/rivetkit/packages/
|
|
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
package/dist/mod.d.ts
CHANGED
package/dist/mod.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/nathan/rivetkit/packages/
|
|
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
|
|
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.
|
|
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/
|
|
49
|
-
"
|
|
49
|
+
"@rivetkit/react": "2.0.4",
|
|
50
|
+
"rivetkit": "^2.0.4"
|
|
50
51
|
},
|
|
51
52
|
"peerDependencies": {
|
|
52
53
|
"react": "^18 || ^19",
|