Socket
Socket
Sign inDemoInstall

@goodgamestudios/cxf-webshop

Package Overview
Dependencies
712
Maintainers
28
Versions
349
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @goodgamestudios/cxf-webshop

WebShop CXF Module


Version published
Maintainers
28
Created

Readme

Source

@goodgamestudios/cxf-webshop

This is the main CXF plugin/entry point handler for Lemonstand(IGS)

CXF Documentation

Structural overview

1. Preparing store with session and player info

  • Waiting for login event

2. Constructing a lemonstand URL

  • Parsing params
  • Selecting static config file URL

3. Creating a dialog

  • Opening lemonstand in an iframe

Main events involved

Event nameDescription
cxf.igs.openOpen IGS command used by games
cxf.dialog.closeClose IGS frame command
cxf.native.subscription.enableEnable the allow subscriptions flag (deprecated – use config value)
cxf.webshop.sales.openOpen a sales page directly (deprecated)
cxf.set.customization.surfix[yes, a typo] Set config suffix (context), e.g. -temp for temp servers,
cxf.adBanner.statusReceive and process status of ads to propagate to lemonstand
lemonstand.category.updateForward postMessage to a specific tab/iframe target
lemonstand.notifs.createdHandle activation of offer notifcations

How-to

enable DEBUG messages

Debug messages are implemented via Debug lib

To enable CXF-WEBSHOP debug messages just run in a browser console

localStorage.debug = 'CXF-WEBSHOP:*'

customize config-goodgamestudios

This allows developers to publish their own version of the config and use it on-the-fly with existing clients.

Just append the configGGS parameter, specifying the version you published.

E.g., having published a config-goodgamestudios@green-eggs version, the parameter in the client URL would be configGGS=green-eggs.

FAQs

Last updated on 02 Apr 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc