Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# These are supported funding model platforms

github: [unnoq] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
github: [dinwwwh] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ This is a quick overview of how to use oRPC. For more details, please refer to t
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
6 changes: 3 additions & 3 deletions apps/content/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export default withMermaid(defineConfig({
socialLinks: [
{ 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' },
{ icon: 'x', link: 'https://x.com/middleapi' },
{ icon: 'bluesky', link: 'https://bsky.app/profile/middleapi.com' },
Comment on lines 56 to +60
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

carbonAds.placement still contains orpcunnoqcom, which looks like a leftover from the previous branding. If this PR is migrating sponsorship/branding from unnoq to dinwwwh (and other MiddleAPI links), update the Carbon Ads placement value accordingly to avoid misconfigured ad placement / inconsistent branding.

Copilot uses AI. Check for mistakes.
],
editLink: {
pattern: 'https://github.com/middleapi/orpc/blob/main/apps/content/:path',
Expand All @@ -76,7 +76,7 @@ export default withMermaid(defineConfig({
text: 'More',
items: [
{ text: 'Discussions', link: 'https://github.com/middleapi/orpc/discussions' },
{ text: 'Sponsor', link: 'https://github.com/sponsors/unnoq' },
{ text: 'Sponsor', link: 'https://github.com/sponsors/dinwwwh' },
{ text: 'Releases', link: 'https://github.com/middleapi/orpc/releases' },
{ text: 'LLM Context', link: '/llms.txt' },
{ text: 'LLM Context (Full)', link: '/llms-full.txt' },
Expand Down
4 changes: 2 additions & 2 deletions apps/content/.vitepress/theme/components/AsideSponsors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ const smallSponsors = computed(() => sponsors.value.filter(s => s.rideSidebarSiz

<template>
<div ref="container" class="aside-container">
<a class="aside-sponsors-title" href="https://github.com/sponsors/unnoq" target="_blank" rel="noopener">SPONSORS</a>
<a class="aside-sponsors-title" href="https://github.com/sponsors/dinwwwh" target="_blank" rel="noopener">SPONSORS</a>

<div class="aside-sponsors-list">
<a v-for="sponsor in normalSponsors" :key="sponsor.login" class="aside-sponsor" target="_blank" :href="sponsor.rideSidebarLink">
<img :src="sponsor.rightSidebarLogo" :alt="sponsor.name">
</a>

<a v-if="normalSponsors.length < 3" class="aside-sponsor" href="https://github.com/sponsors/unnoq" target="_blank" rel="noopener">
<a v-if="normalSponsors.length < 3" class="aside-sponsor" href="https://github.com/sponsors/dinwwwh" target="_blank" rel="noopener">
<span class="aside-sponsor-text">Become a sponsor</span>
</a>

Expand Down
6 changes: 3 additions & 3 deletions apps/content/.vitepress/theme/components/FullSponsors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
</h2>

<div class="full-sponsors">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg" target="_blank" rel="noopener noreferrer">
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg" target="_blank" rel="noopener noreferrer">
<img
crossorigin="anonymous"
inline-block
width="768" height="1464"
class="resizable-img"
loading="lazy"
src="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg"
alt="Anthony Fu's sponsors"
src="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg"
alt="dinwwwh's sponsors"
>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/content/.vitepress/theme/composables/sponsors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function useSponsors(visible?: Ref<boolean>): { sponsors: Ref<JSONSponsor

status.value = 'updating'

fetch('https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.json')
fetch('https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.json')
.then(res => res.json())
.then((value) => {
sponsors.value = value
Expand Down
6 changes: 3 additions & 3 deletions apps/content/blog/v1-announcement.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ In this long journey, I specially thank all my sponsors, they help me to keep go
- [Robbe95](https://github.com/Robbe95)
- And my first sponsor (private) to start my story

If you're interesting in sponsoring oRPC, you can do it [here](https://github.com/sponsors/unnoq).
If you're interested in sponsoring oRPC, you can do it [here](https://github.com/sponsors/dinwwwh).

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>
2 changes: 1 addition & 1 deletion apps/content/public/_redirects
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/docs /docs/getting-started 301
/docs/openapi /docs/openapi/getting-started 301
/sponsor https://github.com/sponsors/unnoq 301
/sponsor https://github.com/sponsors/dinwwwh 301
/docs/integrations/nextjs /docs/integrations/next 301
4 changes: 2 additions & 2 deletions packages/ai-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ The [AI SDK](https://ai-sdk.dev/) integration for oRPC.
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions packages/arktype/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ const specFromRouter = await openAPIGenerator.generate(router, {
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions packages/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ const client: ContractRouterClient<typeof contract> = createORPCClient(link)
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ class Person2 {
const customSupportedDataTypes: { name: string, value: unknown, expected: unknown }[] = [
{
name: 'person - 1',
value: new Person('unnoq', new Date('2023-01-01')),
expected: new Person('unnoq', new Date('2023-01-01')),
value: new Person('Dinh Le', new Date('2023-01-01')),
expected: new Person('Dinh Le', new Date('2023-01-01')),
},
{
name: 'person - 2',
value: new Person2('unnoq - 2', [{ nested: new Date('2023-01-02') }, /uic/gi]),
expected: new Person2('unnoq - 2', [{ nested: new Date('2023-01-02') }, /uic/gi]),
value: new Person2('Dinh Le - 2', [{ nested: new Date('2023-01-02') }, /uic/gi]),
expected: new Person2('Dinh Le - 2', [{ nested: new Date('2023-01-02') }, /uic/gi]),
},
{
name: 'should not resolve toJSON',
Expand Down Expand Up @@ -113,7 +113,7 @@ describe.each([
assert({
'date': new Date('2023-01-01'),
'regexp': /uic/gi,
'url': new URL('https://unnoq.com'),
'url': new URL('https://orpc.dev'),
'!@#$%^^&()[]>?<~_<:"~+!_': value,
'list': [value],
'map': new Map([[value, value]]),
Expand All @@ -124,7 +124,7 @@ describe.each([
}, {
'date': new Date('2023-01-01'),
'regexp': /uic/gi,
'url': new URL('https://unnoq.com'),
'url': new URL('https://orpc.dev'),
'!@#$%^^&()[]>?<~_<:"~+!_': expected,
'list': [expected],
'map': new Map([[expected, expected]]),
Expand Down
4 changes: 2 additions & 2 deletions packages/client/tests/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ export const supportedDataTypes: { name: string, value: unknown, expected: unkno
},
{
name: 'URL',
value: new URL('https://unnoq.com'),
expected: new URL('https://unnoq.com'),
value: new URL('https://orpc.dev'),
expected: new URL('https://orpc.dev'),
},
{
name: 'object',
Expand Down
4 changes: 2 additions & 2 deletions packages/contract/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ export const contract = {
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions packages/durable-iterator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ You can find the full documentation [here](https://orpc.dev).
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions packages/hey-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ Integration with [Hey API](https://heyapi.dev/).
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions packages/interop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ A compatibility layer that builds & re-exports upstream packages that don't yet
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions packages/json-schema/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ Json Schema related utilities for oRPC.
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions packages/nest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ export class PlanetController {
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions packages/openapi-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ Provides core serializer for OpenAPI requests and responses.
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ const builtInCases: TestCase[] = [
expected: '/uic/gi',
},
{
data: new URL('https://unnoq.com'),
expected: new URL('https://unnoq.com').href,
data: new URL('https://orpc.dev'),
expected: new URL('https://orpc.dev').href,
},
{
data: { a: 1, b: 2, c: 3 },
Expand Down Expand Up @@ -138,12 +138,12 @@ class Person2 {

const customSupportedDataTypes: TestCase[] = [
{
data: new Person('unnoq', new Date('2023-01-01')),
expected: { name: 'unnoq', date: '2023-01-01T00:00:00.000Z' },
data: new Person('Dinh Le', new Date('2023-01-01')),
expected: { name: 'Dinh Le', date: '2023-01-01T00:00:00.000Z' },
},
{
data: new Person2('unnoq - 2', [{ nested: new Date('2023-01-02') }, /uic/gi]),
expected: { name: 'unnoq - 2', data: [{ nested: '2023-01-02T00:00:00.000Z' }, '/uic/gi'] },
data: new Person2('Dinh Le - 2', [{ nested: new Date('2023-01-02') }, /uic/gi]),
expected: { name: 'Dinh Le - 2', data: [{ nested: '2023-01-02T00:00:00.000Z' }, '/uic/gi'] },
},
{
data: { value: { toJSON: () => 'hello' } },
Expand Down Expand Up @@ -211,7 +211,7 @@ describe.each<TestCase>([
const [json, hasBlob] = serializer.serialize({
'date': new Date('2023-01-01'),
'regexp': /uic/gi,
'url': new URL('https://unnoq.com'),
'url': new URL('https://orpc.dev'),
'!@#$%^^&()[]>?<~_<:"~+!_': data,
'list': [data],
'map': new Map([[data, data]]),
Expand All @@ -224,7 +224,7 @@ describe.each<TestCase>([
expect(json).toEqual({
'date': new Date('2023-01-01').toISOString(),
'regexp': (/uic/gi).toString(),
'url': new URL('https://unnoq.com').href,
'url': new URL('https://orpc.dev').href,
'!@#$%^^&()[]>?<~_<:"~+!_': expected,
'list': [expected],
'map': [[expected, expected]],
Expand Down
4 changes: 2 additions & 2 deletions packages/openapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ server.listen(3000, '127.0.0.1', () => console.log('Listening on 127.0.0.1:3000'
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
18 changes: 9 additions & 9 deletions packages/openapi/src/adapters/standard/openapi-matcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ describe('standardOpenAPIMatcher', () => {
procedure: ping,
})

expect(await rpcMatcher.match('DELETE', '/ping/unnoq')).toEqual({
expect(await rpcMatcher.match('DELETE', '/ping/name')).toEqual({
path: ['nested', 'ping'],
procedure: routedPing,
params: { ping: 'unnoq' },
params: { ping: 'name' },
})

expect(await rpcMatcher.match('GET', '/pong/something')).toEqual({
Expand Down Expand Up @@ -213,22 +213,22 @@ describe('standardOpenAPIMatcher', () => {
const rpcMatcher = new StandardOpenAPIMatcher()
rpcMatcher.init({ ping1, ping2, ping3 })

expect(await rpcMatcher.match('GET', '/ping/unnoq%2F')).toEqual({
expect(await rpcMatcher.match('GET', '/ping/name%2F')).toEqual({
path: ['ping2'],
procedure: ping2,
params: { ping: 'unnoq/' },
params: { ping: 'name/' },
})

expect(await rpcMatcher.match('GET', '/ping/unnoq/')).toEqual({
expect(await rpcMatcher.match('GET', '/ping/name/')).toEqual({
path: ['ping2'],
procedure: ping2,
params: { ping: 'unnoq' },
params: { ping: 'name' },
})

expect(await rpcMatcher.match('GET', '/ping/unnoq/2/3/4%2F5')).toEqual({
expect(await rpcMatcher.match('GET', '/ping/name/2/3/4%2F5')).toEqual({
path: ['ping1'],
procedure: ping1,
params: { ping: 'unnoq/2/3/4/5' },
params: { ping: 'name/2/3/4/5' },
})

expect(await rpcMatcher.match('GET', '/ping/pong')).toEqual({
Expand All @@ -251,7 +251,7 @@ describe('standardOpenAPIMatcher', () => {
rpcMatcher.init(router)

expect(await rpcMatcher.match('POST', '/base')).toEqual(undefined)
expect(await rpcMatcher.match('DELETE', '/ping/unnoq')).toEqual(undefined)
expect(await rpcMatcher.match('DELETE', '/ping/name')).toEqual(undefined)

expect(await rpcMatcher.match('GET', '/pong/something')).toEqual({
path: ['pong'],
Expand Down
4 changes: 2 additions & 2 deletions packages/otel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ sdk.start()
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
4 changes: 2 additions & 2 deletions packages/pino/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ Integration with [Pino](https://getpino.io/) for structured logging.
## Sponsors

<p align="center">
<a href="https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/unnoq/unnoq/sponsors.svg'/>
<a href="https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg">
<img src='https://cdn.jsdelivr.net/gh/dinwwwh/dinwwwh/sponsors.svg'/>
</a>
</p>

Expand Down
Loading
Loading