@evanp/activitypub-bot 0.12.0 → 0.12.1

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.
@@ -3,7 +3,7 @@
3
3
  import { parseArgs } from 'node:util'
4
4
  import { fileURLToPath } from 'node:url'
5
5
  import { dirname, resolve } from 'node:path'
6
- import { makeApp } from './lib/app.js'
6
+ import { makeApp } from '../lib/app.js'
7
7
 
8
8
  const { values } = parseArgs({
9
9
  options: {
@@ -39,7 +39,7 @@ const parsePort = (value) => {
39
39
  }
40
40
 
41
41
  const baseDir = dirname(fileURLToPath(import.meta.url))
42
- const DEFAULT_BOTS_CONFIG_FILE = resolve(baseDir, 'bots', 'index.js')
42
+ const DEFAULT_BOTS_CONFIG_FILE = resolve(baseDir, '..', 'bots', 'index.js')
43
43
 
44
44
  const DATABASE_URL = normalize(values['database-url']) || process.env.DATABASE_URL || 'sqlite::memory:'
45
45
  const ORIGIN = normalize(values.origin) || process.env.ORIGIN || 'https://activitypubbot.test'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evanp/activitypub-bot",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "server-side ActivityPub bot framework",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",