Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions dist/RoktWsdk-Kit.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ var initialization = {
.then(function (launcher) {
// Assign the launcher to a global variable for later access
window.Rokt.currentLauncher = launcher;
window.dispatchEvent(
new Event('rokt-launcher-created')
);
if (window['Rokt'] && eventQueue.length > 0) {
for (
var i = 0;
Expand Down
3 changes: 3 additions & 0 deletions dist/RoktWsdk-Kit.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ var RoktWsdkKit = (function (exports) {
.then(function (launcher) {
// Assign the launcher to a global variable for later access
window.Rokt.currentLauncher = launcher;
window.dispatchEvent(
new Event('rokt-launcher-created')
);
if (window['Rokt'] && eventQueue.length > 0) {
for (
var i = 0;
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mparticle/web-rokt-wsdk-kit",
"version": "0.0.1",
"version": "0.0.2",
"main": "dist/RoktWsdk-Kit.common.js",
"files": [
"dist/RoktWsdk-Kit.common.js"
Expand Down Expand Up @@ -46,4 +46,4 @@
"@mparticle/web-sdk": "^2.20.0"
},
"license": "Apache-2.0"
}
}
5 changes: 4 additions & 1 deletion src/initialization.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var roktLauncherScript = 'https://apps.rokt.com/wsdk/integrations/launcher.js';

var initialization = {
name: 'RoktWsdk',
name: 'Rokt',
moduleId: 181,
/* ****** Fill out initForwarder to load your SDK ******
Note that not all arguments may apply to your SDK initialization.
Expand Down Expand Up @@ -50,6 +50,9 @@ var initialization = {
.then(function (launcher) {
// Assign the launcher to a global variable for later access
window.Rokt.currentLauncher = launcher;
window.dispatchEvent(
new Event('rokt-launcher-created')
);
if (window['Rokt'] && eventQueue.length > 0) {
for (
var i = 0;
Expand Down