Skip to content

Commit

Permalink
chore: Update ipfs_model_manager_js package version to 1.0.27 and fix…
Browse files Browse the repository at this point in the history
… import in test.js
  • Loading branch information
endomorphosis committed Sep 4, 2024
1 parent 180aa2b commit db74d64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export * from './ipfs_model_manager_js/test_fio.js';
export { ipfsModelManagerJs } from './ipfs_model_manager_js/ipfs_model_manager.js';
export { ipfsModelManagerJs as default } from './ipfs_model_manager_js/ipfs_model_manager.js';
export * from './test/test.js'
export { testIpfsModelManager } from './test/test.js'
export { testIpfsModelManagerJs } from './test/test.js'
const test = new testIpfsModelManager();
export { test }
4 changes: 2 additions & 2 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.25",
"version": "1.0.27",
"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 @@ -24,7 +24,7 @@
"is-stream": "^3.0.0",
"libp2p_kit_js": "^1.0.16",
"moment": "^2.30.1",
"orbitdb_kit_js": "^1.0.11",
"orbitdb_kit_js": "^1.0.13",
"subprocess": "^0.3.0",
"tar": "^7.1.0",
"tmp": "^0.2.3"
Expand Down
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import os from "os";
import { exec, execSync } from "child_process";
import { t } from "tar";

export class testIpfsModelManager {
export class testIpfsModelManagerJs {
constructor(resources = {}, metadata = {}) {
this.ipfsModelManager = new ipfsModelManagerJs(resources, metadata)
this.orbitDbKit = new orbitDbKitJs(resources, metadata)
Expand Down Expand Up @@ -367,7 +367,7 @@ export class testIpfsModelManager {
return test_results;
}
}
export default testIpfsModelManager;
export default testIpfsModelManagerJs;

export class testS3Kit {
constructor(resources = {}, metadata = {}) {
Expand Down

0 comments on commit db74d64

Please sign in to comment.