From db74d64cc15cb8641c985c61a500b476b5e6f773 Mon Sep 17 00:00:00 2001 From: endomorphosis Date: Wed, 4 Sep 2024 15:59:32 -0700 Subject: [PATCH] chore: Update ipfs_model_manager_js package version to 1.0.27 and fix import in test.js --- index.js | 2 +- package.json | 4 ++-- test/test.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index ad5584d..0982354 100644 --- a/index.js +++ b/index.js @@ -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 } \ No newline at end of file diff --git a/package.json b/package.json index e71ebc0..90e9600 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" diff --git a/test/test.js b/test/test.js index 8f4b922..a833a1c 100644 --- a/test/test.js +++ b/test/test.js @@ -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) @@ -367,7 +367,7 @@ export class testIpfsModelManager { return test_results; } } -export default testIpfsModelManager; +export default testIpfsModelManagerJs; export class testS3Kit { constructor(resources = {}, metadata = {}) {