@hot-updater/react-native 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { checkForUpdate } from "./checkUpdate";
1
+ import { checkForUpdate } from "./checkForUpdate";
2
2
  import { wrap } from "./wrap";
3
3
  export type { HotUpdaterConfig } from "./wrap";
4
4
  export type { HotUpdaterEvent } from "./native";
@@ -1,4 +1,4 @@
1
- import { type CheckForUpdateConfig } from "./checkUpdate";
1
+ import { type CheckForUpdateConfig } from "./checkForUpdate";
2
2
  export type RunUpdateProcessResponse = {
3
3
  status: "ROLLBACK" | "UPDATE";
4
4
  shouldForceUpdate: boolean;
package/dist/wrap.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import { type CheckForUpdateConfig } from "./checkUpdate";
2
+ import { type CheckForUpdateConfig } from "./checkForUpdate";
3
3
  import { HotUpdaterError } from "./error";
4
4
  import type { RunUpdateProcessResponse } from "./runUpdateProcess";
5
5
  type UpdateStatus = "CHECK_FOR_UPDATE" | "UPDATING" | "UPDATE_PROCESS_COMPLETED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/react-native",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "React Native OTA solution for self-hosted",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -78,8 +78,8 @@
78
78
  "react-native-builder-bob": "^0.33.1"
79
79
  },
80
80
  "dependencies": {
81
- "@hot-updater/js": "0.12.0",
82
- "@hot-updater/core": "0.12.0"
81
+ "@hot-updater/js": "0.12.1",
82
+ "@hot-updater/core": "0.12.1"
83
83
  },
84
84
  "scripts": {
85
85
  "build": "rslib build",
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { checkForUpdate } from "./checkUpdate";
1
+ import { checkForUpdate } from "./checkForUpdate";
2
2
  import {
3
3
  addListener,
4
4
  getAppVersion,
@@ -1,4 +1,4 @@
1
- import { type CheckForUpdateConfig, checkForUpdate } from "./checkUpdate";
1
+ import { type CheckForUpdateConfig, checkForUpdate } from "./checkForUpdate";
2
2
  import { reload, updateBundle } from "./native";
3
3
 
4
4
  export type RunUpdateProcessResponse =
package/src/wrap.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import type React from "react";
2
2
  import { useEffect, useLayoutEffect, useState } from "react";
3
- import { type CheckForUpdateConfig, checkForUpdate } from "./checkUpdate";
3
+ import { type CheckForUpdateConfig, checkForUpdate } from "./checkForUpdate";
4
4
  import { HotUpdaterError } from "./error";
5
5
  import { useEventCallback } from "./hooks/useEventCallback";
6
6
  import { reload, updateBundle } from "./native";
File without changes
File without changes