@atproto/identity 0.3.3-next.0 → 0.3.3
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 +5 -5
- package/babel.config.js +3 -0
- package/build.js +15 -0
- package/dist/did/atproto-data.d.ts +0 -1
- package/dist/did/base-resolver.d.ts +0 -1
- package/dist/did/did-resolver.d.ts +0 -1
- package/dist/did/index.d.ts +0 -1
- package/dist/did/memory-cache.d.ts +0 -1
- package/dist/did/plc-resolver.d.ts +0 -1
- package/dist/did/web-resolver.d.ts +0 -1
- package/dist/errors.d.ts +0 -1
- package/dist/handle/index.d.ts +0 -1
- package/dist/id-resolver.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +28503 -21
- package/dist/index.js.map +7 -1
- package/dist/types.d.ts +0 -1
- package/jest.config.js +3 -4
- package/package.json +9 -8
- package/tsconfig.build.json +2 -6
- package/tsconfig.json +9 -3
- package/dist/did/atproto-data.d.ts.map +0 -1
- package/dist/did/atproto-data.js +0 -92
- package/dist/did/atproto-data.js.map +0 -1
- package/dist/did/base-resolver.d.ts.map +0 -1
- package/dist/did/base-resolver.js +0 -105
- package/dist/did/base-resolver.js.map +0 -1
- package/dist/did/did-resolver.d.ts.map +0 -1
- package/dist/did/did-resolver.js +0 -41
- package/dist/did/did-resolver.js.map +0 -1
- package/dist/did/index.d.ts.map +0 -1
- package/dist/did/index.js +0 -22
- package/dist/did/index.js.map +0 -1
- package/dist/did/memory-cache.d.ts.map +0 -1
- package/dist/did/memory-cache.js +0 -59
- package/dist/did/memory-cache.js.map +0 -1
- package/dist/did/plc-resolver.d.ts.map +0 -1
- package/dist/did/plc-resolver.js +0 -70
- package/dist/did/plc-resolver.js.map +0 -1
- package/dist/did/web-resolver.d.ts.map +0 -1
- package/dist/did/web-resolver.js +0 -85
- package/dist/did/web-resolver.js.map +0 -1
- package/dist/errors.d.ts.map +0 -1
- package/dist/errors.js +0 -70
- package/dist/errors.js.map +0 -1
- package/dist/handle/index.d.ts.map +0 -1
- package/dist/handle/index.js +0 -112
- package/dist/handle/index.js.map +0 -1
- package/dist/id-resolver.d.ts.map +0 -1
- package/dist/id-resolver.js +0 -32
- package/dist/id-resolver.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -6
- package/dist/types.js.map +0 -1
- package/test.log +0 -60
- package/tsconfig.tests.json +0 -7
package/dist/errors.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UnsupportedDidWebPathError = exports.PoorlyFormattedDidDocumentError = exports.UnsupportedDidMethodError = exports.PoorlyFormattedDidError = exports.DidNotFoundError = void 0;
|
|
4
|
-
class DidNotFoundError extends Error {
|
|
5
|
-
constructor(did) {
|
|
6
|
-
super(`Could not resolve DID: ${did}`);
|
|
7
|
-
Object.defineProperty(this, "did", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
configurable: true,
|
|
10
|
-
writable: true,
|
|
11
|
-
value: did
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
exports.DidNotFoundError = DidNotFoundError;
|
|
16
|
-
class PoorlyFormattedDidError extends Error {
|
|
17
|
-
constructor(did) {
|
|
18
|
-
super(`Poorly formatted DID: ${did}`);
|
|
19
|
-
Object.defineProperty(this, "did", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
configurable: true,
|
|
22
|
-
writable: true,
|
|
23
|
-
value: did
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.PoorlyFormattedDidError = PoorlyFormattedDidError;
|
|
28
|
-
class UnsupportedDidMethodError extends Error {
|
|
29
|
-
constructor(did) {
|
|
30
|
-
super(`Unsupported DID method: ${did}`);
|
|
31
|
-
Object.defineProperty(this, "did", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
configurable: true,
|
|
34
|
-
writable: true,
|
|
35
|
-
value: did
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
exports.UnsupportedDidMethodError = UnsupportedDidMethodError;
|
|
40
|
-
class PoorlyFormattedDidDocumentError extends Error {
|
|
41
|
-
constructor(did, doc) {
|
|
42
|
-
super(`Poorly formatted DID Document: ${doc}`);
|
|
43
|
-
Object.defineProperty(this, "did", {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
configurable: true,
|
|
46
|
-
writable: true,
|
|
47
|
-
value: did
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(this, "doc", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
configurable: true,
|
|
52
|
-
writable: true,
|
|
53
|
-
value: doc
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
exports.PoorlyFormattedDidDocumentError = PoorlyFormattedDidDocumentError;
|
|
58
|
-
class UnsupportedDidWebPathError extends Error {
|
|
59
|
-
constructor(did) {
|
|
60
|
-
super(`Unsupported did:web paths: ${did}`);
|
|
61
|
-
Object.defineProperty(this, "did", {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
configurable: true,
|
|
64
|
-
writable: true,
|
|
65
|
-
value: did
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
exports.UnsupportedDidWebPathError = UnsupportedDidWebPathError;
|
|
70
|
-
//# sourceMappingURL=errors.js.map
|
package/dist/errors.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAiB,SAAQ,KAAK;IACzC,YAAmB,GAAW;QAC5B,KAAK,CAAC,0BAA0B,GAAG,EAAE,CAAC,CAAA;QAD5B;;;;mBAAO,GAAG;WAAQ;IAE9B,CAAC;CACF;AAJD,4CAIC;AAED,MAAa,uBAAwB,SAAQ,KAAK;IAChD,YAAmB,GAAW;QAC5B,KAAK,CAAC,yBAAyB,GAAG,EAAE,CAAC,CAAA;QAD3B;;;;mBAAO,GAAG;WAAQ;IAE9B,CAAC;CACF;AAJD,0DAIC;AAED,MAAa,yBAA0B,SAAQ,KAAK;IAClD,YAAmB,GAAW;QAC5B,KAAK,CAAC,2BAA2B,GAAG,EAAE,CAAC,CAAA;QAD7B;;;;mBAAO,GAAG;WAAQ;IAE9B,CAAC;CACF;AAJD,8DAIC;AAED,MAAa,+BAAgC,SAAQ,KAAK;IACxD,YAAmB,GAAW,EAAS,GAAY;QACjD,KAAK,CAAC,kCAAkC,GAAG,EAAE,CAAC,CAAA;QADpC;;;;mBAAO,GAAG;WAAQ;QAAE;;;;mBAAO,GAAG;WAAS;IAEnD,CAAC;CACF;AAJD,0EAIC;AAED,MAAa,0BAA2B,SAAQ,KAAK;IACnD,YAAmB,GAAW;QAC5B,KAAK,CAAC,8BAA8B,GAAG,EAAE,CAAC,CAAA;QADhC;;;;mBAAO,GAAG;WAAQ;IAE9B,CAAC;CACF;AAJD,gEAIC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/handle/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAK7C,qBAAa,cAAc;IAClB,OAAO,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,iBAAiB,CAAsB;IAC/C,OAAO,CAAC,mBAAmB,CAAsB;gBAErC,IAAI,GAAE,kBAAuB;IAKnC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAmBpD,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAUvD,WAAW,CACf,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAcxB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAcnE,cAAc,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,GAAG,SAAS;YAShD,sBAAsB;CAgBrC"}
|
package/dist/handle/index.js
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.HandleResolver = void 0;
|
|
7
|
-
const promises_1 = __importDefault(require("dns/promises"));
|
|
8
|
-
const SUBDOMAIN = '_atproto';
|
|
9
|
-
const PREFIX = 'did=';
|
|
10
|
-
class HandleResolver {
|
|
11
|
-
constructor(opts = {}) {
|
|
12
|
-
Object.defineProperty(this, "timeout", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
configurable: true,
|
|
15
|
-
writable: true,
|
|
16
|
-
value: void 0
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(this, "backupNameservers", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
configurable: true,
|
|
21
|
-
writable: true,
|
|
22
|
-
value: void 0
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(this, "backupNameserverIps", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
configurable: true,
|
|
27
|
-
writable: true,
|
|
28
|
-
value: void 0
|
|
29
|
-
});
|
|
30
|
-
this.timeout = opts.timeout ?? 3000;
|
|
31
|
-
this.backupNameservers = opts.backupNameservers;
|
|
32
|
-
}
|
|
33
|
-
async resolve(handle) {
|
|
34
|
-
const dnsPromise = this.resolveDns(handle);
|
|
35
|
-
const httpAbort = new AbortController();
|
|
36
|
-
const httpPromise = this.resolveHttp(handle, httpAbort.signal).catch(() => undefined);
|
|
37
|
-
const dnsRes = await dnsPromise;
|
|
38
|
-
if (dnsRes) {
|
|
39
|
-
httpAbort.abort();
|
|
40
|
-
return dnsRes;
|
|
41
|
-
}
|
|
42
|
-
const res = await httpPromise;
|
|
43
|
-
if (res) {
|
|
44
|
-
return res;
|
|
45
|
-
}
|
|
46
|
-
return this.resolveDnsBackup(handle);
|
|
47
|
-
}
|
|
48
|
-
async resolveDns(handle) {
|
|
49
|
-
let chunkedResults;
|
|
50
|
-
try {
|
|
51
|
-
chunkedResults = await promises_1.default.resolveTxt(`${SUBDOMAIN}.${handle}`);
|
|
52
|
-
}
|
|
53
|
-
catch (err) {
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
56
|
-
return this.parseDnsResult(chunkedResults);
|
|
57
|
-
}
|
|
58
|
-
async resolveHttp(handle, signal) {
|
|
59
|
-
const url = new URL('/.well-known/atproto-did', `https://${handle}`);
|
|
60
|
-
try {
|
|
61
|
-
const res = await fetch(url, { signal });
|
|
62
|
-
const did = (await res.text()).split('\n')[0].trim();
|
|
63
|
-
if (typeof did === 'string' && did.startsWith('did:')) {
|
|
64
|
-
return did;
|
|
65
|
-
}
|
|
66
|
-
return undefined;
|
|
67
|
-
}
|
|
68
|
-
catch (err) {
|
|
69
|
-
return undefined;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
async resolveDnsBackup(handle) {
|
|
73
|
-
let chunkedResults;
|
|
74
|
-
try {
|
|
75
|
-
const backupIps = await this.getBackupNameserverIps();
|
|
76
|
-
if (!backupIps || backupIps.length < 1)
|
|
77
|
-
return undefined;
|
|
78
|
-
const resolver = new promises_1.default.Resolver();
|
|
79
|
-
resolver.setServers(backupIps);
|
|
80
|
-
chunkedResults = await resolver.resolveTxt(`${SUBDOMAIN}.${handle}`);
|
|
81
|
-
}
|
|
82
|
-
catch (err) {
|
|
83
|
-
return undefined;
|
|
84
|
-
}
|
|
85
|
-
return this.parseDnsResult(chunkedResults);
|
|
86
|
-
}
|
|
87
|
-
parseDnsResult(chunkedResults) {
|
|
88
|
-
const results = chunkedResults.map((chunks) => chunks.join(''));
|
|
89
|
-
const found = results.filter((i) => i.startsWith(PREFIX));
|
|
90
|
-
if (found.length !== 1) {
|
|
91
|
-
return undefined;
|
|
92
|
-
}
|
|
93
|
-
return found[0].slice(PREFIX.length);
|
|
94
|
-
}
|
|
95
|
-
async getBackupNameserverIps() {
|
|
96
|
-
if (!this.backupNameservers) {
|
|
97
|
-
return undefined;
|
|
98
|
-
}
|
|
99
|
-
else if (!this.backupNameserverIps) {
|
|
100
|
-
const responses = await Promise.allSettled(this.backupNameservers.map((h) => promises_1.default.lookup(h)));
|
|
101
|
-
for (const res of responses) {
|
|
102
|
-
if (res.status === 'fulfilled') {
|
|
103
|
-
this.backupNameserverIps ?? (this.backupNameserverIps = []);
|
|
104
|
-
this.backupNameserverIps.push(res.value.address);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
return this.backupNameserverIps;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
exports.HandleResolver = HandleResolver;
|
|
112
|
-
//# sourceMappingURL=index.js.map
|
package/dist/handle/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/handle/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"id-resolver.d.ts","sourceRoot":"","sources":["../src/id-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,WAAW,MAAM,oBAAoB,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAE9C,qBAAa,UAAU;IACd,MAAM,EAAE,cAAc,CAAA;IACtB,GAAG,EAAE,WAAW,CAAA;gBAEX,IAAI,GAAE,oBAAyB;CAQ5C"}
|
package/dist/id-resolver.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.IdResolver = void 0;
|
|
7
|
-
const handle_1 = require("./handle");
|
|
8
|
-
const did_resolver_1 = __importDefault(require("./did/did-resolver"));
|
|
9
|
-
class IdResolver {
|
|
10
|
-
constructor(opts = {}) {
|
|
11
|
-
Object.defineProperty(this, "handle", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
configurable: true,
|
|
14
|
-
writable: true,
|
|
15
|
-
value: void 0
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(this, "did", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
configurable: true,
|
|
20
|
-
writable: true,
|
|
21
|
-
value: void 0
|
|
22
|
-
});
|
|
23
|
-
const { timeout = 3000, plcUrl, didCache } = opts;
|
|
24
|
-
this.handle = new handle_1.HandleResolver({
|
|
25
|
-
timeout,
|
|
26
|
-
backupNameservers: opts.backupNameservers,
|
|
27
|
-
});
|
|
28
|
-
this.did = new did_resolver_1.default({ timeout, plcUrl, didCache });
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.IdResolver = IdResolver;
|
|
32
|
-
//# sourceMappingURL=id-resolver.js.map
|
package/dist/id-resolver.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"id-resolver.js","sourceRoot":"","sources":["../src/id-resolver.ts"],"names":[],"mappings":";;;;;;AAAA,qCAAyC;AACzC,sEAA4C;AAG5C,MAAa,UAAU;IAIrB,YAAY,OAA6B,EAAE;QAHpC;;;;;WAAsB;QACtB;;;;;WAAgB;QAGrB,MAAM,EAAE,OAAO,GAAG,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;QACjD,IAAI,CAAC,MAAM,GAAG,IAAI,uBAAc,CAAC;YAC/B,OAAO;YACP,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;SAC1C,CAAC,CAAA;QACF,IAAI,CAAC,GAAG,GAAG,IAAI,sBAAW,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAA;IAC3D,CAAC;CACF;AAZD,gCAYC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA"}
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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
|
package/dist/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAEA,kDAAiD;AAAxC,yGAAA,WAAW,OAAA"}
|
package/test.log
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
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"}
|