From 6e2636512086e44669d7bcf1b47413d2ab9499c5 Mon Sep 17 00:00:00 2001 From: TripleChecker <197429080+triplechecker-com@users.noreply.github.com> Date: Fri, 4 Jul 2025 17:00:43 +0300 Subject: [PATCH] Fix: Correct typos in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf12865..198c9dc 100644 --- a/README.md +++ b/README.md @@ -217,7 +217,7 @@ This client includes a `validateWebhook` convenience function that you can use t To validate webhooks: 1. Check out the [webhooks guide](https://replicate.com/docs/webhooks) to get started. -1. [Retrieve your webhook signing secret](https://replicate.com/docs/webhooks#retrieving-the-webhook-signing-key) and store it in your enviroment. +1. [Retrieve your webhook signing secret](https://replicate.com/docs/webhooks#retrieving-the-webhook-signing-key) and store it in your environment. 1. Update your webhook handler to call `validateWebhook(request, secret)`, where `request` is an instance of a [web-standard `Request` object](https://developer.mozilla.org/en-US/docs/Web/API/object), and `secret` is the signing secret for your environment. Here's an example of how to validate webhooks using Next.js: @@ -364,7 +364,7 @@ Returns `Promise` which resolves with the output of running the model. > [!NOTE] > Currently the TypeScript return type of `replicate.run()` is `Promise` this is -> misleading as a model can return array types as well as primative types like strings, +> misleading as a model can return array types as well as primitive types like strings, > numbers and booleans. Example: