From bf5d870b4e1466291c3cbdcba3001ab28f3ea400 Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Sun, 10 Jul 2022 01:52:09 +1000 Subject: [PATCH] adds support for isEUCountry (#245) * adds support for isEUCountry Docs: https://developers.cloudflare.com/workers/runtime-apis/request/#incomingrequestcfproperties * fix isEUCountry type to string? Co-authored-by: Adam Skoufis * add changeset * make the changeset be a patch since it's a bugfix Co-authored-by: Adam Skoufis Co-authored-by: Sunil Pai --- .changeset/2022-06-01.md | 5 +++++ overrides/cf.d.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/2022-06-01.md diff --git a/.changeset/2022-06-01.md b/.changeset/2022-06-01.md new file mode 100644 index 00000000..d37e7ca3 --- /dev/null +++ b/.changeset/2022-06-01.md @@ -0,0 +1,5 @@ +--- +"@cloudflare/workers-types": patch +--- + +Added support for `isEUCountry` property on `IncomingRequestCfProperties` diff --git a/overrides/cf.d.ts b/overrides/cf.d.ts index fde66b64..a660c395 100644 --- a/overrides/cf.d.ts +++ b/overrides/cf.d.ts @@ -315,6 +315,7 @@ interface IncomingRequestCfProperties { */ country: string; httpProtocol: string; + isEUCountry?: string; latitude?: string; longitude?: string; /**