@atproto/identity 0.4.11 → 0.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atproto/identity
2
2
 
3
+ ## 0.4.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [#4669](https://github.com/bluesky-social/atproto/pull/4669) [`dc9644b`](https://github.com/bluesky-social/atproto/commit/dc9644bbeb1892931809568895162d823e4743d2) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Fix lint warning
8
+
3
9
  ## 0.4.11
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/identity",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "license": "MIT",
5
5
  "description": "Library for decentralized identities in atproto using DIDs and handles",
6
6
  "keywords": [
@@ -20,7 +20,7 @@
20
20
  "node": ">=18.7.0"
21
21
  },
22
22
  "dependencies": {
23
- "@atproto/common-web": "^0.4.16",
23
+ "@atproto/common-web": "^0.4.17",
24
24
  "@atproto/crypto": "^0.4.5"
25
25
  },
26
26
  "devDependencies": {
@@ -1,12 +1,12 @@
1
1
  import http from 'node:http'
2
2
  import cors from 'cors'
3
- import express from 'express'
3
+ import express, { Router, json } from 'express'
4
4
  import { DidDocument } from '../../src'
5
5
  import { DidWebDb } from './db'
6
6
 
7
7
  const DOC_PATH = '/.well-known/did.json'
8
8
 
9
- const routes = express.Router()
9
+ const routes = Router()
10
10
 
11
11
  // Get DID Doc
12
12
  routes.get('/*', async (req, res) => {
@@ -60,7 +60,7 @@ export class DidWebServer {
60
60
  const app = express()
61
61
 
62
62
  app.use(cors())
63
- app.use(express.json())
63
+ app.use(json())
64
64
  app.use((_req, res, next) => {
65
65
  res.locals.db = db
66
66
  next()