Skip to content

Commit

Permalink
refactor: Update imports and class names in test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
endomorphosis committed Oct 20, 2024
1 parent 2c1a172 commit 8628067
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ export { ipfsModelManagerJs } from './ipfs_model_manager_js/ipfs_model_manager.j
export { ipfsModelManagerJs as default } from './ipfs_model_manager_js/ipfs_model_manager.js';
export * from './test/test.js'
export { test_ipfs_model_manager_js } from './test/test.js'
import { test_ipfs_model_manager_js } from './test/test.js'
const test = new test_ipfs_model_manager_js();
export { test }
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ipfs_model_manager_js",
"version": "1.0.28",
"version": "1.0.29",
"description": "This is a model manager and wrapper for huggingface, and it maintains an index of models from collections of models store retrieved through local/https/s3/ipfs/orbitdb, then maintains a state of which what models are currently accesible, and it will choose what files should be cached through local/s3/ipfs/ based on configuration settings.",
"type": "module",
"main": "index.js",
Expand All @@ -12,17 +12,25 @@
"url": "git+https://github.com/endomorphosis/ipfs_model_manager_js.git"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^16.0.0",
"@libp2p/crypto": "^5.0.5",
"@libp2p/mplex": "^11.0.8",
"@libp2p/peer-id-factory": "^4.2.4",
"@libp2p/tcp": "^10.0.9",
"@libp2p/websockets": "^9.0.8",
"@mwni/events": "^3.0.0",
"@mwni/toml": "^1.0.0",
"crypto": "^1.0.1",
"deasync": "^0.1.29",
"debug": "^4.3.4",
"esm": "^3.2.25",
"fs-extra": "^11.2.0",
"ipfs_faiss_js": "^1.0.5",
"ipfs_huggingface_scraper_js": "^1.0.19",
"ipfs_huggingface_scraper_js": "^1.0.20",
"ipfs_kit_js": "^1.0.23",
"is-stream": "^3.0.0",
"libp2p_kit_js": "^1.0.16",
"libp2p": "^2.1.9",
"libp2p_kit_js": "^1.0.28",
"moment": "^2.30.1",
"orbitdb_kit_js": "^1.0.13",
"subprocess": "^0.3.0",
Expand Down

0 comments on commit 8628067

Please sign in to comment.