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

View File

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