The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(embeddings): twilio meta export
Greg Richardson59caf7d1dd7a
diff --git a/apps/docs/pages/guides/auth/phone-login/twilio.mdx b/apps/docs/pages/guides/auth/phone-login/twilio.mdxindex 11bca2d9bac..2b6fd7f2b18 100644--- a/apps/docs/pages/guides/auth/phone-login/twilio.mdx+++ b/apps/docs/pages/guides/auth/phone-login/twilio.mdx@@ -1,4 +1,5 @@import Layout from '~/layouts/DefaultGuideLayout'+export const meta = {id: 'auth-twilio',title: 'Phone Auth with Twilio',@@ -308,33 +309,35 @@ To make use of WhatsApp OTP, please complete the following steps:- Submit a template via the [Twilio Guide For Submitting WhatsApp templates](https://www.twilio.com/docs/whatsapp/tutorial/send-whatsapp-notification-messages-templates#creating-message-templates-and-submitting-them-for-approval)<Admonition type="caution">-The message template submitted to Twilio must exactly match the SMS Body entered on the Supabase dashboard.+ The message template submitted to Twilio must exactly match the SMS Body entered on the Supabase+ dashboard.</Admonition>The sign in process with WhatsApp is similar to the sign in process for SMS. Do note the additional `whatsapp` parameter added:```js-const {data, error } = await supabase.auth.signInWithOtp({- phone: '+57336567365',- options: {- channel:'whatsapp'- }- })+const { data, error } = await supabase.auth.signInWithOtp({+ phone: '+57336567365',+ options: {+ channel: 'whatsapp',+ },+})```You can also sign up with `whatsapp` as a channel:```js-const {data, error }= await supabase.auth.signUp({- phone: '+57336567365',- password: 'testsupabasenow',- options: {- channel:'whatsapp',- }+const { data, error } = await supabase.auth.signUp({+ phone: '+57336567365',+ password: 'testsupabasenow',+ options: {+ channel: 'whatsapp',+ },})```There is no change in the verification process, you should continue to use the `sms` type for verification+```js// After receiving a WhatsApp OTPlet { data, error } = await supabase.auth.verifyOtp({diff --git a/apps/docs/scripts/search/sources/markdown.ts b/apps/docs/scripts/search/sources/markdown.tsindex 1c7b29640c8..851839a772b 100644--- a/apps/docs/scripts/search/sources/markdown.ts+++ b/apps/docs/scripts/search/sources/markdown.ts@@ -110,7 +110,8 @@ export function processMdxForSearch(content: string): ProcessedMdx {})const meta = extractMetaExport(mdxTree)- const serializableMeta: Json = JSON.parse(JSON.stringify(meta))++ const serializableMeta: Json = meta && JSON.parse(JSON.stringify(meta))// Remove all MDX elements from markdownconst mdTree = filter(