Skip to content

Commit 2d6323e

Browse files
committed
naming cleanup
1 parent dc19817 commit 2d6323e

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

ARCHITECTURE.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,17 +208,12 @@ These are observations, not blockers. Nothing here breaks the build.
208208
Packages to link the package to its repo); `author`, `bugs`, `homepage`, and
209209
`keywords` are still absent. Cosmetic.
210210

211-
7. **Repo / directory / package name all differ.** The checkout and repo are
212-
`peek-gql-js-mapper` while the package is `@peek-travel/app-utilities`.
213-
Harmless (GitHub Packages links them via the `repository` field), but can be
214-
mildly confusing.
215-
216-
8. **`jsonwebtoken` for HMAC-only signing.** It's the single runtime dependency
211+
7. **`jsonwebtoken` for HMAC-only signing.** It's the single runtime dependency
217212
and pulls a fair amount of transitive weight for what is effectively an
218213
HMAC-SHA `sign()`. Not a problem, just noting it's the one thing standing
219214
between this and a zero-runtime-dependency library; Node's built-in `crypto`
220215
could sign the JWT if footprint ever matters.
221216

222-
9. **No validation that `leewaySeconds < ttlSeconds`.** If a caller sets leeway
217+
8. **No validation that `leewaySeconds < ttlSeconds`.** If a caller sets leeway
223218
≥ TTL, the cached token's `expiresAtMs` would be in the past and a fresh JWT
224219
would be minted on every request. Low risk (defaults are sane), but unguarded.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "UNLICENSED",
66
"repository": {
77
"type": "git",
8-
"url": "git+https://github.com/peek-travel/peek-gql-js-mapper.git"
8+
"url": "git+https://github.com/peek-travel/app-utilities.git"
99
},
1010
"type": "module",
1111
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)