phecda-web 3.0.2-alpha.0 → 3.0.2-alpha.2
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/README.md +6 -6
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# phecda-web
|
|
2
|
-
|
|
3
|
-
Fulfill `phecda-core` standard (`Storage/Watcher`);
|
|
4
|
-
|
|
5
|
-
Work for `phecda-vue`/`phecda-react`
|
|
6
|
-
|
|
1
|
+
# phecda-web
|
|
2
|
+
|
|
3
|
+
Fulfill `phecda-core` standard (`Storage/Watcher`);
|
|
4
|
+
|
|
5
|
+
Work for `phecda-vue`/`phecda-react`
|
|
6
|
+
|
|
7
7
|
Using `Proxy` and `emitDecoratorMetadata`
|
package/dist/index.d.mts
CHANGED
|
@@ -61,7 +61,7 @@ declare class WebPhecda {
|
|
|
61
61
|
*/
|
|
62
62
|
memory: Record<string, any>;
|
|
63
63
|
state: Record<string | symbol, any>;
|
|
64
|
-
modelMap: WeakMap<
|
|
64
|
+
modelMap: WeakMap<WeakKey, any>;
|
|
65
65
|
emitter: mitt.Emitter<InternalEvents>;
|
|
66
66
|
constructor(namespace: string, parseModule: <Instance = any>(instance: Instance) => Instance);
|
|
67
67
|
private then;
|
package/dist/index.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ declare class WebPhecda {
|
|
|
61
61
|
*/
|
|
62
62
|
memory: Record<string, any>;
|
|
63
63
|
state: Record<string | symbol, any>;
|
|
64
|
-
modelMap: WeakMap<
|
|
64
|
+
modelMap: WeakMap<WeakKey, any>;
|
|
65
65
|
emitter: mitt.Emitter<InternalEvents>;
|
|
66
66
|
constructor(namespace: string, parseModule: <Instance = any>(instance: Instance) => Instance);
|
|
67
67
|
private then;
|
package/dist/index.js
CHANGED
|
@@ -30,8 +30,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
31
31
|
|
|
32
32
|
// src/index.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
33
|
+
var index_exports = {};
|
|
34
|
+
__export(index_exports, {
|
|
35
35
|
Mixin: () => import_ts_mixer.Mixin,
|
|
36
36
|
WebBase: () => WebBase,
|
|
37
37
|
WebPhecda: () => WebPhecda,
|
|
@@ -44,8 +44,8 @@ __export(src_exports, {
|
|
|
44
44
|
phecdaNamespace: () => phecdaNamespace,
|
|
45
45
|
setDefaultPhecda: () => setDefaultPhecda
|
|
46
46
|
});
|
|
47
|
-
module.exports = __toCommonJS(
|
|
48
|
-
__reExport(
|
|
47
|
+
module.exports = __toCommonJS(index_exports);
|
|
48
|
+
__reExport(index_exports, require("phecda-core"), module.exports);
|
|
49
49
|
|
|
50
50
|
// src/inject.ts
|
|
51
51
|
var import_phecda_core = require("phecda-core");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "phecda-web",
|
|
3
|
-
"version": "3.0.2-alpha.
|
|
3
|
+
"version": "3.0.2-alpha.2",
|
|
4
4
|
"description": "using proxy, provide phecda function to web app",
|
|
5
5
|
"author": "fgsreally",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"mitt": "^3.0.0",
|
|
20
20
|
"reflect-metadata": "^0.1.13",
|
|
21
21
|
"ts-mixer": "^6.0.4",
|
|
22
|
-
"phecda-core": "4.1.0-alpha.
|
|
22
|
+
"phecda-core": "4.1.0-alpha.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"tsup": "^8.1.0"
|