create-gramstax 0.3.0 → 0.3.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.
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "logging-pretty": "^3.0.0",
39
- "gramstax": "^0.2.3"
39
+ "gramstax": "^0.3.1"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "typescript": "5.9.3"
@@ -2,6 +2,6 @@ import { KeyboardComponent } from "~/components/keyboard"
2
2
  import { CtxCore } from "~/core/ctx"
3
3
 
4
4
  export abstract class PageBase extends CtxCore {
5
- public static KbCom = KeyboardComponent
6
- public static KbData = this.KbCom.data
5
+ public static kbc = KeyboardComponent
6
+ public static kbd = KeyboardComponent.data
7
7
  }
@@ -14,7 +14,7 @@ export class GeneralErrorInputNotFoundPage extends PageBase {
14
14
 
15
15
  public static template = /*jsx*/ `
16
16
  <base>
17
- ${this.KbCom.home()}
17
+ ${this.kbc.home()}
18
18
  <message><b>❌ Not Found</b></message>
19
19
  <message lang="it"><b>❌ Non Trovato</b></message>
20
20
  <message lang="id"><b>❌ Tidak Ditemukan</b></message>
@@ -23,7 +23,7 @@ export class GeneralErrorPage extends PageBase {
23
23
 
24
24
  public static template = /*jsx*/ `
25
25
  <base>
26
- ${this.KbCom.home()}
26
+ ${this.kbc.home()}
27
27
 
28
28
  <message>
29
29
  <b>❌ Error</b>
@@ -27,8 +27,7 @@ export class HelpPage extends PageBase {
27
27
 
28
28
  public static template = /*jsx*/ `
29
29
  <base>
30
- ${this.KbCom.back()}
31
-
30
+ ${this.kbc.back()}
32
31
  <message><b>Help message</b></message>
33
32
  <message lang="it"><b>Ordina aiuto</b></message>
34
33
  <message lang="id"><b>Pesan bantuan</b></message>
@@ -19,8 +19,7 @@ export class UserNameNotFoundPage extends PageBase {
19
19
 
20
20
  public static template = /*jsx*/ `
21
21
  <base>
22
- ${this.KbCom.home()}
23
-
22
+ ${this.kbc.home()}
24
23
  <message>Please set the username first before using the bot.</message>
25
24
  <message lang="it">Prima di utilizzare il bot, imposta prima il nome utente.</message>
26
25
  <message lang="id">Tolong set username dulu sebelum memakai bot</message>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-gramstax",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,2 +0,0 @@
1
- [run]
2
- console.depth = 4