@web3jskit/walletkit 0.6.2 → 0.6.3
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/CHANGELOG.md +51 -0
- package/CHANGELOG.zh.md +50 -0
- package/README.md +17 -8
- package/README.zh.md +17 -8
- package/dist/{btcConnector-DyocBque.mjs → btcConnector-B-FBz618.mjs} +2 -2
- package/dist/{btcConnector-Ip851Zzx.js → btcConnector-BmBSGGDG.js} +1 -1
- package/dist/{btcConnector-ZZavkQAJ.mjs → btcConnector-CoDLrD-5.mjs} +2 -2
- package/dist/{btcConnector-CLm-gxx3.js → btcConnector-D6hRNl6J.js} +1 -1
- package/dist/core/connectors/connectorLoader.d.ts +1 -1
- package/dist/core/connectors/connectorLoader.d.ts.map +1 -1
- package/dist/core/connectors/createConnector.entry.d.ts +2 -0
- package/dist/core/connectors/createConnector.entry.d.ts.map +1 -0
- package/dist/core/connectors/createEvmConnectors.entry.d.ts +2 -0
- package/dist/core/connectors/createEvmConnectors.entry.d.ts.map +1 -0
- package/dist/createConnector.entry-C2ezrrEW.js +1 -0
- package/dist/createConnector.entry-CxyXzv78.mjs +4 -0
- package/dist/{createConnectors-BlSjbXr8.mjs → createConnectors-ADoTab9F.mjs} +79 -87
- package/dist/{createConnectors-C90GnGoD.mjs → createConnectors-DPb4fTuL.mjs} +174 -179
- package/dist/{createConnectors-DdVhGwOT.js → createConnectors-DvITc7A3.js} +2 -2
- package/dist/{createConnectors-C-XiQWnC.js → createConnectors-DzepxSHv.js} +3 -3
- package/dist/createEvmConnectors.entry-BEhiyNyg.mjs +4 -0
- package/dist/createEvmConnectors.entry-CgqSuemU.js +1 -0
- package/dist/{deepLinkConnector-GKwdlwJL.js → deepLinkConnector-1KSnxkrX.js} +1 -1
- package/dist/{deepLinkConnector-DH_Atv4n.js → deepLinkConnector-7KRiFI0W.js} +1 -1
- package/dist/{deepLinkConnector-DofAIemy.mjs → deepLinkConnector-AI0VLF-8.mjs} +1 -1
- package/dist/{deepLinkConnector-TxdCVtow.js → deepLinkConnector-B-M6QX4q.js} +1 -1
- package/dist/{deepLinkConnector-CtbmZOxo.js → deepLinkConnector-BeJUryP4.js} +1 -1
- package/dist/{deepLinkConnector-BTFq-fy4.mjs → deepLinkConnector-BpalZdJ0.mjs} +4 -4
- package/dist/{deepLinkConnector-8wywxaVw.mjs → deepLinkConnector-CO4p3xsf.mjs} +1 -1
- package/dist/{deepLinkConnector-BXBQDnmz.js → deepLinkConnector-ChrORWtA.js} +1 -1
- package/dist/{deepLinkConnector-CamW__vG.js → deepLinkConnector-D8rPZCzr.js} +1 -1
- package/dist/{deepLinkConnector-DndXk3_X.mjs → deepLinkConnector-DFrTWxB5.mjs} +1 -1
- package/dist/{deepLinkConnector-C_FpxXyQ.js → deepLinkConnector-DQYRdy1s.js} +1 -1
- package/dist/{deepLinkConnector-wZignBF4.mjs → deepLinkConnector-DxnaAx50.mjs} +1 -1
- package/dist/{deepLinkConnector-BoPREuPE.mjs → deepLinkConnector-OWmd-F6h.mjs} +1 -1
- package/dist/{deepLinkConnector-BNSwMCcK.mjs → deepLinkConnector-XCaUTjHC.mjs} +1 -1
- package/dist/{index-BYAhc19j.js → index-B7a9zLt1.js} +1 -1
- package/dist/{index-DcP0pe9L.mjs → index-BJQl8aKg.mjs} +15 -15
- package/dist/index-BNUh90Ws.js +44 -0
- package/dist/{index-Ca5U0KJA.mjs → index-BWBZ1f0K.mjs} +31 -31
- package/dist/{index-CYV63koi.js → index-C9mc2-wq.js} +1 -1
- package/dist/{index-Dyta9O3j.mjs → index-CAgSlROt.mjs} +9 -9
- package/dist/{index-D5CDP-Ja.mjs → index-g3j_3V8c.mjs} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.js +10 -10
- package/dist/index.js +1 -1
- package/dist/index.umd.js +15 -20
- package/dist/index2.css +1 -1
- package/dist/index3.css +1 -1
- package/dist/{silentConnect-BtDOIOBH.js → silentConnect-Dkz3iVLs.js} +1 -1
- package/dist/{silentConnect-Dwh-OCFz.mjs → silentConnect-Dl9do7n_.mjs} +2 -2
- package/dist/{tronConnector-1MzggiY6.mjs → tronConnector-BSEWGw1J.mjs} +2 -2
- package/dist/{tronConnector-CaAskj-A.mjs → tronConnector-BmK6mYOf.mjs} +2 -2
- package/dist/{tronConnector-D1XjDmX5.mjs → tronConnector-CzhOONmt.mjs} +2 -2
- package/dist/{tronConnector-CK8B1kxW.js → tronConnector-DBUzHKbS.js} +1 -1
- package/dist/{tronConnector-C2XAKGru.js → tronConnector-D_DSkWfc.js} +1 -1
- package/dist/{tronConnector-in2hmjSs.js → tronConnector-Dgq9lokx.js} +1 -1
- package/package.json +4 -2
- package/dist/index-Bo_G8w5V.js +0 -44
- /package/dist/{index-Dqp1KqTh.js → index-DuT-f-Zv.js} +0 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@web3jskit/walletkit` are documented here.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.6.3] - 2026-09-20
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Opening the connect modal no longer fails with `Cannot destructure property 'createConnector' of '(intermediate value)' as it is undefined` when a Vite app rebundles the ESM build. Connector factories now load through a default-export entry so consumer bundlers keep a stable interop shape.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- npm / ESM apps should import `@web3jskit/walletkit/base.css` (fonts + theme tokens). Component CSS is already injected into ESM chunks. Use `style.css` only for UMD / CDN.
|
|
17
|
+
|
|
18
|
+
## [0.6.2] - 2026-09-20
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- MetaMask TRON connector via the official `@metamask/connect-tron` adapter (Multichain API / CAIP-25), including Nile and Shasta when the wallet already has the network.
|
|
23
|
+
- Built-in TRON network table in the docs: Mainnet `728126428`, Nile `3448148188`, Shasta `2494104990`.
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- Bitget no longer auto-opens just because the wallet list is rendered. TRON detection uses `'tronLink' in bitkeep` and a lazy provider, instead of reading `bitkeep.tronLink`.
|
|
28
|
+
- MetaMask can show as Installed on TRON even when OKX / TokenPocket / Bitget spoof `window.ethereum.isMetaMask`.
|
|
29
|
+
- MetaMask TRON connect waits until the adapter is `Found` before calling `connect()`, avoiding `Wallet not found or not ready`.
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- Wallets that cannot switch to Nile stay in the list. Only TronLink (TIP-3326) and MetaMask can switch from the dapp; WalletKit will not fake a local-only network change.
|
|
34
|
+
|
|
35
|
+
## [0.6.1] - 2026-09-20
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- TRON `switchNetwork` now talks to the wallet (TIP-3326 `wallet_switchEthereumChain`). Unsupported wallets throw instead of silently calling `tronWeb.setNode` or updating local state only.
|
|
40
|
+
|
|
41
|
+
## [0.6.0] - 2026-09-20
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
|
|
45
|
+
- TRON as a first-class chain type in connect, discovery, and wallet catalog (TronLink, OKX, Bitget, TokenPocket).
|
|
46
|
+
- TIP-6963 discovery for injected TRON wallets, with a Browser Wallet fallback when an injected provider exists.
|
|
47
|
+
|
|
48
|
+
[0.6.3]: https://www.npmjs.com/package/@web3jskit/walletkit/v/0.6.3
|
|
49
|
+
[0.6.2]: https://www.npmjs.com/package/@web3jskit/walletkit/v/0.6.2
|
|
50
|
+
[0.6.1]: https://www.npmjs.com/package/@web3jskit/walletkit/v/0.6.1
|
|
51
|
+
[0.6.0]: https://www.npmjs.com/package/@web3jskit/walletkit/v/0.6.0
|
package/CHANGELOG.zh.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# 更新日志
|
|
2
|
+
|
|
3
|
+
`@web3jskit/walletkit` 的重要变更记录于此。
|
|
4
|
+
|
|
5
|
+
格式遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
|
|
6
|
+
|
|
7
|
+
## [0.6.3] - 2026-09-20
|
|
8
|
+
|
|
9
|
+
### 修复
|
|
10
|
+
|
|
11
|
+
- 接入方用 Vite 二次打包 ESM 时,打开连接弹窗不再报 `Cannot destructure property 'createConnector' of '(intermediate value)' as it is undefined`。connector 工厂改为 default export 入口,二次打包后的模块形状保持稳定。
|
|
12
|
+
|
|
13
|
+
### 变更
|
|
14
|
+
|
|
15
|
+
- npm / ESM 请导入 `@web3jskit/walletkit/base.css`(字体 + 主题变量)。组件样式已经打进 ESM chunk。只有 UMD / CDN 才用 `style.css`。
|
|
16
|
+
|
|
17
|
+
## [0.6.2] - 2026-09-20
|
|
18
|
+
|
|
19
|
+
### 新增
|
|
20
|
+
|
|
21
|
+
- MetaMask TRON:走官方 `@metamask/connect-tron` adapter(Multichain API / CAIP-25)。钱包里已有 Nile / Shasta 时可以切网。
|
|
22
|
+
- 文档补充内置 TRON 网络:Mainnet `728126428`、Nile `3448148188`、Shasta `2494104990`。
|
|
23
|
+
|
|
24
|
+
### 修复
|
|
25
|
+
|
|
26
|
+
- 仅渲染钱包列表时不再自动唤起 Bitget。TRON 探测改用 `'tronLink' in bitkeep` 和懒加载 provider,不再读取 `bitkeep.tronLink`。
|
|
27
|
+
- 同时装着 OKX / TokenPocket / Bitget 时,MetaMask 在 TRON 上仍可显示为已安装(不再被 `window.ethereum.isMetaMask` 冒充干扰)。
|
|
28
|
+
- MetaMask TRON 会等到 adapter 进入 `Found` 再 `connect()`,避免 `Wallet not found or not ready`。
|
|
29
|
+
|
|
30
|
+
### 变更
|
|
31
|
+
|
|
32
|
+
- 切不了 Nile 的钱包仍会展示。目前只有 TronLink(TIP-3326)和 MetaMask 能由 DApp 切网;WalletKit 不会只改本地状态假装切成功。
|
|
33
|
+
|
|
34
|
+
## [0.6.1] - 2026-09-20
|
|
35
|
+
|
|
36
|
+
### 修复
|
|
37
|
+
|
|
38
|
+
- TRON `switchNetwork` 会真正请求钱包(TIP-3326 `wallet_switchEthereumChain`)。不支持切网的钱包会抛错,不再静默调用 `tronWeb.setNode` 或只改本地网络。
|
|
39
|
+
|
|
40
|
+
## [0.6.0] - 2026-09-20
|
|
41
|
+
|
|
42
|
+
### 新增
|
|
43
|
+
|
|
44
|
+
- TRON 作为一等链类型进入连接、发现和钱包目录(TronLink、OKX、Bitget、TokenPocket)。
|
|
45
|
+
- 注入式 TRON 钱包走 TIP-6963 发现;存在注入 provider 时提供 Browser Wallet 兜底。
|
|
46
|
+
|
|
47
|
+
[0.6.3]: https://www.npmjs.com/package/@web3jskit/walletkit/v/0.6.3
|
|
48
|
+
[0.6.2]: https://www.npmjs.com/package/@web3jskit/walletkit/v/0.6.2
|
|
49
|
+
[0.6.1]: https://www.npmjs.com/package/@web3jskit/walletkit/v/0.6.1
|
|
50
|
+
[0.6.0]: https://www.npmjs.com/package/@web3jskit/walletkit/v/0.6.0
|
package/README.md
CHANGED
|
@@ -70,8 +70,8 @@ pnpm add @web3jskit/walletkit
|
|
|
70
70
|
|
|
71
71
|
```tsx
|
|
72
72
|
import { WalletKitProvider, ConnectButton, useWalletKit } from '@web3jskit/walletkit';
|
|
73
|
-
// Import
|
|
74
|
-
import '@web3jskit/walletkit/
|
|
73
|
+
// Import fonts and theme tokens (required for npm / ESM)
|
|
74
|
+
import '@web3jskit/walletkit/base.css';
|
|
75
75
|
|
|
76
76
|
function App() {
|
|
77
77
|
return (
|
|
@@ -101,20 +101,25 @@ function YourApp() {
|
|
|
101
101
|
}
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
> ⚠️ **Important**:
|
|
104
|
+
> ⚠️ **Important**: For npm / ESM, import `@web3jskit/walletkit/base.css`. Component styles are already injected into ESM chunks. Use `style.css` only for UMD / CDN.
|
|
105
105
|
|
|
106
106
|
## Styling
|
|
107
107
|
|
|
108
|
-
The library includes built-in styles that
|
|
108
|
+
The library includes built-in styles that support both light and dark themes and are fully responsive.
|
|
109
109
|
|
|
110
110
|
### CSS Import Methods
|
|
111
111
|
|
|
112
112
|
```tsx
|
|
113
|
-
//
|
|
114
|
-
import '@web3jskit/walletkit/
|
|
113
|
+
// npm / ESM (recommended): fonts + theme tokens
|
|
114
|
+
import '@web3jskit/walletkit/base.css';
|
|
115
115
|
|
|
116
|
-
//
|
|
117
|
-
import '@web3jskit/walletkit/dist/
|
|
116
|
+
// equivalent path
|
|
117
|
+
import '@web3jskit/walletkit/dist/base.css';
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
```html
|
|
121
|
+
<!-- UMD / CDN: full stylesheet (base + component CSS) -->
|
|
122
|
+
<link rel="stylesheet" href="https://unpkg.com/@web3jskit/walletkit@latest/dist/style.css">
|
|
118
123
|
```
|
|
119
124
|
|
|
120
125
|
### Theme Variables
|
|
@@ -571,6 +576,10 @@ function EventListener() {
|
|
|
571
576
|
}
|
|
572
577
|
```
|
|
573
578
|
|
|
579
|
+
## Changelog
|
|
580
|
+
|
|
581
|
+
See [CHANGELOG.md](./CHANGELOG.md).
|
|
582
|
+
|
|
574
583
|
## License
|
|
575
584
|
|
|
576
585
|
MIT
|
package/README.zh.md
CHANGED
|
@@ -70,8 +70,8 @@ pnpm add @web3jskit/walletkit
|
|
|
70
70
|
|
|
71
71
|
```tsx
|
|
72
72
|
import { WalletKitProvider, ConnectButton, useWalletKit } from '@web3jskit/walletkit';
|
|
73
|
-
//
|
|
74
|
-
import '@web3jskit/walletkit/
|
|
73
|
+
// 导入字体和主题变量(npm / ESM 必需)
|
|
74
|
+
import '@web3jskit/walletkit/base.css';
|
|
75
75
|
|
|
76
76
|
function App() {
|
|
77
77
|
return (
|
|
@@ -108,20 +108,25 @@ function YourApp() {
|
|
|
108
108
|
}
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
> ⚠️ **重要**:
|
|
111
|
+
> ⚠️ **重要**: npm / ESM 请导入 `@web3jskit/walletkit/base.css`。组件样式已经打进 ESM chunk。只有 UMD / CDN 才用 `style.css`。
|
|
112
112
|
|
|
113
113
|
## 样式
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
组件库包含内置样式,支持明暗主题,并且完全响应式。
|
|
116
116
|
|
|
117
117
|
### CSS 导入方法
|
|
118
118
|
|
|
119
119
|
```tsx
|
|
120
|
-
//
|
|
121
|
-
import '@web3jskit/walletkit/
|
|
120
|
+
// npm / ESM(推荐):字体 + 主题变量
|
|
121
|
+
import '@web3jskit/walletkit/base.css';
|
|
122
122
|
|
|
123
|
-
//
|
|
124
|
-
import '@web3jskit/walletkit/dist/
|
|
123
|
+
// 等价路径
|
|
124
|
+
import '@web3jskit/walletkit/dist/base.css';
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
```html
|
|
128
|
+
<!-- UMD / CDN:完整样式(base + 组件 CSS) -->
|
|
129
|
+
<link rel="stylesheet" href="https://unpkg.com/@web3jskit/walletkit@latest/dist/style.css">
|
|
125
130
|
```
|
|
126
131
|
|
|
127
132
|
### 主题变量
|
|
@@ -578,6 +583,10 @@ function EventListener() {
|
|
|
578
583
|
}
|
|
579
584
|
```
|
|
580
585
|
|
|
586
|
+
## 更新日志
|
|
587
|
+
|
|
588
|
+
见 [CHANGELOG.zh.md](./CHANGELOG.zh.md)。
|
|
589
|
+
|
|
581
590
|
## 许可证
|
|
582
591
|
|
|
583
592
|
MIT
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as d } from "./index-
|
|
2
|
-
import { B as v } from "./createConnectors-
|
|
1
|
+
import { a as d } from "./index-BWBZ1f0K.mjs";
|
|
2
|
+
import { B as v } from "./createConnectors-DPb4fTuL.mjs";
|
|
3
3
|
class y extends v {
|
|
4
4
|
constructor(h) {
|
|
5
5
|
var r, i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index-BNUh90Ws.js"),v=require("./createConnectors-DzepxSHv.js");class l extends v.BaseConnector{constructor(h){var r,i;const g=(r=window.phantom)==null?void 0:r.bitcoin;super(h,g),this.addEventListener=async()=>{(await this.getProvider()).on("accountsChanged",s=>{var n;const e=(n=s[0])==null?void 0:n.address;e?this.connectSuccess(e):this.disconnect()})},this.removeEventListener=async()=>{(await this.getProvider()).off("accountsChanged",()=>{})},this.connect=async()=>{const t=await this.getProvider();try{this.beforeConnecting();const e=(await t.requestAccounts())[0].address;return this.connectSuccess(e),this.addEventListener(),e}catch(s){throw this.connectError(),s}},this.disconnect=async()=>{this.resetStatus(),this.removeEventListener()},this.getAccounts=async()=>(await(await this.getProvider()).requestAccounts())[0],this.signMessage=async()=>{const t=new TextEncoder().encode("hello world"),s=await this.getAccounts().catch(()=>{}),e=s==null?void 0:s.address,{signature:n}=await this.getProvider().signMessage(e,t);return n},this.getPublicKey=async()=>{const t=await this.getAccounts().catch(()=>{});return console.log("accounts",t),t.publicKey},this.signAndBroadcastPsbt=async(t,s)=>{console.log(t);const e=await this.getProvider();console.log("provider",e);const n=o=>Uint8Array.from(o.match(/.{1,2}/g).map(u=>parseInt(u,16))),c=await this.getAccounts().catch(()=>{}),a=c==null?void 0:c.address;console.log("address",a);try{const o=await e.signPSBT(n(t),{inputsToSign:[{address:a,signingIndexes:[0,1,3],sigHash:0}]});console.log("签名成功:",o)}catch(o){throw console.error("签名失败:",o),new Error("Broadcast method not supported by Phantom provider")}},this.__onAccountsChanged=()=>{},this.__onChainChanged=()=>{},this.__onConnect=()=>{},this.reconnection=async()=>{},this.__onDisconnect=()=>{},this.connectorType=(i=window.phantom)!=null&&i.bitcoin?d.ConnectorType.Installed:d.ConnectorType.More}}exports.default=l;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as c } from "./index-
|
|
2
|
-
import { B as d } from "./createConnectors-
|
|
1
|
+
import { a as c } from "./index-BWBZ1f0K.mjs";
|
|
2
|
+
import { B as d } from "./createConnectors-DPb4fTuL.mjs";
|
|
3
3
|
class p extends d {
|
|
4
4
|
constructor(a) {
|
|
5
5
|
const i = window.bitkeep.unisat;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-BNUh90Ws.js"),d=require("./createConnectors-DzepxSHv.js");class h extends d.BaseConnector{constructor(a){const i=window.bitkeep.unisat;super(a,i),this.addEventListener=async()=>{(await this.getProvider()).on("accountsChanged",t=>{const s=t[0];s?this.connectSuccess(s):this.disconnect()})},this.removeEventListener=async()=>{(await this.getProvider()).removeListener("accountsChanged",()=>{})},this.connect=async()=>{const e=await this.getProvider();try{this.beforeConnecting();const t=await e.requestAccounts();console.log("accounts",t);const s=t[0];return this.connectSuccess(s),this.addEventListener(),s}catch(t){throw this.connectError(),t}},this.disconnect=async()=>{this.resetStatus(),this.removeEventListener()},this.getAccounts=async()=>(await(await this.getProvider()).getAccounts())[0],this.signPsbt=async(e,t)=>await(await this.getProvider()).signPsbt(e,t),this.pushPsbt=async e=>await(await this.getProvider()).pushPsbt(e),this.signMessage=async(e,t)=>await(await this.getProvider()).signMessage(e,t),this.sendBitcoin=async(e,t,s)=>{const o=await this.getProvider();console.log("provider",o),console.log("toAddress, satoshis, options",e,t,s);try{let n=await o.sendBitcoin(e,t);return console.log(n),n}catch(n){console.error(n)}},this.signAndBroadcastPsbt=async(e,t)=>{const s=await this.getProvider();console.log("provider",s);const o=await this.getAccounts().catch(()=>{});console.log("address",o);const n={autoFinalize:!0,...t||{}};console.log("signOptions",n),!n.toSignInputs&&o&&(n.toSignInputs=[{index:0,address:o}]);const r=await s.signPsbt(e,n);return console.log("signed PsbtHex",r),await s.pushPsbt(r)},this.__onAccountsChanged=()=>{},this.__onChainChanged=()=>{},this.__onConnect=()=>{},this.reconnection=async()=>{},this.__onDisconnect=()=>{},this.connectorType=i?c.ConnectorType.Installed:c.ConnectorType.More}}exports.default=h;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare function loadCreateConnector(): Promise<typeof import('./createConnectors').createConnector>;
|
|
2
|
-
export declare function loadCreateEvmConnectors(): Promise<typeof import('./
|
|
2
|
+
export declare function loadCreateEvmConnectors(): Promise<typeof import('./createEvmConnectors.entry').default>;
|
|
3
3
|
//# sourceMappingURL=connectorLoader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorLoader.d.ts","sourceRoot":"","sources":["../../../src/core/connectors/connectorLoader.ts"],"names":[],"mappings":"AAAA,wBAAsB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"connectorLoader.d.ts","sourceRoot":"","sources":["../../../src/core/connectors/connectorLoader.ts"],"names":[],"mappings":"AAAA,wBAAsB,mBAAmB,iEAExC;AAED,wBAAsB,uBAAuB,kEAE5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createConnector.entry.d.ts","sourceRoot":"","sources":["../../../src/core/connectors/createConnector.entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createEvmConnectors.entry.d.ts","sourceRoot":"","sources":["../../../src/core/connectors/createEvmConnectors.entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./createConnectors-DvITc7A3.js");exports.default=e.createConnector;
|