@dogeos/dogeos-sdk 1.0.6-beta.3 → 2.0.0-beta.5
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/components/AccountModal/AccountModal.d.ts +1 -1
- package/dist/components/AccountModal/AccountModal.d.ts.map +1 -1
- package/dist/components/ConnectModal/socialLoginTypeSL.d.ts +1 -1
- package/dist/components/ConnectModal/socialLoginTypeSL.d.ts.map +1 -1
- package/dist/index.js +15 -15
- package/dist/wallets/walletConnectors/index.js +20 -20
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountModal.d.ts","sourceRoot":"","sources":["../../../src/components/AccountModal/AccountModal.tsx"],"names":[],"mappings":"AAKA,OAAO,
|
|
1
|
+
{"version":3,"file":"AccountModal.d.ts","sourceRoot":"","sources":["../../../src/components/AccountModal/AccountModal.tsx"],"names":[],"mappings":"AAKA,OAAO,0CAA0C,CAAC;AAElD,OAAO,KAAwE,MAAM,OAAO,CAAC;AAmB7F,OAAO,oBAAoB,CAAC;AAC5B,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAUD,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,iBAAiB,4BAuThE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LoginType } from "@tomo-inc/social-wallet-sdk/types";
|
|
1
|
+
import type { LoginType } from "@tomo-inc/social-wallet-sdk-doge/types";
|
|
2
2
|
export declare function readSocialLoginType(): string | null;
|
|
3
3
|
export declare function writeSocialLoginType(type: LoginType | "" | "email"): void;
|
|
4
4
|
export declare function readWalletLoginType(): string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"socialLoginTypeSL.d.ts","sourceRoot":"","sources":["../../../src/components/ConnectModal/socialLoginTypeSL.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"socialLoginTypeSL.d.ts","sourceRoot":"","sources":["../../../src/components/ConnectModal/socialLoginTypeSL.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAKxE,wBAAgB,mBAAmB,kBAElC;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,SAAS,GAAG,EAAE,GAAG,OAAO,QAElE;AAED,wBAAgB,mBAAmB,kBAElC;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,QAEhD"}
|
package/dist/index.js
CHANGED
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
darkTheme
|
|
20
20
|
} from "./chunk-4QQWBTY6.js";
|
|
21
|
-
import {
|
|
22
|
-
lightTheme
|
|
23
|
-
} from "./chunk-GTSOSA32.js";
|
|
24
21
|
import {
|
|
25
22
|
midnightTheme
|
|
26
23
|
} from "./chunk-ADRE6DLX.js";
|
|
24
|
+
import {
|
|
25
|
+
lightTheme
|
|
26
|
+
} from "./chunk-GTSOSA32.js";
|
|
27
27
|
import "./chunk-4W226UPS.js";
|
|
28
28
|
|
|
29
29
|
// src/components/ConnectOptions/DesktopOptions.tsx
|
|
@@ -147,9 +147,9 @@ function useConnectionStatus() {
|
|
|
147
147
|
|
|
148
148
|
// src/components/AccountModal/AccountModal.tsx
|
|
149
149
|
import { WebWalletInvokeType as WebWalletInvokeType2 } from "@tomo-inc/shared-type";
|
|
150
|
-
import { TomoTokenList } from "@tomo-inc/token-list";
|
|
151
|
-
import "@tomo-inc/token-list/dist/style.css";
|
|
152
|
-
import { ConnectedModal, Theme } from "@tomo-inc/uikit-lite";
|
|
150
|
+
import { TomoTokenList } from "@tomo-inc/token-list-doge";
|
|
151
|
+
import "@tomo-inc/token-list-doge/dist/style.css";
|
|
152
|
+
import { ConnectedModal, Theme } from "@tomo-inc/uikit-lite-doge";
|
|
153
153
|
import React28, { useCallback as useCallback5, useContext as useContext8, useEffect as useEffect12, useMemo as useMemo11, useRef as useRef3, useState as useState10 } from "react";
|
|
154
154
|
import { useAccount as useAccount8, useChainId as useChainId2, useDisconnect } from "wagmi";
|
|
155
155
|
|
|
@@ -284,7 +284,7 @@ var getAddressByChainId = (userInfo, chainId) => {
|
|
|
284
284
|
|
|
285
285
|
// src/components/ActionModal/ActionModal.tsx
|
|
286
286
|
import { WebWalletInvokeType } from "@tomo-inc/shared-type";
|
|
287
|
-
import { Popup } from "@tomo-inc/uikit-lite";
|
|
287
|
+
import { Popup } from "@tomo-inc/uikit-lite-doge";
|
|
288
288
|
import React3, { forwardRef, useCallback, useEffect as useEffect2, useImperativeHandle, useRef } from "react";
|
|
289
289
|
import { useAccount as useAccount3 } from "wagmi";
|
|
290
290
|
|
|
@@ -471,7 +471,7 @@ function makeTomoWalletFn({
|
|
|
471
471
|
...walletDetails.rkDetails,
|
|
472
472
|
getProvider: async () => {
|
|
473
473
|
if (provider || typeof window === "undefined") return provider;
|
|
474
|
-
const socialSdk = await import("@tomo-inc/social-wallet-sdk");
|
|
474
|
+
const socialSdk = await import("@tomo-inc/social-wallet-sdk-doge");
|
|
475
475
|
const { TomoSDK, EthereumProvider } = socialSdk;
|
|
476
476
|
const supportedEvmChainIds = supportedEvmChains.map((chain) => chain.id);
|
|
477
477
|
const tomoSDK = new TomoSDK({
|
|
@@ -616,7 +616,7 @@ var ActionModal_default = ActionModal;
|
|
|
616
616
|
|
|
617
617
|
// src/components/AllChainsAddressModal/AllChainsAddressModal.tsx
|
|
618
618
|
import React7, { useMemo as useMemo3 } from "react";
|
|
619
|
-
import { Popup as Popup2, TCopy } from "@tomo-inc/uikit-lite";
|
|
619
|
+
import { Popup as Popup2, TCopy } from "@tomo-inc/uikit-lite-doge";
|
|
620
620
|
|
|
621
621
|
// src/components/Box/Box.ts
|
|
622
622
|
import clsx2 from "clsx";
|
|
@@ -996,7 +996,7 @@ function writeWalletLoginType(type) {
|
|
|
996
996
|
}
|
|
997
997
|
|
|
998
998
|
// src/components/FaucetModal/FaucetModal.tsx
|
|
999
|
-
import { Popup as Popup3 } from "@tomo-inc/uikit-lite";
|
|
999
|
+
import { Popup as Popup3 } from "@tomo-inc/uikit-lite-doge";
|
|
1000
1000
|
import { useEffect as useEffect5 } from "react";
|
|
1001
1001
|
import { useAccount as useAccount4 } from "wagmi";
|
|
1002
1002
|
|
|
@@ -1920,7 +1920,7 @@ function setRainbowKitVersion({ version }) {
|
|
|
1920
1920
|
}
|
|
1921
1921
|
function useFingerprint() {
|
|
1922
1922
|
const fingerprint = useCallback2(() => {
|
|
1923
|
-
setRainbowKitVersion({ version: "
|
|
1923
|
+
setRainbowKitVersion({ version: "2.0.0-beta.5" });
|
|
1924
1924
|
}, []);
|
|
1925
1925
|
useEffect9(() => {
|
|
1926
1926
|
fingerprint();
|
|
@@ -2786,7 +2786,7 @@ function AccountModal({ onClose, open }) {
|
|
|
2786
2786
|
// src/components/ChainModal/ChainModal.tsx
|
|
2787
2787
|
import React29, { useMemo as useMemo12, useContext as useContext9 } from "react";
|
|
2788
2788
|
import { useAccount as useAccount9 } from "wagmi";
|
|
2789
|
-
import { NetworkPopup, Theme as Theme2 } from "@tomo-inc/uikit-lite";
|
|
2789
|
+
import { NetworkPopup, Theme as Theme2 } from "@tomo-inc/uikit-lite-doge";
|
|
2790
2790
|
function ChainModal({ onClose, open }) {
|
|
2791
2791
|
const { chainId } = useAccount9();
|
|
2792
2792
|
const theme = useContext9(ThemeTypeContext);
|
|
@@ -2933,8 +2933,8 @@ function DialogContent({
|
|
|
2933
2933
|
}
|
|
2934
2934
|
|
|
2935
2935
|
// src/components/ConnectModal/TomoConnectModal.tsx
|
|
2936
|
-
import { BASE_RELAY_PROD_URL } from "@tomo-inc/social-wallet-sdk";
|
|
2937
|
-
import { HeaderBackIcon, LoadingPage, Popup as Popup4, PopupHeader, Theme as Theme3 } from "@tomo-inc/uikit-lite";
|
|
2936
|
+
import { BASE_RELAY_PROD_URL } from "@tomo-inc/social-wallet-sdk-doge";
|
|
2937
|
+
import { HeaderBackIcon, LoadingPage, Popup as Popup4, PopupHeader, Theme as Theme3 } from "@tomo-inc/uikit-lite-doge";
|
|
2938
2938
|
import React56, { useContext as useContext13, useEffect as useEffect21, useMemo as useMemo14, useRef as useRef7, useState as useState18 } from "react";
|
|
2939
2939
|
import { useAccount as useAccount10 } from "wagmi";
|
|
2940
2940
|
|
|
@@ -3072,7 +3072,7 @@ var ContinueButton = ({ handleClick }) => {
|
|
|
3072
3072
|
alt: ""
|
|
3073
3073
|
}
|
|
3074
3074
|
),
|
|
3075
|
-
/* @__PURE__ */ React34.createElement("span", { style: { color: "#12122A", fontFamily: "Switzer", fontWeight: 500, fontSize: 13 } }, "
|
|
3075
|
+
/* @__PURE__ */ React34.createElement("span", { style: { color: "#12122A", fontFamily: "Switzer", fontWeight: 500, fontSize: 13 } }, "Continue")
|
|
3076
3076
|
)
|
|
3077
3077
|
);
|
|
3078
3078
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
xdefiWallet
|
|
4
|
+
} from "./chunk-Q6VHC7L3.js";
|
|
5
5
|
import {
|
|
6
6
|
tokenaryWallet
|
|
7
7
|
} from "./chunk-4RS4SI72.js";
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
wigwamWallet
|
|
22
22
|
} from "./chunk-DXS6O4QK.js";
|
|
23
|
-
import {
|
|
24
|
-
xdefiWallet
|
|
25
|
-
} from "./chunk-Q6VHC7L3.js";
|
|
26
23
|
import {
|
|
27
24
|
zealWallet
|
|
28
25
|
} from "./chunk-4QYCNYHD.js";
|
|
26
|
+
import {
|
|
27
|
+
zerionWallet
|
|
28
|
+
} from "./chunk-LS3OAL4I.js";
|
|
29
29
|
import {
|
|
30
30
|
safeWallet
|
|
31
31
|
} from "./chunk-F47LN3GB.js";
|
|
@@ -38,12 +38,12 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
seifWallet
|
|
40
40
|
} from "./chunk-LPJ5HJAI.js";
|
|
41
|
-
import {
|
|
42
|
-
subWallet
|
|
43
|
-
} from "./chunk-JI6ORANZ.js";
|
|
44
41
|
import {
|
|
45
42
|
tahoWallet
|
|
46
43
|
} from "./chunk-ST2FTPLL.js";
|
|
44
|
+
import {
|
|
45
|
+
subWallet
|
|
46
|
+
} from "./chunk-JI6ORANZ.js";
|
|
47
47
|
import {
|
|
48
48
|
talismanWallet
|
|
49
49
|
} from "./chunk-46V7PZGO.js";
|
|
@@ -107,15 +107,15 @@ import {
|
|
|
107
107
|
import {
|
|
108
108
|
iopayWallet
|
|
109
109
|
} from "./chunk-EKTFRGX5.js";
|
|
110
|
+
import {
|
|
111
|
+
kaiaWallet
|
|
112
|
+
} from "./chunk-TC34LOKT.js";
|
|
110
113
|
import {
|
|
111
114
|
kaikasWallet
|
|
112
115
|
} from "./chunk-5TZEQR4W.js";
|
|
113
116
|
import {
|
|
114
117
|
krakenWallet
|
|
115
118
|
} from "./chunk-OIQKHSC6.js";
|
|
116
|
-
import {
|
|
117
|
-
kaiaWallet
|
|
118
|
-
} from "./chunk-TC34LOKT.js";
|
|
119
119
|
import {
|
|
120
120
|
kresusWallet
|
|
121
121
|
} from "./chunk-FZYAPMC2.js";
|
|
@@ -155,12 +155,12 @@ import {
|
|
|
155
155
|
import {
|
|
156
156
|
braveWallet
|
|
157
157
|
} from "./chunk-BYHKGGBK.js";
|
|
158
|
-
import {
|
|
159
|
-
bybitWallet
|
|
160
|
-
} from "./chunk-D2KLISYP.js";
|
|
161
158
|
import {
|
|
162
159
|
clvWallet
|
|
163
160
|
} from "./chunk-5KA2JIPK.js";
|
|
161
|
+
import {
|
|
162
|
+
bybitWallet
|
|
163
|
+
} from "./chunk-D2KLISYP.js";
|
|
164
164
|
import {
|
|
165
165
|
coin98Wallet
|
|
166
166
|
} from "./chunk-AAIJRMOF.js";
|
|
@@ -170,29 +170,29 @@ import {
|
|
|
170
170
|
import {
|
|
171
171
|
compassWallet
|
|
172
172
|
} from "./chunk-O5IUJYCF.js";
|
|
173
|
-
import {
|
|
174
|
-
berasigWallet
|
|
175
|
-
} from "./chunk-WHZ7QS5E.js";
|
|
176
173
|
import {
|
|
177
174
|
argentWallet
|
|
178
175
|
} from "./chunk-UI3OAQFJ.js";
|
|
179
176
|
import {
|
|
180
177
|
bestWallet
|
|
181
178
|
} from "./chunk-DVYAIKFD.js";
|
|
179
|
+
import {
|
|
180
|
+
berasigWallet
|
|
181
|
+
} from "./chunk-WHZ7QS5E.js";
|
|
182
182
|
import {
|
|
183
183
|
bifrostWallet
|
|
184
184
|
} from "./chunk-YT43JMMU.js";
|
|
185
185
|
import {
|
|
186
186
|
binanceWallet
|
|
187
187
|
} from "./chunk-IC5VQT4B.js";
|
|
188
|
+
import {
|
|
189
|
+
bitskiWallet
|
|
190
|
+
} from "./chunk-VWBRAYTP.js";
|
|
188
191
|
import {
|
|
189
192
|
bitgetWallet
|
|
190
193
|
} from "./chunk-XAWH5IBZ.js";
|
|
191
194
|
import "./chunk-RETKWSKD.js";
|
|
192
195
|
import "./chunk-75A5A7MH.js";
|
|
193
|
-
import {
|
|
194
|
-
bitskiWallet
|
|
195
|
-
} from "./chunk-VWBRAYTP.js";
|
|
196
196
|
import "./chunk-PJCRXY6L.js";
|
|
197
197
|
export {
|
|
198
198
|
argentWallet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dogeos/dogeos-sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.5",
|
|
4
4
|
"description": "The best way to connect a wallet",
|
|
5
5
|
"homepage": "http://sdk.dogeos.com/",
|
|
6
6
|
"publishConfig": {
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"style-inject": "^0.3.0",
|
|
84
84
|
"ua-parser-js": "^1.0.37",
|
|
85
85
|
"@tomo-inc/shared-type": "2.0.1-beta.0",
|
|
86
|
-
"@tomo-inc/social-wallet-sdk-doge": "0.0.2-beta.
|
|
87
|
-
"@tomo-inc/token-list-doge": "0.0.2-beta.
|
|
88
|
-
"@tomo-inc/uikit-lite-doge": "0.0.2-beta.
|
|
86
|
+
"@tomo-inc/social-wallet-sdk-doge": "0.0.2-beta.1",
|
|
87
|
+
"@tomo-inc/token-list-doge": "0.0.2-beta.1",
|
|
88
|
+
"@tomo-inc/uikit-lite-doge": "0.0.2-beta.1"
|
|
89
89
|
},
|
|
90
90
|
"scripts": {
|
|
91
91
|
"build": "node build.js",
|