@dodoex/wallet-web3 0.0.30 → 0.0.31-1
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/__node-resolve_empty-17ad7168.js +1 -0
- package/dist/__tslib-b87826b4.js +1 -0
- package/dist/{blocto-0163896e.js → blocto-f3659cd9.js} +1 -1
- package/dist/{bn-57d47554.js → bn-555a7938.js} +1 -1
- package/dist/{browser-ponyfill-2289b823.js → browser-ponyfill-43772019.js} +1 -1
- package/dist/cjs/{__node-resolve_empty-091739cb.cjs → __node-resolve_empty-af30057e.cjs} +1 -1
- package/dist/cjs/__tslib-3820a1f8.cjs +1 -0
- package/dist/cjs/{blocto-7c4d5eb2.cjs → blocto-8dcd2f79.cjs} +1 -1
- package/dist/cjs/{bn-54dfe81e.cjs → bn-8a7b5459.cjs} +1 -1
- package/dist/cjs/{browser-ponyfill-36d13030.cjs → browser-ponyfill-b81daa53.cjs} +1 -1
- package/dist/cjs/core/index.d.ts +3 -1
- package/dist/cjs/{draggabilly-13d8079b.cjs → draggabilly-d29c3a82.cjs} +1 -1
- package/dist/cjs/{ethers-1425e498.cjs → ethers-b389cccb.cjs} +1 -1
- package/dist/cjs/{id-623ea754.cjs → id-68e6a153.cjs} +1 -1
- package/dist/cjs/{index-f58fb06c.cjs → index-1277d26f.cjs} +1 -1
- package/dist/cjs/{index-258642d0.cjs → index-14b46d68.cjs} +1 -1
- package/dist/cjs/{index-a07e79a3.cjs → index-21c482a2.cjs} +1 -1
- package/dist/cjs/{index-a899f814.cjs → index-600fd7ed.cjs} +1 -1
- package/dist/cjs/{index-18bf4468.cjs → index-6b7da1aa.cjs} +2 -2
- package/dist/cjs/{index-1c67f74d.cjs → index-ad437009.cjs} +1 -1
- package/dist/cjs/{index-0114d699.cjs → index-ae70e4c5.cjs} +1 -1
- package/dist/cjs/{index-b4e60ea2.cjs → index-e7964857.cjs} +1 -1
- package/dist/cjs/{index-9152783e.cjs → index-eb1cac25.cjs} +1 -1
- package/dist/cjs/{index-8e471449.cjs → index-ef5ffb5e.cjs} +1 -1
- package/dist/cjs/{index-2413ea20.cjs → index-fbc4f903.cjs} +2 -2
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/{index.es-3fd42a62.cjs → index.es-50db17ba.cjs} +1 -1
- package/dist/cjs/{interface-ec024d17.cjs → interface-b93da01f.cjs} +1 -1
- package/dist/cjs/{lib-typedarrays-8d2ce7c2.cjs → lib-typedarrays-076de3bb.cjs} +1 -1
- package/dist/cjs/{portis-52603983.cjs → portis-47c56ce5.cjs} +1 -1
- package/dist/cjs/{provider-34c260f7.cjs → provider-43ade618.cjs} +1 -1
- package/dist/cjs/providers/connector/types.d.ts +11 -0
- package/dist/cjs/{rainbow-0d00791d.cjs → rainbow-289f2393.cjs} +1 -1
- package/dist/cjs/sha224-061ffa54.cjs +1 -0
- package/dist/cjs/{sha256-e3b6774e.cjs → sha256-7eed4c68.cjs} +1 -1
- package/dist/cjs/{typed-data-9702319d.cjs → typed-data-679326c8.cjs} +1 -1
- package/dist/cjs/{uAuth-49f3b73f.cjs → uAuth-539f3674.cjs} +1 -1
- package/dist/cjs/walletConnect-2e8f21b6.cjs +1 -0
- package/dist/cjs/{walletLink-c6a8027c.cjs → walletLink-b61dbbb8.cjs} +1 -1
- package/dist/core/index.d.ts +3 -1
- package/dist/{draggabilly-79f109f6.js → draggabilly-8f0d67e3.js} +1 -1
- package/dist/{ethers-b6b22bee.js → ethers-523fce86.js} +1 -1
- package/dist/{id-e293f2cf.js → id-85e567e5.js} +1 -1
- package/dist/{index-cd8e15b1.js → index-05dd2219.js} +1 -1
- package/dist/{index-36774d6f.js → index-1245000e.js} +1 -1
- package/dist/{index-bfc883f3.js → index-1f850026.js} +1 -1
- package/dist/{index-aa656480.js → index-4d730ca8.js} +1 -1
- package/dist/{index-59004bdb.js → index-5a2cd2db.js} +1 -1
- package/dist/index-77165ec8.js +9 -0
- package/dist/{index-1872cc77.js → index-af172a92.js} +2 -2
- package/dist/{index-2e54648e.js → index-b1dc2c86.js} +1 -1
- package/dist/{index-3fb4e10b.js → index-bf9d577f.js} +1 -1
- package/dist/{index-73097529.js → index-dd184cf5.js} +1 -1
- package/dist/index-e078aabc.js +1 -0
- package/dist/{index.es-924d8acd.js → index.es-0971159a.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{interface-b4674954.js → interface-7254d371.js} +1 -1
- package/dist/{lib-typedarrays-56b72398.js → lib-typedarrays-9766f57f.js} +1 -1
- package/dist/{portis-c5325777.js → portis-4c8aa7f7.js} +1 -1
- package/dist/{provider-1a06c57f.js → provider-b5a6bb58.js} +1 -1
- package/dist/providers/connector/types.d.ts +11 -0
- package/dist/{rainbow-f1e745a9.js → rainbow-519d378e.js} +1 -1
- package/dist/{sha224-4a2c4b4d.js → sha224-9a5935d0.js} +1 -1
- package/dist/{sha256-a7ec49d4.js → sha256-9a186cac.js} +1 -1
- package/dist/{typed-data-9ac0085b.js → typed-data-19b7bb0d.js} +1 -1
- package/dist/{uAuth-13cce7b8.js → uAuth-f0cdaa0e.js} +1 -1
- package/dist/walletConnect-b99aba0b.js +1 -0
- package/dist/{walletLink-3492bb44.js → walletLink-9e5a68ee.js} +1 -1
- package/package.json +2 -2
- package/dist/__node-resolve_empty-91b26ccc.js +0 -1
- package/dist/__tslib-c52b974c.js +0 -1
- package/dist/cjs/__tslib-cdb57c1e.cjs +0 -1
- package/dist/cjs/sha224-badf7c7a.cjs +0 -1
- package/dist/cjs/walletConnect-2f570453.cjs +0 -1
- package/dist/index-2193565d.js +0 -9
- package/dist/index-564f02a0.js +0 -1
- package/dist/walletConnect-592426a3.js +0 -1
package/dist/core/index.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export default class Core {
|
|
|
22
22
|
}): Promise<import("@ethersproject/providers").JsonRpcProvider | undefined>;
|
|
23
23
|
getConnectedWallet(): Promise<Wallet | undefined>;
|
|
24
24
|
disconnectWallet(): Promise<void>;
|
|
25
|
-
connectWalletBefore(wallet: Wallet, providerConfig?: Partial<ConnectorParams
|
|
25
|
+
connectWalletBefore(wallet: Wallet, providerConfig?: Partial<ConnectorParams>, { callback, }?: {
|
|
26
|
+
callback?: () => void;
|
|
27
|
+
}): boolean;
|
|
26
28
|
clickWallet(wallet: Wallet, providerConfig?: Partial<ConnectorParams>): void;
|
|
27
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as t}from"./index-
|
|
1
|
+
import{c as t}from"./index-77165ec8.js";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,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
|