@coinswap-app/uikit 1.0.17 → 1.0.19

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.
@@ -1,3 +1,4 @@
1
- import { ConnectSteps } from "../widgets/ConnectVerifyPanel";
1
+ declare let ConnectStepsEnum: any;
2
+ type ConnectSteps = typeof ConnectStepsEnum[keyof typeof ConnectStepsEnum];
2
3
  declare const verifyWallet: (onVerifySuccess: (step: ConnectSteps) => void, address: string | undefined, getAccessToken: (token: string) => void, getUserId: (userId: string) => void) => Promise<void>;
3
4
  export default verifyWallet;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { ContextData } from "../../../util/types";
3
- import type { Login, ConnectorNames } from "../../WalletModal/types";
3
+ import type { Login, ConnectorNames } from "../types";
4
4
  interface Props {
5
5
  account?: string;
6
6
  login?: Login | (() => void);
@@ -1,6 +1,11 @@
1
1
  import React from "react";
2
2
  import { ContextData } from "../../util/types";
3
- import { ConnectorNames, Login } from "../WalletModal/types";
3
+ export declare enum ConnectorNames {
4
+ Injected = "injected",
5
+ WalletConnect = "walletconnect",
6
+ BSC = "bsc"
7
+ }
8
+ export type Login = (connectorId: ConnectorNames, title: string) => void;
4
9
  export interface Language {
5
10
  code: string;
6
11
  language: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinswap-app/uikit",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "Set of UI components for CoinSwap projects",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",