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",
|
"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": {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue