feat: bump @waku

This commit is contained in:
Sasha 2024-07-13 23:57:26 +02:00
parent 8c435e4bd6
commit 276dc13731
No known key found for this signature in database
3 changed files with 604 additions and 501 deletions

1097
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -87,8 +87,8 @@
"typescript": "^4.9.5"
},
"peerDependencies": {
"@waku/interfaces": "^0.0.23",
"@waku/sdk": "^0.0.24",
"@waku/interfaces": "^0.0.25",
"@waku/sdk": "^0.0.26",
"react": "^16.8.0 || ^17 || ^18"
},
"peerDependenciesMeta": {

View File

@ -3,7 +3,7 @@ import type {
IEncoder,
ILightPushSDK,
IMessage,
SendResult,
SDKProtocolResult,
Waku,
} from "@waku/interfaces";
@ -16,7 +16,7 @@ type UseLightPushParams = {
node: undefined | AbstractLightPushNode;
};
type PushFn = (message: IMessage) => Promise<SendResult>;
type PushFn = (message: IMessage) => Promise<SDKProtocolResult>;
type UseLightPushResult = {
push?: undefined | PushFn;