
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@dp-websolutions/affiliates-dashboard
Advanced tools
This repository contains the code of a Vue app bundled as an installable plugin from npm.
This repository contains the code of a Vue app bundled as an installable plugin from npm.
https://docs.google.com/document/d/18z9dX3NaaV23x8_qmUBRTKj3vsL_LRTeaoF2wWeelYk/edit#
For Development, read here
npm install @dp-websolutions/affiliates-dashboard vue vue-router
This module exports a function that receives a config
object and it will return a new vue app.
You can load this module in different ways:
Load the script directly into a page
<script src="node_modules/@dp-websolutions/affiliates-dashboard/dist/kiwin/affiliates-dashboard.umd.js"></script>
<link rel="stylesheet" href="node_modules/@dp-websolutions/affiliates-dashboard/dist/kiwin/style.css" />
window.AffiliatesDashboard
In a compilation step, that will later generate a javascript bundle and loaded into a page
const {AffiliatesDashboard, AffiliatesDashboardRoutes} = require('@dp-websolutions/affiliates-dashboard/kiwin')
Using import and build step
import {AffiliatesDashboard, AffiliatesDashboardRoutes} from '@dp-websolutions/affiliates-dashboard/kiwin';
import '@dp-websolutions/affiliates-dashboard/kiwin/style';
After importing the module, we can create and mount the app.
import { createApp } from "vue";
import { createRouter, createWebHistory } from "vue-router";
const app = createApp(
{
template: '<affiliates-dashboard :config="config" />',
},
{ config }
);
const router = createRouter({
history: createWebHistory(),
routes: AffiliatesDashboardRoutes,
});
app.use(router);
app.component("affiliates-dashboard", AffiliatesDashboard);
app.mount("#affiliates-vue-app");
<!-- The app will render here -->
<div id="affiliates-dashboard"></div>
The configuration object passed to this component should provide the following:
type: string
Default: ''
Options: 'jemlit'
'kiwin'
Tell which platform is loading the dashboard
type: string
Default: en
Will use this value to select the right translations.
type: float
Default: 0
This is the percentage of bonus that the affiliate gets every time another user makes a purchase using their referral code.
type: float
Default: 0
This is the percentage of bonus that users get on top of their purchase every time they user a referral code.
type: string
Default: ''
Example: 'https://jemlit.com/r/'
'https://kiwin.io/r/'
This is the url that points to the affiliates dashboard or referral page
type: object
Default: {}
key, value list of api endpoints.
type: string
Example: 'https://jemlit.com/api/affiliates/nickname'
type: string
Example: 'https://jemlit.com/api/affiliates/me'
type: string
Example: 'https://jemlit.com/api/affiliates/claim'
type: string
Example: 'https://jemlit.com/api/affiliates/claim'
type: string
Example: 'https://jemlit.com/api/affiliates/history/referrals'
type: string
Example: 'https://jemlit.com/api/affiliates/history/transactions'
type: object
Default: {}
Example:
translations: {
affiliates_landing: {
'cta-authenticated': 'Set the nickname & Start!',
'cta-visitor': 'Start now!'
},
affiliates_dashboard: {
referrals: 'You have :count referrals'
}
}
key, value list of translated texts
type: object
Default: {}
Example:
assets: {
logo: 'https://..../logo.png'
}
To develop locally, clone the repository and run the following commands from within the directory
npm install
npm run dev
localhost:8080
any changes will automatically reload the pageFAQs
This repository contains the code of a Vue app bundled as an installable plugin from npm.
We found that @dp-websolutions/affiliates-dashboard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.