Skip to content

Commit

Permalink
0.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed Oct 2, 2024
1 parent b0a8ef6 commit 4f1d72a
Show file tree
Hide file tree
Showing 14 changed files with 43 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/index/functions/useWebViewMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ A hook to subscribe messages from WebView.

## Defined in

[src/native/index.ts:28](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/native/index.ts#L28)
[src/native/index.ts:28](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/native/index.ts#L28)
4 changes: 2 additions & 2 deletions docs/index/interfaces/ReactNativeMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#### Defined in

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

***

Expand All @@ -26,4 +26,4 @@
#### Defined in

[src/types.ts:8](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/types.ts#L8)
[src/types.ts:8](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/types.ts#L8)
4 changes: 2 additions & 2 deletions docs/index/interfaces/WebViewMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#### Defined in

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

***

Expand All @@ -26,4 +26,4 @@
#### Defined in

[src/types.ts:3](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/types.ts#L3)
[src/types.ts:3](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/types.ts#L3)
1 change: 1 addition & 0 deletions docs/plugin/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ Custom babelTransformer for metro bundler

### Functions

- [createTransformer](functions/createTransformer.md)
- [transform](functions/transform.md)
27 changes: 27 additions & 0 deletions docs/plugin/functions/createTransformer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[**API**](../../API.md)**Docs**

***

# Function: createTransformer()

> **createTransformer**(`esbuildOptions`): (`args`) => `Promise`\<`any`\>
## Parameters

**esbuildOptions**: `Omit`\<`BuildOptions`, `"write"` \| `"entryPoints"` \| `"alias"`\> = `{}`

## Returns

`Function`

### Parameters

**args**: `any`

### Returns

`Promise`\<`any`\>

## Defined in

[src/plugin/index.ts:35](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/plugin/index.ts#L35)
2 changes: 1 addition & 1 deletion docs/plugin/functions/transform.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

## Defined in

[src/plugin/index.ts:34](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/plugin/index.ts#L34)
[src/plugin/index.ts:56](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/plugin/index.ts#L56)
2 changes: 1 addition & 1 deletion docs/web/preact/functions/useNativeMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ A hook to subscribe messages from React Native.

## Defined in

[src/web/preact.ts:25](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/preact.ts#L25)
[src/web/preact.ts:25](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/preact.ts#L25)
2 changes: 1 addition & 1 deletion docs/web/preact/functions/webViewRender.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ All dependencies are resolved, compressed and stringified into one file

## Defined in

[src/web/preact.ts:17](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/preact.ts#L17)
[src/web/preact.ts:17](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/preact.ts#L17)
2 changes: 1 addition & 1 deletion docs/web/react/functions/emit.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ A function to send a message to React Native

## Defined in

[src/web/core.ts:13](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/core.ts#L13)
[src/web/core.ts:13](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/core.ts#L13)
2 changes: 1 addition & 1 deletion docs/web/react/functions/useNativeMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ A hook to subscribe messages from React Native.

## Defined in

[src/web/react.ts:34](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/react.ts#L34)
[src/web/react.ts:34](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/react.ts#L34)
2 changes: 1 addition & 1 deletion docs/web/react/functions/webViewCreateRoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@

## Defined in

[src/web/react.ts:26](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/react.ts#L26)
[src/web/react.ts:26](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/react.ts#L26)
2 changes: 1 addition & 1 deletion docs/web/react/functions/webViewRender.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ All dependencies are resolved, compressed and stringified into one file

## Defined in

[src/web/react.ts:18](https://github.com/inokawa/react-native-react-bridge/blob/5ee94fe89bf5e5651d81f91c134d0e6639b5c7a5/src/web/react.ts#L18)
[src/web/react.ts:18](https://github.com/inokawa/react-native-react-bridge/blob/b0a8ef6e567676174800409d4b0075e0b9a19a45/src/web/react.ts#L18)
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-react-bridge",
"version": "0.12.1",
"version": "0.12.2",
"description": "An easy way to integrate your React (or Preact/React Native Web) app into React Native app with WebView.",
"main": "lib/index.js",
"module": "lib/index.mjs",
Expand Down

0 comments on commit 4f1d72a

Please sign in to comment.