@certik/skynet 0.19.0 → 0.19.2
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 +6 -0
- package/api.ts +2 -2
- package/app.ts +1 -1
- package/bun.lockb +0 -0
- package/examples/api.ts +0 -0
- package/examples/indexer.ts +0 -0
- package/examples/mode-indexer.ts +0 -0
- package/package.json +1 -1
- package/.vscode/settings.json +0 -5
package/CHANGELOG.md
CHANGED
package/api.ts
CHANGED
|
@@ -20,7 +20,7 @@ type Route = {
|
|
|
20
20
|
type Serve = {
|
|
21
21
|
prefix: string;
|
|
22
22
|
port: number;
|
|
23
|
-
apiKey?: string
|
|
23
|
+
apiKey?: string | Record<string, string>;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
async function logStartMiddleware(req: Request, res: Response, next: NextFunction) {
|
|
@@ -224,7 +224,7 @@ ${getSelectorDesc(selector)}
|
|
|
224
224
|
|
|
225
225
|
app.listen(serve.port, () => {
|
|
226
226
|
if (isProduction()) {
|
|
227
|
-
inline.log(`${name} listening at https://api.certik
|
|
227
|
+
inline.log(`${name} listening at https://api.wf.corp.certik.com${serve.prefix}`);
|
|
228
228
|
} else {
|
|
229
229
|
inline.log(`${name} listening at http://localhost:${serve.port}`);
|
|
230
230
|
}
|
package/app.ts
CHANGED
package/bun.lockb
CHANGED
|
File without changes
|
package/examples/api.ts
CHANGED
|
File without changes
|
package/examples/indexer.ts
CHANGED
|
File without changes
|
package/examples/mode-indexer.ts
CHANGED
|
File without changes
|
package/package.json
CHANGED