x-runtime-lib 0.4.10 → 0.4.12

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.js CHANGED
@@ -892,7 +892,8 @@ const Cs = /* @__PURE__ */ un({
892
892
  events: [
893
893
  {
894
894
  key: "click",
895
- name: "EVENT_CLICK"
895
+ name: "EVENT_CLICK",
896
+ params: []
896
897
  }
897
898
  ],
898
899
  methods: [],
@@ -919,7 +920,8 @@ const Cs = /* @__PURE__ */ un({
919
920
  events: [
920
921
  {
921
922
  key: "startup",
922
- name: "EVENT_STARTUP"
923
+ name: "EVENT_STARTUP",
924
+ params: []
923
925
  },
924
926
  {
925
927
  key: "screenSizeChange",
@@ -5298,7 +5300,8 @@ const Zs = /* @__PURE__ */ un({
5298
5300
  ref_v1: tc
5299
5301
  }, rc = {
5300
5302
  key: "add",
5301
- name: "x-runtime-lib.add",
5303
+ name: "METHOD_ADD",
5304
+ inputs: [],
5302
5305
  outputs: [
5303
5306
  {
5304
5307
  key: "newNode",
@@ -1,7 +1,7 @@
1
1
  export type ZEvent = {
2
2
  key: string;
3
3
  name: string;
4
- params?: {
4
+ params: {
5
5
  key: string;
6
6
  name: string;
7
7
  }[];
@@ -9,13 +9,13 @@ export type ZEvent = {
9
9
  export type ZMethod = {
10
10
  key: string;
11
11
  name: string;
12
- inputs?: {
12
+ inputs: {
13
13
  key: string;
14
14
  name: string;
15
15
  type?: 'string' | 'number' | 'boolean';
16
16
  default?: unknown;
17
17
  }[];
18
- outputs?: {
18
+ outputs: {
19
19
  key: string;
20
20
  name: string;
21
21
  }[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.4.10",
4
+ "version": "0.4.12",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",