We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d02dcb + ff90f64 commit bcf6026Copy full SHA for bcf6026
src/modules/PuterModule.js
@@ -1,4 +1,3 @@
1
-import { init } from "@heyputer/puter.js/src/init.cjs";
2
import Conf from "conf";
3
import { PROJECT_NAME } from "../commons.js";
4
import { puter } from "@heyputer/puter.js";
@@ -13,7 +12,8 @@ export const initPuterModule = () => {
13
12
const profile = profiles.find((v) => v.uuid === uuid);
14
const authToken = profile?.token;
15
16
- puterModule = init(authToken);
+ puter.setAuthToken(authToken);
+ puterModule = puter;
17
};
18
19
/**
0 commit comments