@mamba/pos
Advanced tools
Comparing version 0.0.2-alpha.1 to 0.0.2-alpha.2
{ | ||
"name": "@mamba/pos", | ||
"version": "0.0.2-alpha.1", | ||
"version": "0.0.2-alpha.2", | ||
"description": "Mamba web environment wrapper and simulator", | ||
@@ -17,4 +17,4 @@ "author": "Stone Payments - Mamba Team", | ||
"dependencies": { | ||
"@mamba/switch": "^0.0.2-alpha.1" | ||
"@mamba/switch": "^0.0.2-alpha.2" | ||
} | ||
} |
@@ -17,9 +17,10 @@ # `@mamba/pos` | ||
```js | ||
import * as Simulator from '@mamba/pos/simulator/index.js'; | ||
import '@mamba/pos/simulator/index.js'; | ||
import POS from '@mamba/pos/simulator/view/POS.html'; | ||
import store from './store.js'; | ||
/** Initialize the digital POS component */ | ||
new Simulator.POS({ target: document.body, store }); | ||
new POS({ target: document.body, store }); | ||
``` | ||
It's **obligatory** to include the entry file which starts the simulator **before** the app. |
import './libs/boot.js'; | ||
export { default as POS } from './view/Pos.html'; | ||
export { State, attachDrivers } from './libs/main.js'; | ||
export { log, warn, error } from './libs/utils.js'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26
282979
974
Updated@mamba/switch@^0.0.2-alpha.2