Socket
Socket
Sign inDemoInstall

@mamba/pos

Package Overview
Dependencies
Maintainers
3
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mamba/pos - npm Package Compare versions

Comparing version 0.0.2-alpha.1 to 0.0.2-alpha.2

simulator/view/POS.html

4

package.json
{
"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';
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc