@dohaidang/locket_mod.js 0.0.3 → 0.0.4
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/README.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ LOCKET_EMAIL=you@example.com LOCKET_PASSWORD=... node app.js
|
|
|
81
81
|
After `login()`, the client writes a JSON file at `sessionPath` containing your Firebase tokens and the emulated device. On the next run it loads that file and skips logging in. The `idToken` (valid about one hour) is refreshed automatically when it has less than a minute left.
|
|
82
82
|
|
|
83
83
|
> [!CAUTION]
|
|
84
|
-
> The session file is effectively your logged-in account. **Never commit it.** This repo's `.gitignore`
|
|
84
|
+
> The session file is effectively your logged-in account. **Never commit it.** This repo's `.gitignore` ignores `*.session.json`, `locket.js_session.json` and `session.json`; if you use another name, add it to your own `.gitignore`.
|
|
85
85
|
|
|
86
86
|
The client also keeps two small helper files next to the session file: `my_moments_<uid>.json` (moments you posted) and `chat_history.json` (a local message cache).
|
|
87
87
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dohaidang/locket_mod.js",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Unofficial Node.js SDK client for Locket Camera",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"test": "node --test tests/*.js",
|
|
18
|
-
"lint": "node
|
|
18
|
+
"lint": "node scripts/lint.js",
|
|
19
19
|
"prepublishOnly": "npm test"
|
|
20
20
|
},
|
|
21
21
|
"keywords": [
|