mirror of
https://github.com/logos-messaging/waku-react.git
synced 2026-01-07 00:23:07 +00:00
bump @waku packages and fix discrepansy
This commit is contained in:
parent
5586ceb38b
commit
ce235d9d25
9409
package-lock.json
generated
9409
package-lock.json
generated
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.22",
|
"@waku/interfaces": "^0.0.25",
|
||||||
"@waku/sdk": "^0.0.23",
|
"@waku/sdk": "^0.0.26",
|
||||||
"react": "^16.8.0 || ^17 || ^18"
|
"react": "^16.8.0 || ^17 || ^18"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
|
|||||||
@ -1,14 +1,14 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import type {
|
import type {
|
||||||
IEncoder,
|
IEncoder,
|
||||||
ILightPush,
|
ILightPushSDK,
|
||||||
IMessage,
|
IMessage,
|
||||||
SendResult,
|
SDKProtocolResult,
|
||||||
Waku,
|
Waku,
|
||||||
} from "@waku/interfaces";
|
} from "@waku/interfaces";
|
||||||
|
|
||||||
type AbstractLightPushNode = Waku & {
|
type AbstractLightPushNode = Waku & {
|
||||||
lightPush: ILightPush;
|
lightPush: ILightPushSDK;
|
||||||
};
|
};
|
||||||
|
|
||||||
type UseLightPushParams = {
|
type UseLightPushParams = {
|
||||||
@ -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;
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import React from "react";
|
|||||||
import type {
|
import type {
|
||||||
IDecodedMessage,
|
IDecodedMessage,
|
||||||
IDecoder,
|
IDecoder,
|
||||||
IStore,
|
IStoreSDK,
|
||||||
StoreQueryOptions,
|
StoreQueryOptions,
|
||||||
Waku,
|
Waku,
|
||||||
} from "@waku/interfaces";
|
} from "@waku/interfaces";
|
||||||
@ -10,7 +10,7 @@ import type {
|
|||||||
import type { HookState } from "./types";
|
import type { HookState } from "./types";
|
||||||
|
|
||||||
type AbstractStoreNode = Waku & {
|
type AbstractStoreNode = Waku & {
|
||||||
store: IStore;
|
store: IStoreSDK;
|
||||||
};
|
};
|
||||||
|
|
||||||
type UseStoreMessagesParams = {
|
type UseStoreMessagesParams = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user