piral-update 0.15.0-alpha.4034 → 0.15.0-alpha.4098
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/esm/types.d.ts +2 -1
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/lib/types.d.ts +2 -1
- package/package.json +6 -6
- package/src/types.ts +2 -1
package/esm/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
1
2
|
import type { Dict, GlobalStateContext, PiletEntries } from 'piral-core';
|
|
2
|
-
import type { ComponentType } from 'react';
|
|
3
3
|
declare module 'piral-core/lib/types/custom' {
|
|
4
4
|
interface PiletCustomApi extends PiletUpdateApi {
|
|
5
5
|
}
|
|
@@ -40,6 +40,7 @@ export interface UpdateDialogProps {
|
|
|
40
40
|
piletsToUpdate: PiletEntries;
|
|
41
41
|
onApprove(): void;
|
|
42
42
|
onReject(): void;
|
|
43
|
+
children?: ReactNode;
|
|
43
44
|
}
|
|
44
45
|
export declare type PiletUpdateMode = 'allow' | 'block' | 'ask';
|
|
45
46
|
export interface PiletUpdateApi {
|
package/lib/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
tslib_1.__exportStar(require("./components"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./create"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./helpers"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./UpdateDialog"), exports);
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,mDAAyB;AACzB,oDAA0B;AAC1B,kDAAwB;AACxB,yDAA+B"}
|
package/lib/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
1
2
|
import type { Dict, GlobalStateContext, PiletEntries } from 'piral-core';
|
|
2
|
-
import type { ComponentType } from 'react';
|
|
3
3
|
declare module 'piral-core/lib/types/custom' {
|
|
4
4
|
interface PiletCustomApi extends PiletUpdateApi {
|
|
5
5
|
}
|
|
@@ -40,6 +40,7 @@ export interface UpdateDialogProps {
|
|
|
40
40
|
piletsToUpdate: PiletEntries;
|
|
41
41
|
onApprove(): void;
|
|
42
42
|
onReject(): void;
|
|
43
|
+
children?: ReactNode;
|
|
43
44
|
}
|
|
44
45
|
export declare type PiletUpdateMode = 'allow' | 'block' | 'ask';
|
|
45
46
|
export interface PiletUpdateApi {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "piral-update",
|
|
3
|
-
"version": "0.15.0-alpha.
|
|
3
|
+
"version": "0.15.0-alpha.4098",
|
|
4
4
|
"description": "Plugin for auto-updating pilets in Piral.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"piral",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@types/react": "^
|
|
49
|
-
"piral-core": "0.15.0-alpha.
|
|
50
|
-
"react": "^
|
|
48
|
+
"@types/react": "^18.0.0",
|
|
49
|
+
"piral-core": "0.15.0-alpha.4098",
|
|
50
|
+
"react": "^18.0.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"piral-core": "0.14.x",
|
|
53
|
+
"piral-core": "0.14.x || 0.15.x",
|
|
54
54
|
"react": ">=16.8.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "02ef35574b29cc5dd93c515bfdf27dd523893b28"
|
|
57
57
|
}
|
package/src/types.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
1
2
|
import type { Dict, GlobalStateContext, PiletEntries } from 'piral-core';
|
|
2
|
-
import type { ComponentType } from 'react';
|
|
3
3
|
|
|
4
4
|
declare module 'piral-core/lib/types/custom' {
|
|
5
5
|
interface PiletCustomApi extends PiletUpdateApi {}
|
|
@@ -51,6 +51,7 @@ export interface UpdateDialogProps {
|
|
|
51
51
|
piletsToUpdate: PiletEntries;
|
|
52
52
|
onApprove(): void;
|
|
53
53
|
onReject(): void;
|
|
54
|
+
children?: ReactNode;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
export type PiletUpdateMode = 'allow' | 'block' | 'ask';
|