Commit Graph

11 Commits

Author SHA1 Message Date
Vaclav Pavlin 90327461c5
chore: update waku packages (#32) 2023-10-24 10:45:14 +02:00
danisharora099 168761b85b
chore: upgrade @waku 2023-09-12 00:01:35 +08:00
danisharora099 876778514a
upgrade waku 2023-08-02 16:57:20 +05:30
Sasha d4042afbef
chore: use @waku/sdk as peerDependency (#20)
* use sdk as peerDependency, remove relay package, fix type check command

* make peer dependency compatible with higher versions

* add codeowners
2023-08-02 00:39:11 +02:00
danisharora099 c9ec204fe8
upgrade js-waku deps 2023-07-27 16:43:30 +05:30
Sasha dce1bb6301
feat!: remove usePeers, upgrade waku (#9)
* upgrade waku version, remove usePeers (from prev discussions)

* fix formatting

* bumb to 0.0.2
2023-06-23 22:51:52 +02:00
Sasha 60717e5d19
chore: use lint-staged for pre-commit (#6) 2023-05-17 13:05:02 +02:00
Sasha e4d0106499
feat!: add new hooks and improvements (#3)
* use React global var

* use undefined instead on null

* use react as peer dependency

* make ephemeral default to false

* set default ephemeral to false, use node instead of waku naming

* implement useStoreMessages

* fix types

* export useStoreMessages

* make content pair set initially

* remove deps for useEffect for createWaku to prevent re rendering

* prevent setting of empty messages

* accept undefined node, handle empty message case

* accept undefined node, handle empty message case

* add TODOs

* rename to useCreateContentPair

* remove export of WakuContext, create ContetnPair provider

* remove export of WakuContext, create ContetnPair provider

* fix lint

* fix typo

* remove export

* fix prettier

* make decoded optional

* add jsdocs

* add useLightPush hook

* update types, add usePeers, add prettierignore

* remove full node hook, provider

* remove export

* remove FullNode stuff
2023-02-28 00:57:59 +01:00
Sasha bd3bfb8134
chore: disable tests & fix husky (#2) 2023-02-21 17:02:09 +01:00
Sasha 4b219df40c
feat!: add basic @waku/react hooks (#1)
* add react and typecript
* add react, rollup and ts
* add waku dependencies
* add create hooks, providers and update typings path
* extend create hooks and provider with error/loading state
* rename to isLoading
* create useContentPair hook
* add protocols property and bootstrap with remote peers
* add useFilterSubscribe
* add eslint & fix issues
* add prettier & fix
* add jest
* add husky
* add bundlewatch
2023-02-16 21:49:46 +01:00
weboko 84b46a76a8
init with README, LICENSE and package.json 2023-02-14 00:50:23 +01:00