@monimesl/dot-cli 0.1.0-alpha.39 → 0.1.0-alpha.40

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.
@@ -3,8 +3,9 @@ import { errorMessage, isDashError } from '@monimesl/dot-runtime';
3
3
 
4
4
  import state from './state';
5
5
 
6
- // SLE 75.00 a ticket, in minor units as Monime counts money.
7
- const TICKET_PRICE = 7500;
6
+ // SLE 0.50 a ticket, in minor units as Monime counts money: the two tickets it starts with come to
7
+ // SLE 1.00, so trying it with real money costs little.
8
+ const TICKET_PRICE = 50;
8
9
 
9
10
  export default definePage({
10
11
  initialState: state,
@@ -6,7 +6,7 @@
6
6
  <Text variant="subtitle">request</Text>
7
7
  <Text variant="caption" tone="muted">The dot sends the order: its name, its own reference, and the line items. Dash adds up the total and shows it. With methods, the dot chooses which ways to pay to offer, in order, such as only Orange Money.</Text>
8
8
  <View variant="card" gap="medium">
9
- <Stepper label="Tickets" min="1" max="10" hint="SLE 75.00 each" value="{{ tickets }}" onChange="setTickets" />
9
+ <Stepper label="Tickets" min="1" max="10" hint="SLE 0.50 each" value="{{ tickets }}" onChange="setTickets" />
10
10
  <Button onClick="pay">Pay any way</Button>
11
11
  <Button variant="secondary" data-provider="m17" onClick="pay">Pay with Orange Money only</Button>
12
12
  </View>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monimesl/dot-cli",
3
- "version": "0.1.0-alpha.39",
3
+ "version": "0.1.0-alpha.40",
4
4
  "description": "The dotctl command: build mini apps and run them in the simulator",
5
5
  "type": "module",
6
6
  "repository": {
@@ -24,11 +24,11 @@
24
24
  "dependencies": {
25
25
  "typescript": "^5.9.3",
26
26
  "uqr": "^0.1.3",
27
- "@monimesl/dot-compiler": "0.1.0-alpha.39",
28
- "@monimesl/dot-core": "0.1.0-alpha.39",
29
- "@monimesl/dot-dml-parser": "0.1.0-alpha.39",
30
- "@monimesl/dot-script-parser": "0.1.0-alpha.39",
31
- "@monimesl/dot-simulator": "0.1.0-alpha.39"
27
+ "@monimesl/dot-compiler": "0.1.0-alpha.40",
28
+ "@monimesl/dot-core": "0.1.0-alpha.40",
29
+ "@monimesl/dot-dml-parser": "0.1.0-alpha.40",
30
+ "@monimesl/dot-script-parser": "0.1.0-alpha.40",
31
+ "@monimesl/dot-simulator": "0.1.0-alpha.40"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^22.20.4",