Skip to content

Commit

Permalink
chore: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoboucas committed Oct 17, 2023
1 parent 479af4e commit 99a0e4c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import { env } from 'node:process'
import { fetchAndRetry } from './retry.ts'
import { BlobInput, Fetcher, HTTPMethod } from './types.ts'

// The name of the environment variable that holds the context in a Base64,
// JSON-encoded object. If we ever need to change the encoding or the shape
// of this object, we should bump the version and create a new variable, so
// that the client knows how to consume the data and can advise the user to
// update the client if needed.
/**
* The name of the environment variable that holds the context in a Base64,
* JSON-encoded object. If we ever need to change the encoding or the shape
* of this object, we should bump the version and create a new variable, so
* that the client knows how to consume the data and can advise the user to
* update the client if needed.
*/
export const NETLIFY_CONTEXT_VARIABLE = 'NETLIFY_BLOBS_CONTEXT'

export interface Context {
Expand Down

0 comments on commit 99a0e4c

Please sign in to comment.