Browse Source

remove cobox deps

Kieran Gibb 2 years ago
parent
commit
79a11e120c
No known key found for this signature in database
2 changed files with 4 additions and 7 deletions
  1. 1
    3
      index.js
  2. 3
    4
      package.json

+ 1
- 3
index.js View File

@@ -1,9 +1,7 @@
1
-const Config = require('cobox-config')
2
-const crypto = require('cobox-crypto')
1
+const crypto = require('hypercore-crypto')
3 2
 const path = require('path')
4 3
 const thunky = require('thunky')
5 4
 const debug = require('debug')('cobox-group-store')
6
-const constants = require('cobox-constants')
7 5
 const maybe = require('call-me-maybe')
8 6
 
9 7
 const { uniq, isString } = require('./util')

+ 3
- 4
package.json View File

@@ -13,15 +13,14 @@
13 13
   "license": "AGPL-3.0-or-later",
14 14
   "dependencies": {
15 15
     "call-me-maybe": "^1.0.1",
16
-    "cobox-config": "git+https://ledger-git.dyne.org/cobox/cobox-config#development",
17
-    "cobox-constants": "^1.0.0",
18
-    "cobox-crypto": "git+https://ledger-git.dyne.org/cobox/cobox-crypto#development",
19 16
     "debug": "^4.1.1",
17
+    "hypercore-crypto": "^1.0.0",
20 18
     "thunky": "^1.1.0"
21 19
   },
22 20
   "devDependencies": {
23 21
     "cobox-blind-replicator": "git+https://ledger-git.dyne.org/cobox/cobox-blind-replicator",
24
-    "cobox-group": "git+https://ledger-git.dyne.org/cobox/cobox-group#development",
22
+    "cobox-crypto": "git+https://ledger-git.dyne.org/cobox/cobox-crypto",
23
+    "cobox-group": "git+https://ledger-git.dyne.org/cobox/cobox-group",
25 24
     "mkdirp": "^0.5.1",
26 25
     "rimraf": "^3.0.0",
27 26
     "tap-spec": "^5.0.0",