Comparing version 1.0.9 to 1.0.10
@@ -71,3 +71,3 @@ var AgRuSdkMethods = /* @__PURE__ */ ((AgRuSdkMethods2) => { | ||
getSaveData(callback) { | ||
this._sendMessage(AgRuSdkMethods.GetSaveData, this.options.auth_key, () => { | ||
this._sendMessage(AgRuSdkMethods.GetSaveData, this.options, () => { | ||
this._emitter.emit(AgRuSdkMethods.GetSaveData, [ | ||
@@ -122,4 +122,4 @@ { | ||
{ | ||
type, | ||
key: this.options.auth_key | ||
options: this.options, | ||
type | ||
}, | ||
@@ -143,3 +143,3 @@ () => { | ||
data, | ||
key: this.options.auth_key | ||
options: this.options | ||
}, | ||
@@ -146,0 +146,0 @@ () => { |
@@ -1,1 +0,1 @@ | ||
var e=(e=>(e.GetSaveData="agru-getSaveData",e.GetUsers="agru-getUsers",e.IsAppUser="agru-isAppUser",e.SayHello="agru-sayHello",e.ShowCampaign="agru-showCampaign",e.SetSaveData="agru-setSaveData",e))(e||{});class t{constructor(e={}){if(this.options=e,t._instance)return t._instance;for(const[e,t]of new URLSearchParams(location.search).entries())this.options[e]=isNaN(parseInt(t))?t:parseInt(t);return e.debug?console.info("SDK is running in DEBUG mode!"):this.options.auth_key||console.warn('You need to pass the "auth_key" in options, to be able to use the SDK.'),t._instance=this,t._instance._emitter=this._createEmitter(),t._instance.options=e,this._listen(),this}_createEmitter(){const e={all:t=t||new Map,on:function(e,s){var a=t.get(e);a?a.push(s):t.set(e,[s])},off:function(e,s){var a=t.get(e);a&&(s?a.splice(a.indexOf(s)>>>0,1):t.set(e,[]))},emit:function(e,s){var a=t.get(e);a&&a.slice().map((function(e){e(s)})),(a=t.get("*"))&&a.slice().map((function(t){t(e,s)}))}};var t;const s=e.on;return e.on=(e,t)=>{"function"==typeof t&&s(e,(e=>t.call(null,...e)))},e.once=(t,s)=>{const a=(...n)=>{e.off(t,a),"function"==typeof s&&s.call(null,...n)};e.on(t,a)},e}_handleEvent(e,t){return t?this._emitter.once(e,t):new Promise((t=>this._emitter.once(e,((...e)=>t(e)))))}_listen(){window.addEventListener("message",(e=>{const{data:t,type:s}=e.data;this._emitter.emit(s,t)}))}_sendMessage(e,t,s){return this.options.debug?setTimeout(s):null==top?void 0:top.postMessage({data:t,type:e},"*")}getSaveData(t){return this._sendMessage(e.GetSaveData,this.options.auth_key,(()=>{this._emitter.emit(e.GetSaveData,[{a:!0,b:!1,c:1},null])})),this._handleEvent(e.GetSaveData,t)}getUsers(t,s){return this._sendMessage(e.GetUsers,t,(()=>{this._emitter.emit(e.GetUsers,[t.map((e=>({avatar:`https://api.lorem.space/image/face?w=150&h=150&hash=${e}`,id:e,name:Math.random().toString(16).substring(2)}))),null])})),this._handleEvent(e.GetUsers,s)}isAppUser(t,s){return this._sendMessage(e.IsAppUser,t,(()=>{this._emitter.emit(e.IsAppUser,[!0,null])})),this._handleEvent(e.IsAppUser,s)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}sayHello(t){const s="And here's Johnny";return this._sendMessage(e.SayHello,s,(()=>{this._emitter.emit(e.SayHello,[s,null])})),this._handleEvent(e.SayHello,t)}showCampaign(t="default",s){return this._sendMessage(e.ShowCampaign,{type:t,key:this.options.auth_key},(()=>{this._emitter.emit(e.ShowCampaign,[{type:t,status:!0},null])})),this._handleEvent(e.ShowCampaign,s)}setSaveData(t,s){return this._sendMessage(e.SetSaveData,{data:t,key:this.options.auth_key},(()=>{this._emitter.emit(e.SetSaveData,[!0,null])})),this._handleEvent(e.GetSaveData,s)}}export{t as AgRuSdk,e as AgRuSdkMethods}; | ||
var e=(e=>(e.GetSaveData="agru-getSaveData",e.GetUsers="agru-getUsers",e.IsAppUser="agru-isAppUser",e.SayHello="agru-sayHello",e.ShowCampaign="agru-showCampaign",e.SetSaveData="agru-setSaveData",e))(e||{});class t{constructor(e={}){if(this.options=e,t._instance)return t._instance;for(const[e,t]of new URLSearchParams(location.search).entries())this.options[e]=isNaN(parseInt(t))?t:parseInt(t);return e.debug?console.info("SDK is running in DEBUG mode!"):this.options.auth_key||console.warn('You need to pass the "auth_key" in options, to be able to use the SDK.'),t._instance=this,t._instance._emitter=this._createEmitter(),t._instance.options=e,this._listen(),this}_createEmitter(){const e={all:t=t||new Map,on:function(e,s){var a=t.get(e);a?a.push(s):t.set(e,[s])},off:function(e,s){var a=t.get(e);a&&(s?a.splice(a.indexOf(s)>>>0,1):t.set(e,[]))},emit:function(e,s){var a=t.get(e);a&&a.slice().map((function(e){e(s)})),(a=t.get("*"))&&a.slice().map((function(t){t(e,s)}))}};var t;const s=e.on;return e.on=(e,t)=>{"function"==typeof t&&s(e,(e=>t.call(null,...e)))},e.once=(t,s)=>{const a=(...n)=>{e.off(t,a),"function"==typeof s&&s.call(null,...n)};e.on(t,a)},e}_handleEvent(e,t){return t?this._emitter.once(e,t):new Promise((t=>this._emitter.once(e,((...e)=>t(e)))))}_listen(){window.addEventListener("message",(e=>{const{data:t,type:s}=e.data;this._emitter.emit(s,t)}))}_sendMessage(e,t,s){return this.options.debug?setTimeout(s):null==top?void 0:top.postMessage({data:t,type:e},"*")}getSaveData(t){return this._sendMessage(e.GetSaveData,this.options,(()=>{this._emitter.emit(e.GetSaveData,[{a:!0,b:!1,c:1},null])})),this._handleEvent(e.GetSaveData,t)}getUsers(t,s){return this._sendMessage(e.GetUsers,t,(()=>{this._emitter.emit(e.GetUsers,[t.map((e=>({avatar:`https://api.lorem.space/image/face?w=150&h=150&hash=${e}`,id:e,name:Math.random().toString(16).substring(2)}))),null])})),this._handleEvent(e.GetUsers,s)}isAppUser(t,s){return this._sendMessage(e.IsAppUser,t,(()=>{this._emitter.emit(e.IsAppUser,[!0,null])})),this._handleEvent(e.IsAppUser,s)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}sayHello(t){const s="And here's Johnny";return this._sendMessage(e.SayHello,s,(()=>{this._emitter.emit(e.SayHello,[s,null])})),this._handleEvent(e.SayHello,t)}showCampaign(t="default",s){return this._sendMessage(e.ShowCampaign,{options:this.options,type:t},(()=>{this._emitter.emit(e.ShowCampaign,[{type:t,status:!0},null])})),this._handleEvent(e.ShowCampaign,s)}setSaveData(t,s){return this._sendMessage(e.SetSaveData,{data:t,options:this.options},(()=>{this._emitter.emit(e.SetSaveData,[!0,null])})),this._handleEvent(e.GetSaveData,s)}}export{t as AgRuSdk,e as AgRuSdkMethods}; |
@@ -19,3 +19,3 @@ import { Emitter } from 'mitt'; | ||
declare type AgRuSdkMethodsData = { | ||
[AgRuSdkMethods.GetSaveData]: string; | ||
[AgRuSdkMethods.GetSaveData]: Record<string, unknown>; | ||
[AgRuSdkMethods.GetUsers]: number[]; | ||
@@ -25,3 +25,3 @@ [AgRuSdkMethods.IsAppUser]: number; | ||
[AgRuSdkMethods.ShowCampaign]: { | ||
key: string; | ||
options: Record<string, unknown>; | ||
type: AgRuCampaignType; | ||
@@ -31,3 +31,3 @@ }; | ||
data: Record<string, unknown>; | ||
key: string; | ||
options: Record<string, unknown>; | ||
}; | ||
@@ -34,0 +34,0 @@ }; |
@@ -75,3 +75,3 @@ 'use strict'; | ||
getSaveData(callback) { | ||
this._sendMessage(AgRuSdkMethods.GetSaveData, this.options.auth_key, () => { | ||
this._sendMessage(AgRuSdkMethods.GetSaveData, this.options, () => { | ||
this._emitter.emit(AgRuSdkMethods.GetSaveData, [ | ||
@@ -126,4 +126,4 @@ { | ||
{ | ||
type, | ||
key: this.options.auth_key | ||
options: this.options, | ||
type | ||
}, | ||
@@ -147,3 +147,3 @@ () => { | ||
data, | ||
key: this.options.auth_key | ||
options: this.options | ||
}, | ||
@@ -150,0 +150,0 @@ () => { |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=(e=>(e.GetSaveData="agru-getSaveData",e.GetUsers="agru-getUsers",e.IsAppUser="agru-isAppUser",e.SayHello="agru-sayHello",e.ShowCampaign="agru-showCampaign",e.SetSaveData="agru-setSaveData",e))(e||{});class t{constructor(e={}){if(this.options=e,t._instance)return t._instance;for(const[e,t]of new URLSearchParams(location.search).entries())this.options[e]=isNaN(parseInt(t))?t:parseInt(t);return e.debug?console.info("SDK is running in DEBUG mode!"):this.options.auth_key||console.warn('You need to pass the "auth_key" in options, to be able to use the SDK.'),t._instance=this,t._instance._emitter=this._createEmitter(),t._instance.options=e,this._listen(),this}_createEmitter(){const e={all:t=t||new Map,on:function(e,s){var a=t.get(e);a?a.push(s):t.set(e,[s])},off:function(e,s){var a=t.get(e);a&&(s?a.splice(a.indexOf(s)>>>0,1):t.set(e,[]))},emit:function(e,s){var a=t.get(e);a&&a.slice().map((function(e){e(s)})),(a=t.get("*"))&&a.slice().map((function(t){t(e,s)}))}};var t;const s=e.on;return e.on=(e,t)=>{"function"==typeof t&&s(e,(e=>t.call(null,...e)))},e.once=(t,s)=>{const a=(...n)=>{e.off(t,a),"function"==typeof s&&s.call(null,...n)};e.on(t,a)},e}_handleEvent(e,t){return t?this._emitter.once(e,t):new Promise((t=>this._emitter.once(e,((...e)=>t(e)))))}_listen(){window.addEventListener("message",(e=>{const{data:t,type:s}=e.data;this._emitter.emit(s,t)}))}_sendMessage(e,t,s){return this.options.debug?setTimeout(s):null==top?void 0:top.postMessage({data:t,type:e},"*")}getSaveData(t){return this._sendMessage(e.GetSaveData,this.options.auth_key,(()=>{this._emitter.emit(e.GetSaveData,[{a:!0,b:!1,c:1},null])})),this._handleEvent(e.GetSaveData,t)}getUsers(t,s){return this._sendMessage(e.GetUsers,t,(()=>{this._emitter.emit(e.GetUsers,[t.map((e=>({avatar:`https://api.lorem.space/image/face?w=150&h=150&hash=${e}`,id:e,name:Math.random().toString(16).substring(2)}))),null])})),this._handleEvent(e.GetUsers,s)}isAppUser(t,s){return this._sendMessage(e.IsAppUser,t,(()=>{this._emitter.emit(e.IsAppUser,[!0,null])})),this._handleEvent(e.IsAppUser,s)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}sayHello(t){const s="And here's Johnny";return this._sendMessage(e.SayHello,s,(()=>{this._emitter.emit(e.SayHello,[s,null])})),this._handleEvent(e.SayHello,t)}showCampaign(t="default",s){return this._sendMessage(e.ShowCampaign,{type:t,key:this.options.auth_key},(()=>{this._emitter.emit(e.ShowCampaign,[{type:t,status:!0},null])})),this._handleEvent(e.ShowCampaign,s)}setSaveData(t,s){return this._sendMessage(e.SetSaveData,{data:t,key:this.options.auth_key},(()=>{this._emitter.emit(e.SetSaveData,[!0,null])})),this._handleEvent(e.GetSaveData,s)}}exports.AgRuSdk=t,exports.AgRuSdkMethods=e; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=(e=>(e.GetSaveData="agru-getSaveData",e.GetUsers="agru-getUsers",e.IsAppUser="agru-isAppUser",e.SayHello="agru-sayHello",e.ShowCampaign="agru-showCampaign",e.SetSaveData="agru-setSaveData",e))(e||{});class t{constructor(e={}){if(this.options=e,t._instance)return t._instance;for(const[e,t]of new URLSearchParams(location.search).entries())this.options[e]=isNaN(parseInt(t))?t:parseInt(t);return e.debug?console.info("SDK is running in DEBUG mode!"):this.options.auth_key||console.warn('You need to pass the "auth_key" in options, to be able to use the SDK.'),t._instance=this,t._instance._emitter=this._createEmitter(),t._instance.options=e,this._listen(),this}_createEmitter(){const e={all:t=t||new Map,on:function(e,s){var a=t.get(e);a?a.push(s):t.set(e,[s])},off:function(e,s){var a=t.get(e);a&&(s?a.splice(a.indexOf(s)>>>0,1):t.set(e,[]))},emit:function(e,s){var a=t.get(e);a&&a.slice().map((function(e){e(s)})),(a=t.get("*"))&&a.slice().map((function(t){t(e,s)}))}};var t;const s=e.on;return e.on=(e,t)=>{"function"==typeof t&&s(e,(e=>t.call(null,...e)))},e.once=(t,s)=>{const a=(...n)=>{e.off(t,a),"function"==typeof s&&s.call(null,...n)};e.on(t,a)},e}_handleEvent(e,t){return t?this._emitter.once(e,t):new Promise((t=>this._emitter.once(e,((...e)=>t(e)))))}_listen(){window.addEventListener("message",(e=>{const{data:t,type:s}=e.data;this._emitter.emit(s,t)}))}_sendMessage(e,t,s){return this.options.debug?setTimeout(s):null==top?void 0:top.postMessage({data:t,type:e},"*")}getSaveData(t){return this._sendMessage(e.GetSaveData,this.options,(()=>{this._emitter.emit(e.GetSaveData,[{a:!0,b:!1,c:1},null])})),this._handleEvent(e.GetSaveData,t)}getUsers(t,s){return this._sendMessage(e.GetUsers,t,(()=>{this._emitter.emit(e.GetUsers,[t.map((e=>({avatar:`https://api.lorem.space/image/face?w=150&h=150&hash=${e}`,id:e,name:Math.random().toString(16).substring(2)}))),null])})),this._handleEvent(e.GetUsers,s)}isAppUser(t,s){return this._sendMessage(e.IsAppUser,t,(()=>{this._emitter.emit(e.IsAppUser,[!0,null])})),this._handleEvent(e.IsAppUser,s)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}sayHello(t){const s="And here's Johnny";return this._sendMessage(e.SayHello,s,(()=>{this._emitter.emit(e.SayHello,[s,null])})),this._handleEvent(e.SayHello,t)}showCampaign(t="default",s){return this._sendMessage(e.ShowCampaign,{options:this.options,type:t},(()=>{this._emitter.emit(e.ShowCampaign,[{type:t,status:!0},null])})),this._handleEvent(e.ShowCampaign,s)}setSaveData(t,s){return this._sendMessage(e.SetSaveData,{data:t,options:this.options},(()=>{this._emitter.emit(e.SetSaveData,[!0,null])})),this._handleEvent(e.GetSaveData,s)}}exports.AgRuSdk=t,exports.AgRuSdkMethods=e; |
@@ -77,3 +77,3 @@ (function (global, factory) { | ||
getSaveData(callback) { | ||
this._sendMessage(AgRuSdkMethods.GetSaveData, this.options.auth_key, () => { | ||
this._sendMessage(AgRuSdkMethods.GetSaveData, this.options, () => { | ||
this._emitter.emit(AgRuSdkMethods.GetSaveData, [ | ||
@@ -128,4 +128,4 @@ { | ||
{ | ||
type, | ||
key: this.options.auth_key | ||
options: this.options, | ||
type | ||
}, | ||
@@ -149,3 +149,3 @@ () => { | ||
data, | ||
key: this.options.auth_key | ||
options: this.options | ||
}, | ||
@@ -152,0 +152,0 @@ () => { |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).agru={})}(this,(function(e){"use strict";var t=(e=>(e.GetSaveData="agru-getSaveData",e.GetUsers="agru-getUsers",e.IsAppUser="agru-isAppUser",e.SayHello="agru-sayHello",e.ShowCampaign="agru-showCampaign",e.SetSaveData="agru-setSaveData",e))(t||{});class s{constructor(e={}){if(this.options=e,s._instance)return s._instance;for(const[e,t]of new URLSearchParams(location.search).entries())this.options[e]=isNaN(parseInt(t))?t:parseInt(t);return e.debug?console.info("SDK is running in DEBUG mode!"):this.options.auth_key||console.warn('You need to pass the "auth_key" in options, to be able to use the SDK.'),s._instance=this,s._instance._emitter=this._createEmitter(),s._instance.options=e,this._listen(),this}_createEmitter(){const e={all:t=t||new Map,on:function(e,s){var n=t.get(e);n?n.push(s):t.set(e,[s])},off:function(e,s){var n=t.get(e);n&&(s?n.splice(n.indexOf(s)>>>0,1):t.set(e,[]))},emit:function(e,s){var n=t.get(e);n&&n.slice().map((function(e){e(s)})),(n=t.get("*"))&&n.slice().map((function(t){t(e,s)}))}};var t;const s=e.on;return e.on=(e,t)=>{"function"==typeof t&&s(e,(e=>t.call(null,...e)))},e.once=(t,s)=>{const n=(...a)=>{e.off(t,n),"function"==typeof s&&s.call(null,...a)};e.on(t,n)},e}_handleEvent(e,t){return t?this._emitter.once(e,t):new Promise((t=>this._emitter.once(e,((...e)=>t(e)))))}_listen(){window.addEventListener("message",(e=>{const{data:t,type:s}=e.data;this._emitter.emit(s,t)}))}_sendMessage(e,t,s){return this.options.debug?setTimeout(s):null==top?void 0:top.postMessage({data:t,type:e},"*")}getSaveData(e){return this._sendMessage(t.GetSaveData,this.options.auth_key,(()=>{this._emitter.emit(t.GetSaveData,[{a:!0,b:!1,c:1},null])})),this._handleEvent(t.GetSaveData,e)}getUsers(e,s){return this._sendMessage(t.GetUsers,e,(()=>{this._emitter.emit(t.GetUsers,[e.map((e=>({avatar:`https://api.lorem.space/image/face?w=150&h=150&hash=${e}`,id:e,name:Math.random().toString(16).substring(2)}))),null])})),this._handleEvent(t.GetUsers,s)}isAppUser(e,s){return this._sendMessage(t.IsAppUser,e,(()=>{this._emitter.emit(t.IsAppUser,[!0,null])})),this._handleEvent(t.IsAppUser,s)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}sayHello(e){const s="And here's Johnny";return this._sendMessage(t.SayHello,s,(()=>{this._emitter.emit(t.SayHello,[s,null])})),this._handleEvent(t.SayHello,e)}showCampaign(e="default",s){return this._sendMessage(t.ShowCampaign,{type:e,key:this.options.auth_key},(()=>{this._emitter.emit(t.ShowCampaign,[{type:e,status:!0},null])})),this._handleEvent(t.ShowCampaign,s)}setSaveData(e,s){return this._sendMessage(t.SetSaveData,{data:e,key:this.options.auth_key},(()=>{this._emitter.emit(t.SetSaveData,[!0,null])})),this._handleEvent(t.GetSaveData,s)}}e.AgRuSdk=s,e.AgRuSdkMethods=t,Object.defineProperty(e,"__esModule",{value:!0}),window.AgRuSdk=agru.AgRuSdk,window.AgRuSdkMethods=agru.AgRuSdkMethods})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).agru={})}(this,(function(e){"use strict";var t=(e=>(e.GetSaveData="agru-getSaveData",e.GetUsers="agru-getUsers",e.IsAppUser="agru-isAppUser",e.SayHello="agru-sayHello",e.ShowCampaign="agru-showCampaign",e.SetSaveData="agru-setSaveData",e))(t||{});class s{constructor(e={}){if(this.options=e,s._instance)return s._instance;for(const[e,t]of new URLSearchParams(location.search).entries())this.options[e]=isNaN(parseInt(t))?t:parseInt(t);return e.debug?console.info("SDK is running in DEBUG mode!"):this.options.auth_key||console.warn('You need to pass the "auth_key" in options, to be able to use the SDK.'),s._instance=this,s._instance._emitter=this._createEmitter(),s._instance.options=e,this._listen(),this}_createEmitter(){const e={all:t=t||new Map,on:function(e,s){var n=t.get(e);n?n.push(s):t.set(e,[s])},off:function(e,s){var n=t.get(e);n&&(s?n.splice(n.indexOf(s)>>>0,1):t.set(e,[]))},emit:function(e,s){var n=t.get(e);n&&n.slice().map((function(e){e(s)})),(n=t.get("*"))&&n.slice().map((function(t){t(e,s)}))}};var t;const s=e.on;return e.on=(e,t)=>{"function"==typeof t&&s(e,(e=>t.call(null,...e)))},e.once=(t,s)=>{const n=(...a)=>{e.off(t,n),"function"==typeof s&&s.call(null,...a)};e.on(t,n)},e}_handleEvent(e,t){return t?this._emitter.once(e,t):new Promise((t=>this._emitter.once(e,((...e)=>t(e)))))}_listen(){window.addEventListener("message",(e=>{const{data:t,type:s}=e.data;this._emitter.emit(s,t)}))}_sendMessage(e,t,s){return this.options.debug?setTimeout(s):null==top?void 0:top.postMessage({data:t,type:e},"*")}getSaveData(e){return this._sendMessage(t.GetSaveData,this.options,(()=>{this._emitter.emit(t.GetSaveData,[{a:!0,b:!1,c:1},null])})),this._handleEvent(t.GetSaveData,e)}getUsers(e,s){return this._sendMessage(t.GetUsers,e,(()=>{this._emitter.emit(t.GetUsers,[e.map((e=>({avatar:`https://api.lorem.space/image/face?w=150&h=150&hash=${e}`,id:e,name:Math.random().toString(16).substring(2)}))),null])})),this._handleEvent(t.GetUsers,s)}isAppUser(e,s){return this._sendMessage(t.IsAppUser,e,(()=>{this._emitter.emit(t.IsAppUser,[!0,null])})),this._handleEvent(t.IsAppUser,s)}on(e,t){return this._emitter.on(e,t)}once(e,t){return this._emitter.once(e,t)}sayHello(e){const s="And here's Johnny";return this._sendMessage(t.SayHello,s,(()=>{this._emitter.emit(t.SayHello,[s,null])})),this._handleEvent(t.SayHello,e)}showCampaign(e="default",s){return this._sendMessage(t.ShowCampaign,{options:this.options,type:e},(()=>{this._emitter.emit(t.ShowCampaign,[{type:e,status:!0},null])})),this._handleEvent(t.ShowCampaign,s)}setSaveData(e,s){return this._sendMessage(t.SetSaveData,{data:e,options:this.options},(()=>{this._emitter.emit(t.SetSaveData,[!0,null])})),this._handleEvent(t.GetSaveData,s)}}e.AgRuSdk=s,e.AgRuSdkMethods=t,Object.defineProperty(e,"__esModule",{value:!0}),window.AgRuSdk=agru.AgRuSdk,window.AgRuSdkMethods=agru.AgRuSdkMethods})); |
{ | ||
"name": "@agru/sdk", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "AG RU SDK for the games integration", | ||
@@ -5,0 +5,0 @@ "module": "dist/esm/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35467