feat: bump @waku (#46)
* feat: bump @waku * use pre-release and bump @waku/react * bump lock
This commit is contained in:
parent
8c435e4bd6
commit
602a02cf9e
File diff suppressed because it is too large
Load Diff
|
@ -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": {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue