aprog 2.3.2 → 2.3.3

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 CHANGED
@@ -106,24 +106,6 @@ export default NamePage;
106
106
 
107
107
  ```
108
108
 
109
- Приклад використання методів дебагу:
110
-
111
- ```shell
112
-
113
- const int = 0;
114
- const array = [1,2,3,4];
115
- const boolean = true;
116
-
117
- // виводить всі змінні в одній групі вкладок
118
- dump(int, array, boolean);
119
-
120
- // or
121
-
122
- // виводить всі змінні в одній групі вкладок та зупиняє подальше виконання скрипту
123
- dd(int, array, boolean);
124
-
125
- ```
126
-
127
109
  Приклад використання gemini:
128
110
 
129
111
  у файл __.env__ потрібно додати api-ключ __VITE_GEMINI_KEY=you_api_gemini_key__
@@ -153,7 +135,6 @@ onInput: (event) => {
153
135
 
154
136
  Загальний список методів:
155
137
 
156
- - *dump(...args), dd(...args)*
157
138
  - *redirect(url, { newTab: bool, replace: bool }), reload(delaySeconds), validateEmail(email), validatePassword(password)*
158
139
  - *encrypt(str), decrypt(encryptedStr)*
159
140
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aprog",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "Допоміжна JavaScript-бібліотека для проєктів",
5
5
  "main": "index.js",
6
6
  "exports": {
package/src/router.js CHANGED
@@ -18,9 +18,9 @@ export const router = async ({routes, main, message = "", props = {}}) => {
18
18
  }
19
19
 
20
20
  const component = await routeComponent({
21
+ message,
21
22
  ...props,
22
23
  ...routeProps,
23
- message,
24
24
  });
25
25
 
26
26
  main.appendChild(component);