Skip to content

Commit 4f1d72a

Browse files
committed
0.12.2
1 parent b0a8ef6 commit 4f1d72a

14 files changed

+43
-15
lines changed

docs/index/functions/useWebViewMessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ A hook to subscribe messages from WebView.
5050

5151
## Defined in
5252

53-
[src/native/index.ts:28](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/native/index.ts#L28)
53+
[src/native/index.ts:28](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/native/index.ts#L28)

docs/index/interfaces/ReactNativeMessage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
#### Defined in
1818

19-
[src/types.ts:7](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/types.ts#L7)
19+
[src/types.ts:7](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/types.ts#L7)
2020

2121
***
2222

@@ -26,4 +26,4 @@
2626
2727
#### Defined in
2828

29-
[src/types.ts:8](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/types.ts#L8)
29+
[src/types.ts:8](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/types.ts#L8)

docs/index/interfaces/WebViewMessage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
#### Defined in
1818

19-
[src/types.ts:2](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/types.ts#L2)
19+
[src/types.ts:2](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/types.ts#L2)
2020

2121
***
2222

@@ -26,4 +26,4 @@
2626
2727
#### Defined in
2828

29-
[src/types.ts:3](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/types.ts#L3)
29+
[src/types.ts:3](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/types.ts#L3)

docs/plugin/API.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ Custom babelTransformer for metro bundler
1010

1111
### Functions
1212

13+
- [createTransformer](functions/createTransformer.md)
1314
- [transform](functions/transform.md)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[**API**](../../API.md)**Docs**
2+
3+
***
4+
5+
# Function: createTransformer()
6+
7+
> **createTransformer**(`esbuildOptions`): (`args`) => `Promise`\<`any`\>
8+
9+
## Parameters
10+
11+
**esbuildOptions**: `Omit`\<`BuildOptions`, `"write"` \| `"entryPoints"` \| `"alias"`\> = `{}`
12+
13+
## Returns
14+
15+
`Function`
16+
17+
### Parameters
18+
19+
**args**: `any`
20+
21+
### Returns
22+
23+
`Promise`\<`any`\>
24+
25+
## Defined in
26+
27+
[src/plugin/index.ts:35](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/plugin/index.ts#L35)

docs/plugin/functions/transform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616

1717
## Defined in
1818

19-
[src/plugin/index.ts:34](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/plugin/index.ts#L34)
19+
[src/plugin/index.ts:56](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/plugin/index.ts#L56)

docs/web/preact/functions/useNativeMessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ A hook to subscribe messages from React Native.
2222

2323
## Defined in
2424

25-
[src/web/preact.ts:25](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/preact.ts#L25)
25+
[src/web/preact.ts:25](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/preact.ts#L25)

docs/web/preact/functions/webViewRender.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ All dependencies are resolved, compressed and stringified into one file
2121

2222
## Defined in
2323

24-
[src/web/preact.ts:17](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/preact.ts#L17)
24+
[src/web/preact.ts:17](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/preact.ts#L17)

docs/web/react/functions/emit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ A function to send a message to React Native
2222

2323
## Defined in
2424

25-
[src/web/core.ts:13](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/core.ts#L13)
25+
[src/web/core.ts:13](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/core.ts#L13)

docs/web/react/functions/useNativeMessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ A hook to subscribe messages from React Native.
2222

2323
## Defined in
2424

25-
[src/web/react.ts:34](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/react.ts#L34)
25+
[src/web/react.ts:34](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/react.ts#L34)

docs/web/react/functions/webViewCreateRoot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818

1919
## Defined in
2020

21-
[src/web/react.ts:26](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/react.ts#L26)
21+
[src/web/react.ts:26](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/react.ts#L26)

docs/web/react/functions/webViewRender.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ All dependencies are resolved, compressed and stringified into one file
2121

2222
## Defined in
2323

24-
[src/web/react.ts:18](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/react.ts#L18)
24+
[src/web/react.ts:18](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/react.ts#L18)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-react-bridge",
3-
"version": "0.12.1",
3+
"version": "0.12.2",
44
"description": "An easy way to integrate your React (or Preact/React Native Web) app into React Native app with WebView.",
55
"main": "lib/index.js",
66
"module": "lib/index.mjs",

0 commit comments

Comments
 (0)