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 Apr 9, 2024
1 parent a5dbe7f commit 4571882
Show file tree
Hide file tree
Showing 14 changed files with 75 additions and 60 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 Apr 8, 2024 2:19 PM UTC.
# Last generated Apr 9, 2024 10:22 AM 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 Apr 8, 2024 2:19 PM UTC.
# Last generated Apr 9, 2024 10:22 AM 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="7GW98NfL4hM4N6HbfeDXCKreVxKvcVPupFRnZ8XJ+pomaQ=="
DOTENV_VAULT_MAIN_VERSION=1

# dev
DOTENV_VAULT_DEV="T6lcbJN7DBvLCpphBlGltyXfxY2uVStOCy+y/TPmASrMpgXFOpmTURdwezSL94qwT58deJUm7zQdltU7UEt4BUdB1qcaCNPpcVT1109buG9mwR2mC3c/8JV9ZTNG9+LDCtvLlvzhSBer42ymWa1u0vG8wmosdgLFJFHUJx0uVpshpuRSCjHIQu54xRAMYUddrSus43soamaY2qAIc1IqV46uz4XsWvMFs0AfBtQQcoVY9HM54O0upstnoqHybT/83Q=="
DOTENV_VAULT_DEV_VERSION=521
DOTENV_VAULT_DEV="BYroaB8+37kRGuzCVmiIBk90s8EkM1HXyUMhNfvTSFPiOQb9iJZZvaft2FDpxeVdVnEB6gSOknNAgXVfRVP6WCF/4SOmErXo3Ae8iE2vYcxe2sQ3LjUbY5c7YbYDU2Vt/NDuMz0UY8UtYXYcwOd7H8LCMF3H8I4AHuov51xhADuwgcu9BqwCEMZQVfiN6OeoMoFLM/YLomHjYf4gwnkfeZv8qcxXL0jQWVkW4sd//A19RFv8LZaPbwrArFBObO1E0A=="
DOTENV_VAULT_DEV_VERSION=523

# ci
DOTENV_VAULT_CI="rHFWDINIJlhQv+cXz6WzFgECpPOTsxplfNv11xcftwn0JQ+p/T3ee52v5eaF0EFXK3XcLadeYFpne93dz811qEy+s3mt2qAKtI1iLh8KNebHbhNdyMpun/d3MTJzO8Wf1dmxQtFtp7mUt3jh4FjoeYlXx5sIKfmO2h5oEwl/xA=="
DOTENV_VAULT_CI_VERSION=521
DOTENV_VAULT_CI="3uvNirWzDsBJeOxbYib71CuU6Ux8PEVavWOjydbmn0N9zeX32N+zJEFDLW6fO5WKOYfan9YBuCKBkOpC50e495eUv3aN3snjh/c/PLUzEBPit9PXBPw3kUKi9CwMTF6NvEGed/ZsnLmWeUXmETkJNX5Ry9ekCpq4dBF4lUhzfQ=="
DOTENV_VAULT_CI_VERSION=523

# stage
DOTENV_VAULT_STAGE="aRP8su2YV4jZu3w1HZ/SLaots0IwJDFw75TCpvXEFeNp7tw="
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 Apr 8, 2024 2:19 PM UTC.
# Last generated Apr 9, 2024 10:22 AM 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 Apr 8, 2024 2:19 PM UTC.
# Last generated Apr 9, 2024 10:22 AM 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 Apr 8, 2024 2:19 PM UTC.
# Last generated Apr 9, 2024 10:22 AM 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 Apr 8, 2024 2:19 PM UTC.
# Last generated Apr 9, 2024 10:22 AM 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` Apr 8, 2024 2:19 PM UTC.
* Last generated using `./settings.mjs` Apr 9, 2024 10:22 AM 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 Apr 8, 2024 2:19 PM UTC.
# Last generated Apr 9, 2024 10:22 AM UTC.

# Locals

Expand Down
90 changes: 45 additions & 45 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "1.0.947",
"version": "1.0.948",
"license": "GPL-3.0-or-later",
"name": "@clevercanyon/utilities",
"description": "Utilities for JavaScript apps running in any environment.",
Expand Down
15 changes: 15 additions & 0 deletions src/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,21 @@ export const authToken = (request?: $type.Request): string => {
return $app.etcConfig().user?.authToken || '';
};

/**
* Checks if user has auth data.
*
* @param request Optional HTTP request.
*
* - If not passed, only a web environment or an app’s etc config can provide.
*
* @returns True if user has auth data.
*
* - Only that a user has auth data. Not that it is valid auth data.
*/
export const hasAuthData = (request?: $type.Request): boolean => {
return utxId(request) ? true : false;
};

/**
* Updates auth data.
*
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` Apr 8, 2024 2:19 PM UTC.
* Last generated using `./tsconfig.mjs` Apr 9, 2024 10:22 AM 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` Apr 8, 2024 2:19 PM UTC.
# Last generated using `./wrangler.mjs` Apr 9, 2024 10:22 AM UTC.
##

send_metrics = false
Expand Down

0 comments on commit 4571882

Please sign in to comment.