mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-09 17:23:11 +00:00
make it compatible with expo/next
This commit is contained in:
parent
bfbe6379ba
commit
6fe475daaf
@ -1,5 +1,6 @@
|
||||
"use client";
|
||||
import type { CreateNodeOptions, IWaku, LightNode } from "@waku/interfaces";
|
||||
import React from "react";
|
||||
import * as React from "react";
|
||||
|
||||
import type { CreateNodeResult, ReactChildrenProps } from "./types.js";
|
||||
import { useCreateLightNode } from "./useCreateWaku.js";
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import type { IWaku } from "@waku/interfaces";
|
||||
import type React from "react";
|
||||
import type * as React from "react";
|
||||
export type { CreateNodeOptions, AutoSharding } from "@waku/interfaces";
|
||||
|
||||
type HookState = {
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
"use client";
|
||||
import type { CreateNodeOptions, IWaku, LightNode } from "@waku/interfaces";
|
||||
import { createLightNode } from "@waku/sdk";
|
||||
import React from "react";
|
||||
import * as React from "react";
|
||||
|
||||
import type { CreateNodeResult } from "./types.js";
|
||||
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
"outDir": "dist/",
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "dist/.tsbuildinfo",
|
||||
"declarationDir": "dist",
|
||||
"jsx": "react"
|
||||
},
|
||||
"include": ["src", "*.js"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user