Skip to content

Commit

Permalink
Project update. [p][robotic]
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswrks committed Mar 8, 2024
1 parent 8460981 commit 09900d9
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 8, 2024 10:56 PM UTC.
# Last generated Mar 8, 2024 11:07 PM UTC.

[production]
node >= 20.9.0
Expand Down
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 8, 2024 10:56 PM UTC.
# Last generated Mar 8, 2024 11:07 PM UTC.

# Locals

Expand Down
8 changes: 4 additions & 4 deletions .env.vault
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ DOTENV_VAULT_MAIN="3rfi+ClkONvfHPiU9FTBcC1+Um/L8QeM9dRw1jFzEqzZXw=="
DOTENV_VAULT_MAIN_VERSION=1

# dev
DOTENV_VAULT_DEV="t8eoerWaqii8UEh0wVnfjZaHTBO/ErR4zcWpmCrOQpctAbWopWsu0w1vPKX63PHsVFr9ozJ/Jn84/TZo83AslLTErdeEm59C8ONiXfQn83VA6waZ3rNWd8SwMptTbiprJszpB2aDWcirakZOvVuZApJYq1Zp21x699aV5d6HpQxeZwD+6TV3dBCkTQI7vffhjsz95vnMk8ZNzM/knPWO2EvUk0OqjJSx2Dv8xGQ5UA3qpaUTFpNB2fj8eA2op4lcFasIgU443B1iBD1FQtmgFxynt1wuxTA+8wXIpootzye16jK8wJhQaQ7NgR1nfPFHGR2GmxMjc8gMzFiHwdySqgvMyBL1d+51Vig8vq156r8yRcsW/Xd8YSJwfEctDFBQWLc3FOl+R79PJDkRswSvuinJdho1jf/KhUyI6NbjE8nNA8Gm0H27BjRgjQXBk4gf/cohNyJ/mvgAx3NbfPxLQ9D3LmYcAI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age
DOTENV_VAULT_STAGE="bfqZYD8oVLWMZ0JR5LICV+sB/btaXavszxZLxTfwSH8U5fg="
Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 8, 2024 10:56 PM UTC.
# Last generated Mar 8, 2024 11:07 PM UTC.

# Default

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 8, 2024 10:56 PM UTC.
# Last generated Mar 8, 2024 11:07 PM UTC.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 8, 2024 10:56 PM UTC.
# Last generated Mar 8, 2024 11:07 PM UTC.

# Locals

Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 8, 2024 10:56 PM UTC.
# Last generated Mar 8, 2024 11:07 PM UTC.

# Packages

Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @note This entire file will be updated automatically.
* @note Instead of editing here, please review `./settings.mjs`.
*
* Last generated using `./settings.mjs` Mar 8, 2024 10:56 PM UTC.
* Last generated using `./settings.mjs` Mar 8, 2024 11:07 PM UTC.
*/
{
"editor.formatOnType": false,
Expand Down
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Generated data.
# <generated:start>

# Last generated Mar 8, 2024 10:56 PM UTC.
# Last generated Mar 8, 2024 11:07 PM UTC.

# Locals

Expand Down
43 changes: 23 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "1.0.286",
"version": "1.0.287",
"license": "GPL-3.0-or-later",
"name": "@clevercanyon/utilities.cfw",
"description": "Utilities for JavaScript apps running in a Cloudflare Worker environment.",
Expand Down Expand Up @@ -64,7 +64,7 @@
},
"dependencies": {},
"peerDependencies": {
"@clevercanyon/utilities": "^1.0.891",
"@clevercanyon/utilities": "^1.0.892",
"@cloudflare/ai": "1.0.53",
"@upstash/ratelimit": "1.0.0",
"@upstash/redis": "1.28.0"
Expand Down
5 changes: 3 additions & 2 deletions src/cfw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export const handleFetchEvent = async (ircData: InitialRequestContextData): Prom
auditLogger = baseAuditLogger.withContext({}, { request });
}
const url = $url.parse(request.url) as $type.cfw.URL,
originalURL = $url.parse(originalRequest.url) as $type.cfw.URL,
consentLogger = baseConsentLogger.withContext({}, { request }),
rcData = $obj.freeze({
scheduledEvent,
Expand All @@ -155,8 +156,8 @@ export const handleFetchEvent = async (ircData: InitialRequestContextData): Prom
}
response ??= $http.prepareResponse(request, { status: 404 }) as Promise<$type.cfw.Response>;

if (url.searchParams.has('utx_audit_log')) {
const token = url.searchParams.get('utx_audit_log') || '',
if (originalURL.searchParams.has('utx_audit_log')) {
const token = originalURL.searchParams.get('utx_audit_log') || '',
validToken = auditLoggerBearerToken.split(' ', 2)[1] || '';

if (token && validToken && $crypto.safeEqual(token, validToken)) {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @note This entire file will be updated automatically.
* @note Instead of editing here, please review `./tsconfig.mjs`.
*
* Last generated using `./tsconfig.mjs` Mar 8, 2024 10:56 PM UTC.
* Last generated using `./tsconfig.mjs` Mar 8, 2024 11:07 PM UTC.
*/
{
"include": ["./src/**/*", "./dev-types.d.ts"],
Expand Down
2 changes: 1 addition & 1 deletion wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# @note This entire file will be updated automatically.
# @note Instead of editing here, please review `./wrangler.mjs`.
#
# Last generated using `./wrangler.mjs` Mar 8, 2024 10:56 PM UTC.
# Last generated using `./wrangler.mjs` Mar 8, 2024 11:07 PM UTC.
##

send_metrics = false
Expand Down

0 comments on commit 09900d9

Please sign in to comment.