feat: bump @waku (#46)

* feat: bump @waku

* use pre-release and bump @waku/react

* bump lock
This commit is contained in:
Sasha 2024-07-14 00:40:20 +02:00 committed by GitHub
parent 8c435e4bd6
commit 602a02cf9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4438 additions and 4537 deletions

8965
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@waku/react",
"version": "0.0.5",
"version": "0.0.6",
"description": "React hooks and components to use js-waku",
"type": "module",
"main": "dist/index.cjs.js",
@ -87,8 +87,8 @@
"typescript": "^4.9.5"
},
"peerDependencies": {
"@waku/interfaces": "^0.0.23",
"@waku/sdk": "^0.0.24",
"@waku/interfaces": "^0.0.26-ce62600.0",
"@waku/sdk": "^0.0.27-ce62600.0",
"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;