diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 86d976c0e..ab9dd01f0 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -4,5 +4,5 @@ contact_links: url: https://discord.com/invite/TXEbwRBvQn about: Join our Discord server to chat with the community and get help. - name: GitHub Discussions - url: https://github.com/unnoq/orpc/discussions + url: https://github.com/middleapi/orpc/discussions about: Use discussions if you have questions, ideas, or need general help. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 72040a3e7..d98e025fa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ Thank you for your interest in contributing to oRPC! We welcome all kinds of con If you need help or have questions, please join us on [Discord](https://discord.gg/TXEbwRBvQn). > [!TIP] -> [Mini-oRPC](https://github.com/unnoq/mini-orpc) is a simplified implementation of oRPC that includes essential features to help you understand the core concepts. It's designed to be straightforward and easy to follow, making it an ideal starting point for learning about oRPC. +> [Mini-oRPC](https://github.com/middleapi/mini-orpc) is a simplified implementation of oRPC that includes essential features to help you understand the core concepts. It's designed to be straightforward and easy to follow, making it an ideal starting point for learning about oRPC. ## Setup diff --git a/README.md b/README.md index e287d4c35..8c95bfd21 100644 --- a/README.md +++ b/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -215,4 +215,4 @@ oRPC is inspired by existing solutions that prioritize type safety and developer ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/SECURITY.md b/SECURITY.md index b115e7f6a..30a8d6f09 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -10,6 +10,6 @@ Please ensure you are running the latest version of the software. The vulnerabil ### How to Report -To report a security vulnerability, please email us at contact@unnoq.com. +To report a security vulnerability, please email us at hello@middleapi.com. We appreciate your efforts to disclose your findings responsibly. diff --git a/apps/content/.vitepress/config.ts b/apps/content/.vitepress/config.ts index 1f3e9fc94..05a2fe088 100644 --- a/apps/content/.vitepress/config.ts +++ b/apps/content/.vitepress/config.ts @@ -54,18 +54,18 @@ export default withMermaid(defineConfig({ placement: 'orpcunnoqcom', }, socialLinks: [ - { icon: 'github', link: 'https://github.com/unnoq/orpc' }, + { icon: 'github', link: 'https://github.com/middleapi/orpc' }, { icon: 'discord', link: 'https://discord.gg/TXEbwRBvQn' }, { icon: 'x', link: 'https://x.com/unnoqcom' }, { icon: 'bluesky', link: 'https://bsky.app/profile/unnoq.com' }, ], editLink: { - pattern: 'https://github.com/unnoq/orpc/blob/main/apps/content/:path', + pattern: 'https://github.com/middleapi/orpc/blob/main/apps/content/:path', text: 'Edit on GitHub', }, footer: { message: 'Released under the MIT License.', - copyright: 'Copyright © 2024-present Unnoq & oRPC contributors.', + copyright: 'Copyright © 2024-present MiddleAPI & oRPC contributors.', }, nav: [ { text: 'Docs', link: '/docs/getting-started', activeMatch: '/docs/(?!openapi/)' }, @@ -75,9 +75,9 @@ export default withMermaid(defineConfig({ { text: 'More', items: [ - { text: 'Discussions', link: 'https://github.com/unnoq/orpc/discussions' }, + { text: 'Discussions', link: 'https://github.com/middleapi/orpc/discussions' }, { text: 'Sponsor', link: 'https://github.com/sponsors/unnoq' }, - { text: 'Releases', link: 'https://github.com/unnoq/orpc/releases' }, + { text: 'Releases', link: 'https://github.com/middleapi/orpc/releases' }, { text: 'LLM Context', link: '/llms.txt' }, { text: 'LLM Context (Full)', link: '/llms-full.txt' }, ], diff --git a/apps/content/docs/advanced/building-custom-plugins.md b/apps/content/docs/advanced/building-custom-plugins.md index 3d2f03a6d..3d867370a 100644 --- a/apps/content/docs/advanced/building-custom-plugins.md +++ b/apps/content/docs/advanced/building-custom-plugins.md @@ -65,7 +65,7 @@ Handler plugins extend the functionality of your server-side handlers. You can c When building a handler plugin, you'll work with interceptors from the [Handler Lifecycle](/docs/rpc-handler#lifecycle). These interceptors let you hook into different stages of request processing - from initial request parsing to final response formatting. -Check out the [built-in handler plugins](https://github.com/unnoq/orpc/tree/main/packages/server/src/plugins) to see real-world examples of how different plugins solve common server-side challenges. +Check out the [built-in handler plugins](https://github.com/middleapi/orpc/tree/main/packages/server/src/plugins) to see real-world examples of how different plugins solve common server-side challenges. ### Link Plugins @@ -73,13 +73,13 @@ Link plugins enhance your client-side communication. They work with [RPCLink](/d Link plugins use interceptors from the [Link Lifecycle](/docs/client/rpc-link#lifecycle) to modify requests before they're sent or responses after they're received. This is perfect for adding authentication, logging, retry logic, or request/response transformations. -Browse the [built-in link plugins](https://github.com/unnoq/orpc/tree/main/packages/client/src/plugins) for inspiration on handling common client-side scenarios. +Browse the [built-in link plugins](https://github.com/middleapi/orpc/tree/main/packages/client/src/plugins) for inspiration on handling common client-side scenarios. ## Communication Between Interceptors Sometimes you need interceptors to share data. For example, one interceptor might collect information that another interceptor uses later. You can achieve this by injecting context using a unique symbol. -The [Strict Get Method Plugin](/docs/plugins/strict-get-method) ([Source Code](https://github.com/unnoq/orpc/blob/main/packages/server/src/plugins/strict-get-method.ts)) demonstrates this pattern. It uses `rootInterceptors` to collect HTTP methods and combines this data with procedure information in `clientInterceptors` to determine whether the method is allowed. +The [Strict Get Method Plugin](/docs/plugins/strict-get-method) ([Source Code](https://github.com/middleapi/orpc/blob/main/packages/server/src/plugins/strict-get-method.ts)) demonstrates this pattern. It uses `rootInterceptors` to collect HTTP methods and combines this data with procedure information in `clientInterceptors` to determine whether the method is allowed. ## Plugin Order diff --git a/apps/content/docs/playgrounds.md b/apps/content/docs/playgrounds.md index d7d13d3f1..ed2dc971e 100644 --- a/apps/content/docs/playgrounds.md +++ b/apps/content/docs/playgrounds.md @@ -10,22 +10,22 @@ featuring pre-configured examples accessible instantly via StackBlitz or local s ## Available Playgrounds -| Environment | StackBlitz | GitHub Source | -| -------------------------------- | ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------- | -| Next.js Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/next) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/next) | -| TanStack Start Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/tanstack-start) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/tanstack-start) | -| Nuxt.js Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/nuxt) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/nuxt) | -| Solid Start Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/solid-start) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/solid-start) | -| Svelte Kit Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/svelte-kit) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/svelte-kit) | -| Astro Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/astro) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/astro) | -| Contract-First Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/contract-first) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/contract-first) | -| NestJS Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/nest) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/nest) | -| Cloudflare Worker | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/cloudflare-worker) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/cloudflare-worker) | -| Bun WebSocket + OpenTelemetry | | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/bun-websocket-otel) | -| Electron Playground | | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/electron) | -| Browser Extension Playground | | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/browser-extension) | -| Multiservice Monorepo Playground | | [View Source](https://github.com/unnoq/orpc-multiservice-monorepo-playground) | -| Vue + Bun + Monorepo (Community) | | [View Source](https://github.com/hunterwilhelm/orpc-community-playgrounds/tree/main/vue-bun) | +| Environment | StackBlitz | GitHub Source | +| -------------------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| Next.js Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/next) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/next) | +| TanStack Start Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/tanstack-start) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/tanstack-start) | +| Nuxt.js Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/nuxt) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/nuxt) | +| Solid Start Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/solid-start) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/solid-start) | +| Svelte Kit Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/svelte-kit) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/svelte-kit) | +| Astro Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/astro) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/astro) | +| Contract-First Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/contract-first) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/contract-first) | +| NestJS Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/nest) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/nest) | +| Cloudflare Worker | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/cloudflare-worker) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/cloudflare-worker) | +| Bun WebSocket + OpenTelemetry | | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/bun-websocket-otel) | +| Electron Playground | | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/electron) | +| Browser Extension Playground | | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/browser-extension) | +| Multiservice Monorepo Playground | | [View Source](https://github.com/middleapi/orpc-multiservice-monorepo-playground) | +| Vue + Bun + Monorepo (Community) | | [View Source](https://github.com/hunterwilhelm/orpc-community-playgrounds/tree/main/vue-bun) | :::warning StackBlitz has own limitations, so some features may not work as expected. @@ -36,19 +36,19 @@ StackBlitz has own limitations, so some features may not work as expected. If you prefer working locally, you can clone any playground using the following commands: ```bash -npx degit unnoq/orpc/playgrounds/next orpc-next-playground -npx degit unnoq/orpc/playgrounds/tanstack-start orpc-tanstack-start-playground -npx degit unnoq/orpc/playgrounds/nuxt orpc-nuxt-playground -npx degit unnoq/orpc/playgrounds/solid-start orpc-solid-start-playground -npx degit unnoq/orpc/playgrounds/svelte-kit orpc-svelte-kit-playground -npx degit unnoq/orpc/playgrounds/astro orpc-astro-playground -npx degit unnoq/orpc/playgrounds/contract-first orpc-contract-first-playground -npx degit unnoq/orpc/playgrounds/nest orpc-nest-playground -npx degit unnoq/orpc/playgrounds/cloudflare-worker orpc-cloudflare-worker-playground -npx degit unnoq/orpc/playgrounds/bun-websocket-otel orpc-bun-websocket-otel-playground -npx degit unnoq/orpc/playgrounds/electron orpc-electron-playground -npx degit unnoq/orpc/playgrounds/browser-extension orpc-browser-extension-playground -npx degit unnoq/orpc-multiservice-monorepo-playground orpc-multiservice-monorepo-playground +npx degit middleapi/orpc/playgrounds/next orpc-next-playground +npx degit middleapi/orpc/playgrounds/tanstack-start orpc-tanstack-start-playground +npx degit middleapi/orpc/playgrounds/nuxt orpc-nuxt-playground +npx degit middleapi/orpc/playgrounds/solid-start orpc-solid-start-playground +npx degit middleapi/orpc/playgrounds/svelte-kit orpc-svelte-kit-playground +npx degit middleapi/orpc/playgrounds/astro orpc-astro-playground +npx degit middleapi/orpc/playgrounds/contract-first orpc-contract-first-playground +npx degit middleapi/orpc/playgrounds/nest orpc-nest-playground +npx degit middleapi/orpc/playgrounds/cloudflare-worker orpc-cloudflare-worker-playground +npx degit middleapi/orpc/playgrounds/bun-websocket-otel orpc-bun-websocket-otel-playground +npx degit middleapi/orpc/playgrounds/electron orpc-electron-playground +npx degit middleapi/orpc/playgrounds/browser-extension orpc-browser-extension-playground +npx degit middleapi/orpc-multiservice-monorepo-playground orpc-multiservice-monorepo-playground # Community (clone at your own risk) npx degit hunterwilhelm/orpc-community-playgrounds/vue-bun orpc-vue-bun-monorepo-playground diff --git a/apps/content/learn-and-contribute/mini-orpc/beyond-the-basics.md b/apps/content/learn-and-contribute/mini-orpc/beyond-the-basics.md index 6fd70444d..c306655a4 100644 --- a/apps/content/learn-and-contribute/mini-orpc/beyond-the-basics.md +++ b/apps/content/learn-and-contribute/mini-orpc/beyond-the-basics.md @@ -9,7 +9,7 @@ This section explores advanced features and techniques you can implement to enha ## Getting Started -The complete Mini oRPC implementation is available in the [Mini oRPC Repository](https://github.com/unnoq/mini-orpc), with a [playground](https://github.com/unnoq/mini-orpc/tree/main/playground) for testing. Once you implement a new feature, submit a pull request to the repository for review. +The complete Mini oRPC implementation is available in the [Mini oRPC Repository](https://github.com/middleapi/mini-orpc), with a [playground](https://github.com/middleapi/mini-orpc/tree/main/playground) for testing. Once you implement a new feature, submit a pull request to the repository for review. ## Feature Suggestions @@ -19,31 +19,31 @@ Below are recommended features you can implement in Mini oRPC: You can implement these features in any order. Pick the ones you find interesting. You can import code from existing oRPC packages to make development easier. ::: -- [ ] [Middleware Typed Input](/docs/middleware#middleware-input) Support ([reference](https://github.com/unnoq/orpc/blob/main/packages/server/src/middleware.ts)) +- [ ] [Middleware Typed Input](/docs/middleware#middleware-input) Support ([reference](https://github.com/middleapi/orpc/blob/main/packages/server/src/middleware.ts)) -- [ ] Builder Variants ([reference](https://github.com/unnoq/orpc/blob/main/packages/server/src/builder-variants.ts)) +- [ ] Builder Variants ([reference](https://github.com/middleapi/orpc/blob/main/packages/server/src/builder-variants.ts)) - [ ] Prevent redefinition of `.input` and `.output` methods -- [ ] [Type-Safe Error](/docs/error-handling#type%E2%80%90safe-error-handling) Support ([reference](https://github.com/unnoq/orpc/blob/main/packages/server/src/procedure-client.ts#L113-L120)) +- [ ] [Type-Safe Error](/docs/error-handling#type%E2%80%90safe-error-handling) Support ([reference](https://github.com/middleapi/orpc/blob/main/packages/server/src/procedure-client.ts#L113-L120)) -- [ ] [RPC Protocol](/docs/advanced/rpc-protocol) Implementation ([reference](https://github.com/unnoq/orpc/blob/main/packages/client/src/adapters/standard/rpc-serializer.ts)) +- [ ] [RPC Protocol](/docs/advanced/rpc-protocol) Implementation ([reference](https://github.com/middleapi/orpc/blob/main/packages/client/src/adapters/standard/rpc-serializer.ts)) - [ ] Support native types like `Date`, `Map`, `Set`, etc. - [ ] Support `File`/`Blob` types - [ ] Support [Event Iterator](/docs/event-iterator) types - [ ] Multi-runtime support - - [ ] Standard Server Concept ([reference](https://github.com/unnoq/orpc/tree/main/packages/standard-server)) - - [ ] Fetch Adapter ([reference](https://github.com/unnoq/orpc/tree/main/packages/standard-server-fetch)) - - [ ] Node HTTP Adapter ([reference](https://github.com/unnoq/orpc/tree/main/packages/standard-server-node)) - - [ ] Peer Adapter (WebSocket, MessagePort, etc.) ([reference](https://github.com/unnoq/orpc/tree/main/packages/standard-server-peer)) + - [ ] Standard Server Concept ([reference](https://github.com/middleapi/orpc/tree/main/packages/standard-server)) + - [ ] Fetch Adapter ([reference](https://github.com/middleapi/orpc/tree/main/packages/standard-server-fetch)) + - [ ] Node HTTP Adapter ([reference](https://github.com/middleapi/orpc/tree/main/packages/standard-server-node)) + - [ ] Peer Adapter (WebSocket, MessagePort, etc.) ([reference](https://github.com/middleapi/orpc/tree/main/packages/standard-server-peer)) - [ ] [Contract First](/docs/contract-first/define-contract) Support - - [ ] Contract Builder ([reference](https://github.com/unnoq/orpc/blob/main/packages/contract/src/builder.ts)) - - [ ] Contract Implementer ([reference](https://github.com/unnoq/orpc/blob/main/packages/server/src/implementer.ts)) + - [ ] Contract Builder ([reference](https://github.com/middleapi/orpc/blob/main/packages/contract/src/builder.ts)) + - [ ] Contract Implementer ([reference](https://github.com/middleapi/orpc/blob/main/packages/server/src/implementer.ts)) - [ ] [OpenAPI](/docs/openapi/getting-started) Support - - [ ] OpenAPI Handler ([reference](https://github.com/unnoq/orpc/blob/main/packages/openapi/src/adapters/standard/openapi-handler.ts)) - - [ ] OpenAPI Generator ([reference](https://github.com/unnoq/orpc/blob/main/packages/openapi/src/openapi-generator.ts)) - - [ ] OpenAPI Link ([reference](https://github.com/unnoq/orpc/blob/main/packages/openapi-client/src/adapters/fetch/openapi-link.ts)) + - [ ] OpenAPI Handler ([reference](https://github.com/middleapi/orpc/blob/main/packages/openapi/src/adapters/standard/openapi-handler.ts)) + - [ ] OpenAPI Generator ([reference](https://github.com/middleapi/orpc/blob/main/packages/openapi/src/openapi-generator.ts)) + - [ ] OpenAPI Link ([reference](https://github.com/middleapi/orpc/blob/main/packages/openapi-client/src/adapters/fetch/openapi-link.ts)) -- [ ] [Tanstack Query](/docs/integrations/tanstack-query) Integration ([reference](https://github.com/unnoq/orpc/tree/main/packages/tanstack-query)) +- [ ] [Tanstack Query](/docs/integrations/tanstack-query) Integration ([reference](https://github.com/middleapi/orpc/tree/main/packages/tanstack-query)) diff --git a/apps/content/learn-and-contribute/mini-orpc/client-side-client.md b/apps/content/learn-and-contribute/mini-orpc/client-side-client.md index d2c6b3123..597d59c64 100644 --- a/apps/content/learn-and-contribute/mini-orpc/client-side-client.md +++ b/apps/content/learn-and-contribute/mini-orpc/client-side-client.md @@ -8,7 +8,7 @@ description: Learn how to implement remote procedure calls (RPC) on the client s In Mini oRPC, the client-side client initiates remote procedure calls to the server. Both client and server must follow shared conventions to communicate effectively. While we could use the [RPC Protocol](/docs/advanced/rpc-protocol), we'll implement simpler conventions for clarity. ::: info -The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/unnoq/mini-orpc) +The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/middleapi/mini-orpc) ::: ## Implementation diff --git a/apps/content/learn-and-contribute/mini-orpc/overview.md b/apps/content/learn-and-contribute/mini-orpc/overview.md index d2a53a4d1..137c4b95a 100644 --- a/apps/content/learn-and-contribute/mini-orpc/overview.md +++ b/apps/content/learn-and-contribute/mini-orpc/overview.md @@ -8,7 +8,7 @@ description: A brief introduction to Mini oRPC, a simplified version of oRPC des Mini oRPC is a simplified implementation of oRPC that includes essential features to help you understand the core concepts. It's designed to be straightforward and easy to follow, making it an ideal starting point for learning about oRPC. ::: info -The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/unnoq/mini-orpc) +The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/middleapi/mini-orpc) ::: ## Prerequisites diff --git a/apps/content/learn-and-contribute/mini-orpc/procedure-builder.md b/apps/content/learn-and-contribute/mini-orpc/procedure-builder.md index 3a3bae0d1..59a6836b7 100644 --- a/apps/content/learn-and-contribute/mini-orpc/procedure-builder.md +++ b/apps/content/learn-and-contribute/mini-orpc/procedure-builder.md @@ -8,7 +8,7 @@ description: Learn how Mini oRPC's procedure builder provides an excellent devel The procedure builder is Mini oRPC's core component that enables you to define type-safe procedures with an intuitive, fluent API. ::: info -The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/unnoq/mini-orpc) +The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/middleapi/mini-orpc) ::: ## Implementation diff --git a/apps/content/learn-and-contribute/mini-orpc/server-side-client.md b/apps/content/learn-and-contribute/mini-orpc/server-side-client.md index b975ce502..84354ee63 100644 --- a/apps/content/learn-and-contribute/mini-orpc/server-side-client.md +++ b/apps/content/learn-and-contribute/mini-orpc/server-side-client.md @@ -8,7 +8,7 @@ description: Learn how to turn a procedure into a callable function in Mini oRPC The server-side client in Mini oRPC transforms procedures into callable functions, enabling direct server-side invocation. This is the foundation of Mini oRPC client system - all other client functionality builds upon it. ::: info -The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/unnoq/mini-orpc) +The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/middleapi/mini-orpc) ::: ## Implementation diff --git a/apps/content/learn-and-contribute/overview.md b/apps/content/learn-and-contribute/overview.md index c95aa2e48..a4643ef6d 100644 --- a/apps/content/learn-and-contribute/overview.md +++ b/apps/content/learn-and-contribute/overview.md @@ -8,7 +8,7 @@ description: Discover how to learn and contribute to the oRPC project, including Welcome to the **Learn & Contribute** section! Here you can explore advanced guides and resources to deepen your understanding of oRPC and contribute to its development. ::: info -[oRPC DeepWiki](https://deepwiki.com/unnoq/orpc) provides an excellent overview of the oRPC project, where you can interact with an AI assistant to learn more about the codebase and get detailed insights. +[oRPC DeepWiki](https://deepwiki.com/middleapi/orpc) provides an excellent overview of the oRPC project, where you can interact with an AI assistant to learn more about the codebase and get detailed insights. ::: ## Architecture Overview @@ -19,43 +19,43 @@ Each part of oRPC serves a specific purpose in the overall system. The source fi The core developer experience of oRPC. This lightweight component consists of just a few files that enable you to define and call procedures within the same environment. -- [server/src/builder.ts](https://github.com/unnoq/orpc/blob/main/packages/server/src/builder.ts) -- [server/src/procedure-decorated.ts](https://github.com/unnoq/orpc/blob/main/packages/server/src/procedure-decorated.ts) -- [server/src/procedure-client.ts](https://github.com/unnoq/orpc/blob/main/packages/server/src/procedure-client.ts) +- [server/src/builder.ts](https://github.com/middleapi/orpc/blob/main/packages/server/src/builder.ts) +- [server/src/procedure-decorated.ts](https://github.com/middleapi/orpc/blob/main/packages/server/src/procedure-decorated.ts) +- [server/src/procedure-client.ts](https://github.com/middleapi/orpc/blob/main/packages/server/src/procedure-client.ts) ### Contract First Extends the **Procedure Builder/Caller** by separating contract definition from implementation, enabling contract-first development. -- [contract/src/builder.ts](https://github.com/unnoq/orpc/blob/main/packages/contract/src/builder.ts) -- [server/src/implementer.ts](https://github.com/unnoq/orpc/blob/main/packages/server/src/implementer.ts) +- [contract/src/builder.ts](https://github.com/middleapi/orpc/blob/main/packages/contract/src/builder.ts) +- [server/src/implementer.ts](https://github.com/middleapi/orpc/blob/main/packages/server/src/implementer.ts) ### Standard Server Abstracts runtime environments, allowing oRPC adapters to run seamlessly across Cloudflare Workers, Node.js, Bun, Deno, and other platforms without runtime-specific concerns. -- [standard-server](https://github.com/unnoq/orpc/tree/main/packages/standard-server) -- [standard-server-fetch](https://github.com/unnoq/orpc/tree/main/packages/standard-server-fetch) -- [standard-server-node](https://github.com/unnoq/orpc/tree/main/packages/standard-server-node) -- [standard-server-fastify](https://github.com/unnoq/orpc/tree/main/packages/standard-server-fastify) -- [standard-server-aws-lambda](https://github.com/unnoq/orpc/tree/main/packages/standard-server-aws-lambda) -- [standard-server-peer](https://github.com/unnoq/orpc/tree/main/packages/standard-server-peer) +- [standard-server](https://github.com/middleapi/orpc/tree/main/packages/standard-server) +- [standard-server-fetch](https://github.com/middleapi/orpc/tree/main/packages/standard-server-fetch) +- [standard-server-node](https://github.com/middleapi/orpc/tree/main/packages/standard-server-node) +- [standard-server-fastify](https://github.com/middleapi/orpc/tree/main/packages/standard-server-fastify) +- [standard-server-aws-lambda](https://github.com/middleapi/orpc/tree/main/packages/standard-server-aws-lambda) +- [standard-server-peer](https://github.com/middleapi/orpc/tree/main/packages/standard-server-peer) ### RPC Handler/Link Implements the [RPC Protocol](/docs/advanced/rpc-protocol) for efficient and lightweight remote procedure invocation. Supports native types like `Date`, `Map`, `Set`, `BigInt`, and more. -- [client/src/adapters/standard/rpc-link.ts](https://github.com/unnoq/orpc/blob/main/packages/client/src/adapters/standard/rpc-link.ts) -- [server/src/adapters/standard/rpc-handler.ts](https://github.com/unnoq/orpc/blob/main/packages/server/src/adapters/standard/rpc-handler.ts) +- [client/src/adapters/standard/rpc-link.ts](https://github.com/middleapi/orpc/blob/main/packages/client/src/adapters/standard/rpc-link.ts) +- [server/src/adapters/standard/rpc-handler.ts](https://github.com/middleapi/orpc/blob/main/packages/server/src/adapters/standard/rpc-handler.ts) ### OpenAPI Handler/Link/Generator Implements OpenAPI support for standards-compliant remote procedure invocation following the [OpenAPI Specification](https://swagger.io/specification/). -- [openapi-client/src/adapters/standard/openapi-link.ts](https://github.com/unnoq/orpc/blob/main/packages/openapi-client/src/adapters/standard/openapi-link.ts) -- [openapi/src/adapters/standard/openapi-handler.ts](https://github.com/unnoq/orpc/blob/main/packages/openapi/src/adapters/standard/openapi-handler.ts) -- [openapi/src/openapi-generator.ts](https://github.com/unnoq/orpc/blob/main/packages/openapi/src/openapi-generator.ts) +- [openapi-client/src/adapters/standard/openapi-link.ts](https://github.com/middleapi/orpc/blob/main/packages/openapi-client/src/adapters/standard/openapi-link.ts) +- [openapi/src/adapters/standard/openapi-handler.ts](https://github.com/middleapi/orpc/blob/main/packages/openapi/src/adapters/standard/openapi-handler.ts) +- [openapi/src/openapi-generator.ts](https://github.com/middleapi/orpc/blob/main/packages/openapi/src/openapi-generator.ts) ## Contributing -We welcome contributions to oRPC! To get started, please review our [contributing guidelines](https://github.com/unnoq/orpc/blob/main/CONTRIBUTING.md). +We welcome contributions to oRPC! To get started, please review our [contributing guidelines](https://github.com/middleapi/orpc/blob/main/CONTRIBUTING.md). diff --git a/packages/ai-sdk/README.md b/packages/ai-sdk/README.md index b159167b5..1cba531c7 100644 --- a/packages/ai-sdk/README.md +++ b/packages/ai-sdk/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ The [AI SDK](https://ai-sdk.dev/) integration for oRPC. ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/arktype/README.md b/packages/arktype/README.md index f593d3c24..fecdf5151 100644 --- a/packages/arktype/README.md +++ b/packages/arktype/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -107,4 +107,4 @@ const specFromRouter = await openAPIGenerator.generate(router, { ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/arktype/package.json b/packages/arktype/package.json index 4da38c839..bbf854966 100644 --- a/packages/arktype/package.json +++ b/packages/arktype/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/arktype" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -44,6 +43,6 @@ "devDependencies": { "@ark/schema": "^0.56.0", "arktype": "^2.1.29", - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/client/README.md b/packages/client/README.md index 8c3f131c2..4eb2a66dc 100644 --- a/packages/client/README.md +++ b/packages/client/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -98,4 +98,4 @@ const client: ContractRouterClient = createORPCClient(link) ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/client/package.json b/packages/client/package.json index 12a2d3160..ddb49c944 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/client" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -70,6 +69,6 @@ "@orpc/standard-server-peer": "workspace:*" }, "devDependencies": { - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/contract/README.md b/packages/contract/README.md index 5e881b4a4..5c40344e8 100644 --- a/packages/contract/README.md +++ b/packages/contract/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -111,4 +111,4 @@ export const contract = { ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/contract/package.json b/packages/contract/package.json index 482d0bdd1..84b74e298 100644 --- a/packages/contract/package.json +++ b/packages/contract/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/contract" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -48,6 +47,6 @@ "devDependencies": { "arktype": "2.1.29", "valibot": "^1.2.0", - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/contract/src/index.ts b/packages/contract/src/index.ts index 77ad0991c..56baab5c6 100644 --- a/packages/contract/src/index.ts +++ b/packages/contract/src/index.ts @@ -1,5 +1,3 @@ -/** unnoq */ - export * from './builder' export * from './builder-variants' export * from './config' diff --git a/packages/durable-iterator/README.md b/packages/durable-iterator/README.md index 9b1a0a117..f767affc5 100644 --- a/packages/durable-iterator/README.md +++ b/packages/durable-iterator/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ You can find the full documentation [here](https://orpc.dev). ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/durable-iterator/package.json b/packages/durable-iterator/package.json index 8a4585d0f..c02eafd16 100644 --- a/packages/durable-iterator/package.json +++ b/packages/durable-iterator/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/durable-iterator" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -55,7 +54,7 @@ "valibot": "^1.2.0" }, "devDependencies": { - "@cloudflare/workers-types": "^4.20260109.0", + "@cloudflare/workers-types": "^4.20251231.0", "@orpc/standard-server-peer": "workspace:*", "@types/node": "^22.19.3" } diff --git a/packages/hey-api/README.md b/packages/hey-api/README.md index 0b8fe60b6..2bdc5874e 100644 --- a/packages/hey-api/README.md +++ b/packages/hey-api/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ Integration with [Hey API](https://heyapi.dev/). ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/hey-api/package.json b/packages/hey-api/package.json index 551870c8b..5615e3594 100644 --- a/packages/hey-api/package.json +++ b/packages/hey-api/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/hey-api" }, "keywords": [ - "unnoq", "orpc", "Hey API" ], diff --git a/packages/interop/README.md b/packages/interop/README.md index 7df80647d..c7fa00d8b 100644 --- a/packages/interop/README.md +++ b/packages/interop/README.md @@ -8,19 +8,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -85,4 +85,4 @@ A compatibility layer that builds & re-exports upstream packages that don't yet ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/interop/package.json b/packages/interop/package.json index 6d5d6510e..5062c9d68 100644 --- a/packages/interop/package.json +++ b/packages/interop/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/interop" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { diff --git a/packages/json-schema/README.md b/packages/json-schema/README.md index 12f1239fe..e5ed7073e 100644 --- a/packages/json-schema/README.md +++ b/packages/json-schema/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ Json Schema related utilities for oRPC. ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/json-schema/package.json b/packages/json-schema/package.json index e00b1df38..2c36ef134 100644 --- a/packages/json-schema/package.json +++ b/packages/json-schema/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/json-schema" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -42,6 +41,6 @@ "json-schema-typed": "^8.0.2" }, "devDependencies": { - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/nest/README.md b/packages/nest/README.md index a39fdd11f..b2cac2c1c 100644 --- a/packages/nest/README.md +++ b/packages/nest/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -132,4 +132,4 @@ export class PlanetController { ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/nest/package.json b/packages/nest/package.json index 02625e7c0..446f45cc2 100644 --- a/packages/nest/package.json +++ b/packages/nest/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/nest" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -72,7 +71,7 @@ "express": "^5.2.1", "fastify": "^5.6.2", "rxjs": "^7.8.2", - "supertest": "^7.2.2", - "zod": "^4.3.5" + "supertest": "^7.1.4", + "zod": "^4.3.2" } } diff --git a/packages/openapi-client/README.md b/packages/openapi-client/README.md index efb4c3847..24bc8a5f7 100644 --- a/packages/openapi-client/README.md +++ b/packages/openapi-client/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ Provides core serializer for OpenAPI requests and responses. ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/openapi-client/package.json b/packages/openapi-client/package.json index b62917773..a63310c29 100644 --- a/packages/openapi-client/package.json +++ b/packages/openapi-client/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/openapi-client" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { diff --git a/packages/openapi/README.md b/packages/openapi/README.md index a856b0a09..f44eb7c0e 100644 --- a/packages/openapi/README.md +++ b/packages/openapi/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -101,4 +101,4 @@ server.listen(3000, '127.0.0.1', () => console.log('Listening on 127.0.0.1:3000' ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/openapi/package.json b/packages/openapi/package.json index 932388d69..dfa016dbd 100644 --- a/packages/openapi/package.json +++ b/packages/openapi/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/openapi" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -82,6 +81,6 @@ }, "devDependencies": { "fastify": "^5.6.2", - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/otel/README.md b/packages/otel/README.md index a918337b3..086ea665d 100644 --- a/packages/otel/README.md +++ b/packages/otel/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -99,4 +99,4 @@ sdk.start() ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/otel/package.json b/packages/otel/package.json index aa215aec4..ee54d5196 100644 --- a/packages/otel/package.json +++ b/packages/otel/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/otel" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -42,6 +41,6 @@ }, "devDependencies": { "@opentelemetry/api": "^1.9.0", - "@opentelemetry/instrumentation": "^0.209.0" + "@opentelemetry/instrumentation": "^0.208.0" } } diff --git a/packages/pino/README.md b/packages/pino/README.md index ca9c161d4..f03b07cd1 100644 --- a/packages/pino/README.md +++ b/packages/pino/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ Integration with [Pino](https://getpino.io/) for structured logging. ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/publisher-durable-object/README.md b/packages/publisher-durable-object/README.md index a3575d7b1..b30efe082 100644 --- a/packages/publisher-durable-object/README.md +++ b/packages/publisher-durable-object/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ Publisher adapter for [Durable Objects](https://developers.cloudflare.com/durabl ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/publisher-durable-object/package.json b/packages/publisher-durable-object/package.json index d8989a66a..7c2c087eb 100644 --- a/packages/publisher-durable-object/package.json +++ b/packages/publisher-durable-object/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/publisher-durable-object" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -41,7 +40,7 @@ "@orpc/standard-server": "workspace:*" }, "devDependencies": { - "@cloudflare/workers-types": "^4.20260109.0", + "@cloudflare/workers-types": "^4.20251231.0", "@orpc/standard-server-peer": "workspace:*", "@types/node": "^22.19.3" } diff --git a/packages/publisher/README.md b/packages/publisher/README.md index 8f9d74e03..6693b0408 100644 --- a/packages/publisher/README.md +++ b/packages/publisher/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ Event Publisher with multiple adapter support, resume support, and more. ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/publisher/package.json b/packages/publisher/package.json index 7d6129c68..394b98688 100644 --- a/packages/publisher/package.json +++ b/packages/publisher/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/publisher" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -69,7 +68,7 @@ "@orpc/standard-server": "workspace:*" }, "devDependencies": { - "@upstash/redis": "^1.36.1", - "ioredis": "^5.9.1" + "@upstash/redis": "^1.36.0", + "ioredis": "^5.8.2" } } diff --git a/packages/ratelimit/README.md b/packages/ratelimit/README.md index e4eb1ebfc..abd0f1fd9 100644 --- a/packages/ratelimit/README.md +++ b/packages/ratelimit/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ Rate Limiting Feature for oRPC ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/react-query/README.md b/packages/react-query/README.md index f55880f8a..95faf995d 100644 --- a/packages/react-query/README.md +++ b/packages/react-query/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -120,4 +120,4 @@ export function Example() { ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/react-query/package.json b/packages/react-query/package.json index 29699230b..ab75e42b2 100644 --- a/packages/react-query/package.json +++ b/packages/react-query/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/react-query" }, "keywords": [ - "unnoq", "orpc", "react-query", "tanstack query", @@ -48,6 +47,6 @@ "devDependencies": { "@tanstack/react-query": "^5.90.16", "react": "^19.2.3", - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/react-swr/README.md b/packages/react-swr/README.md index 151c1ba67..12500a480 100644 --- a/packages/react-swr/README.md +++ b/packages/react-swr/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ You can find the full documentation [here](https://orpc.dev). ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/react-swr/package.json b/packages/react-swr/package.json index 1570252c1..2d93236ae 100644 --- a/packages/react-swr/package.json +++ b/packages/react-swr/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/react-swr" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { diff --git a/packages/react/README.md b/packages/react/README.md index a6da1fe25..cab94efd5 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -153,4 +153,4 @@ export function MyComponent() { ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/react/package.json b/packages/react/package.json index baabd9116..7fd6e860c 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/react" }, "keywords": [ - "unnoq", "orpc", "react", "nextjs" @@ -53,6 +52,6 @@ }, "devDependencies": { "react": "^19.2.3", - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/server/README.md b/packages/server/README.md index 0511dd18f..7e06388bc 100644 --- a/packages/server/README.md +++ b/packages/server/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -128,4 +128,4 @@ export const router = { planet: { list: listPlanet, find: findPlanet, create: cr ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/server/package.json b/packages/server/package.json index 613d84efe..61d5977e2 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/server" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -143,13 +142,13 @@ "cookie": "^1.1.1" }, "devDependencies": { - "@tanstack/router-core": "^1.146.2", + "@tanstack/router-core": "^1.144.0", "@types/ws": "^8.18.1", "crossws": "^0.4.1", "fastify": "^5.6.2", "next": "^16.1.1", - "supertest": "^7.2.2", - "ws": "^8.19.0", - "zod": "^4.3.5" + "supertest": "^7.1.4", + "ws": "^8.18.3", + "zod": "^4.3.2" } } diff --git a/packages/shared/README.md b/packages/shared/README.md index f934b6a5c..f8f0a8552 100644 --- a/packages/shared/README.md +++ b/packages/shared/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ Provides shared utilities for oRPC packages. ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/shared/package.json b/packages/shared/package.json index 7ddeb3831..43c8255e0 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/shared" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -49,6 +48,6 @@ "@opentelemetry/api": "^1.9.0", "arktype": "2.1.29", "valibot": "^1.2.0", - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/solid-query/README.md b/packages/solid-query/README.md index 88746470d..09e5dbcd6 100644 --- a/packages/solid-query/README.md +++ b/packages/solid-query/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -120,4 +120,4 @@ export function Example() { ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/solid-query/package.json b/packages/solid-query/package.json index fa97d7c24..55bec7016 100644 --- a/packages/solid-query/package.json +++ b/packages/solid-query/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/solid-query" }, "keywords": [ - "unnoq", "orpc", "solid-query", "tanstack query", @@ -47,6 +46,6 @@ }, "devDependencies": { "@tanstack/solid-query": "^5.90.19", - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/standard-server-aws-lambda/README.md b/packages/standard-server-aws-lambda/README.md index 6458e363b..6233e5a8a 100644 --- a/packages/standard-server-aws-lambda/README.md +++ b/packages/standard-server-aws-lambda/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ You can find the full documentation [here](https://orpc.dev). ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/standard-server-fastify/README.md b/packages/standard-server-fastify/README.md index be9ef8128..964a874dc 100644 --- a/packages/standard-server-fastify/README.md +++ b/packages/standard-server-fastify/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ You can find the full documentation [here](https://orpc.dev). ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/standard-server-fetch/README.md b/packages/standard-server-fetch/README.md index a5be051e8..a6d766085 100644 --- a/packages/standard-server-fetch/README.md +++ b/packages/standard-server-fetch/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ You can find the full documentation [here](https://orpc.dev). ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/standard-server-fetch/package.json b/packages/standard-server-fetch/package.json index d18d7133d..9eaf0fb6d 100644 --- a/packages/standard-server-fetch/package.json +++ b/packages/standard-server-fetch/package.json @@ -3,10 +3,10 @@ "type": "module", "version": "1.13.2", "license": "MIT", - "homepage": "https://unnoq.com", + "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/standard-server-fetch" }, "keywords": [ diff --git a/packages/standard-server-node/README.md b/packages/standard-server-node/README.md index 25d518236..d8fe5ec2f 100644 --- a/packages/standard-server-node/README.md +++ b/packages/standard-server-node/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ You can find the full documentation [here](https://orpc.dev). ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/standard-server-peer/README.md b/packages/standard-server-peer/README.md index ed61f8b88..890f1624e 100644 --- a/packages/standard-server-peer/README.md +++ b/packages/standard-server-peer/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ Provides a standard interface for oRPC server adapters to interact with connecte ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/standard-server-peer/package.json b/packages/standard-server-peer/package.json index 66236f28f..bc0ba81b5 100644 --- a/packages/standard-server-peer/package.json +++ b/packages/standard-server-peer/package.json @@ -3,10 +3,10 @@ "type": "module", "version": "1.13.2", "license": "MIT", - "homepage": "https://unnoq.com", + "homepage": "https://orpc.com", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/standard-server-peer" }, "keywords": [ diff --git a/packages/standard-server/README.md b/packages/standard-server/README.md index 65732c0cd..451f83ec9 100644 --- a/packages/standard-server/README.md +++ b/packages/standard-server/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ This package is designed to be used as a base for other server implementations. ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/standard-server/package.json b/packages/standard-server/package.json index bf44fb2fd..d4c9069f1 100644 --- a/packages/standard-server/package.json +++ b/packages/standard-server/package.json @@ -3,10 +3,10 @@ "type": "module", "version": "1.13.2", "license": "MIT", - "homepage": "https://unnoq.com", + "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/standard-server" }, "keywords": [ diff --git a/packages/svelte-query/README.md b/packages/svelte-query/README.md index 3fe5f3c6d..4e6bcb56f 100644 --- a/packages/svelte-query/README.md +++ b/packages/svelte-query/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -120,4 +120,4 @@ export function Example() { ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/svelte-query/package.json b/packages/svelte-query/package.json index d5d4f9093..9d00606bc 100644 --- a/packages/svelte-query/package.json +++ b/packages/svelte-query/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/svelte-query" }, "keywords": [ - "unnoq", "orpc", "svelte-query", "tanstack query", @@ -47,6 +46,6 @@ }, "devDependencies": { "@tanstack/svelte-query": "^6.0.14", - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/tanstack-query/README.md b/packages/tanstack-query/README.md index 2f6c98873..568d30fbe 100644 --- a/packages/tanstack-query/README.md +++ b/packages/tanstack-query/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ Shared logic for oRPC integrations with [TanStack Query](https://tanstack.com/qu ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/trpc/README.md b/packages/trpc/README.md index d2d03f4db..436cc016c 100644 --- a/packages/trpc/README.md +++ b/packages/trpc/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -78,4 +78,4 @@ Bridge between [tRPC](https://trpc.io/) and oRPC ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/trpc/package.json b/packages/trpc/package.json index 01ddc8859..decf4c0df 100644 --- a/packages/trpc/package.json +++ b/packages/trpc/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/trpc" }, "keywords": [ - "unnoq", "orpc", "trpc" ], @@ -44,6 +43,6 @@ }, "devDependencies": { "@trpc/server": "^11.8.1", - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/valibot/README.md b/packages/valibot/README.md index 98f7d1ee4..6563b1a25 100644 --- a/packages/valibot/README.md +++ b/packages/valibot/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -105,4 +105,4 @@ const specFromRouter = await openAPIGenerator.generate(router, { ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/valibot/package.json b/packages/valibot/package.json index 3acc53010..c9ddfe962 100644 --- a/packages/valibot/package.json +++ b/packages/valibot/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/valibot" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -44,6 +43,6 @@ }, "devDependencies": { "valibot": "^1.2.0", - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/vue-colada/README.md b/packages/vue-colada/README.md index ccece65cf..c03f48551 100644 --- a/packages/vue-colada/README.md +++ b/packages/vue-colada/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -107,4 +107,4 @@ export function Setup() { ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/vue-colada/package.json b/packages/vue-colada/package.json index 8a37975de..c472fbf6d 100644 --- a/packages/vue-colada/package.json +++ b/packages/vue-colada/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/vue-colada" }, "keywords": [ - "unnoq", "orpc", "vue", "vue-colada", @@ -46,7 +45,7 @@ "@orpc/shared": "workspace:*" }, "devDependencies": { - "@pinia/colada": "^0.21.0", + "@pinia/colada": "^0.20.0", "pinia": "^3.0.4", "vue": "^3.5.26" } diff --git a/packages/vue-query/README.md b/packages/vue-query/README.md index 2a25a4e77..4006e91bd 100644 --- a/packages/vue-query/README.md +++ b/packages/vue-query/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -120,4 +120,4 @@ export function Setup() { ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/vue-query/package.json b/packages/vue-query/package.json index 0c08a18e9..138850a45 100644 --- a/packages/vue-query/package.json +++ b/packages/vue-query/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/vue-query" }, "keywords": [ - "unnoq", "orpc", "vue", "vue-query", diff --git a/packages/zod/README.md b/packages/zod/README.md index 1df0e0570..5d5a95faf 100644 --- a/packages/zod/README.md +++ b/packages/zod/README.md @@ -5,19 +5,19 @@

- - codecov + + codecov weekly downloads - - MIT License + + MIT License Discord - + Ask DeepWiki
@@ -142,4 +142,4 @@ const InputSchema = oz.openapi( ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/zod/package.json b/packages/zod/package.json index d4d4d68a2..874ca76cd 100644 --- a/packages/zod/package.json +++ b/packages/zod/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/zod" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -52,6 +51,6 @@ "wildcard-match": "^5.1.4" }, "devDependencies": { - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/playgrounds/next/src/app/page.tsx b/playgrounds/next/src/app/page.tsx index ae3e511e5..21e988c81 100644 --- a/playgrounds/next/src/app/page.tsx +++ b/playgrounds/next/src/app/page.tsx @@ -1,10 +1,12 @@ +import { client } from '@/lib/orpc' import { redirectToScalarForm } from './actions' import { CreatePlanetMutationForm } from './orpc-mutation' import { ListPlanetsQuery } from './orpc-query' import { OrpcServerAction } from './orpc-server-action' import { EventIteratorQueries } from './orpc-stream' -export default function Home() { +export default async function Home() { + console.log('---------', await client.auth.me()) return (

ORPC Playground

diff --git a/playgrounds/next/src/routers/auth.ts b/playgrounds/next/src/routers/auth.ts index dd2700da9..e3bf68e23 100644 --- a/playgrounds/next/src/routers/auth.ts +++ b/playgrounds/next/src/routers/auth.ts @@ -41,5 +41,8 @@ export const me = authed }) .output(UserSchema) .handler(async ({ input, context }) => { - return context.user + return { + ...context.user, + id: '28aa6286-48e9-4f23-adea-3486c86acd56', + } }) diff --git a/playgrounds/next/tsconfig.json b/playgrounds/next/tsconfig.json index afe446baa..ee2bb320c 100644 --- a/playgrounds/next/tsconfig.json +++ b/playgrounds/next/tsconfig.json @@ -2,12 +2,18 @@ "compilerOptions": { "incremental": true, "target": "ES2017", - "jsx": "preserve", - "lib": ["dom", "dom.iterable", "esnext"], + "jsx": "react-jsx", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "module": "esnext", "moduleResolution": "bundler", "paths": { - "@/*": ["./src/*"] + "@/*": [ + "./src/*" + ] }, "resolveJsonModule": true, "allowJs": true, @@ -22,6 +28,14 @@ } ] }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ], + "exclude": [ + "node_modules" + ] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e4b8ac0cb..75cc0925a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -279,7 +279,7 @@ importers: specifier: ^2.1.29 version: 2.1.29 zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/client: @@ -298,7 +298,7 @@ importers: version: link:../standard-server-peer devDependencies: zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/contract: @@ -323,7 +323,7 @@ importers: specifier: ^1.2.0 version: 1.2.0(typescript@5.8.3) zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/durable-iterator: @@ -348,7 +348,7 @@ importers: version: 1.2.0(typescript@5.8.3) devDependencies: '@cloudflare/workers-types': - specifier: ^4.20260109.0 + specifier: ^4.20251231.0 version: 4.20260109.0 '@orpc/standard-server-peer': specifier: workspace:* @@ -401,7 +401,7 @@ importers: version: 8.0.2 devDependencies: zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/nest: @@ -468,10 +468,10 @@ importers: specifier: ^7.8.2 version: 7.8.2 supertest: - specifier: ^7.2.2 + specifier: ^7.1.4 version: 7.2.2 zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/openapi: @@ -508,7 +508,7 @@ importers: specifier: ^5.6.2 version: 5.6.2 zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/openapi-client: @@ -540,8 +540,8 @@ importers: specifier: ^1.9.0 version: 1.9.0 '@opentelemetry/instrumentation': - specifier: ^0.209.0 - version: 0.209.0(@opentelemetry/api@1.9.0) + specifier: ^0.208.0 + version: 0.208.0(@opentelemetry/api@1.9.0) packages/pino: dependencies: @@ -572,10 +572,10 @@ importers: version: link:../standard-server devDependencies: '@upstash/redis': - specifier: ^1.36.1 + specifier: ^1.36.0 version: 1.36.1 ioredis: - specifier: ^5.9.1 + specifier: ^5.8.2 version: 5.9.1 packages/publisher-durable-object: @@ -594,7 +594,7 @@ importers: version: link:../standard-server devDependencies: '@cloudflare/workers-types': - specifier: ^4.20260109.0 + specifier: ^4.20251231.0 version: 4.20260109.0 '@orpc/standard-server-peer': specifier: workspace:* @@ -650,7 +650,7 @@ importers: specifier: ^19.2.3 version: 19.2.3 zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/react-query: @@ -672,7 +672,7 @@ importers: specifier: ^19.2.3 version: 19.2.3 zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/react-swr: @@ -725,7 +725,7 @@ importers: version: 1.1.1 devDependencies: '@tanstack/router-core': - specifier: ^1.146.2 + specifier: ^1.144.0 version: 1.146.2 '@types/ws': specifier: ^8.18.1 @@ -740,13 +740,13 @@ importers: specifier: ^16.1.1 version: 16.1.1(@babel/core@7.28.5)(@opentelemetry/api@1.9.0)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) supertest: - specifier: ^7.2.2 + specifier: ^7.1.4 version: 7.2.2 ws: - specifier: ^8.19.0 + specifier: ^8.18.3 version: 8.19.0 zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/shared: @@ -768,7 +768,7 @@ importers: specifier: ^1.2.0 version: 1.2.0(typescript@5.8.3) zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/solid-query: @@ -790,7 +790,7 @@ importers: specifier: ^5.90.19 version: 5.90.19(solid-js@1.9.10) zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/standard-server: @@ -912,7 +912,7 @@ importers: specifier: ^6.0.14 version: 6.0.14(svelte@5.46.1) zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/tanstack-query: @@ -971,7 +971,7 @@ importers: specifier: ^11.8.1 version: 11.8.1(typescript@5.8.3) zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/valibot: @@ -993,7 +993,7 @@ importers: specifier: ^1.2.0 version: 1.2.0(typescript@5.8.3) zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 packages/vue-colada: @@ -1006,8 +1006,8 @@ importers: version: link:../shared devDependencies: '@pinia/colada': - specifier: ^0.21.0 - version: 0.21.0(pinia@3.0.4(typescript@5.8.3)(vue@3.5.26(typescript@5.8.3)))(vue@3.5.26(typescript@5.8.3)) + specifier: ^0.20.0 + version: 0.20.0(pinia@3.0.4(typescript@5.8.3)(vue@3.5.26(typescript@5.8.3)))(vue@3.5.26(typescript@5.8.3)) pinia: specifier: ^3.0.4 version: 3.0.4(typescript@5.8.3)(vue@3.5.26(typescript@5.8.3)) @@ -1059,7 +1059,7 @@ importers: version: 5.1.4 devDependencies: zod: - specifier: ^4.3.5 + specifier: ^4.3.2 version: 4.3.5 playgrounds/astro: @@ -5504,6 +5504,12 @@ packages: '@phosphor-icons/core@2.1.1': resolution: {integrity: sha512-v4ARvrip4qBCImOE5rmPUylOEK4iiED9ZyKjcvzuezqMaiRASCHKcRIuvvxL/twvLpkfnEODCOJp5dM4eZilxQ==} + '@pinia/colada@0.20.0': + resolution: {integrity: sha512-IY8ssG7xsVlIq5uvnkQtPMKJ4NHxGeeP04HFKR46DOe58UY07JQFKvbDOj3d+nX/Ki+VAb3TGeHIqQdBWf0eWQ==} + peerDependencies: + pinia: ^2.2.6 || ^3.0.0 + vue: ^3.5.17 + '@pinia/colada@0.21.0': resolution: {integrity: sha512-Y7c4gRsZcZCOyxKFbvSadC55sHKJJqKjD3KC1wiOBFl9ubqBlzqOPZl7fj0LkoqbsZYGqAdA0FtNfe9cvgQOXA==} peerDependencies: @@ -7236,6 +7242,9 @@ packages: '@vue/devtools-api@7.7.9': resolution: {integrity: sha512-kIE8wvwlcZ6TJTbNeU2HQNtaxLx3a84aotTITUuL/4bzfPxzajGBOoqjMhwZJ8L9qFYDU/lAYMEEm11dnZOD6g==} + '@vue/devtools-api@8.0.5': + resolution: {integrity: sha512-DgVcW8H/Nral7LgZEecYFFYXnAvGuN9C3L3DtWekAncFBedBczpNW8iHKExfaM559Zm8wQWrwtYZ9lXthEHtDw==} + '@vue/devtools-core@8.0.5': resolution: {integrity: sha512-dpCw8nl0GDBuiL9SaY0mtDxoGIEmU38w+TQiYEPOLhW03VDC0lfNMYXS/qhl4I0YlysGp04NLY4UNn6xgD0VIQ==} peerDependencies: @@ -19161,6 +19170,12 @@ snapshots: '@phosphor-icons/core@2.1.1': {} + '@pinia/colada@0.20.0(pinia@3.0.4(typescript@5.8.3)(vue@3.5.26(typescript@5.8.3)))(vue@3.5.26(typescript@5.8.3))': + dependencies: + '@vue/devtools-api': 8.0.5 + pinia: 3.0.4(typescript@5.8.3)(vue@3.5.26(typescript@5.8.3)) + vue: 3.5.26(typescript@5.8.3) + '@pinia/colada@0.21.0(pinia@3.0.4(typescript@5.8.3)(vue@3.5.26(typescript@5.8.3)))(vue@3.5.26(typescript@5.8.3))': dependencies: pinia: 3.0.4(typescript@5.8.3)(vue@3.5.26(typescript@5.8.3)) @@ -21548,6 +21563,10 @@ snapshots: dependencies: '@vue/devtools-kit': 7.7.9 + '@vue/devtools-api@8.0.5': + dependencies: + '@vue/devtools-kit': 8.0.5 + '@vue/devtools-core@8.0.5(vite@7.3.1(@types/node@25.0.3)(jiti@2.6.1)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2))(vue@3.5.26(typescript@5.8.3))': dependencies: '@vue/devtools-kit': 8.0.5