Socket
Socket
Sign inDemoInstall

@glvnzn/web-sdk

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glvnzn/web-sdk - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

2

dist/index.js

@@ -1,1 +0,1 @@

function t(){return t=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},t.apply(this,arguments)}function e(t,r){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},e(t,r)}var r=function t(e,r){void 0===r&&(r="");var i={};for(var n in e)if(e.hasOwnProperty(n)){var o=e[n],s=r?(""+r+n).replace(/[-_](.)/g,function(t,e){return e.toUpperCase()}):n;"object"==typeof o&&null!==o?Object.assign(i,t(o,s)):i[s]=o}return i},i=/*#__PURE__*/function(r){var i,n;function o(){return r.apply(this,arguments)||this}return n=r,(i=o).prototype=Object.create(n.prototype),i.prototype.constructor=i,e(i,n),o.prototype.get=function(e){return this.request("/games",{method:"GET"},t({},{pageSize:"10",nextPageCursor:"",filter:{provider:"",type:""}},e))},o}(/*#__PURE__*/function(){function e(t){this.apiKey=void 0,this.baseUrl=void 0,this.siteId=void 0,this.apiKey=t.apiKey,this.baseUrl=t.baseUrl||"http://site-api.opexacms.io/v1",this.siteId=t.siteId||"XubL48WAbKNdpyQ3h"}return e.prototype.request=function(e,i,n){var o=""+this.baseUrl+e,s={"Content-Type":"application/json","api-key":this.apiKey,site_id:this.siteId},a="";if(n){var p=r(n);a=new URLSearchParams(p).toString()}var u=t({},i,{headers:s});return fetch(o+(a?"?"+a:""),t({},u,{method:(null==i?void 0:i.method)||"GET"})).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText)})},e}());exports.OpexaCMS=function(t){this.games=void 0,this.games=new i(t)};
function t(){return t=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},t.apply(this,arguments)}function e(t,r){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},e(t,r)}var r=function t(e,r){void 0===r&&(r="");var i={};for(var n in e)if(e.hasOwnProperty(n)){var o=e[n],s=r?(r+"-"+n).replace(/[-_](.)/g,function(t,e){return e.toUpperCase()}):n;"object"==typeof o&&null!==o?Object.assign(i,t(o,s)):i[s]=o}return i},i=/*#__PURE__*/function(r){var i,n;function o(){return r.apply(this,arguments)||this}return n=r,(i=o).prototype=Object.create(n.prototype),i.prototype.constructor=i,e(i,n),o.prototype.get=function(e){return this.request("/games",{method:"GET"},t({},{pageSize:"10",nextPageCursor:"",filter:{provider:"",type:""}},e))},o}(/*#__PURE__*/function(){function e(t){this.apiKey=void 0,this.baseUrl=void 0,this.siteId=void 0,this.apiKey=t.apiKey,this.baseUrl=t.baseUrl||"http://site-api.opexacms.io/v1",this.siteId=t.siteId||"XubL48WAbKNdpyQ3h"}return e.prototype.request=function(e,i,n){var o=""+this.baseUrl+e,s={"Content-Type":"application/json","api-key":this.apiKey,site_id:this.siteId},a="";if(n){var p=r(n);a=new URLSearchParams(p).toString()}var u=t({},i,{headers:s});return fetch(o+(a?"?"+a:""),t({},u,{method:(null==i?void 0:i.method)||"GET"})).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText)})},e}());exports.OpexaCMS=function(t){this.games=void 0,this.games=new i(t)};

@@ -1,1 +0,1 @@

function t(){return t=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},t.apply(this,arguments)}function e(t,r){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},e(t,r)}var r=function t(e,r){void 0===r&&(r="");var i={};for(var n in e)if(e.hasOwnProperty(n)){var o=e[n],s=r?(""+r+n).replace(/[-_](.)/g,function(t,e){return e.toUpperCase()}):n;"object"==typeof o&&null!==o?Object.assign(i,t(o,s)):i[s]=o}return i},i=/*#__PURE__*/function(r){var i,n;function o(){return r.apply(this,arguments)||this}return n=r,(i=o).prototype=Object.create(n.prototype),i.prototype.constructor=i,e(i,n),o.prototype.get=function(e){return this.request("/games",{method:"GET"},t({},{pageSize:"10",nextPageCursor:"",filter:{provider:"",type:""}},e))},o}(/*#__PURE__*/function(){function e(t){this.apiKey=void 0,this.baseUrl=void 0,this.siteId=void 0,this.apiKey=t.apiKey,this.baseUrl=t.baseUrl||"http://site-api.opexacms.io/v1",this.siteId=t.siteId||"XubL48WAbKNdpyQ3h"}return e.prototype.request=function(e,i,n){var o=""+this.baseUrl+e,s={"Content-Type":"application/json","api-key":this.apiKey,site_id:this.siteId},a="";if(n){var p=r(n);a=new URLSearchParams(p).toString()}var u=t({},i,{headers:s});return fetch(o+(a?"?"+a:""),t({},u,{method:(null==i?void 0:i.method)||"GET"})).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText)})},e}()),n=function(t){this.games=void 0,this.games=new i(t)};export{n as OpexaCMS};
function t(){return t=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},t.apply(this,arguments)}function e(t,r){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},e(t,r)}var r=function t(e,r){void 0===r&&(r="");var i={};for(var n in e)if(e.hasOwnProperty(n)){var o=e[n],s=r?(r+"-"+n).replace(/[-_](.)/g,function(t,e){return e.toUpperCase()}):n;"object"==typeof o&&null!==o?Object.assign(i,t(o,s)):i[s]=o}return i},i=/*#__PURE__*/function(r){var i,n;function o(){return r.apply(this,arguments)||this}return n=r,(i=o).prototype=Object.create(n.prototype),i.prototype.constructor=i,e(i,n),o.prototype.get=function(e){return this.request("/games",{method:"GET"},t({},{pageSize:"10",nextPageCursor:"",filter:{provider:"",type:""}},e))},o}(/*#__PURE__*/function(){function e(t){this.apiKey=void 0,this.baseUrl=void 0,this.siteId=void 0,this.apiKey=t.apiKey,this.baseUrl=t.baseUrl||"http://site-api.opexacms.io/v1",this.siteId=t.siteId||"XubL48WAbKNdpyQ3h"}return e.prototype.request=function(e,i,n){var o=""+this.baseUrl+e,s={"Content-Type":"application/json","api-key":this.apiKey,site_id:this.siteId},a="";if(n){var p=r(n);a=new URLSearchParams(p).toString()}var u=t({},i,{headers:s});return fetch(o+(a?"?"+a:""),t({},u,{method:(null==i?void 0:i.method)||"GET"})).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText)})},e}()),n=function(t){this.games=void 0,this.games=new i(t)};export{n as OpexaCMS};

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t||self).webSdk={})}(this,function(t){function e(){return e=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},e.apply(this,arguments)}function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}var n=function t(e,r){void 0===r&&(r="");var n={};for(var o in e)if(e.hasOwnProperty(o)){var i=e[o],s=r?(""+r+o).replace(/[-_](.)/g,function(t,e){return e.toUpperCase()}):o;"object"==typeof i&&null!==i?Object.assign(n,t(i,s)):n[s]=i}return n},o=/*#__PURE__*/function(t){var n,o;function i(){return t.apply(this,arguments)||this}return o=t,(n=i).prototype=Object.create(o.prototype),n.prototype.constructor=n,r(n,o),i.prototype.get=function(t){return this.request("/games",{method:"GET"},e({},{pageSize:"10",nextPageCursor:"",filter:{provider:"",type:""}},t))},i}(/*#__PURE__*/function(){function t(t){this.apiKey=void 0,this.baseUrl=void 0,this.siteId=void 0,this.apiKey=t.apiKey,this.baseUrl=t.baseUrl||"http://site-api.opexacms.io/v1",this.siteId=t.siteId||"XubL48WAbKNdpyQ3h"}return t.prototype.request=function(t,r,o){var i=""+this.baseUrl+t,s={"Content-Type":"application/json","api-key":this.apiKey,site_id:this.siteId},a="";if(o){var p=n(o);a=new URLSearchParams(p).toString()}var u=e({},r,{headers:s});return fetch(i+(a?"?"+a:""),e({},u,{method:(null==r?void 0:r.method)||"GET"})).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText)})},t}());t.OpexaCMS=function(t){this.games=void 0,this.games=new o(t)}});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t||self).webSdk={})}(this,function(t){function e(){return e=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},e.apply(this,arguments)}function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}var n=function t(e,r){void 0===r&&(r="");var n={};for(var o in e)if(e.hasOwnProperty(o)){var i=e[o],s=r?(r+"-"+o).replace(/[-_](.)/g,function(t,e){return e.toUpperCase()}):o;"object"==typeof i&&null!==i?Object.assign(n,t(i,s)):n[s]=i}return n},o=/*#__PURE__*/function(t){var n,o;function i(){return t.apply(this,arguments)||this}return o=t,(n=i).prototype=Object.create(o.prototype),n.prototype.constructor=n,r(n,o),i.prototype.get=function(t){return this.request("/games",{method:"GET"},e({},{pageSize:"10",nextPageCursor:"",filter:{provider:"",type:""}},t))},i}(/*#__PURE__*/function(){function t(t){this.apiKey=void 0,this.baseUrl=void 0,this.siteId=void 0,this.apiKey=t.apiKey,this.baseUrl=t.baseUrl||"http://site-api.opexacms.io/v1",this.siteId=t.siteId||"XubL48WAbKNdpyQ3h"}return t.prototype.request=function(t,r,o){var i=""+this.baseUrl+t,s={"Content-Type":"application/json","api-key":this.apiKey,site_id:this.siteId},a="";if(o){var p=n(o);a=new URLSearchParams(p).toString()}var u=e({},r,{headers:s});return fetch(i+(a?"?"+a:""),e({},u,{method:(null==r?void 0:r.method)||"GET"})).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText)})},t}());t.OpexaCMS=function(t){this.games=void 0,this.games=new o(t)}});
{
"name": "@glvnzn/web-sdk",
"version": "1.0.19",
"version": "1.0.20",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc