Skip to content

Commit e48cc03

Browse files
committed
v10.5.1
1 parent 3e60cfd commit e48cc03

File tree

8 files changed

+8
-5
lines changed

8 files changed

+8
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "react-native-update",
3-
"version": "10.5.0",
3+
"version": "10.5.1",
44
"description": "react-native hot update",
5-
"main": "src/index.ts",
5+
"main": "src/index",
66
"scripts": {
77
"prepack": "yarn submodule && yarn lint",
88
"lint": "eslint \"src/*.@(ts|tsx|js|jsx)\" && tsc --noEmit",
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/index.native.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export { Pushy } from './client.native';
2+
export { PushyContext, usePushy } from './context';
3+
export { PushyProvider } from './provider.native';

src/provider.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import React from 'react';
2+
export const PushyProvider = ({ children }) => <>{children}</>;

src/provider.tsx renamed to src/provider.native.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
Platform,
1313
Linking,
1414
} from 'react-native';
15-
import { Pushy } from './client';
15+
import { Pushy } from './client.native';
1616
import {
1717
currentVersion,
1818
isFirstTime,

src/provider.web.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)