@st-graphics/premium
Advanced tools
Comparing version 0.2.13 to 0.2.14
@@ -16,13 +16,2 @@ const inProduction = process.env.NODE_ENV === 'production' | ||
const SUBSCRIBE_URL = 'https://www.sphsubscription.com.sg/eshop/' | ||
const SUBSCRIBE_QUERY = { | ||
r: 'products/newsubscriptionpackages', | ||
pcode: 'st', | ||
utm_campaign: 'st_subscription', | ||
utm_medium: 'web', | ||
utm_source: 'st', | ||
utm_content: 'subscribebutton-articlepaywall', | ||
utm_term: 'st-graphics' | ||
} | ||
const LOGOUT_ENDPOINT = inProduction | ||
@@ -46,6 +35,2 @@ ? 'https://acc-auth.sphdigital.com/amserver/UI/Logout' | ||
PremiumClient.prototype.getSubscribeUrl = function () { | ||
return SUBSCRIBE_URL + '?' + stringifyQuery(SUBSCRIBE_QUERY) | ||
} | ||
PremiumClient.prototype.getAuthorizationUrl = function () { | ||
@@ -52,0 +37,0 @@ const state = {redirect_url: getLocation()} |
{ | ||
"name": "@st-graphics/premium", | ||
"version": "0.2.13", | ||
"version": "0.2.14", | ||
"description": "ST Graphics Premium implementation", | ||
@@ -5,0 +5,0 @@ "main": "client/premium.js", |
55105
230