@dodoex/wallet-web3 0.0.41 → 0.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DefaultJsonRpcProvider-81dbd3f9.js → DefaultJsonRpcProvider-470545c2.js} +1 -1
- package/dist/__node-resolve_empty-f90bb206.js +1 -0
- package/dist/__tslib-041a522f.js +1 -0
- package/dist/{blocto-a553b391.js → blocto-a613e3ea.js} +1 -1
- package/dist/{bn-8f7cc9b5.js → bn-a73d500d.js} +1 -1
- package/dist/{browser-ponyfill-4134b2b7.js → browser-ponyfill-5a72503b.js} +1 -1
- package/dist/cjs/{DefaultJsonRpcProvider-851de86a.cjs → DefaultJsonRpcProvider-1b124fcf.cjs} +1 -1
- package/dist/cjs/{__node-resolve_empty-04cc3662.cjs → __node-resolve_empty-c6c4d691.cjs} +1 -1
- package/dist/cjs/__tslib-74b92aa0.cjs +1 -0
- package/dist/cjs/{blocto-1d2d3abc.cjs → blocto-54eeaf0e.cjs} +1 -1
- package/dist/cjs/{bn-8a65a921.cjs → bn-5799deeb.cjs} +1 -1
- package/dist/cjs/{browser-ponyfill-96a14706.cjs → browser-ponyfill-98c87b2b.cjs} +1 -1
- package/dist/cjs/{draggabilly-326f0353.cjs → draggabilly-0280fdd9.cjs} +1 -1
- package/dist/cjs/{ethers-c6e7830c.cjs → ethers-1f3c68c5.cjs} +1 -1
- package/dist/cjs/{id-ac2184da.cjs → id-f0a49000.cjs} +1 -1
- package/dist/cjs/{index-4685dfbc.cjs → index-1334a219.cjs} +2 -2
- package/dist/cjs/{index-c6a78b5c.cjs → index-26ef8efb.cjs} +1 -1
- package/dist/cjs/{index-b3a93c7d.cjs → index-47b72555.cjs} +1 -1
- package/dist/cjs/{index-97c32dcf.cjs → index-5d2a4d45.cjs} +1 -1
- package/dist/cjs/{index-01b3872e.cjs → index-7c8afb3d.cjs} +1 -1
- package/dist/cjs/{index-8d32723e.cjs → index-876f807b.cjs} +1 -1
- package/dist/cjs/{index-4f46ab04.cjs → index-965f574d.cjs} +1 -1
- package/dist/cjs/{index-6130f88a.cjs → index-9c3d3910.cjs} +2 -2
- package/dist/cjs/{index-38a82c12.cjs → index-ade355c8.cjs} +1 -1
- package/dist/cjs/{index-d89005f4.cjs → index-dbfff00c.cjs} +1 -1
- package/dist/cjs/{index-823d3a25.cjs → index-eeb0556a.cjs} +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/{index.es-168fe2b1.cjs → index.es-d8a23b8c.cjs} +1 -1
- package/dist/cjs/{interface-f6b53727.cjs → interface-32ec049c.cjs} +1 -1
- package/dist/cjs/{lib-typedarrays-05755aa6.cjs → lib-typedarrays-c773181b.cjs} +1 -1
- package/dist/cjs/{portis-7873ce6a.cjs → portis-7b794882.cjs} +1 -1
- package/dist/cjs/{provider-d7c647ea.cjs → provider-73c10a83.cjs} +1 -1
- package/dist/cjs/providers/connector/injected.d.ts +1 -1
- package/dist/cjs/providers/connector/types.d.ts +1 -0
- package/dist/cjs/{rainbow-43c8e5f6.cjs → rainbow-59104eb0.cjs} +1 -1
- package/dist/cjs/sha224-c7a50394.cjs +1 -0
- package/dist/cjs/{sha256-7cc68713.cjs → sha256-33ca448e.cjs} +1 -1
- package/dist/cjs/{uAuth-6aa71b34.cjs → uAuth-2de77cf5.cjs} +1 -1
- package/dist/cjs/walletConnect-23c4ab09.cjs +1 -0
- package/dist/cjs/{walletLink-eb56d177.cjs → walletLink-e9532414.cjs} +1 -1
- package/dist/{draggabilly-291f869b.js → draggabilly-186183f4.js} +1 -1
- package/dist/{ethers-f8f094be.js → ethers-5bf5b00b.js} +1 -1
- package/dist/{id-dcb529f4.js → id-f73e9185.js} +1 -1
- package/dist/{index-a1df7720.js → index-4a260eae.js} +1 -1
- package/dist/{index-e3070128.js → index-4a2d9b19.js} +1 -1
- package/dist/{index-20ce8a4c.js → index-66448990.js} +1 -1
- package/dist/{index-cebac794.js → index-687aa034.js} +2 -2
- package/dist/{index-bc061f7b.js → index-8cc67274.js} +1 -1
- package/dist/{index-cec5c507.js → index-9ef93cee.js} +1 -1
- package/dist/{index-7a7a090a.js → index-b7b5de53.js} +1 -1
- package/dist/{index-89a7e976.js → index-d18b1515.js} +1 -1
- package/dist/index-ec768c82.js +1 -0
- package/dist/{index-914dc773.js → index-fca1a0c3.js} +1 -1
- package/dist/{index-4e6b81d8.js → index-fdf822d6.js} +1 -1
- package/dist/{index.es-b6986074.js → index.es-d0dcd244.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{interface-6c3ec32a.js → interface-cd17b51d.js} +1 -1
- package/dist/{lib-typedarrays-f1051e37.js → lib-typedarrays-b049d0e6.js} +1 -1
- package/dist/{portis-6c321b6b.js → portis-eedfe5a8.js} +1 -1
- package/dist/{provider-0a241f15.js → provider-cc8e4040.js} +1 -1
- package/dist/providers/connector/injected.d.ts +1 -1
- package/dist/providers/connector/types.d.ts +1 -0
- package/dist/rainbow-bc431cfa.js +1 -0
- package/dist/sha224-882535a5.js +1 -0
- package/dist/{sha256-79cd8cb2.js → sha256-081247ed.js} +1 -1
- package/dist/{uAuth-57530103.js → uAuth-acbb6033.js} +1 -1
- package/dist/walletConnect-622e5dfc.js +1 -0
- package/dist/{walletLink-7f641f02.js → walletLink-90f5ac8d.js} +1 -1
- package/package.json +1 -1
- package/dist/__node-resolve_empty-314df16e.js +0 -1
- package/dist/__tslib-895a7349.js +0 -1
- package/dist/cjs/__tslib-07f80053.cjs +0 -1
- package/dist/cjs/sha224-86e8cc7f.cjs +0 -1
- package/dist/cjs/walletConnect-b0df4f12.cjs +0 -1
- package/dist/index-cbfb042c.js +0 -1
- package/dist/rainbow-43a583fd.js +0 -1
- package/dist/sha224-1e5a1736.js +0 -1
- package/dist/walletConnect-dc900305.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("./index-
|
|
1
|
+
"use strict";var t=require("./index-1334a219.cjs"),e={exports:{}};!function(e,r){var o="undefined"!=typeof self?self:t.commonjsGlobal,n=function(){function t(){this.fetch=!1,this.DOMException=o.DOMException}return t.prototype=o,new t}();!function(t){!function(e){var r={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(r.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&o.indexOf(Object.prototype.toString.call(t))>-1};function i(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function s(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return r.iterable&&(e[Symbol.iterator]=function(){return e}),e}function h(t){this.map={},t instanceof h?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function u(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function c(t){var e=new FileReader,r=f(e);return e.readAsArrayBuffer(t),r}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:r.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:r.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():r.arrayBuffer&&r.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var t=u(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?u(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(c)}),this.text=function(){var t,e,r,o=u(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=f(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(t,e){t=i(t),e=s(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},h.prototype.delete=function(t){delete this.map[i(t)]},h.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},h.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},h.prototype.set=function(t,e){this.map[i(t)]=s(e)},h.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},h.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),a(t)},h.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),a(t)},h.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),a(t)},r.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function l(t,e){var r,o,n=(e=e||{}).body;if(t instanceof l){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new h(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new h(e.headers)),this.method=(r=e.method||this.method||"GET",o=r.toUpperCase(),y.indexOf(o)>-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function b(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}})),e}function m(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new h(e.headers),this.url=e.url||"",this._initBody(t)}l.prototype.clone=function(){return new l(this,{body:this._bodyInit})},p.call(l.prototype),p.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},m.error=function(){var t=new m(null,{status:0,statusText:""});return t.type="error",t};var w=[301,302,303,307,308];m.redirect=function(t,e){if(-1===w.indexOf(e))throw new RangeError("Invalid status code");return new m(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,o){return new Promise((function(n,i){var s=new l(t,o);if(s.signal&&s.signal.aborted)return i(new e.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function u(){a.abort()}a.onload=function(){var t,e,r={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new h,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}})),e)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;n(new m(o,r))},a.onerror=function(){i(new TypeError("Network request failed"))},a.ontimeout=function(){i(new TypeError("Network request failed"))},a.onabort=function(){i(new e.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&r.blob&&(a.responseType="blob"),s.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),s.signal&&(s.signal.addEventListener("abort",u),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",u)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=h,t.Request=l,t.Response=m),e.Headers=h,e.Request=l,e.Response=m,e.fetch=v,Object.defineProperty(e,"__esModule",{value:!0})}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var i=n;(r=i.fetch).default=i.fetch,r.fetch=i.fetch,r.Headers=i.Headers,r.Request=i.Request,r.Response=i.Response,e.exports=r}(e,e.exports);var r=t.getDefaultExportFromCjs(e.exports);exports.browserPonyfill=e,exports.c=r;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var t=require("./index-
|
|
1
|
+
"use strict";var t=require("./index-1334a219.cjs");function i(t,i){return i.forEach((function(i){i&&"string"!=typeof i&&!Array.isArray(i)&&Object.keys(i).forEach((function(e){if("default"!==e&&!(e in t)){var n=Object.getOwnPropertyDescriptor(i,e);Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:function(){return i[e]}})}}))})),Object.freeze(t)}var e,n={exports:{}},o={exports:{}};function s(){return e||(e=1,t=o,function(i,e){t.exports?t.exports=e():i.getSize=e()}(window,(function(){function t(t){let i=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(i)&&i}let i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];return function(e){if("string"==typeof e&&(e=document.querySelector(e)),!e||"object"!=typeof e||!e.nodeType)return;let n=getComputedStyle(e);if("none"==n.display)return function(){let t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};return i.forEach((i=>{t[i]=0})),t}();let o={};o.width=e.offsetWidth,o.height=e.offsetHeight;let s=o.isBorderBox="border-box"==n.boxSizing;i.forEach((t=>{let i=n[t],e=parseFloat(i);o[t]=isNaN(e)?0:e}));let r=o.paddingLeft+o.paddingRight,h=o.paddingTop+o.paddingBottom,a=o.marginLeft+o.marginRight,d=o.marginTop+o.marginBottom,l=o.borderLeftWidth+o.borderRightWidth,c=o.borderTopWidth+o.borderBottomWidth,u=t(n.width);!1!==u&&(o.width=u+(s?0:r+l));let p=t(n.height);return!1!==p&&(o.height=p+(s?0:h+c)),o.innerWidth=o.width-(r+l),o.innerHeight=o.height-(h+c),o.outerWidth=o.width+a,o.outerHeight=o.height+d,o}}))),o.exports;var t}var r,h,a,d={exports:{}},l={exports:{}};function c(){return r||(r=1,i=l,e="undefined"!=typeof window?window:t.commonjsGlobal,n=function(){function t(){}let i=t.prototype;return i.on=function(t,i){if(!t||!i)return this;let e=this._events=this._events||{},n=e[t]=e[t]||[];return n.includes(i)||n.push(i),this},i.once=function(t,i){if(!t||!i)return this;this.on(t,i);let e=this._onceEvents=this._onceEvents||{};return(e[t]=e[t]||{})[i]=!0,this},i.off=function(t,i){let e=this._events&&this._events[t];if(!e||!e.length)return this;let n=e.indexOf(i);return-1!=n&&e.splice(n,1),this},i.emitEvent=function(t,i){let e=this._events&&this._events[t];if(!e||!e.length)return this;e=e.slice(0),i=i||[];let n=this._onceEvents&&this._onceEvents[t];for(let o of e)n&&n[o]&&(this.off(t,o),delete n[o]),o.apply(this,i);return this},i.allOff=function(){return delete this._events,delete this._onceEvents,this},t},i.exports?i.exports=n():e.EvEmitter=n()),l.exports;var i,e,n}
|
|
2
2
|
/*!
|
|
3
3
|
* Unidragger v3.0.1
|
|
4
4
|
* Draggable base class
|