@web3jskit/walletkit 0.6.0 → 0.6.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/{btcConnector-DMgc1GYB.mjs → btcConnector-B7ttVDQk.mjs} +2 -2
- package/dist/{btcConnector-CcZ3Vta3.mjs → btcConnector-Cj8EN5ES.mjs} +2 -2
- package/dist/{btcConnector-BDtO-SY1.js → btcConnector-Dm9kVuSb.js} +1 -1
- package/dist/{btcConnector-DfFAwTZX.js → btcConnector-DofJ97Y5.js} +1 -1
- package/dist/core/connectors/_tron/tronConnector.d.ts +1 -1
- package/dist/core/connectors/_tron/tronConnector.d.ts.map +1 -1
- package/dist/{createConnectors-motkSfb8.mjs → createConnectors-B-vlchFu.mjs} +337 -311
- package/dist/{createConnectors-Cv_QLnqK.js → createConnectors-BpxUcDLh.js} +2 -2
- package/dist/{createConnectors-CJ8mKxGL.js → createConnectors-CFrXz3Tc.js} +3 -3
- package/dist/{createConnectors-C9LH3IR3.mjs → createConnectors-CxmtbsYq.mjs} +2 -1
- package/dist/{deepLinkConnector-DkxVqLoI.mjs → deepLinkConnector-8odSmMjV.mjs} +2 -2
- package/dist/{deepLinkConnector-DZhNx2B3.mjs → deepLinkConnector-B6CyAaUr.mjs} +1 -1
- package/dist/{deepLinkConnector-BXnwTb3R.mjs → deepLinkConnector-B8pApc03.mjs} +1 -1
- package/dist/{deepLinkConnector-BdJyNgRZ.js → deepLinkConnector-BMZDoIAp.js} +1 -1
- package/dist/{deepLinkConnector-DNwi0QPz.js → deepLinkConnector-BPGRAVl-.js} +1 -1
- package/dist/{deepLinkConnector-DIFgHqiu.js → deepLinkConnector-C2aCjSbe.js} +1 -1
- package/dist/{deepLinkConnector-BYTD1fC1.mjs → deepLinkConnector-Cdjr25xm.mjs} +1 -1
- package/dist/{deepLinkConnector-Cvnq6T2g.js → deepLinkConnector-Cyu_Edwl.js} +1 -1
- package/dist/{deepLinkConnector-C2hzBr3K.mjs → deepLinkConnector-D87huDAb.mjs} +1 -1
- package/dist/{deepLinkConnector-Bu6KKcGy.mjs → deepLinkConnector-DLIigRSC.mjs} +1 -1
- package/dist/{deepLinkConnector-CuHi9EXY.js → deepLinkConnector-pwT-5sN9.js} +1 -1
- package/dist/{deepLinkConnector-Bw-eQd5I.js → deepLinkConnector-tiMGIje-.js} +1 -1
- package/dist/{deepLinkConnector-DjjZRYdu.mjs → deepLinkConnector-u50UYivS.mjs} +1 -1
- package/dist/{deepLinkConnector-CAwqVe4F.js → deepLinkConnector-yVckiqOS.js} +1 -1
- package/dist/{index-Dh0IhC3B.mjs → index-BDdQWaKC.mjs} +1 -1
- package/dist/{index-AJZEVNvC.js → index-BjW6H6Wf.js} +2 -2
- package/dist/{index-CwrzsL2T.mjs → index-C7kS8da-.mjs} +6 -6
- package/dist/{index-Ds_3MsPA.js → index-Czazgjox.js} +1 -1
- package/dist/{index-B2ReClHJ.js → index-SWj1NcId.js} +1 -1
- package/dist/{index-bCuJkrSE.mjs → index-yDk8A0La.mjs} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +55 -1
- package/dist/{silentConnect-CZY4_0a5.js → silentConnect-BADzd6pW.js} +1 -1
- package/dist/{silentConnect-ScWCxMaM.mjs → silentConnect-C3uKdKfg.mjs} +2 -2
- package/dist/{tronConnector-CXH3d_my.js → tronConnector-CEvkSzzX.js} +1 -1
- package/dist/{tronConnector-DGnNuwqC.js → tronConnector-CMOd_Cqc.js} +1 -1
- package/dist/{tronConnector-Bx-nhNWr.mjs → tronConnector-C_mkvgQ7.mjs} +2 -2
- package/dist/{tronConnector-P87k0GEa.mjs → tronConnector-Dwgaegsx.mjs} +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as r } from "./createConnectors-
|
|
1
|
+
import { B as r } from "./createConnectors-CxmtbsYq.mjs";
|
|
2
2
|
const i = (o) => ({
|
|
3
3
|
request: async ({ method: e, params: n }) => new Promise(() => {
|
|
4
4
|
if (console.log("Bitget------request", e, n), e === "openDApp") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./createConnectors-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./createConnectors-CFrXz3Tc.js"),i=r=>({request:async({method:e,params:n})=>new Promise(()=>{if(console.log("Trust------request",e,n),e==="openDApp"){const t=`${r.deepLink}?url=${window.location.href}`;console.log("Trust------deepLink",t),window.location.href=t}})});class c extends s.BaseConnector{constructor(e){const n=i(e);super(e,n),this.connect=async()=>{const t=await this.getProvider();try{return this.beforeConnecting(),await t.request({method:"openDApp"}),this.resetStatus(),Promise.resolve("")}catch(o){return console.error(o),this.resetStatus(),Promise.reject(o)}},this.reconnection=async()=>{},this.disconnect=async()=>{this.resetStatus()},this.getAccounts=()=>{},this.__onAccountsChanged=()=>{},this.__onChainChanged=()=>{},this.__onConnect=()=>{},this.__onDisconnect=()=>{},this.deepLink=e.deepLink}}exports.default=c;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as r } from "./createConnectors-
|
|
1
|
+
import { B as r } from "./createConnectors-CxmtbsYq.mjs";
|
|
2
2
|
const i = (s) => ({
|
|
3
3
|
request: async ({ method: e, params: n }) => new Promise(() => {
|
|
4
4
|
if (console.log("Trust------request", e, n), e === "openDApp") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./createConnectors-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./createConnectors-CFrXz3Tc.js"),c=o=>({request:async({method:e,params:n})=>new Promise(()=>{if(console.log("MetaMask------request",e,n),e==="openDApp"){const t=`${o.deepLink}/${window.location.href}`;console.log("MetaMask------deepLink",t),window.location.href=t}})});class i extends r.BaseConnector{constructor(e){const n=c(e);super(e,n),this.connect=async()=>{const t=await this.getProvider();try{return this.beforeConnecting(),await t.request({method:"openDApp"}),this.resetStatus(),Promise.resolve("")}catch(s){return console.error(s),this.resetStatus(),Promise.reject(s)}},this.reconnection=async()=>{console.log("reconnection")},this.disconnect=async()=>{this.resetStatus()},this.getAccounts=()=>{},this.__onAccountsChanged=()=>{},this.__onChainChanged=()=>{},this.__onConnect=()=>{},this.__onDisconnect=()=>{},this.deepLink=e.deepLink}}exports.default=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./createConnectors-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./createConnectors-CFrXz3Tc.js"),i=o=>({request:async({method:e,params:t})=>(console.log("Tron-----request",e,t),new Promise(()=>{if(e==="openDApp"){const n=`${o.deepLink}?param=${encodeURIComponent(JSON.stringify({url:window==null?void 0:window.location.href,action:"open",protocol:"tronlink",version:"1.0"}))}`;console.log("Tron-----deepLink",n),window.location.href=n}}))});class c extends s.BaseConnector{constructor(e){const t=i(e);super(e,t),this.connect=async()=>{const n=await this.getProvider();try{return this.beforeConnecting(),n.request({method:"openDApp"}),this.resetStatus(),Promise.resolve("")}catch(r){return this.resetStatus(),Promise.reject(r)}},this.reconnection=async()=>{console.log("reconnection")},this.disconnect=async()=>{this.resetStatus()},this.switchChain=()=>{},this.getAccounts=()=>{},this.getChainId=()=>{},this.__onAccountsChanged=()=>{},this.__onChainChanged=()=>{},this.__onConnect=()=>{},this.__onDisconnect=()=>{},this.deepLink=e.deepLink}}exports.default=c;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as r } from "./createConnectors-
|
|
1
|
+
import { B as r } from "./createConnectors-CxmtbsYq.mjs";
|
|
2
2
|
const i = (o) => ({
|
|
3
3
|
request: async ({ method: e, params: t }) => (console.log("Tron-----request", e, t), new Promise(() => {
|
|
4
4
|
if (e === "openDApp") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./createConnectors-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./createConnectors-CFrXz3Tc.js"),c=o=>({request:async({method:e,params:n})=>new Promise(()=>{if(console.log("OKX------request",e,n),e==="openDApp"){const t=`${o.deepLink}?dappUrl=${encodeURIComponent(window==null?void 0:window.location.href)}`;console.log("OKX-----deepLink",t),window.location.href=t}})});class i extends s.BaseConnector{constructor(e){const n=c(e);super(e,n),this.connect=async()=>{const t=await this.getProvider();try{return this.beforeConnecting(),await t.request({method:"openDApp"}),this.resetStatus(),Promise.resolve("")}catch(r){return console.error(r),this.resetStatus(),Promise.reject(r)}},this.reconnection=async()=>{console.log("reconnection")},this.disconnect=async()=>{this.resetStatus()},this.getAccounts=()=>{},this.__onAccountsChanged=()=>{},this.__onChainChanged=()=>{},this.__onConnect=()=>{},this.__onDisconnect=()=>{},this.deepLink=e.deepLink}}exports.default=i;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./index2.css";
|
|
2
2
|
import { jsxs as u, jsx as n } from "react/jsx-runtime";
|
|
3
3
|
import { M as g, a as v } from "./index-D5CDP-Ja.mjs";
|
|
4
|
-
import { g as b, l as h, u as y, p as w, v as x } from "./index-
|
|
4
|
+
import { g as b, l as h, u as y, p as w, v as x } from "./index-C7kS8da-.mjs";
|
|
5
5
|
import { useState as _, useEffect as D } from "react";
|
|
6
6
|
const H = () => /* @__PURE__ */ u("svg", { fill: "none", height: "16", viewBox: "0 0 17 16", width: "17", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
7
7
|
/* @__PURE__ */ n("title", { children: "Copy" }),
|