Skip to content

Commit

Permalink
v10.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnylqm committed Apr 22, 2024
1 parent 3e60cfd commit ad9b077
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "react-native-update",
"version": "10.5.0",
"version": "10.5.1",
"description": "react-native hot update",
"main": "src/index.ts",
"main": "src/index",
"scripts": {
"prepack": "yarn submodule && yarn lint",
"lint": "eslint \"src/*.@(ts|tsx|js|jsx)\" && tsc --noEmit",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/index.native.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export { Pushy } from './client.native';
export { PushyContext, usePushy } from './context';
export { PushyProvider } from './provider.native';
2 changes: 2 additions & 0 deletions src/provider.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import React from 'react';
export const PushyProvider = ({ children }) => <>{children}</>;
2 changes: 1 addition & 1 deletion src/provider.tsx → src/provider.native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
Platform,
Linking,
} from 'react-native';
import { Pushy } from './client';
import { Pushy } from './client.native';
import {
currentVersion,
isFirstTime,
Expand Down
2 changes: 0 additions & 2 deletions src/provider.web.js

This file was deleted.

0 comments on commit ad9b077

Please sign in to comment.