diff --git a/assets/main.js b/assets/main.js index 482651b..5824dca 100644 --- a/assets/main.js +++ b/assets/main.js @@ -1 +1 @@ -(()=>{var e={187:e=>{"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}h(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&h(e,"error",t,{once:!0})}(e,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){var i,o,s,u;if(a(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"==typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(i=c(e))>0&&s.length>i&&!s.warned){s.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=e,f.type=t,f.count=s.length,u=f,console&&console.warn&&console.warn(u)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=f.bind(n);return i.listener=r,n.wrapFn=i,i}function d(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)n(c,this,t);else{var u=c.length,f=v(c,u);for(r=0;r=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},445:e=>{e.exports=s,s.default=s,s.stable=f,s.stableStringify=f;var t="[...]",r="[Circular]",n=[],i=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function s(e,t,r,s){var a;void 0===s&&(s=o()),c(e,"",0,[],void 0,0,s);try{a=0===i.length?JSON.stringify(e,t,r):JSON.stringify(e,d(t),r)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var u=n.pop();4===u.length?Object.defineProperty(u[0],u[1],u[3]):u[0][u[1]]=u[2]}}return a}function a(e,t,r,o){var s=Object.getOwnPropertyDescriptor(o,r);void 0!==s.get?s.configurable?(Object.defineProperty(o,r,{value:e}),n.push([o,r,t,s])):i.push([t,r,e]):(o[r]=e,n.push([o,r,t]))}function c(e,n,i,o,s,u,f){var l;if(u+=1,"object"==typeof e&&null!==e){for(l=0;lf.depthLimit)return void a(t,e,n,s);if(void 0!==f.edgesLimit&&i+1>f.edgesLimit)return void a(t,e,n,s);if(o.push(e),Array.isArray(e))for(l=0;lt?1:0}function f(e,t,r,s){void 0===s&&(s=o());var a,c=l(e,"",0,[],void 0,0,s)||e;try{a=0===i.length?JSON.stringify(c,t,r):JSON.stringify(c,d(t),r)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var u=n.pop();4===u.length?Object.defineProperty(u[0],u[1],u[3]):u[0][u[1]]=u[2]}}return a}function l(e,i,o,s,c,f,d){var p;if(f+=1,"object"==typeof e&&null!==e){for(p=0;pd.depthLimit)return void a(t,e,i,c);if(void 0!==d.edgesLimit&&o+1>d.edgesLimit)return void a(t,e,i,c);if(s.push(e),Array.isArray(e))for(p=0;p0)for(var n=0;n{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.RpcErrorCode=void 0,function(e){e[e.INTERNAL=0]="INTERNAL",e[e.TRY_AGAIN_LATER=1]="TRY_AGAIN_LATER",e[e.INVALID_REQUEST=2]="INVALID_REQUEST",e[e.RESOURCE_UNAVAILABLE=3]="RESOURCE_UNAVAILABLE",e[e.METHOD_NOT_FOUND=4]="METHOD_NOT_FOUND",e[e.INSUFFICIENT_PERMISSIONS=5]="INSUFFICIENT_PERMISSIONS",e[e.REJECTED_BY_USER=6]="REJECTED_BY_USER",e[e.CONNECTION_IS_NOT_INITIALIZED=7]="CONNECTION_IS_NOT_INITIALIZED",e[e.MESSAGE_EXPIRED=8]="MESSAGE_EXPIRED"}(r||(t.RpcErrorCode=r={}))},268:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.notificationEmitter=t.NotificationEmitter=void 0;class r{emit(e,t){var r;null===(r=this.emitter)||void 0===r||r.emit(e,"string"==typeof t?JSON.parse(t):void 0)}}t.NotificationEmitter=r,t.notificationEmitter=new r,window.__dartNotifications={connected:async e=>t.notificationEmitter.emit("connected",e),disconnected:async e=>t.notificationEmitter.emit("disconnected",e),transactionsFound:async e=>t.notificationEmitter.emit("transactionsFound",e),contractStateChanged:async e=>t.notificationEmitter.emit("contractStateChanged",e),messageStatusUpdated:async e=>t.notificationEmitter.emit("messageStatusUpdated",e),networkChanged:async e=>t.notificationEmitter.emit("networkChanged",e),permissionsChanged:async e=>t.notificationEmitter.emit("permissionsChanged",e),loggedOut:async e=>t.notificationEmitter.emit("loggedOut",e)}},599:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setGlobalProvider=t.initializeProvider=void 0;const n=r(593),i=r(758),o=r(268);function s(e){window.__ever=e,window.dispatchEvent(new Event("ever#initialized")),window.ton=e,window.dispatchEvent(new Event("ton#initialized"))}t.initializeProvider=({logger:e=console,maxEventListeners:t=100,shouldSetOnWindow:r=!0})=>{let n=new a({logger:e,maxEventListeners:t});return o.notificationEmitter.emitter=n,r&&s(n),n},t.setGlobalProvider=s;class a extends n.SafeEventEmitter{constructor({logger:e=console,maxEventListeners:t=100}){super(),this._rpcRequest=(e,t)=>{(0,n.requestDart)(e).then((e=>{t(null,{result:e})})).catch((e=>{t(e)}))},c(e),this._log=e,this.setMaxListeners(t),this._state={isConnected:!1,isPermanentlyDisconnected:!1},this.on("connect",(()=>{this._state.isConnected=!0}))}get isConnected(){return this._state.isConnected}async request(e){if(!e||"object"!=typeof e||Array.isArray(e))throw new n.NekotonRpcError(i.RpcErrorCode.INVALID_REQUEST,"Invalid request args");const{method:t,params:r}=e;if(0===t.length)throw new n.NekotonRpcError(i.RpcErrorCode.INVALID_REQUEST,"Invalid request method");if(void 0!==r&&!Array.isArray(r)&&("object"!=typeof r||null===r))throw new n.NekotonRpcError(i.RpcErrorCode.INVALID_REQUEST,"Invalid request params");return new Promise(((e,i)=>{this._rpcRequest({method:t,params:r},(0,n.getRpcPromiseCallback)(e,i))}))}sendAsync(e,t){this._rpcRequest(e,t)}addListener(e,t){return super.addListener(e,t)}removeListener(e,t){return super.removeListener(e,t)}on(e,t){return super.on(e,t)}once(e,t){return super.once(e,t)}prependListener(e,t){return super.prependListener(e,t)}prependOnceListener(e,t){return super.prependOnceListener(e,t)}}const c=e=>{if(e!==console){if("object"==typeof e){const t=["log","warn","error","debug","info","trace"];for(const r of t)if("function"!=typeof e[r])throw new Error(`Invalid logger method: "${r}"`);return}throw new Error("Invalid logger object")}}},593:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.requestDart=t.getRpcPromiseCallback=t.SafeEventEmitter=t.NekotonRpcError=void 0;const i=n(r(445)),o=r(187),s=r(758);class a extends Error{constructor(e,t,r){if(!Number.isInteger(e))throw new Error('"code" must be an integer');if(!t||"string"!=typeof t)throw new Error('"message" must be a nonempty string');super(t),this.code=e,this.data=r}serialize(){const e={code:this.code,message:this.message};return void 0!==this.data&&(e.data=this.data),this.stack&&(e.stack=this.stack),e}toString(){return(0,i.default)(this.serialize(),c,2)}}t.NekotonRpcError=a,s.RpcErrorCode.INTERNAL;const c=(e,t)=>{if("[Circular]"!==t)return t};class u extends o.EventEmitter{emit(e,...t){let r="error"===e;const n=this._events;if(void 0!==n)r=r&&void 0===n.error;else if(!r)return!1;if(r){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;const r=new Error("Unhandled error."+(e?` (${e.message})`:""));throw r.context=e,r}const i=n[e];if(void 0===i)return!1;if("function"==typeof i)f(i,this,t);else{const e=i.length,r=function(e){const t=e.length,r=new Array(t);for(let n=0;n{throw e}))}}t.SafeEventEmitter=u,t.getRpcPromiseCallback=(e,t,r=!0)=>(n,i)=>{n||i.error?t(n||i.error):!r||Array.isArray(i)?e(i):e(i.result)},t.requestDart=e=>window.flutter_inappwebview.callHandler("nekotonWebviewHandler",e)}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}(()=>{"use strict";let e;window.__hasEverscaleProvider=!0,window.hasTonProvider=!0,(()=>{e=window.define;try{window.define=void 0}catch(e){console.warn("Nekoton: global.define could not be deleted")}})();const t=r(599);(()=>{try{window.define=e}catch(e){console.warn("Nekoton: global.define could not be overwritten")}})(),(0,t.initializeProvider)({})})()})(); \ No newline at end of file +(()=>{var e={187:e=>{"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}h(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&h(e,"error",t,{once:!0})}(e,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){var i,o,s,u;if(a(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),s=o[t]),void 0===s)s=o[t]=r,++e._eventsCount;else if("function"==typeof s?s=o[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(i=c(e))>0&&s.length>i&&!s.warned){s.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=e,f.type=t,f.count=s.length,u=f,console&&console.warn&&console.warn(u)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=f.bind(n);return i.listener=r,n.wrapFn=i,i}function d(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)n(c,this,t);else{var u=c.length,f=v(c,u);for(r=0;r=0;o--)if(r[o]===t||r[o].listener===t){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},445:e=>{e.exports=s,s.default=s,s.stable=f,s.stableStringify=f;var t="[...]",r="[Circular]",n=[],i=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function s(e,t,r,s){var a;void 0===s&&(s=o()),c(e,"",0,[],void 0,0,s);try{a=0===i.length?JSON.stringify(e,t,r):JSON.stringify(e,d(t),r)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var u=n.pop();4===u.length?Object.defineProperty(u[0],u[1],u[3]):u[0][u[1]]=u[2]}}return a}function a(e,t,r,o){var s=Object.getOwnPropertyDescriptor(o,r);void 0!==s.get?s.configurable?(Object.defineProperty(o,r,{value:e}),n.push([o,r,t,s])):i.push([t,r,e]):(o[r]=e,n.push([o,r,t]))}function c(e,n,i,o,s,u,f){var l;if(u+=1,"object"==typeof e&&null!==e){for(l=0;lf.depthLimit)return void a(t,e,n,s);if(void 0!==f.edgesLimit&&i+1>f.edgesLimit)return void a(t,e,n,s);if(o.push(e),Array.isArray(e))for(l=0;lt?1:0}function f(e,t,r,s){void 0===s&&(s=o());var a,c=l(e,"",0,[],void 0,0,s)||e;try{a=0===i.length?JSON.stringify(c,t,r):JSON.stringify(c,d(t),r)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var u=n.pop();4===u.length?Object.defineProperty(u[0],u[1],u[3]):u[0][u[1]]=u[2]}}return a}function l(e,i,o,s,c,f,d){var p;if(f+=1,"object"==typeof e&&null!==e){for(p=0;pd.depthLimit)return void a(t,e,i,c);if(void 0!==d.edgesLimit&&o+1>d.edgesLimit)return void a(t,e,i,c);if(s.push(e),Array.isArray(e))for(p=0;p0)for(var n=0;n{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.RpcErrorCode=void 0,function(e){e[e.INTERNAL=0]="INTERNAL",e[e.TRY_AGAIN_LATER=1]="TRY_AGAIN_LATER",e[e.INVALID_REQUEST=2]="INVALID_REQUEST",e[e.RESOURCE_UNAVAILABLE=3]="RESOURCE_UNAVAILABLE",e[e.METHOD_NOT_FOUND=4]="METHOD_NOT_FOUND",e[e.INSUFFICIENT_PERMISSIONS=5]="INSUFFICIENT_PERMISSIONS",e[e.REJECTED_BY_USER=6]="REJECTED_BY_USER",e[e.CONNECTION_IS_NOT_INITIALIZED=7]="CONNECTION_IS_NOT_INITIALIZED",e[e.MESSAGE_EXPIRED=8]="MESSAGE_EXPIRED"}(r||(t.RpcErrorCode=r={}))},268:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.notificationEmitter=t.NotificationEmitter=void 0;class r{emit(e,t){var r;null===(r=this.emitter)||void 0===r||r.emit(e,"string"==typeof t?JSON.parse(t):void 0)}}t.NotificationEmitter=r,t.notificationEmitter=new r,window.__dartNotifications={connected:async e=>t.notificationEmitter.emit("connected",e),disconnected:async e=>t.notificationEmitter.emit("disconnected",e),transactionsFound:async e=>t.notificationEmitter.emit("transactionsFound",e),contractStateChanged:async e=>t.notificationEmitter.emit("contractStateChanged",e),messageStatusUpdated:async e=>t.notificationEmitter.emit("messageStatusUpdated",e),networkChanged:async e=>t.notificationEmitter.emit("networkChanged",e),permissionsChanged:async e=>t.notificationEmitter.emit("permissionsChanged",e),loggedOut:async e=>t.notificationEmitter.emit("loggedOut",e)}},599:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setGlobalProvider=t.initializeProvider=void 0;const n=r(593),i=r(758),o=r(268);function s(e){window.__ever=e,window.isNativeEverApp=!0,window.dispatchEvent(new Event("ever#initialized")),window.ton=e,window.dispatchEvent(new Event("ton#initialized"))}t.initializeProvider=({logger:e=console,maxEventListeners:t=100,shouldSetOnWindow:r=!0})=>{let n=new a({logger:e,maxEventListeners:t});return o.notificationEmitter.emitter=n,r&&s(n),n},t.setGlobalProvider=s;class a extends n.SafeEventEmitter{constructor({logger:e=console,maxEventListeners:t=100}){super(),this._rpcRequest=(e,t)=>{(0,n.requestDart)(e).then((e=>{t(null,{result:e})})).catch((e=>{t(e)}))},c(e),this._log=e,this.setMaxListeners(t),this._state={isConnected:!1,isPermanentlyDisconnected:!1},this.on("connect",(()=>{this._state.isConnected=!0}))}get isConnected(){return this._state.isConnected}async request(e){if(!e||"object"!=typeof e||Array.isArray(e))throw new n.NekotonRpcError(i.RpcErrorCode.INVALID_REQUEST,"Invalid request args");const{method:t,params:r}=e;if(0===t.length)throw new n.NekotonRpcError(i.RpcErrorCode.INVALID_REQUEST,"Invalid request method");if(void 0!==r&&!Array.isArray(r)&&("object"!=typeof r||null===r))throw new n.NekotonRpcError(i.RpcErrorCode.INVALID_REQUEST,"Invalid request params");return new Promise(((e,i)=>{this._rpcRequest({method:t,params:r},(0,n.getRpcPromiseCallback)(e,i))}))}sendAsync(e,t){this._rpcRequest(e,t)}addListener(e,t){return super.addListener(e,t)}removeListener(e,t){return super.removeListener(e,t)}on(e,t){return super.on(e,t)}once(e,t){return super.once(e,t)}prependListener(e,t){return super.prependListener(e,t)}prependOnceListener(e,t){return super.prependOnceListener(e,t)}}const c=e=>{if(e!==console){if("object"==typeof e){const t=["log","warn","error","debug","info","trace"];for(const r of t)if("function"!=typeof e[r])throw new Error(`Invalid logger method: "${r}"`);return}throw new Error("Invalid logger object")}}},593:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.requestDart=t.getRpcPromiseCallback=t.SafeEventEmitter=t.NekotonRpcError=void 0;const i=n(r(445)),o=r(187),s=r(758);class a extends Error{constructor(e,t,r){if(!Number.isInteger(e))throw new Error('"code" must be an integer');if(!t||"string"!=typeof t)throw new Error('"message" must be a nonempty string');super(t),this.code=e,this.data=r}serialize(){const e={code:this.code,message:this.message};return void 0!==this.data&&(e.data=this.data),this.stack&&(e.stack=this.stack),e}toString(){return(0,i.default)(this.serialize(),c,2)}}t.NekotonRpcError=a,s.RpcErrorCode.INTERNAL;const c=(e,t)=>{if("[Circular]"!==t)return t};class u extends o.EventEmitter{emit(e,...t){let r="error"===e;const n=this._events;if(void 0!==n)r=r&&void 0===n.error;else if(!r)return!1;if(r){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;const r=new Error("Unhandled error."+(e?` (${e.message})`:""));throw r.context=e,r}const i=n[e];if(void 0===i)return!1;if("function"==typeof i)f(i,this,t);else{const e=i.length,r=function(e){const t=e.length,r=new Array(t);for(let n=0;n{throw e}))}}t.SafeEventEmitter=u,t.getRpcPromiseCallback=(e,t,r=!0)=>(n,i)=>{n||i.error?t(n||i.error):!r||Array.isArray(i)?e(i):e(i.result)},t.requestDart=e=>window.flutter_inappwebview.callHandler("nekotonWebviewHandler",e)}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}(()=>{"use strict";let e;window.__hasEverscaleProvider=!0,window.hasTonProvider=!0,(()=>{e=window.define;try{window.define=void 0}catch(e){console.warn("Nekoton: global.define could not be deleted")}})();const t=r(599);(()=>{try{window.define=e}catch(e){console.warn("Nekoton: global.define could not be overwritten")}})(),(0,t.initializeProvider)({})})()})(); \ No newline at end of file diff --git a/js/src/provider.ts b/js/src/provider.ts index 27e00fb..b62e179 100644 --- a/js/src/provider.ts +++ b/js/src/provider.ts @@ -44,6 +44,7 @@ export function setGlobalProvider( providerInstance: NekotonInpageProvider ): void { ;(window as Record).__ever = providerInstance + ;(window as Record).isNativeEverApp = true window.dispatchEvent(new Event('ever#initialized')) // TODO: remove later