@dodoex/wallet-web3 0.0.34-0 → 0.0.34-2
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-5a085621.js +1 -0
- package/dist/__tslib-2b2649d1.js +1 -0
- package/dist/{blocto-4de350f3.js → blocto-215f14c4.js} +1 -1
- package/dist/{bn-736496f0.js → bn-52852639.js} +1 -1
- package/dist/{browser-ponyfill-cf9c4dcd.js → browser-ponyfill-5642a8c7.js} +1 -1
- package/dist/cjs/{__node-resolve_empty-2c714b86.cjs → __node-resolve_empty-ba23ab6c.cjs} +1 -1
- package/dist/cjs/__tslib-d3ade361.cjs +1 -0
- package/dist/cjs/{blocto-25e41381.cjs → blocto-11feaa6c.cjs} +1 -1
- package/dist/cjs/{bn-16a2fe1e.cjs → bn-a6988b27.cjs} +1 -1
- package/dist/cjs/{browser-ponyfill-68998960.cjs → browser-ponyfill-88af9641.cjs} +1 -1
- package/dist/cjs/core/index.d.ts +2 -1
- package/dist/cjs/{draggabilly-52a10ad5.cjs → draggabilly-db35bea0.cjs} +1 -1
- package/dist/cjs/{ethers-d3319007.cjs → ethers-fa90fa4d.cjs} +1 -1
- package/dist/cjs/{id-1fce7dd9.cjs → id-d52c2566.cjs} +1 -1
- package/dist/cjs/{index-416b28f8.cjs → index-03bf297e.cjs} +1 -1
- package/dist/cjs/{index-85287a2c.cjs → index-0a9b5e69.cjs} +1 -1
- package/dist/cjs/{index-dda3924a.cjs → index-13c8702e.cjs} +1 -1
- package/dist/cjs/index-315c639f.cjs +1 -0
- package/dist/cjs/{index-e0dfaaff.cjs → index-38da2fc6.cjs} +2 -2
- package/dist/cjs/{index-9adb72e5.cjs → index-3d3912cf.cjs} +1 -1
- package/dist/cjs/{index-cf5cfced.cjs → index-59128ec7.cjs} +1 -1
- package/dist/cjs/index-66664a48.cjs +9 -0
- package/dist/cjs/{index-2fe0ff56.cjs → index-88e68337.cjs} +1 -1
- package/dist/cjs/{index-a3bba314.cjs → index-d6d91382.cjs} +1 -1
- package/dist/cjs/{index-12a1a678.cjs → index-d73313cc.cjs} +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/{index.es-81c8543b.cjs → index.es-4dea0d6e.cjs} +1 -1
- package/dist/cjs/{interface-19e69d17.cjs → interface-07c9df07.cjs} +1 -1
- package/dist/cjs/{lib-typedarrays-00cf4ca3.cjs → lib-typedarrays-9506107b.cjs} +1 -1
- package/dist/cjs/{portis-7548ef10.cjs → portis-2add05e6.cjs} +1 -1
- package/dist/cjs/{provider-e35948fa.cjs → provider-df34ba55.cjs} +1 -1
- package/dist/cjs/providers/connector/types.d.ts +2 -0
- package/dist/cjs/{rainbow-91c2aeea.cjs → rainbow-c1d0ea5f.cjs} +1 -1
- package/dist/cjs/{sha224-ac00c088.cjs → sha224-64018b78.cjs} +1 -1
- package/dist/cjs/{sha256-afbf1694.cjs → sha256-47629c7b.cjs} +1 -1
- package/dist/cjs/{typed-data-10daa79b.cjs → typed-data-aad4cb7d.cjs} +1 -1
- package/dist/cjs/{uAuth-54680995.cjs → uAuth-683b32b0.cjs} +1 -1
- package/dist/cjs/{walletConnect-cad6ed62.cjs → walletConnect-b572229a.cjs} +1 -1
- package/dist/cjs/{walletLink-6671e2b1.cjs → walletLink-e2580625.cjs} +1 -1
- package/dist/core/index.d.ts +2 -1
- package/dist/{draggabilly-e22381a3.js → draggabilly-5586381c.js} +1 -1
- package/dist/{ethers-eb030787.js → ethers-fe938f80.js} +1 -1
- package/dist/{id-87470714.js → id-8eee9cee.js} +1 -1
- package/dist/{index-fa942e75.js → index-0460be19.js} +1 -1
- package/dist/index-22955b76.js +9 -0
- package/dist/{index-63c497a2.js → index-24c5d717.js} +1 -1
- package/dist/{index-b3b498f3.js → index-27bc0eaa.js} +2 -2
- package/dist/{index-c7bd5914.js → index-33518ba5.js} +1 -1
- package/dist/{index-c8514f90.js → index-4085118c.js} +1 -1
- package/dist/{index-891afd01.js → index-62176b36.js} +1 -1
- package/dist/index-7a4d4cf1.js +1 -0
- package/dist/{index-d3d1b931.js → index-86347eba.js} +1 -1
- package/dist/{index-38f1df2a.js → index-a129bc11.js} +1 -1
- package/dist/{index-bca1a9a1.js → index-da20db12.js} +1 -1
- package/dist/{index.es-2e1daf5e.js → index.es-e357be07.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{interface-b8f86d20.js → interface-039babdb.js} +1 -1
- package/dist/{lib-typedarrays-50cd09c5.js → lib-typedarrays-bf5f5b3a.js} +1 -1
- package/dist/{portis-95ffd48a.js → portis-c2efef0e.js} +1 -1
- package/dist/{provider-751cecb7.js → provider-03cbafbc.js} +1 -1
- package/dist/providers/connector/types.d.ts +2 -0
- package/dist/rainbow-1009b82d.js +1 -0
- package/dist/sha224-9f884b19.js +1 -0
- package/dist/{sha256-d174bc94.js → sha256-d6ef3f77.js} +1 -1
- package/dist/{typed-data-a70aa9fa.js → typed-data-113c2c03.js} +1 -1
- package/dist/{uAuth-e7e3daa7.js → uAuth-1cee9730.js} +1 -1
- package/dist/walletConnect-2b7c6534.js +1 -0
- package/dist/{walletLink-534e7023.js → walletLink-236909d4.js} +1 -1
- package/package.json +1 -1
- package/dist/__node-resolve_empty-d355c547.js +0 -1
- package/dist/__tslib-461f7c16.js +0 -1
- package/dist/cjs/__tslib-14208611.cjs +0 -1
- package/dist/cjs/index-24abd31c.cjs +0 -1
- package/dist/cjs/index-7327d8d6.cjs +0 -9
- package/dist/index-445574cc.js +0 -9
- package/dist/index-fc6472ef.js +0 -1
- package/dist/rainbow-860106ea.js +0 -1
- package/dist/sha224-5a9303b1.js +0 -1
- package/dist/walletConnect-77c1ada4.js +0 -1
package/dist/core/index.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ export default class Core {
|
|
|
14
14
|
isOpenBlockIframe: boolean;
|
|
15
15
|
isSafeIframe: boolean;
|
|
16
16
|
constructor(optionsProps: ICoreOptions);
|
|
17
|
-
|
|
17
|
+
setWalletListConfig(walletListConfig?: WalletListParams): void;
|
|
18
|
+
autoConnect(walletListConfig?: WalletListParams): Promise<import("@ethersproject/providers").JsonRpcProvider | undefined>;
|
|
18
19
|
setRpcUrl(url: string): void;
|
|
19
20
|
getWalletList(chainId: number, walletListConfig?: WalletListParams): Wallet[];
|
|
20
21
|
connectToWallet(wallet: Wallet, providerConfig?: Partial<ConnectorParams>, params?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as t}from"./index-
|
|
1
|
+
import{c as t}from"./index-22955b76.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
|