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.9 to 1.0.10

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 n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}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=[{id:1,name:"Mock Game 1"},{id:2,name:"Mock Game 2"},{id:3,name:"Mock Game 3"}],n=/*#__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,e(n,o),i.prototype.getGames=function(){return Promise.resolve(r)},i}(/*#__PURE__*/function(){function e(t){this.apiKey=void 0,this.baseUrl=void 0,this.apiKey=t.apiKey,this.baseUrl=t.baseUrl||"https://api.scalecms.io"}return e.prototype.request=function(e,r){var n=""+this.baseUrl+e,o=t({},r,{headers:{"Content-Type":"application/json","api-key":this.apiKey}});return fetch(n,o).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText)})},e}());exports.ScaleCMS=function(t){this.games=void 0,this.games=new n(t)};
function e(){return e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},e.apply(this,arguments)}function t(e,o){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},t(e,o)}var o=[{id:1,name:"Mock Game 1",image:"mock_image_1.jpg",provider:"Mock Provider 1",type:"Mock Type 1"},{id:2,name:"Mock Game 2",image:"mock_image_2.jpg",provider:"Mock Provider 2",type:"Mock Type 2"},{id:3,name:"Mock Game 3",image:"mock_image_3.jpg",provider:"Mock Provider 3",type:"Mock Type 3"}],r=/*#__PURE__*/function(e){var r,i;function n(){return e.apply(this,arguments)||this}return i=e,(r=n).prototype=Object.create(i.prototype),r.prototype.constructor=r,t(r,i),n.prototype.get=function(){return Promise.resolve(o)},n}(/*#__PURE__*/function(){function t(e){this.apiKey=void 0,this.baseUrl=void 0,this.apiKey=e.apiKey,this.baseUrl=e.baseUrl||"https://api.scalecms.io"}return t.prototype.request=function(t,o){var r=""+this.baseUrl+t,i=e({},o,{headers:{"Content-Type":"application/json","api-key":this.apiKey}});return fetch(r,i).then(function(e){if(e.ok)return e.json();throw new Error(e.statusText)})},t}());exports.ScaleCMS=function(e){this.games=void 0,this.games=new r(e)};

@@ -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 n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}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=[{id:1,name:"Mock Game 1"},{id:2,name:"Mock Game 2"},{id:3,name:"Mock Game 3"}],n=/*#__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,e(n,o),i.prototype.getGames=function(){return Promise.resolve(r)},i}(/*#__PURE__*/function(){function e(t){this.apiKey=void 0,this.baseUrl=void 0,this.apiKey=t.apiKey,this.baseUrl=t.baseUrl||"https://api.scalecms.io"}return e.prototype.request=function(e,r){var n=""+this.baseUrl+e,o=t({},r,{headers:{"Content-Type":"application/json","api-key":this.apiKey}});return fetch(n,o).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText)})},e}()),o=function(t){this.games=void 0,this.games=new n(t)};export{o as ScaleCMS};
function e(){return e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},e.apply(this,arguments)}function t(e,o){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},t(e,o)}var o=[{id:1,name:"Mock Game 1",image:"mock_image_1.jpg",provider:"Mock Provider 1",type:"Mock Type 1"},{id:2,name:"Mock Game 2",image:"mock_image_2.jpg",provider:"Mock Provider 2",type:"Mock Type 2"},{id:3,name:"Mock Game 3",image:"mock_image_3.jpg",provider:"Mock Provider 3",type:"Mock Type 3"}],r=/*#__PURE__*/function(e){var r,i;function n(){return e.apply(this,arguments)||this}return i=e,(r=n).prototype=Object.create(i.prototype),r.prototype.constructor=r,t(r,i),n.prototype.get=function(){return Promise.resolve(o)},n}(/*#__PURE__*/function(){function t(e){this.apiKey=void 0,this.baseUrl=void 0,this.apiKey=e.apiKey,this.baseUrl=e.baseUrl||"https://api.scalecms.io"}return t.prototype.request=function(t,o){var r=""+this.baseUrl+t,i=e({},o,{headers:{"Content-Type":"application/json","api-key":this.apiKey}});return fetch(r,i).then(function(e){if(e.ok)return e.json();throw new Error(e.statusText)})},t}()),i=function(e){this.games=void 0,this.games=new r(e)};export{i as ScaleCMS};

@@ -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 n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},e.apply(this,arguments)}function n(t,e){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},n(t,e)}var o=[{id:1,name:"Mock Game 1"},{id:2,name:"Mock Game 2"},{id:3,name:"Mock Game 3"}],r=/*#__PURE__*/function(t){var e,r;function i(){return t.apply(this,arguments)||this}return r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,n(e,r),i.prototype.getGames=function(){return Promise.resolve(o)},i}(/*#__PURE__*/function(){function t(t){this.apiKey=void 0,this.baseUrl=void 0,this.apiKey=t.apiKey,this.baseUrl=t.baseUrl||"https://api.scalecms.io"}return t.prototype.request=function(t,n){var o=""+this.baseUrl+t,r=e({},n,{headers:{"Content-Type":"application/json","api-key":this.apiKey}});return fetch(o,r).then(function(t){if(t.ok)return t.json();throw new Error(t.statusText)})},t}());t.ScaleCMS=function(t){this.games=void 0,this.games=new r(t)}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e||self).webSdk={})}(this,function(e){function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},t.apply(this,arguments)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}var r=[{id:1,name:"Mock Game 1",image:"mock_image_1.jpg",provider:"Mock Provider 1",type:"Mock Type 1"},{id:2,name:"Mock Game 2",image:"mock_image_2.jpg",provider:"Mock Provider 2",type:"Mock Type 2"},{id:3,name:"Mock Game 3",image:"mock_image_3.jpg",provider:"Mock Provider 3",type:"Mock Type 3"}],i=/*#__PURE__*/function(e){var t,i;function n(){return e.apply(this,arguments)||this}return i=e,(t=n).prototype=Object.create(i.prototype),t.prototype.constructor=t,o(t,i),n.prototype.get=function(){return Promise.resolve(r)},n}(/*#__PURE__*/function(){function e(e){this.apiKey=void 0,this.baseUrl=void 0,this.apiKey=e.apiKey,this.baseUrl=e.baseUrl||"https://api.scalecms.io"}return e.prototype.request=function(e,o){var r=""+this.baseUrl+e,i=t({},o,{headers:{"Content-Type":"application/json","api-key":this.apiKey}});return fetch(r,i).then(function(e){if(e.ok)return e.json();throw new Error(e.statusText)})},e}());e.ScaleCMS=function(e){this.games=void 0,this.games=new i(e)}});
import { Base } from '../base';
import { Game } from './types';
export declare class Games extends Base {
getGames(): Promise<Game[]>;
get(): Promise<Game[]>;
}
export declare type Game = {
id: number;
image: string;
name: string;
provider: string;
type: string;
};
export declare type PageInfo = {
nextPageCursor?: string;
totalCount: number;
};
{
"name": "@glvnzn/web-sdk",
"version": "1.0.9",
"version": "1.0.10",
"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