Merge pull request #44 from waku-org/chore/update-waku-deps

chore: update waku interface and sdk deps to latest version
This commit is contained in:
Arseniy Klempner 2024-04-15 10:32:39 -07:00 committed by GitHub
commit 8c435e4bd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 710 additions and 568 deletions

1264
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -87,8 +87,8 @@
"typescript": "^4.9.5" "typescript": "^4.9.5"
}, },
"peerDependencies": { "peerDependencies": {
"@waku/interfaces": "^0.0.22", "@waku/interfaces": "^0.0.23",
"@waku/sdk": "^0.0.23", "@waku/sdk": "^0.0.24",
"react": "^16.8.0 || ^17 || ^18" "react": "^16.8.0 || ^17 || ^18"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {

View File

@ -1,14 +1,14 @@
import React from "react"; import React from "react";
import type { import type {
IEncoder, IEncoder,
ILightPush, ILightPushSDK,
IMessage, IMessage,
SendResult, SendResult,
Waku, Waku,
} from "@waku/interfaces"; } from "@waku/interfaces";
type AbstractLightPushNode = Waku & { type AbstractLightPushNode = Waku & {
lightPush: ILightPush; lightPush: ILightPushSDK;
}; };
type UseLightPushParams = { type UseLightPushParams = {

View File

@ -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 = {