mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 13:01:38 +08:00
lint
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-update",
|
"name": "react-native-update",
|
||||||
"version": "10.14.0",
|
"version": "10.15.0",
|
||||||
"description": "react-native hot update",
|
"description": "react-native hot update",
|
||||||
"main": "src/index",
|
"main": "src/index",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@@ -187,6 +187,7 @@ export class Pushy {
|
|||||||
...extra,
|
...extra,
|
||||||
};
|
};
|
||||||
if (__DEV__) {
|
if (__DEV__) {
|
||||||
|
// @ts-ignore
|
||||||
delete fetchBody.buildTime;
|
delete fetchBody.buildTime;
|
||||||
}
|
}
|
||||||
const body = JSON.stringify(fetchBody);
|
const body = JSON.stringify(fetchBody);
|
||||||
|
@@ -13,11 +13,7 @@ import {
|
|||||||
Linking,
|
Linking,
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import { Pushy } from './client';
|
import { Pushy } from './client';
|
||||||
import {
|
import { currentVersion, packageVersion, getCurrentVersionInfo } from './core';
|
||||||
currentVersion,
|
|
||||||
packageVersion,
|
|
||||||
getCurrentVersionInfo,
|
|
||||||
} from './core';
|
|
||||||
import { CheckResult, ProgressData, PushyTestPayload } from './type';
|
import { CheckResult, ProgressData, PushyTestPayload } from './type';
|
||||||
import { PushyContext } from './context';
|
import { PushyContext } from './context';
|
||||||
import { URL } from 'react-native-url-polyfill';
|
import { URL } from 'react-native-url-polyfill';
|
||||||
|
@@ -49,7 +49,7 @@ export interface EventData {
|
|||||||
uuid: string;
|
uuid: string;
|
||||||
};
|
};
|
||||||
packageVersion: string;
|
packageVersion: string;
|
||||||
buildTime: number;
|
buildTime: string;
|
||||||
message?: string;
|
message?: string;
|
||||||
rolledBackVersion?: string;
|
rolledBackVersion?: string;
|
||||||
newVersion?: string;
|
newVersion?: string;
|
||||||
|
Reference in New Issue
Block a user