@peers-app/peers-sdk 0.1.7 → 0.6.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/rpc-types.d.ts +1 -0
- package/dist/rpc-types.js +1 -0
- package/package.json +2 -2
package/dist/rpc-types.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export declare const rpcServerCalls: {
|
|
|
34
34
|
getFileContents: ((fileId: string, encoding?: BufferEncoding) => Promise<string>);
|
|
35
35
|
resetAllDeviceSyncInfo: (() => Promise<void>);
|
|
36
36
|
importGroupShare: ((groupShareJson: string) => Promise<string>);
|
|
37
|
+
setAppTheme: ((theme: "light" | "dark") => Promise<void>);
|
|
37
38
|
};
|
|
38
39
|
export declare const rpcClientCalls: {
|
|
39
40
|
ping: (msg: string) => Promise<string>;
|
package/dist/rpc-types.js
CHANGED
|
@@ -31,6 +31,7 @@ exports.rpcServerCalls = {
|
|
|
31
31
|
getFileContents: rpcStub('getFileContents'),
|
|
32
32
|
resetAllDeviceSyncInfo: rpcStub('resetAllDeviceSyncInfo'),
|
|
33
33
|
importGroupShare: rpcStub('importGroupShare'),
|
|
34
|
+
setAppTheme: rpcStub('setAppTheme'),
|
|
34
35
|
// TODO try to get rid of this and rely on the client-side table and server-side table individually emitting events
|
|
35
36
|
// emitEvent: _na as ((event: IEventData) => Promise<boolean>),
|
|
36
37
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peers-app/peers-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.15",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/peers-app/peers-sdk.git"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"moment-timezone": "^0.5.46",
|
|
38
38
|
"tweetnacl": "^1.0.3",
|
|
39
39
|
"tweetnacl-util": "^0.15.1",
|
|
40
|
-
"zod": "
|
|
40
|
+
"zod": "3.23.8"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/better-sqlite3": "^7.6.12",
|