[{"data":1,"prerenderedAt":1060},["ShallowReactive",2],{"navigation":3,"\u002Fblog\u002Fversion-3":116,"\u002Fblog\u002Fversion-3-surround":1054},[4,43,82,102,109],{"title":5,"path":6,"stem":7,"children":8,"icon":42},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,12,17,22,27,32,37],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":18,"path":19,"stem":20,"icon":21},"Configuration","\u002Fgetting-started\u002Fconfiguration","1.getting-started\u002F3.configuration","i-lucide-settings",{"title":23,"path":24,"stem":25,"icon":26},"Usage","\u002Fgetting-started\u002Fusage","1.getting-started\u002F4.usage","i-lucide-code",{"title":28,"path":29,"stem":30,"icon":31},"Authentication","\u002Fgetting-started\u002Fauthentication","1.getting-started\u002F5.authentication","i-lucide-lock",{"title":33,"path":34,"stem":35,"icon":36},"Securing your app","\u002Fgetting-started\u002Fsecuring-your-app","1.getting-started\u002F6.securing-your-app","i-lucide-shield-check",{"title":38,"path":39,"stem":40,"icon":41},"DevTools","\u002Fgetting-started\u002Fdevtools","1.getting-started\u002F7.devtools","i-lucide-radio-tower",false,{"title":44,"icon":26,"path":45,"stem":46,"children":47,"page":42},"Composables","\u002Fcomposables","2.composables",[48,53,58,63,68,72,77],{"title":49,"path":50,"stem":51,"icon":52},"useRealtimeState","\u002Fcomposables\u002Fuserealtimestate","2.composables\u002F1.useRealtimeState","i-lucide-refresh-cw",{"title":54,"path":55,"stem":56,"icon":57},"useRealtimeEvents","\u002Fcomposables\u002Fuserealtimeevents","2.composables\u002F2.useRealtimeEvents","i-lucide-radio",{"title":59,"path":60,"stem":61,"icon":62},"useRealtimeConnection","\u002Fcomposables\u002Fuserealtimeconnection","2.composables\u002F3.useRealtimeConnection","i-lucide-wifi",{"title":64,"path":65,"stem":66,"icon":67},"useRealtimePresence","\u002Fcomposables\u002Fuserealtimepresence","2.composables\u002F4.useRealtimePresence","i-lucide-users",{"title":69,"path":70,"stem":71,"icon":31},"useRealtimeLock","\u002Fcomposables\u002Fuserealtimelock","2.composables\u002F5.useRealtimeLock",{"title":73,"path":74,"stem":75,"icon":76},"useRealtimeLockRoom","\u002Fcomposables\u002Fuserealtimelockroom","2.composables\u002F6.useRealtimeLockRoom","i-lucide-list-checks",{"title":78,"path":79,"stem":80,"icon":81},"useRealtimeRoom","\u002Fcomposables\u002Fuserealtimeroom","2.composables\u002F7.useRealtimeRoom","i-lucide-door-open",{"title":83,"icon":84,"path":85,"stem":86,"children":87,"page":42},"Technical","i-lucide-cpu","\u002Ftechnical","3.technical",[88,93,97],{"title":89,"path":90,"stem":91,"icon":92},"Architecture","\u002Ftechnical\u002Farchitecture","3.technical\u002F1.architecture","i-lucide-network",{"title":94,"path":95,"stem":96,"icon":57},"Notification Layer","\u002Ftechnical\u002Fpubsub","3.technical\u002F2.pubsub",{"title":98,"path":99,"stem":100,"icon":101},"Multi-Server Sync","\u002Ftechnical\u002Fcross-server-sync","3.technical\u002F3.cross-server-sync","i-lucide-server",{"title":103,"path":104,"stem":105,"children":106,"icon":108},"Blocks","\u002Fblocks","4.blocks\u002F1.index",[107],{"title":103,"path":104,"stem":105,"icon":108},"i-lucide-layout-grid",{"title":110,"path":111,"stem":112,"children":113,"icon":115},"Components","\u002Fcomponents","5.components\u002F1.index",[114],{"title":110,"path":111,"stem":112,"icon":115},"i-lucide-component",{"id":117,"title":118,"authors":119,"body":125,"category":1040,"date":1041,"description":1042,"extension":1043,"highlighted":1044,"image":1045,"meta":1046,"navigation":1044,"path":1047,"seo":1048,"stem":1049,"tags":1050,"__hash__":1053},"blog\u002Fblog\u002Fversion-3.md","Nuxt Realtime 0.3",[120],{"name":121,"avatar":122,"to":124},"Daan van Geloven",{"src":123},"https:\u002F\u002Fgithub.com\u002Fdaanvangeloven.png","https:\u002F\u002Fgithub.com\u002Fdaanvangeloven",{"type":126,"value":127,"toc":1032},"minimark",[128,132,139,144,147,231,246,455,478,493,497,529,543,725,732,736,747,757,900,904,907,933,946,950,957,961,967,1019,1028],[129,130,131],"p",{},"Nuxt Realtime 0.3 is out. 0.2.1 closed the most urgent gaps. This release lets you lock the realtime server down completely: every connection has a verified user, and every read, write and join goes through a hook you control.",[129,133,134,135,138],{},"The full guide is ",[136,137,33],"a",{"href":34},".",[140,141,143],"h2",{"id":142},"required-authentication","Required authentication",[129,145,146],{},"One option turns it on:",[148,149,155],"pre",{"className":150,"code":151,"filename":152,"language":153,"meta":154,"style":154},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  nuxtRealtime: {\n    auth: 'required',\n  },\n})\n","nuxt.config.ts","ts","",[156,157,158,182,195,216,222],"code",{"__ignoreMap":154},[159,160,163,167,170,174,178],"span",{"class":161,"line":162},"line",1,[159,164,166],{"class":165},"s7zQu","export",[159,168,169],{"class":165}," default",[159,171,173],{"class":172},"s2Zo4"," defineNuxtConfig",[159,175,177],{"class":176},"sTEyZ","(",[159,179,181],{"class":180},"sMK4o","{\n",[159,183,185,189,192],{"class":161,"line":184},2,[159,186,188],{"class":187},"swJcz","  nuxtRealtime",[159,190,191],{"class":180},":",[159,193,194],{"class":180}," {\n",[159,196,198,201,203,206,210,213],{"class":161,"line":197},3,[159,199,200],{"class":187},"    auth",[159,202,191],{"class":180},[159,204,205],{"class":180}," '",[159,207,209],{"class":208},"sfazB","required",[159,211,212],{"class":180},"'",[159,214,215],{"class":180},",\n",[159,217,219],{"class":161,"line":218},4,[159,220,221],{"class":180},"  },\n",[159,223,225,228],{"class":161,"line":224},5,[159,226,227],{"class":180},"}",[159,229,230],{"class":176},")\n",[129,232,233,234,237,238,241,242,245],{},"Connections are authenticated in the new ",[156,235,236],{},"nuxt-realtime:authenticate"," Nitro hook. It runs before the transport opens, on the polling handshake and on the WebSocket upgrade, so a refused client gets a ",[156,239,240],{},"401"," or ",[156,243,244],{},"403"," and never an open socket.",[148,247,250],{"className":150,"code":248,"filename":249,"language":153,"meta":154,"style":154},"export default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('nuxt-realtime:authenticate', async (ctx) => {\n    const session = await getSession\u003C{ user?: { id: string, name: string } }>(ctx.event, {\n      password: process.env.SESSION_SECRET!,\n    })\n    ctx.user = session.data.user\n  })\n})\n","server\u002Fplugins\u002Frealtime-authenticate.ts",[156,251,252,278,319,385,408,415,440,448],{"__ignoreMap":154},[159,253,254,256,258,261,263,265,269,272,276],{"class":161,"line":162},[159,255,166],{"class":165},[159,257,169],{"class":165},[159,259,260],{"class":172}," defineNitroPlugin",[159,262,177],{"class":176},[159,264,177],{"class":180},[159,266,268],{"class":267},"sHdIc","nitroApp",[159,270,271],{"class":180},")",[159,273,275],{"class":274},"spNyl"," =>",[159,277,194],{"class":180},[159,279,280,283,285,288,290,293,295,297,299,301,304,307,310,313,315,317],{"class":161,"line":184},[159,281,282],{"class":176},"  nitroApp",[159,284,138],{"class":180},[159,286,287],{"class":176},"hooks",[159,289,138],{"class":180},[159,291,292],{"class":172},"hook",[159,294,177],{"class":187},[159,296,212],{"class":180},[159,298,236],{"class":208},[159,300,212],{"class":180},[159,302,303],{"class":180},",",[159,305,306],{"class":274}," async",[159,308,309],{"class":180}," (",[159,311,312],{"class":267},"ctx",[159,314,271],{"class":180},[159,316,275],{"class":274},[159,318,194],{"class":180},[159,320,321,324,327,330,333,336,339,342,345,348,351,353,357,359,362,364,366,369,372,374,376,378,381,383],{"class":161,"line":197},[159,322,323],{"class":274},"    const",[159,325,326],{"class":176}," session",[159,328,329],{"class":180}," =",[159,331,332],{"class":165}," await",[159,334,335],{"class":172}," getSession",[159,337,338],{"class":180},"\u003C{",[159,340,341],{"class":187}," user",[159,343,344],{"class":180},"?:",[159,346,347],{"class":180}," {",[159,349,350],{"class":187}," id",[159,352,191],{"class":180},[159,354,356],{"class":355},"sBMFI"," string",[159,358,303],{"class":180},[159,360,361],{"class":187}," name",[159,363,191],{"class":180},[159,365,356],{"class":355},[159,367,368],{"class":180}," }",[159,370,371],{"class":180}," }>",[159,373,177],{"class":187},[159,375,312],{"class":176},[159,377,138],{"class":180},[159,379,380],{"class":176},"event",[159,382,303],{"class":180},[159,384,194],{"class":180},[159,386,387,390,392,395,397,400,402,405],{"class":161,"line":218},[159,388,389],{"class":187},"      password",[159,391,191],{"class":180},[159,393,394],{"class":176}," process",[159,396,138],{"class":180},[159,398,399],{"class":176},"env",[159,401,138],{"class":180},[159,403,404],{"class":176},"SESSION_SECRET",[159,406,407],{"class":180},"!,\n",[159,409,410,413],{"class":161,"line":224},[159,411,412],{"class":180},"    }",[159,414,230],{"class":187},[159,416,418,421,423,426,428,430,432,435,437],{"class":161,"line":417},6,[159,419,420],{"class":176},"    ctx",[159,422,138],{"class":180},[159,424,425],{"class":176},"user",[159,427,329],{"class":180},[159,429,326],{"class":176},[159,431,138],{"class":180},[159,433,434],{"class":176},"data",[159,436,138],{"class":180},[159,438,439],{"class":176},"user\n",[159,441,443,446],{"class":161,"line":442},7,[159,444,445],{"class":180},"  }",[159,447,230],{"class":187},[159,449,451,453],{"class":161,"line":450},8,[159,452,227],{"class":180},[159,454,230],{"class":176},[129,456,457,458,461,462,465,466,469,470,473,474,477],{},"With ",[156,459,460],{},"auth: 'required'",", a connection that no hook identified is refused, the gate hooks deny by default, and presence ",[156,463,464],{},"info"," and lock ",[156,467,468],{},"ownerInfo"," stay ",[156,471,472],{},"null"," until you set them on the server. Leave ",[156,475,476],{},"auth"," unset to keep accepting anonymous connections.",[129,479,480,481,484,485,488,489,138],{},"For a cross-origin realtime server, where cookies don't reach it, send a token through ",[156,482,483],{},"ctx.query"," in the client ",[156,486,487],{},"nuxt-realtime:auth"," hook. See ",[136,490,492],{"href":491},"\u002Fgetting-started\u002Fsecuring-your-app#token-in-the-query","token in the query",[140,494,496],{"id":495},"gate-hooks-for-reads-and-writes","Gate hooks for reads and writes",[129,498,499,502,503,506,507,510,511,514,515,517,518,502,521,524,525,528],{},[156,500,501],{},"canJoinRoom",", ",[156,504,505],{},"canSubscribe"," and ",[156,508,509],{},"canPublish"," now have a sibling, ",[156,512,513],{},"canWrite",", and ",[156,516,505],{}," also covers state reads (",[156,519,520],{},"storage:get",[156,522,523],{},"storage:subscribe","). ",[156,526,527],{},"canForceRelease"," controls who may take over a lock and always denies by default.",[129,530,531,532,506,535,538,539,542],{},"Every gate gets ",[156,533,534],{},"ctx.user",[156,536,537],{},"ctx.socket",", plus ",[156,540,541],{},"ctx.deny(reason)",". The reason comes back to the client in the acknowledgement:",[148,544,547],{"className":150,"code":545,"filename":546,"language":153,"meta":154,"style":154},"export default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('nuxt-realtime:canWrite', (ctx) => {\n    const user = ctx.user as { id: string }\n    if (ctx.key.startsWith(`user:${user.id}:`)) ctx.allow = true\n    else ctx.deny('Not your key')\n  })\n})\n","server\u002Fplugins\u002Frealtime-gates.ts",[156,548,549,569,602,631,690,713,719],{"__ignoreMap":154},[159,550,551,553,555,557,559,561,563,565,567],{"class":161,"line":162},[159,552,166],{"class":165},[159,554,169],{"class":165},[159,556,260],{"class":172},[159,558,177],{"class":176},[159,560,177],{"class":180},[159,562,268],{"class":267},[159,564,271],{"class":180},[159,566,275],{"class":274},[159,568,194],{"class":180},[159,570,571,573,575,577,579,581,583,585,588,590,592,594,596,598,600],{"class":161,"line":184},[159,572,282],{"class":176},[159,574,138],{"class":180},[159,576,287],{"class":176},[159,578,138],{"class":180},[159,580,292],{"class":172},[159,582,177],{"class":187},[159,584,212],{"class":180},[159,586,587],{"class":208},"nuxt-realtime:canWrite",[159,589,212],{"class":180},[159,591,303],{"class":180},[159,593,309],{"class":180},[159,595,312],{"class":267},[159,597,271],{"class":180},[159,599,275],{"class":274},[159,601,194],{"class":180},[159,603,604,606,608,610,613,615,617,620,622,624,626,628],{"class":161,"line":197},[159,605,323],{"class":274},[159,607,341],{"class":176},[159,609,329],{"class":180},[159,611,612],{"class":176}," ctx",[159,614,138],{"class":180},[159,616,425],{"class":176},[159,618,619],{"class":165}," as",[159,621,347],{"class":180},[159,623,350],{"class":187},[159,625,191],{"class":180},[159,627,356],{"class":355},[159,629,630],{"class":180}," }\n",[159,632,633,636,638,640,642,645,647,650,652,655,658,661,663,665,668,670,672,674,677,679,681,684,686],{"class":161,"line":218},[159,634,635],{"class":165},"    if",[159,637,309],{"class":187},[159,639,312],{"class":176},[159,641,138],{"class":180},[159,643,644],{"class":176},"key",[159,646,138],{"class":180},[159,648,649],{"class":172},"startsWith",[159,651,177],{"class":187},[159,653,654],{"class":180},"`",[159,656,657],{"class":208},"user:",[159,659,660],{"class":180},"${",[159,662,425],{"class":176},[159,664,138],{"class":180},[159,666,667],{"class":176},"id",[159,669,227],{"class":180},[159,671,191],{"class":208},[159,673,654],{"class":180},[159,675,676],{"class":187},")) ",[159,678,312],{"class":176},[159,680,138],{"class":180},[159,682,683],{"class":176},"allow",[159,685,329],{"class":180},[159,687,689],{"class":688},"sfNiH"," true\n",[159,691,692,695,697,699,702,704,706,709,711],{"class":161,"line":224},[159,693,694],{"class":165},"    else",[159,696,612],{"class":176},[159,698,138],{"class":180},[159,700,701],{"class":172},"deny",[159,703,177],{"class":187},[159,705,212],{"class":180},[159,707,708],{"class":208},"Not your key",[159,710,212],{"class":180},[159,712,230],{"class":187},[159,714,715,717],{"class":161,"line":417},[159,716,445],{"class":180},[159,718,230],{"class":187},[159,720,721,723],{"class":161,"line":442},[159,722,227],{"class":180},[159,724,230],{"class":176},[129,726,727,728,138],{},"Hooks now vote. Any deny wins, then any allow, then the default, so a later hook can no longer undo an earlier deny. See ",[136,729,731],{"href":730},"\u002Fgetting-started\u002Fsecuring-your-app#how-hooks-combine","how hooks combine",[140,733,735],{"id":734},"identity-is-owned-by-the-server","Identity is owned by the server",[129,737,738,739,742,743,746],{},"The verified user lives in ",[156,740,741],{},"socket.data.user"," and is set before your ",[156,744,745],{},"io.use()"," middleware runs. No client-supplied field can set the user, the connection owner or lock ownership.",[129,748,749,750,753,754,191],{},"What other clients see in presence and lock info is decided by the new ",[156,751,752],{},"nuxt-realtime:publicInfo"," hook. The client's value only arrives as ",[156,755,756],{},"ctx.clientInfo",[148,758,761],{"className":150,"code":759,"filename":760,"language":153,"meta":154,"style":154},"export default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('nuxt-realtime:publicInfo', (ctx) => {\n    const user = ctx.user as { name: string, avatarUrl: string }\n    ctx.info = { name: user.name, avatarUrl: user.avatarUrl }\n  })\n})\n","server\u002Fplugins\u002Frealtime-public-info.ts",[156,762,763,783,815,850,888,894],{"__ignoreMap":154},[159,764,765,767,769,771,773,775,777,779,781],{"class":161,"line":162},[159,766,166],{"class":165},[159,768,169],{"class":165},[159,770,260],{"class":172},[159,772,177],{"class":176},[159,774,177],{"class":180},[159,776,268],{"class":267},[159,778,271],{"class":180},[159,780,275],{"class":274},[159,782,194],{"class":180},[159,784,785,787,789,791,793,795,797,799,801,803,805,807,809,811,813],{"class":161,"line":184},[159,786,282],{"class":176},[159,788,138],{"class":180},[159,790,287],{"class":176},[159,792,138],{"class":180},[159,794,292],{"class":172},[159,796,177],{"class":187},[159,798,212],{"class":180},[159,800,752],{"class":208},[159,802,212],{"class":180},[159,804,303],{"class":180},[159,806,309],{"class":180},[159,808,312],{"class":267},[159,810,271],{"class":180},[159,812,275],{"class":274},[159,814,194],{"class":180},[159,816,817,819,821,823,825,827,829,831,833,835,837,839,841,844,846,848],{"class":161,"line":197},[159,818,323],{"class":274},[159,820,341],{"class":176},[159,822,329],{"class":180},[159,824,612],{"class":176},[159,826,138],{"class":180},[159,828,425],{"class":176},[159,830,619],{"class":165},[159,832,347],{"class":180},[159,834,361],{"class":187},[159,836,191],{"class":180},[159,838,356],{"class":355},[159,840,303],{"class":180},[159,842,843],{"class":187}," avatarUrl",[159,845,191],{"class":180},[159,847,356],{"class":355},[159,849,630],{"class":180},[159,851,852,854,856,858,860,862,864,866,868,870,873,875,877,879,881,883,886],{"class":161,"line":218},[159,853,420],{"class":176},[159,855,138],{"class":180},[159,857,464],{"class":176},[159,859,329],{"class":180},[159,861,347],{"class":180},[159,863,361],{"class":187},[159,865,191],{"class":180},[159,867,341],{"class":176},[159,869,138],{"class":180},[159,871,872],{"class":176},"name",[159,874,303],{"class":180},[159,876,843],{"class":187},[159,878,191],{"class":180},[159,880,341],{"class":176},[159,882,138],{"class":180},[159,884,885],{"class":176},"avatarUrl",[159,887,630],{"class":180},[159,889,890,892],{"class":161,"line":224},[159,891,445],{"class":180},[159,893,230],{"class":187},[159,895,896,898],{"class":161,"line":417},[159,897,227],{"class":180},[159,899,230],{"class":176},[140,901,903],{"id":902},"extending-the-server","Extending the server",[129,905,906],{},"Two new server auto-imports let you build on the same checks the built-in events use:",[908,909,910,917],"ul",{},[911,912,913,916],"li",{},[156,914,915],{},"guard(socket, { kind, name, data })"," applies the rate limit, size limit and matching gate hook to a custom socket event.",[911,918,919,922,923,502,926,506,929,932],{},[156,920,921],{},"useRealtimeServer()"," gives trusted server code ",[156,924,925],{},"publish",[156,927,928],{},"getState",[156,930,931],{},"setState",", which reach clients on every instance.",[129,934,935,506,938,941,942,138],{},[156,936,937],{},"nuxt-realtime:afterWrite",[156,939,940],{},"nuxt-realtime:afterPublish"," fire after a successful write or publish, for audit logs, history and webhooks. See ",[136,943,945],{"href":944},"\u002Fgetting-started\u002Fsecuring-your-app#extending-the-server","extending the server",[140,947,949],{"id":948},"multi-instance","Multi-instance",[129,951,952,953,956],{},"With Redis, presence and lock changes are now relayed to clients on every instance. Each instance also writes a liveness timestamp, and when one is silent for longer than the new ",[156,954,955],{},"instanceTimeoutMs"," (default 30 seconds) its locks, presence and room membership are released. A crashed instance no longer leaves them behind.",[140,958,960],{"id":959},"upgrading","Upgrading",[129,962,963,964,966],{},"These changes apply even with ",[156,965,476],{}," unset:",[908,968,969,975,989,994,1009,1016],{},[911,970,971,972,974],{},"A cross-origin WebSocket gets a ",[156,973,244],{}," before the upgrade, instead of being opened and closed.",[911,976,977,978,981,982,985,986,138],{},"Gate hooks vote: ",[156,979,980],{},"ctx.allow = true"," no longer overrides another hook's deny, and ",[156,983,984],{},"ctx.allow"," starts as ",[156,987,988],{},"undefined",[911,990,991,993],{},[156,992,501],{}," runs on every explicit join, so a revoked permission takes effect on reconnect.",[911,995,996,999,1000,514,1003,1006,1007,138],{},[156,997,998],{},"useRealtimePresence().join()"," resolves to a ",[156,1001,1002],{},"boolean",[156,1004,1005],{},"members"," values can be ",[156,1008,472],{},[911,1010,1011,1012,1015],{},"An ",[156,1013,1014],{},"authenticate"," hook that rejects refuses the connection.",[911,1017,1018],{},"Calls dropped by the rate limit or from a rejected socket get a failed acknowledgement instead of hanging.",[129,1020,1021,1022,138],{},"The full list is in the ",[136,1023,1027],{"href":1024,"rel":1025},"https:\u002F\u002Fgithub.com\u002Fdaanvangeloven\u002Fnuxt-realtime\u002Fblob\u002Fmaster\u002FCHANGELOG.md",[1026],"nofollow","changelog",[1029,1030,1031],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}",{"title":154,"searchDepth":162,"depth":184,"links":1033},[1034,1035,1036,1037,1038,1039],{"id":142,"depth":184,"text":143},{"id":495,"depth":184,"text":496},{"id":734,"depth":184,"text":735},{"id":902,"depth":184,"text":903},{"id":948,"depth":184,"text":949},{"id":959,"depth":184,"text":960},"Release","2026-11-30","Secure by default. Required authentication, gate hooks for every read and write, server-owned identity, and extension seams for your own events.","md",true,null,{},"\u002Fblog\u002Fversion-3",{"title":118,"description":1042},"blog\u002Fversion-3",[1051,1052],"release","security","y7jmXnNDkP0abjbWwuZ1gCrZZdEk15_-EifIeeIsR0U",[1045,1055],{"title":1056,"path":1057,"stem":1058,"description":1059,"children":-1},"Nuxt Realtime 0.2.1","\u002Fblog\u002Fversion-2-1","blog\u002Fversion-2-1","Security hardening for the realtime server, including origin checks, reconnect secrets, per-connection limits and authorization hooks.",1796040901289]