Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@bluedot-innovation/javascript-sdk
Advanced tools
Don’t have an app and still want to use Bluedot? Wave API lets you use Bluedot tech in web pages. Leverage world-class location capabilities on every channel.
Don’t have an app and still want to use Bluedot? Wave API lets you use Bluedot tech in web pages. Leverage world-class location capabilities on every channel.
The Javascript SDK provides an easy and convenient way to integrate the Wave API. It also gives you methods to request a user's location from the browser. You will be able to integrate Wave API in few lines and be good to go.
Bluedot Javascript SDK is available as a NPM package
npm install @bluedot-innovation/javascript-sdk
CommonJS
const bluedotSdk = require("@bluedot-innovation/javascript-sdk")
const {
bluedot,
createHelloModel
} = bluedotSdk
ES Modules
import { bluedot } from '@bluedot-innovation/javascript-sdk'
Send a Wave event
import { bluedot, createHelloModel } from "@bluedot-innovation/javascript-sdk"
bluedot.initialize('2a397117-5c61-4474-85d9-c216c13da7f9')
bluedot.setLocationEnabled(true)
await bluedot.wave.send('your_destinationId', { key1: 'value1' })
Send a Hello Screen order
const helloModel = createHelloModel();
helloModel.setOrderId("Order-1234")
.setCustomerName("Peter Goldman")
.setDisplayedCustomDataField("Parking Bay", "10")
.setEventType("onTheWay")
await bluedot.wave.send('your_destinationId', helloModel)
See the public interfaces for details about object structure, function signatures and their purpose.
Visit Web SDK for guides to integrate the Javascript SDK within your webpage or app.
FAQs
Don’t have an app and still want to use Bluedot? Wave API lets you use Bluedot tech in web pages. Leverage world-class location capabilities on every channel.
We found that @bluedot-innovation/javascript-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.