@fileverse/api 0.0.14 → 0.0.15
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.
- package/dist/cli/index.js.map +1 -1
- package/dist/cloudflare.js +6 -3
- package/dist/cloudflare.js.map +1 -1
- package/dist/commands/index.js.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/worker.js +6 -0
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
package/dist/worker.js
CHANGED
|
@@ -2987,11 +2987,17 @@ var init_publish = __esm({
|
|
|
2987
2987
|
init_config();
|
|
2988
2988
|
init_pimlico_utils();
|
|
2989
2989
|
createFileManager = async (portalSeed, portalAddress, ucanSecret, privateAccountKey) => {
|
|
2990
|
+
console.log("Creating file manager");
|
|
2990
2991
|
const keyPair = EdKeypair.fromSecretKey(fromUint8Array3(ucanSecret));
|
|
2992
|
+
console.log("Created key pair");
|
|
2991
2993
|
const authTokenProvider = new AuthTokenProvider(keyPair, portalAddress);
|
|
2994
|
+
console.log("Created auth token provider");
|
|
2992
2995
|
const keyStore = new KeyStore(toUint8Array4(portalSeed), portalAddress, authTokenProvider);
|
|
2996
|
+
console.log("Created key store");
|
|
2993
2997
|
const agentClient = new AgentClient(authTokenProvider);
|
|
2998
|
+
console.log("Created agent client");
|
|
2994
2999
|
await agentClient.initializeAgentClient(privateAccountKey);
|
|
3000
|
+
console.log("Initialized agent client");
|
|
2995
3001
|
return new FileManager(keyStore, agentClient);
|
|
2996
3002
|
};
|
|
2997
3003
|
executeOperation = async (fileManager, file, operation) => {
|