@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/index.js
CHANGED
|
@@ -3193,11 +3193,17 @@ var init_publish = __esm({
|
|
|
3193
3193
|
init_config();
|
|
3194
3194
|
init_pimlico_utils();
|
|
3195
3195
|
createFileManager = async (portalSeed, portalAddress, ucanSecret, privateAccountKey) => {
|
|
3196
|
+
console.log("Creating file manager");
|
|
3196
3197
|
const keyPair = EdKeypair.fromSecretKey(fromUint8Array3(ucanSecret));
|
|
3198
|
+
console.log("Created key pair");
|
|
3197
3199
|
const authTokenProvider = new AuthTokenProvider(keyPair, portalAddress);
|
|
3200
|
+
console.log("Created auth token provider");
|
|
3198
3201
|
const keyStore = new KeyStore(toUint8Array4(portalSeed), portalAddress, authTokenProvider);
|
|
3202
|
+
console.log("Created key store");
|
|
3199
3203
|
const agentClient = new AgentClient(authTokenProvider);
|
|
3204
|
+
console.log("Created agent client");
|
|
3200
3205
|
await agentClient.initializeAgentClient(privateAccountKey);
|
|
3206
|
+
console.log("Initialized agent client");
|
|
3201
3207
|
return new FileManager(keyStore, agentClient);
|
|
3202
3208
|
};
|
|
3203
3209
|
executeOperation = async (fileManager, file2, operation) => {
|