@atproto/identity 0.3.1 → 0.3.3-next.0
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 +17 -0
- package/LICENSE.txt +1 -1
- package/dist/did/atproto-data.d.ts +5 -0
- package/dist/did/atproto-data.d.ts.map +1 -0
- package/dist/did/atproto-data.js +92 -0
- package/dist/did/atproto-data.js.map +1 -0
- package/dist/did/base-resolver.d.ts +1 -0
- package/dist/did/base-resolver.d.ts.map +1 -0
- package/dist/did/base-resolver.js +105 -0
- package/dist/did/base-resolver.js.map +1 -0
- package/dist/did/did-resolver.d.ts +1 -0
- package/dist/did/did-resolver.d.ts.map +1 -0
- package/dist/did/did-resolver.js +41 -0
- package/dist/did/did-resolver.js.map +1 -0
- package/dist/did/index.d.ts +1 -0
- package/dist/did/index.d.ts.map +1 -0
- package/dist/did/index.js +22 -0
- package/dist/did/index.js.map +1 -0
- package/dist/did/memory-cache.d.ts +2 -1
- package/dist/did/memory-cache.d.ts.map +1 -0
- package/dist/did/memory-cache.js +59 -0
- package/dist/did/memory-cache.js.map +1 -0
- package/dist/did/plc-resolver.d.ts +1 -0
- package/dist/did/plc-resolver.d.ts.map +1 -0
- package/dist/did/plc-resolver.js +70 -0
- package/dist/did/plc-resolver.js.map +1 -0
- package/dist/did/web-resolver.d.ts +1 -0
- package/dist/did/web-resolver.d.ts.map +1 -0
- package/dist/did/web-resolver.js +85 -0
- package/dist/did/web-resolver.js.map +1 -0
- package/dist/errors.d.ts +1 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +70 -0
- package/dist/errors.js.map +1 -0
- package/dist/handle/index.d.ts +1 -0
- package/dist/handle/index.d.ts.map +1 -0
- package/dist/handle/index.js +112 -0
- package/dist/handle/index.js.map +1 -0
- package/dist/id-resolver.d.ts +1 -0
- package/dist/id-resolver.d.ts.map +1 -0
- package/dist/id-resolver.js +32 -0
- package/dist/id-resolver.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -28471
- package/dist/index.js.map +1 -7
- package/dist/types.d.ts +6 -5
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +6 -0
- package/dist/types.js.map +1 -0
- package/jest.config.js +4 -3
- package/package.json +8 -9
- package/src/did/atproto-data.ts +6 -0
- package/test.log +60 -0
- package/tsconfig.build.json +6 -2
- package/tsconfig.json +3 -9
- package/tsconfig.tests.json +7 -0
- package/babel.config.js +0 -3
- package/build.js +0 -15
package/dist/types.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { DidDocument } from '@atproto/common-web';
|
|
2
2
|
export { didDocument } from '@atproto/common-web';
|
|
3
3
|
export type { DidDocument } from '@atproto/common-web';
|
|
4
|
-
export
|
|
4
|
+
export type IdentityResolverOpts = {
|
|
5
5
|
timeout?: number;
|
|
6
6
|
plcUrl?: string;
|
|
7
7
|
didCache?: DidCache;
|
|
8
8
|
backupNameservers?: string[];
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type HandleResolverOpts = {
|
|
11
11
|
timeout?: number;
|
|
12
12
|
backupNameservers?: string[];
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type DidResolverOpts = {
|
|
15
15
|
timeout?: number;
|
|
16
16
|
plcUrl?: string;
|
|
17
17
|
didCache?: DidCache;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type AtprotoData = {
|
|
20
20
|
did: string;
|
|
21
21
|
signingKey: string;
|
|
22
22
|
handle: string;
|
|
23
23
|
pds: string;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type CacheResult = {
|
|
26
26
|
did: string;
|
|
27
27
|
doc: DidDocument;
|
|
28
28
|
updatedAt: number;
|
|
@@ -36,3 +36,4 @@ export interface DidCache {
|
|
|
36
36
|
clearEntry(did: string): Promise<void>;
|
|
37
37
|
clear(): Promise<void>;
|
|
38
38
|
}
|
|
39
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEtD,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,WAAW,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,CACN,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,WAAW,EAChB,UAAU,CAAC,EAAE,WAAW,GACvB,OAAO,CAAC,IAAI,CAAC,CAAA;IAChB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IACpD,YAAY,CACV,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,EACzC,UAAU,CAAC,EAAE,WAAW,GACvB,OAAO,CAAC,IAAI,CAAC,CAAA;IAChB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACtC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CACvB"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.didDocument = void 0;
|
|
4
|
+
var common_web_1 = require("@atproto/common-web");
|
|
5
|
+
Object.defineProperty(exports, "didDocument", { enumerable: true, get: function () { return common_web_1.didDocument; } });
|
|
6
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAEA,kDAAiD;AAAxC,yGAAA,WAAW,OAAA"}
|
package/jest.config.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/** @type {import('jest').Config} */
|
|
3
2
|
module.exports = {
|
|
4
|
-
...base,
|
|
5
3
|
displayName: 'Identity',
|
|
4
|
+
transform: { '^.+\\.(t|j)s$': '@swc/jest' },
|
|
5
|
+
transformIgnorePatterns: [`<rootDir>/node_modules/(?!get-port)`],
|
|
6
|
+
setupFiles: ['<rootDir>/../../jest.setup.ts'],
|
|
6
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/identity",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3-next.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Library for decentralized identities in atproto using DIDs and handles",
|
|
6
6
|
"keywords": [
|
|
@@ -15,24 +15,23 @@
|
|
|
15
15
|
"directory": "packages/identity"
|
|
16
16
|
},
|
|
17
17
|
"main": "dist/index.js",
|
|
18
|
+
"types": "dist/index.d.ts",
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"axios": "^0.27.2",
|
|
20
|
-
"@atproto/common-web": "^0.2.
|
|
21
|
-
"@atproto/crypto": "^0.
|
|
21
|
+
"@atproto/common-web": "^0.2.4-next.0",
|
|
22
|
+
"@atproto/crypto": "^0.3.1-next.0"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
24
25
|
"@did-plc/lib": "^0.0.1",
|
|
25
26
|
"@did-plc/server": "^0.0.1",
|
|
26
27
|
"cors": "^2.8.5",
|
|
27
28
|
"express": "^4.18.2",
|
|
28
|
-
"get-port": "^6.1.2"
|
|
29
|
+
"get-port": "^6.1.2",
|
|
30
|
+
"jest": "^28.1.2"
|
|
29
31
|
},
|
|
30
32
|
"scripts": {
|
|
31
33
|
"test": "jest",
|
|
32
34
|
"test:log": "cat test.log | pino-pretty",
|
|
33
|
-
"build": "
|
|
34
|
-
|
|
35
|
-
"update-main-to-dist": "node ../../update-main-to-dist.js packages/identity"
|
|
36
|
-
},
|
|
37
|
-
"types": "dist/index.d.ts"
|
|
35
|
+
"build": "tsc --build tsconfig.build.json"
|
|
36
|
+
}
|
|
38
37
|
}
|
package/src/did/atproto-data.ts
CHANGED
|
@@ -20,7 +20,13 @@ export {
|
|
|
20
20
|
export const getKey = (doc: DidDocument): string | undefined => {
|
|
21
21
|
const key = getSigningKey(doc)
|
|
22
22
|
if (!key) return undefined
|
|
23
|
+
return getDidKeyFromMultibase(key)
|
|
24
|
+
}
|
|
23
25
|
|
|
26
|
+
export const getDidKeyFromMultibase = (key: {
|
|
27
|
+
type: string
|
|
28
|
+
publicKeyMultibase: string
|
|
29
|
+
}): string | undefined => {
|
|
24
30
|
const keyBytes = crypto.multibaseToBytes(key.publicKeyMultibase)
|
|
25
31
|
let didKey: string | undefined = undefined
|
|
26
32
|
if (key.type === 'EcdsaSecp256r1VerificationKey2019') {
|
package/test.log
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{"level":30,"time":1689275840930,"pid":71480,"hostname":"dicorcia.local","req":{"id":1,"method":"POST","url":"/did%3Aplc%3Awal42s6ti6sjc6frkwilq5hv","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","content-type":"application/json","user-agent":"axios/1.3.4","content-length":"433","accept-encoding":"gzip, compress, deflate, br","host":"localhost:59978","connection":"close"},"remoteAddress":"::1","remotePort":59979},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"text/plain; charset=utf-8","content-length":"2","etag":"W/\"2-nOO9QiTIwXgNtWtBJezz8kv3SLc\""}},"responseTime":26,"msg":"request completed"}
|
|
2
|
+
{"level":30,"time":1689275840954,"pid":71480,"hostname":"dicorcia.local","req":{"id":2,"method":"GET","url":"/did%3Aplc%3Awal42s6ti6sjc6frkwilq5hv","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59978","connection":"close"},"remoteAddress":"::1","remotePort":59980},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-RJkkO5YJwpIfpAOUfQbM1GWVX6I\""}},"responseTime":4,"msg":"request completed"}
|
|
3
|
+
{"level":30,"time":1689275840963,"pid":71480,"hostname":"dicorcia.local","req":{"id":3,"method":"GET","url":"/did%3Aplc%3Awal42s6ti6sjc6frkwilq5hv","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59978","connection":"close"},"remoteAddress":"::1","remotePort":59981},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-RJkkO5YJwpIfpAOUfQbM1GWVX6I\""}},"responseTime":4,"msg":"request completed"}
|
|
4
|
+
{"level":30,"time":1689275840967,"pid":71480,"hostname":"dicorcia.local","req":{"id":4,"method":"GET","url":"/did%3Aplc%3Awal42s6ti6sjc6frkwilq5hv","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59978","connection":"close"},"remoteAddress":"::1","remotePort":59982},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-RJkkO5YJwpIfpAOUfQbM1GWVX6I\""}},"responseTime":3,"msg":"request completed"}
|
|
5
|
+
{"level":30,"time":1689275840978,"pid":71480,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3Awal42s6ti6sjc6frkwilq5hv","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59978","connection":"close"},"remoteAddress":"::1","remotePort":59983},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-RJkkO5YJwpIfpAOUfQbM1GWVX6I\""}},"responseTime":3,"msg":"request completed"}
|
|
6
|
+
{"level":30,"time":1689275840983,"pid":71480,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc%3Awal42s6ti6sjc6frkwilq5hv","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59978","connection":"close"},"remoteAddress":"::1","remotePort":59984},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-RJkkO5YJwpIfpAOUfQbM1GWVX6I\""}},"responseTime":3,"msg":"request completed"}
|
|
7
|
+
{"level":30,"time":1689275840994,"pid":71480,"hostname":"dicorcia.local","req":{"id":7,"method":"GET","url":"/did%3Aplc%3Awal42s6ti6sjc6frkwilq5hv","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59978","connection":"close"},"remoteAddress":"::1","remotePort":59985},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-RJkkO5YJwpIfpAOUfQbM1GWVX6I\""}},"responseTime":4,"msg":"request completed"}
|
|
8
|
+
{"level":30,"time":1689275841162,"pid":71479,"hostname":"dicorcia.local","req":{"id":1,"method":"POST","url":"/did%3Aplc%3A32jih6tnrtjjx36i4c4oybll","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","content-type":"application/json","user-agent":"axios/1.3.4","content-length":"434","accept-encoding":"gzip, compress, deflate, br","host":"localhost:59987","connection":"close"},"remoteAddress":"::1","remotePort":59988},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"text/plain; charset=utf-8","content-length":"2","etag":"W/\"2-nOO9QiTIwXgNtWtBJezz8kv3SLc\""}},"responseTime":26,"msg":"request completed"}
|
|
9
|
+
{"level":30,"time":1689275841170,"pid":71479,"hostname":"dicorcia.local","req":{"id":2,"method":"GET","url":"/did%3Aplc%3A32jih6tnrtjjx36i4c4oybll","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/1.3.4","accept-encoding":"gzip, compress, deflate, br","host":"localhost:59987","connection":"close"},"remoteAddress":"::1","remotePort":59989},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-LdbiZSnfZPKdYJIe++nRQRpnIho\""}},"responseTime":4,"msg":"request completed"}
|
|
10
|
+
{"level":30,"time":1689275841225,"pid":71479,"hostname":"dicorcia.local","req":{"id":3,"method":"GET","url":"/did%3Aplc%3A32jih6tnrtjjx36i4c4oybll","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59987","connection":"close"},"remoteAddress":"::1","remotePort":59992},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-LdbiZSnfZPKdYJIe++nRQRpnIho\""}},"responseTime":3,"msg":"request completed"}
|
|
11
|
+
{"level":30,"time":1689275841230,"pid":71479,"hostname":"dicorcia.local","req":{"id":4,"method":"GET","url":"/did%3Aplc%3A32jih6tnrtjjx36i4c4oybll","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59987","connection":"close"},"remoteAddress":"::1","remotePort":59993},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-LdbiZSnfZPKdYJIe++nRQRpnIho\""}},"responseTime":3,"msg":"request completed"}
|
|
12
|
+
{"level":30,"time":1689275841233,"pid":71479,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3Aasdf","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59987","connection":"close"},"remoteAddress":"::1","remotePort":59994},"err":{"type":"ServerError","message":"DID not registered: did:plc:asdf","stack":"Error: DID not registered: did:plc:asdf\n at /Users/devinivy/Documents/bluesky/atproto/node_modules/@did-plc/server/dist/index.js:78306:13\n at processTicksAndRejections (node:internal/process/task_queues:95:5)","status":404},"msg":"handled server error"}
|
|
13
|
+
{"level":30,"time":1689275841591,"pid":71479,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3Aasdf","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59987","connection":"close"},"remoteAddress":"::1","remotePort":59994},"res":{"statusCode":404,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/json; charset=utf-8","content-length":"46","etag":"W/\"2e-ouyx9dlGpAF6gs2puC1AAUwbx84\""}},"responseTime":358,"msg":"request completed"}
|
|
14
|
+
{"level":30,"time":1689275841592,"pid":71479,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59987","connection":"close"},"remoteAddress":"::1","remotePort":59995},"err":{"type":"ServerError","message":"DID not registered: did:plc","stack":"Error: DID not registered: did:plc\n at /Users/devinivy/Documents/bluesky/atproto/node_modules/@did-plc/server/dist/index.js:78306:13\n at processTicksAndRejections (node:internal/process/task_queues:95:5)","status":404},"msg":"handled server error"}
|
|
15
|
+
{"level":30,"time":1689275841593,"pid":71479,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:59987","connection":"close"},"remoteAddress":"::1","remotePort":59995},"res":{"statusCode":404,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/json; charset=utf-8","content-length":"41","etag":"W/\"29-pS6VolLLFKlzTQkRVMexS+2oUm8\""}},"responseTime":1,"msg":"request completed"}
|
|
16
|
+
{"level":30,"time":1689278983516,"pid":75490,"hostname":"dicorcia.local","req":{"id":1,"method":"POST","url":"/did%3Aplc%3A6rzcre3todeexytbodbzsa6p","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","content-type":"application/json","user-agent":"axios/1.3.4","content-length":"433","accept-encoding":"gzip, compress, deflate, br","host":"localhost:60292","connection":"close"},"remoteAddress":"::1","remotePort":60293},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"text/plain; charset=utf-8","content-length":"2","etag":"W/\"2-nOO9QiTIwXgNtWtBJezz8kv3SLc\""}},"responseTime":28,"msg":"request completed"}
|
|
17
|
+
{"level":30,"time":1689278983531,"pid":75490,"hostname":"dicorcia.local","req":{"id":2,"method":"GET","url":"/did%3Aplc%3A6rzcre3todeexytbodbzsa6p","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60292","connection":"close"},"remoteAddress":"::1","remotePort":60294},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-h6DF5AIlxTEEJBAcBzUIuDrzi+U\""}},"responseTime":5,"msg":"request completed"}
|
|
18
|
+
{"level":30,"time":1689278983539,"pid":75490,"hostname":"dicorcia.local","req":{"id":3,"method":"GET","url":"/did%3Aplc%3A6rzcre3todeexytbodbzsa6p","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60292","connection":"close"},"remoteAddress":"::1","remotePort":60295},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-h6DF5AIlxTEEJBAcBzUIuDrzi+U\""}},"responseTime":3,"msg":"request completed"}
|
|
19
|
+
{"level":30,"time":1689278983545,"pid":75490,"hostname":"dicorcia.local","req":{"id":4,"method":"GET","url":"/did%3Aplc%3A6rzcre3todeexytbodbzsa6p","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60292","connection":"close"},"remoteAddress":"::1","remotePort":60296},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-h6DF5AIlxTEEJBAcBzUIuDrzi+U\""}},"responseTime":4,"msg":"request completed"}
|
|
20
|
+
{"level":30,"time":1689278983555,"pid":75490,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3A6rzcre3todeexytbodbzsa6p","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60292","connection":"close"},"remoteAddress":"::1","remotePort":60298},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-h6DF5AIlxTEEJBAcBzUIuDrzi+U\""}},"responseTime":3,"msg":"request completed"}
|
|
21
|
+
{"level":30,"time":1689278983559,"pid":75490,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc%3A6rzcre3todeexytbodbzsa6p","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60292","connection":"close"},"remoteAddress":"::1","remotePort":60300},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-h6DF5AIlxTEEJBAcBzUIuDrzi+U\""}},"responseTime":2,"msg":"request completed"}
|
|
22
|
+
{"level":30,"time":1689278983570,"pid":75490,"hostname":"dicorcia.local","req":{"id":7,"method":"GET","url":"/did%3Aplc%3A6rzcre3todeexytbodbzsa6p","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60292","connection":"close"},"remoteAddress":"::1","remotePort":60301},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-h6DF5AIlxTEEJBAcBzUIuDrzi+U\""}},"responseTime":3,"msg":"request completed"}
|
|
23
|
+
{"level":30,"time":1689278983622,"pid":75489,"hostname":"dicorcia.local","req":{"id":1,"method":"POST","url":"/did%3Aplc%3Avmeendn3be7mv7gew3pxmjsk","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","content-type":"application/json","user-agent":"axios/1.3.4","content-length":"434","accept-encoding":"gzip, compress, deflate, br","host":"localhost:60299","connection":"close"},"remoteAddress":"::1","remotePort":60302},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"text/plain; charset=utf-8","content-length":"2","etag":"W/\"2-nOO9QiTIwXgNtWtBJezz8kv3SLc\""}},"responseTime":26,"msg":"request completed"}
|
|
24
|
+
{"level":30,"time":1689278983631,"pid":75489,"hostname":"dicorcia.local","req":{"id":2,"method":"GET","url":"/did%3Aplc%3Avmeendn3be7mv7gew3pxmjsk","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/1.3.4","accept-encoding":"gzip, compress, deflate, br","host":"localhost:60299","connection":"close"},"remoteAddress":"::1","remotePort":60303},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-CpesPuFJ48PxQH7Pq+pCxCxM4PE\""}},"responseTime":4,"msg":"request completed"}
|
|
25
|
+
{"level":30,"time":1689278983680,"pid":75489,"hostname":"dicorcia.local","req":{"id":3,"method":"GET","url":"/did%3Aplc%3Avmeendn3be7mv7gew3pxmjsk","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60299","connection":"close"},"remoteAddress":"::1","remotePort":60306},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-CpesPuFJ48PxQH7Pq+pCxCxM4PE\""}},"responseTime":4,"msg":"request completed"}
|
|
26
|
+
{"level":30,"time":1689278983685,"pid":75489,"hostname":"dicorcia.local","req":{"id":4,"method":"GET","url":"/did%3Aplc%3Avmeendn3be7mv7gew3pxmjsk","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60299","connection":"close"},"remoteAddress":"::1","remotePort":60307},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-CpesPuFJ48PxQH7Pq+pCxCxM4PE\""}},"responseTime":3,"msg":"request completed"}
|
|
27
|
+
{"level":30,"time":1689278983687,"pid":75489,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3Aasdf","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60299","connection":"close"},"remoteAddress":"::1","remotePort":60308},"err":{"type":"ServerError","message":"DID not registered: did:plc:asdf","stack":"Error: DID not registered: did:plc:asdf\n at /Users/devinivy/Documents/bluesky/atproto/node_modules/@did-plc/server/dist/index.js:78306:13\n at processTicksAndRejections (node:internal/process/task_queues:95:5)","status":404},"msg":"handled server error"}
|
|
28
|
+
{"level":30,"time":1689278984045,"pid":75489,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3Aasdf","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60299","connection":"close"},"remoteAddress":"::1","remotePort":60308},"res":{"statusCode":404,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/json; charset=utf-8","content-length":"46","etag":"W/\"2e-ouyx9dlGpAF6gs2puC1AAUwbx84\""}},"responseTime":358,"msg":"request completed"}
|
|
29
|
+
{"level":30,"time":1689278984047,"pid":75489,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60299","connection":"close"},"remoteAddress":"::1","remotePort":60309},"err":{"type":"ServerError","message":"DID not registered: did:plc","stack":"Error: DID not registered: did:plc\n at /Users/devinivy/Documents/bluesky/atproto/node_modules/@did-plc/server/dist/index.js:78306:13\n at processTicksAndRejections (node:internal/process/task_queues:95:5)","status":404},"msg":"handled server error"}
|
|
30
|
+
{"level":30,"time":1689278984048,"pid":75489,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60299","connection":"close"},"remoteAddress":"::1","remotePort":60309},"res":{"statusCode":404,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/json; charset=utf-8","content-length":"41","etag":"W/\"29-pS6VolLLFKlzTQkRVMexS+2oUm8\""}},"responseTime":1,"msg":"request completed"}
|
|
31
|
+
{"level":30,"time":1689279026156,"pid":75628,"hostname":"dicorcia.local","req":{"id":1,"method":"POST","url":"/did%3Aplc%3Aykqfxtz3ac47rdtvoijy7uyp","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","content-type":"application/json","user-agent":"axios/1.3.4","content-length":"433","accept-encoding":"gzip, compress, deflate, br","host":"localhost:60317","connection":"close"},"remoteAddress":"::1","remotePort":60318},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"text/plain; charset=utf-8","content-length":"2","etag":"W/\"2-nOO9QiTIwXgNtWtBJezz8kv3SLc\""}},"responseTime":27,"msg":"request completed"}
|
|
32
|
+
{"level":30,"time":1689279026170,"pid":75628,"hostname":"dicorcia.local","req":{"id":2,"method":"GET","url":"/did%3Aplc%3Aykqfxtz3ac47rdtvoijy7uyp","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60317","connection":"close"},"remoteAddress":"::1","remotePort":60321},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-EMSn9/hKLGml1ERLLqPdSo2Qd6M\""}},"responseTime":5,"msg":"request completed"}
|
|
33
|
+
{"level":30,"time":1689279026179,"pid":75628,"hostname":"dicorcia.local","req":{"id":3,"method":"GET","url":"/did%3Aplc%3Aykqfxtz3ac47rdtvoijy7uyp","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60317","connection":"close"},"remoteAddress":"::1","remotePort":60322},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-EMSn9/hKLGml1ERLLqPdSo2Qd6M\""}},"responseTime":3,"msg":"request completed"}
|
|
34
|
+
{"level":30,"time":1689279026184,"pid":75628,"hostname":"dicorcia.local","req":{"id":4,"method":"GET","url":"/did%3Aplc%3Aykqfxtz3ac47rdtvoijy7uyp","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60317","connection":"close"},"remoteAddress":"::1","remotePort":60323},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-EMSn9/hKLGml1ERLLqPdSo2Qd6M\""}},"responseTime":3,"msg":"request completed"}
|
|
35
|
+
{"level":30,"time":1689279026193,"pid":75628,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3Aykqfxtz3ac47rdtvoijy7uyp","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60317","connection":"close"},"remoteAddress":"::1","remotePort":60325},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-EMSn9/hKLGml1ERLLqPdSo2Qd6M\""}},"responseTime":3,"msg":"request completed"}
|
|
36
|
+
{"level":30,"time":1689279026198,"pid":75628,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc%3Aykqfxtz3ac47rdtvoijy7uyp","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60317","connection":"close"},"remoteAddress":"::1","remotePort":60326},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-EMSn9/hKLGml1ERLLqPdSo2Qd6M\""}},"responseTime":3,"msg":"request completed"}
|
|
37
|
+
{"level":30,"time":1689279026208,"pid":75628,"hostname":"dicorcia.local","req":{"id":7,"method":"GET","url":"/did%3Aplc%3Aykqfxtz3ac47rdtvoijy7uyp","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60317","connection":"close"},"remoteAddress":"::1","remotePort":60327},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-EMSn9/hKLGml1ERLLqPdSo2Qd6M\""}},"responseTime":2,"msg":"request completed"}
|
|
38
|
+
{"level":30,"time":1689279026211,"pid":75627,"hostname":"dicorcia.local","req":{"id":1,"method":"POST","url":"/did%3Aplc%3Amgtoznwm7fd7ilrh36tr462f","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","content-type":"application/json","user-agent":"axios/1.3.4","content-length":"434","accept-encoding":"gzip, compress, deflate, br","host":"localhost:60320","connection":"close"},"remoteAddress":"::1","remotePort":60324},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"text/plain; charset=utf-8","content-length":"2","etag":"W/\"2-nOO9QiTIwXgNtWtBJezz8kv3SLc\""}},"responseTime":26,"msg":"request completed"}
|
|
39
|
+
{"level":30,"time":1689279026220,"pid":75627,"hostname":"dicorcia.local","req":{"id":2,"method":"GET","url":"/did%3Aplc%3Amgtoznwm7fd7ilrh36tr462f","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/1.3.4","accept-encoding":"gzip, compress, deflate, br","host":"localhost:60320","connection":"close"},"remoteAddress":"::1","remotePort":60328},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-+m13Z3hRO2ZPxgN+apn35LpI39k\""}},"responseTime":5,"msg":"request completed"}
|
|
40
|
+
{"level":30,"time":1689279026267,"pid":75627,"hostname":"dicorcia.local","req":{"id":3,"method":"GET","url":"/did%3Aplc%3Amgtoznwm7fd7ilrh36tr462f","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60320","connection":"close"},"remoteAddress":"::1","remotePort":60331},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-+m13Z3hRO2ZPxgN+apn35LpI39k\""}},"responseTime":4,"msg":"request completed"}
|
|
41
|
+
{"level":30,"time":1689279026271,"pid":75627,"hostname":"dicorcia.local","req":{"id":4,"method":"GET","url":"/did%3Aplc%3Amgtoznwm7fd7ilrh36tr462f","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60320","connection":"close"},"remoteAddress":"::1","remotePort":60332},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-+m13Z3hRO2ZPxgN+apn35LpI39k\""}},"responseTime":3,"msg":"request completed"}
|
|
42
|
+
{"level":30,"time":1689279026273,"pid":75627,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3Aasdf","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60320","connection":"close"},"remoteAddress":"::1","remotePort":60333},"err":{"type":"ServerError","message":"DID not registered: did:plc:asdf","stack":"Error: DID not registered: did:plc:asdf\n at /Users/devinivy/Documents/bluesky/atproto/node_modules/@did-plc/server/dist/index.js:78306:13\n at processTicksAndRejections (node:internal/process/task_queues:95:5)","status":404},"msg":"handled server error"}
|
|
43
|
+
{"level":30,"time":1689279026623,"pid":75627,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3Aasdf","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60320","connection":"close"},"remoteAddress":"::1","remotePort":60333},"res":{"statusCode":404,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/json; charset=utf-8","content-length":"46","etag":"W/\"2e-ouyx9dlGpAF6gs2puC1AAUwbx84\""}},"responseTime":350,"msg":"request completed"}
|
|
44
|
+
{"level":30,"time":1689279026625,"pid":75627,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60320","connection":"close"},"remoteAddress":"::1","remotePort":60334},"err":{"type":"ServerError","message":"DID not registered: did:plc","stack":"Error: DID not registered: did:plc\n at /Users/devinivy/Documents/bluesky/atproto/node_modules/@did-plc/server/dist/index.js:78306:13\n at processTicksAndRejections (node:internal/process/task_queues:95:5)","status":404},"msg":"handled server error"}
|
|
45
|
+
{"level":30,"time":1689279026626,"pid":75627,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60320","connection":"close"},"remoteAddress":"::1","remotePort":60334},"res":{"statusCode":404,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/json; charset=utf-8","content-length":"41","etag":"W/\"29-pS6VolLLFKlzTQkRVMexS+2oUm8\""}},"responseTime":1,"msg":"request completed"}
|
|
46
|
+
{"level":30,"time":1689279097637,"pid":75799,"hostname":"dicorcia.local","req":{"id":1,"method":"POST","url":"/did%3Aplc%3Aahrhjewkjjmbmsbru6kloszb","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","content-type":"application/json","user-agent":"axios/1.3.4","content-length":"433","accept-encoding":"gzip, compress, deflate, br","host":"localhost:60344","connection":"close"},"remoteAddress":"::1","remotePort":60345},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"text/plain; charset=utf-8","content-length":"2","etag":"W/\"2-nOO9QiTIwXgNtWtBJezz8kv3SLc\""}},"responseTime":26,"msg":"request completed"}
|
|
47
|
+
{"level":30,"time":1689279097650,"pid":75799,"hostname":"dicorcia.local","req":{"id":2,"method":"GET","url":"/did%3Aplc%3Aahrhjewkjjmbmsbru6kloszb","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60344","connection":"close"},"remoteAddress":"::1","remotePort":60348},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-vl6/JGFwlRkbuXAmqQC22NecDyE\""}},"responseTime":5,"msg":"request completed"}
|
|
48
|
+
{"level":30,"time":1689279097658,"pid":75799,"hostname":"dicorcia.local","req":{"id":3,"method":"GET","url":"/did%3Aplc%3Aahrhjewkjjmbmsbru6kloszb","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60344","connection":"close"},"remoteAddress":"::1","remotePort":60349},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-vl6/JGFwlRkbuXAmqQC22NecDyE\""}},"responseTime":3,"msg":"request completed"}
|
|
49
|
+
{"level":30,"time":1689279097663,"pid":75799,"hostname":"dicorcia.local","req":{"id":4,"method":"GET","url":"/did%3Aplc%3Aahrhjewkjjmbmsbru6kloszb","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60344","connection":"close"},"remoteAddress":"::1","remotePort":60350},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-vl6/JGFwlRkbuXAmqQC22NecDyE\""}},"responseTime":3,"msg":"request completed"}
|
|
50
|
+
{"level":30,"time":1689279097674,"pid":75799,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3Aahrhjewkjjmbmsbru6kloszb","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60344","connection":"close"},"remoteAddress":"::1","remotePort":60351},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-vl6/JGFwlRkbuXAmqQC22NecDyE\""}},"responseTime":3,"msg":"request completed"}
|
|
51
|
+
{"level":30,"time":1689279097679,"pid":75799,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc%3Aahrhjewkjjmbmsbru6kloszb","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60344","connection":"close"},"remoteAddress":"::1","remotePort":60353},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-vl6/JGFwlRkbuXAmqQC22NecDyE\""}},"responseTime":3,"msg":"request completed"}
|
|
52
|
+
{"level":30,"time":1689279097689,"pid":75799,"hostname":"dicorcia.local","req":{"id":7,"method":"GET","url":"/did%3Aplc%3Aahrhjewkjjmbmsbru6kloszb","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60344","connection":"close"},"remoteAddress":"::1","remotePort":60354},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"526","etag":"W/\"20e-vl6/JGFwlRkbuXAmqQC22NecDyE\""}},"responseTime":3,"msg":"request completed"}
|
|
53
|
+
{"level":30,"time":1689279097706,"pid":75798,"hostname":"dicorcia.local","req":{"id":1,"method":"POST","url":"/did%3Aplc%3Aysbphh7uga6uydsoxgbqmxla","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","content-type":"application/json","user-agent":"axios/1.3.4","content-length":"434","accept-encoding":"gzip, compress, deflate, br","host":"localhost:60347","connection":"close"},"remoteAddress":"::1","remotePort":60352},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"text/plain; charset=utf-8","content-length":"2","etag":"W/\"2-nOO9QiTIwXgNtWtBJezz8kv3SLc\""}},"responseTime":27,"msg":"request completed"}
|
|
54
|
+
{"level":30,"time":1689279097719,"pid":75798,"hostname":"dicorcia.local","req":{"id":2,"method":"GET","url":"/did%3Aplc%3Aysbphh7uga6uydsoxgbqmxla","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/1.3.4","accept-encoding":"gzip, compress, deflate, br","host":"localhost:60347","connection":"close"},"remoteAddress":"::1","remotePort":60355},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-glwwWunaLV47EyhcSr+de00CK80\""}},"responseTime":5,"msg":"request completed"}
|
|
55
|
+
{"level":30,"time":1689279097770,"pid":75798,"hostname":"dicorcia.local","req":{"id":3,"method":"GET","url":"/did%3Aplc%3Aysbphh7uga6uydsoxgbqmxla","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60347","connection":"close"},"remoteAddress":"::1","remotePort":60358},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-glwwWunaLV47EyhcSr+de00CK80\""}},"responseTime":4,"msg":"request completed"}
|
|
56
|
+
{"level":30,"time":1689279097775,"pid":75798,"hostname":"dicorcia.local","req":{"id":4,"method":"GET","url":"/did%3Aplc%3Aysbphh7uga6uydsoxgbqmxla","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60347","connection":"close"},"remoteAddress":"::1","remotePort":60359},"res":{"statusCode":200,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/did+ld+json; charset=utf-8","content-length":"527","etag":"W/\"20f-glwwWunaLV47EyhcSr+de00CK80\""}},"responseTime":3,"msg":"request completed"}
|
|
57
|
+
{"level":30,"time":1689279097778,"pid":75798,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3Aasdf","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60347","connection":"close"},"remoteAddress":"::1","remotePort":60360},"err":{"type":"ServerError","message":"DID not registered: did:plc:asdf","stack":"Error: DID not registered: did:plc:asdf\n at /Users/devinivy/Documents/bluesky/atproto/node_modules/@did-plc/server/dist/index.js:78306:13\n at processTicksAndRejections (node:internal/process/task_queues:95:5)","status":404},"msg":"handled server error"}
|
|
58
|
+
{"level":30,"time":1689279098126,"pid":75798,"hostname":"dicorcia.local","req":{"id":5,"method":"GET","url":"/did%3Aplc%3Aasdf","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60347","connection":"close"},"remoteAddress":"::1","remotePort":60360},"res":{"statusCode":404,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/json; charset=utf-8","content-length":"46","etag":"W/\"2e-ouyx9dlGpAF6gs2puC1AAUwbx84\""}},"responseTime":348,"msg":"request completed"}
|
|
59
|
+
{"level":30,"time":1689279098128,"pid":75798,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60347","connection":"close"},"remoteAddress":"::1","remotePort":60362},"err":{"type":"ServerError","message":"DID not registered: did:plc","stack":"Error: DID not registered: did:plc\n at /Users/devinivy/Documents/bluesky/atproto/node_modules/@did-plc/server/dist/index.js:78306:13\n at processTicksAndRejections (node:internal/process/task_queues:95:5)","status":404},"msg":"handled server error"}
|
|
60
|
+
{"level":30,"time":1689279098128,"pid":75798,"hostname":"dicorcia.local","req":{"id":6,"method":"GET","url":"/did%3Aplc","query":{},"params":{},"headers":{"accept":"application/json, text/plain, */*","user-agent":"axios/0.27.2","host":"localhost:60347","connection":"close"},"remoteAddress":"::1","remotePort":60362},"res":{"statusCode":404,"headers":{"x-powered-by":"Express","access-control-allow-origin":"*","content-type":"application/json; charset=utf-8","content-length":"41","etag":"W/\"29-pS6VolLLFKlzTQkRVMexS+2oUm8\""}},"responseTime":0,"msg":"request completed"}
|
package/tsconfig.build.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"rootDir": "./src",
|
|
5
|
-
"outDir": "./dist", // Your outDir,
|
|
6
|
-
"emitDeclarationOnly": true
|
|
7
|
-
},
|
|
8
|
-
"include": ["./src", "__tests__/**/**.ts"],
|
|
2
|
+
"include": [],
|
|
9
3
|
"references": [
|
|
10
|
-
{ "path": "
|
|
11
|
-
{ "path": "
|
|
4
|
+
{ "path": "./tsconfig.build.json" },
|
|
5
|
+
{ "path": "./tsconfig.tests.json" }
|
|
12
6
|
]
|
|
13
7
|
}
|
package/babel.config.js
DELETED
package/build.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const { nodeExternalsPlugin } = require('esbuild-node-externals')
|
|
2
|
-
|
|
3
|
-
const buildShallow =
|
|
4
|
-
process.argv.includes('--shallow') || process.env.ATP_BUILD_SHALLOW === 'true'
|
|
5
|
-
|
|
6
|
-
require('esbuild').build({
|
|
7
|
-
logLevel: 'info',
|
|
8
|
-
entryPoints: ['src/index.ts'],
|
|
9
|
-
sourcemap: true,
|
|
10
|
-
bundle: true,
|
|
11
|
-
sourcemap: true,
|
|
12
|
-
outdir: 'dist',
|
|
13
|
-
platform: 'node',
|
|
14
|
-
plugins: buildShallow ? [nodeExternalsPlugin()] : [],
|
|
15
|
-
})
|