@daimo/pay 0.0.1 → 0.0.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.
Files changed (26) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +28 -40
  3. package/build/index.es.js +5063 -5807
  4. package/build/index.es.js.map +1 -1
  5. package/build/packages/paykit/packages/connectkit/src/components/Common/Modal/index.d.ts +1 -1
  6. package/build/packages/paykit/packages/connectkit/src/components/{ConnectKit.d.ts → DaimoPay.d.ts} +7 -10
  7. package/build/packages/paykit/packages/connectkit/src/components/{ConnectButton → DaimoPayButton}/index.d.ts +6 -9
  8. package/build/packages/paykit/packages/connectkit/src/components/{ConnectKitThemeProvider/ConnectKitThemeProvider.d.ts → DaimoPayThemeProvider/DaimoPayThemeProvider.d.ts} +3 -3
  9. package/build/packages/paykit/packages/connectkit/src/defaultConnectors.d.ts +1 -1
  10. package/build/packages/paykit/packages/connectkit/src/hooks/useConnect.d.ts +1 -1
  11. package/build/packages/paykit/packages/connectkit/src/hooks/useModal.d.ts +0 -1
  12. package/build/packages/paykit/packages/connectkit/src/index.d.ts +5 -9
  13. package/build/packages/paykit/packages/connectkit/src/styles/types.d.ts +1 -1
  14. package/build/packages/paykit/packages/connectkit/src/types.d.ts +1 -1
  15. package/build/packages/paykit/packages/connectkit/src/utils/index.d.ts +1 -1
  16. package/package.json +3 -2
  17. package/build/packages/paykit/packages/connectkit/src/components/BalanceButton/index.d.ts +0 -9
  18. package/build/packages/paykit/packages/connectkit/src/components/Pages/SignInWithEthereum/index.d.ts +0 -3
  19. package/build/packages/paykit/packages/connectkit/src/components/Pages/SignInWithEthereum/styles.d.ts +0 -5
  20. package/build/packages/paykit/packages/connectkit/src/components/Standard/SIWE/index.d.ts +0 -10
  21. package/build/packages/paykit/packages/connectkit/src/components/Standard/SIWE/styles.d.ts +0 -1
  22. package/build/packages/paykit/packages/connectkit/src/siwe/SIWEContext.d.ts +0 -42
  23. package/build/packages/paykit/packages/connectkit/src/siwe/SIWEProvider.d.ts +0 -11
  24. package/build/packages/paykit/packages/connectkit/src/siwe/index.d.ts +0 -3
  25. package/build/packages/paykit/packages/connectkit/src/siwe/useSIWE.d.ts +0 -21
  26. /package/build/packages/paykit/packages/connectkit/src/components/{ConnectButton → DaimoPayButton}/styles.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Variants } from "framer-motion";
3
- import { ROUTES } from "../../ConnectKit";
3
+ import { ROUTES } from "../../DaimoPay";
4
4
  import { CustomTheme } from "../../../types";
5
5
  export declare const contentVariants: Variants;
6
6
  type ModalProps = {
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from "react";
2
- import { CustomTheme, Languages, Mode, Theme, CustomAvatarProps } from "../types";
2
+ import { CustomAvatarProps, CustomTheme, Languages, Mode, Theme } from "../types";
3
3
  import { useConnectCallbackProps } from "../hooks/useConnectCallback";
4
4
  import { PaymentInfo } from "../utils/getPaymentInfo";
5
5
  export declare enum ROUTES {
@@ -15,8 +15,7 @@ export declare enum ROUTES {
15
15
  CONNECT = "connect",
16
16
  DOWNLOAD = "download",
17
17
  PROFILE = "profile",
18
- SWITCHNETWORKS = "switchNetworks",
19
- SIGNINWITHETHEREUM = "signInWithEthereum"
18
+ SWITCHNETWORKS = "switchNetworks"
20
19
  }
21
20
  type Connector = {
22
21
  id: string;
@@ -39,8 +38,7 @@ type ContextValue = {
39
38
  connector: Connector;
40
39
  setConnector: React.Dispatch<React.SetStateAction<Connector>>;
41
40
  errorMessage: Error;
42
- options?: ConnectKitOptions;
43
- signInWithEthereum: boolean;
41
+ options?: DaimoPayOptions;
44
42
  debugMode?: boolean;
45
43
  log: (...props: any) => void;
46
44
  displayError: (message: string | React.ReactNode | null, code?: any) => void;
@@ -49,7 +47,7 @@ type ContextValue = {
49
47
  paymentInfo: PaymentInfo;
50
48
  } & useConnectCallbackProps;
51
49
  export declare const Context: React.Context<ContextValue | null>;
52
- export type ConnectKitOptions = {
50
+ export type DaimoPayOptions = {
53
51
  language?: Languages;
54
52
  hideBalance?: boolean;
55
53
  hideTooltips?: boolean;
@@ -69,17 +67,16 @@ export type ConnectKitOptions = {
69
67
  enforceSupportedChains?: boolean;
70
68
  ethereumOnboardingUrl?: string;
71
69
  walletOnboardingUrl?: string;
72
- disableSiweRedirect?: boolean;
73
70
  overlayBlur?: number;
74
71
  };
75
- type ConnectKitProviderProps = {
72
+ type DaimoPayProviderProps = {
76
73
  children?: React.ReactNode;
77
74
  theme?: Theme;
78
75
  mode?: Mode;
79
76
  customTheme?: CustomTheme;
80
- options?: ConnectKitOptions;
77
+ options?: DaimoPayOptions;
81
78
  debugMode?: boolean;
82
79
  } & useConnectCallbackProps;
83
- export declare const ConnectKitProvider: ({ children, theme, mode, customTheme, options, onConnect, onDisconnect, debugMode, }: ConnectKitProviderProps) => React.FunctionComponentElement<React.ProviderProps<ContextValue | null>>;
80
+ export declare const DaimoPayProvider: ({ children, theme, mode, customTheme, options, onConnect, onDisconnect, debugMode, }: DaimoPayProviderProps) => React.FunctionComponentElement<React.ProviderProps<ContextValue | null>>;
84
81
  export declare const useContext: () => ContextValue;
85
82
  export {};
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
- import { CustomTheme, Mode, Theme } from "../../types";
3
2
  import { Chain } from "viem";
3
+ import { CustomTheme, Mode, Theme } from "../../types";
4
4
  type Hash = `0x${string}`;
5
- type ConnectButtonRendererProps = {
5
+ type DaimoPayButtonRendererProps = {
6
6
  payId: string;
7
7
  children?: (renderProps: {
8
8
  show?: () => void;
@@ -19,18 +19,15 @@ type ConnectButtonRendererProps = {
19
19
  payId?: string;
20
20
  }) => React.ReactNode;
21
21
  };
22
- type ConnectKitButtonProps = {
22
+ type DaimoPayButtonProps = {
23
23
  payId: string;
24
- label?: string;
25
- showBalance?: boolean;
26
- showAvatar?: boolean;
27
24
  theme?: Theme;
28
25
  mode?: Mode;
29
26
  customTheme?: CustomTheme;
30
27
  onClick?: (open: () => void) => void;
31
28
  };
32
- export declare function ConnectKitButton({ payId, label, showBalance, showAvatar, theme, mode, customTheme, onClick, }: ConnectKitButtonProps): import("react/jsx-runtime").JSX.Element | null;
33
- export declare namespace ConnectKitButton {
34
- var Custom: React.FC<ConnectButtonRendererProps>;
29
+ export declare function DaimoPayButton({ payId, theme, mode, customTheme, onClick, }: DaimoPayButtonProps): import("react/jsx-runtime").JSX.Element | null;
30
+ export declare namespace DaimoPayButton {
31
+ var Custom: React.FC<DaimoPayButtonRendererProps>;
35
32
  }
36
33
  export {};
@@ -1,16 +1,16 @@
1
1
  import React from "react";
2
- import { CustomTheme, Mode, Theme } from "./../../types";
2
+ import { CustomTheme, Mode, Theme } from "../../types";
3
3
  type ContextValue = {
4
4
  theme?: Theme;
5
5
  mode?: Mode;
6
6
  customTheme?: CustomTheme;
7
7
  };
8
- type ConnectKitThemeProviderProps = {
8
+ type DaimoPayThemeProviderProps = {
9
9
  children?: React.ReactNode;
10
10
  theme?: Theme;
11
11
  mode?: Mode;
12
12
  customTheme?: CustomTheme;
13
13
  };
14
- export declare const ConnectKitThemeProvider: React.FC<ConnectKitThemeProviderProps>;
14
+ export declare const DaimoPayThemeProvider: React.FC<DaimoPayThemeProviderProps>;
15
15
  export declare const useThemeContext: () => ContextValue;
16
16
  export {};
@@ -1,5 +1,5 @@
1
- import { CreateConnectorFn } from "wagmi";
2
1
  import { CoinbaseWalletParameters } from "@wagmi/connectors";
2
+ import { CreateConnectorFn } from "wagmi";
3
3
  type DefaultConnectorsProps = {
4
4
  app: {
5
5
  name: string;
@@ -2,7 +2,7 @@
2
2
  * This is a wrapper around wagmi's useConnect hook that adds some
3
3
  * additional functionality.
4
4
  */
5
- import { type UseConnectParameters, CreateConnectorFn, Connector } from "wagmi";
5
+ import { Connector, CreateConnectorFn, type UseConnectParameters } from "wagmi";
6
6
  export declare function useConnect({ ...props }?: UseConnectParameters): {
7
7
  data: undefined;
8
8
  variables: undefined;
@@ -7,6 +7,5 @@ export declare const useModal: ({ onConnect, onDisconnect }?: UseModalProps) =>
7
7
  openOnboarding: () => void;
8
8
  openProfile: () => void;
9
9
  openSwitchNetworks: () => void;
10
- openSIWE: (triggerSIWE?: boolean) => void;
11
10
  };
12
11
  export {};
@@ -1,16 +1,12 @@
1
- export declare const CONNECTKIT_VERSION = "0.0.0";
2
- export * as Types from "./types";
3
1
  export { default as getDefaultConfig } from "./defaultConfig";
4
2
  export { default as getDefaultConnectors } from "./defaultConnectors";
3
+ export * as Types from "./types";
5
4
  export { wallets } from "./wallets";
5
+ export { Context, DaimoPayProvider } from "./components/DaimoPay";
6
+ export { DaimoPayButton } from "./components/DaimoPayButton";
6
7
  export { useModal } from "./hooks/useModal";
7
- export { SIWEProvider, useSIWE, SIWE_NONCE_QUERY_KEY, SIWE_SESSION_QUERY_KEY, } from "./siwe";
8
- export type { SIWESession, SIWEConfig } from "./siwe";
9
- export { ConnectKitProvider, Context } from "./components/ConnectKit";
10
- export { ConnectKitButton } from "./components/ConnectButton";
11
- export { default as SIWEButton } from "./components/Standard/SIWE";
12
8
  export { default as Avatar } from "./components/Common/Avatar";
13
9
  export { default as ChainIcon } from "./components/Common/Chain";
14
- export { default as useIsMounted } from "./hooks/useIsMounted";
15
- export { useChains } from "./hooks/useChains";
16
10
  export { useChainIsSupported } from "./hooks/useChainIsSupported";
11
+ export { useChains } from "./hooks/useChains";
12
+ export { default as useIsMounted } from "./hooks/useIsMounted";
@@ -70,7 +70,7 @@ export type ThemeMode = {
70
70
  dark: Theme;
71
71
  };
72
72
  export type CustomTheme = {
73
- connectKit: {
73
+ daimoPay: {
74
74
  options?: {
75
75
  iconStyle?: "light" | "regular" | "heavy";
76
76
  };
@@ -9,5 +9,5 @@ export type All = {
9
9
  customTheme?: CustomTheme;
10
10
  lang?: Languages;
11
11
  };
12
- export type { ConnectKitOptions } from "./components/ConnectKit";
13
12
  export type { CustomAvatarProps } from "./components/Common/Avatar";
13
+ export type { DaimoPayOptions } from "./components/DaimoPay";
@@ -15,4 +15,4 @@ export declare const isCoinbaseWalletConnector: (connectorId?: string) => boolea
15
15
  export declare const isLedgerConnector: (connectorId?: string) => boolean;
16
16
  export declare const isSafeConnector: (connectorId?: string) => boolean;
17
17
  export declare const isInjectedConnector: (connectorId?: string) => boolean;
18
- export { nFormatter, truncateEthAddress, truncateENSAddress, isMobile, isAndroid, detectBrowser, detectOS, flattenChildren, };
18
+ export { detectBrowser, detectOS, flattenChildren, isAndroid, isMobile, nFormatter, truncateENSAddress, truncateEthAddress };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@daimo/pay",
3
3
  "private": false,
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "author": "Daimo",
6
6
  "homepage": "https://pay.daimo.com",
7
7
  "license": "BSD-2-Clause license",
@@ -10,7 +10,7 @@
10
10
  "type": "module",
11
11
  "exports": {
12
12
  "import": "./build/index.es.js",
13
- "types": "./build/index.d.ts"
13
+ "types": "./build/packages/paykit/packages/connectkit/src/index.d.ts"
14
14
  },
15
15
  "types": "./build/packages/paykit/packages/connectkit/src/index.d.ts",
16
16
  "engines": {
@@ -60,6 +60,7 @@
60
60
  "wagmi": "2.x"
61
61
  },
62
62
  "devDependencies": {
63
+ "@rollup/plugin-json": "^6.1.0",
63
64
  "@rollup/plugin-node-resolve": "^13.1.3",
64
65
  "@types/node": "^20.14.12",
65
66
  "@types/qrcode": "^1.4.2",
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { All } from './../../types';
3
- type BalanceProps = {
4
- hideIcon?: boolean;
5
- hideSymbol?: boolean;
6
- };
7
- export declare const Balance: React.FC<BalanceProps>;
8
- declare const BalanceButton: React.FC<All & BalanceProps>;
9
- export default BalanceButton;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const SignInWithEthereum: React.FC;
3
- export default SignInWithEthereum;
@@ -1,5 +0,0 @@
1
- export declare const ContentContainer: any;
2
- export declare const LogoContainer: any;
3
- export declare const StatusIcon: any;
4
- export declare const StatusGraphicBgSvg: any;
5
- export declare const StatusGraphic: any;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { SIWESession } from "./../../../siwe";
3
- type ButtonProps = {
4
- showSignOutButton?: boolean;
5
- onSignIn?: (data?: SIWESession) => void;
6
- onSignOut?: () => void;
7
- };
8
- export declare const SIWEButton: React.FC<ButtonProps>;
9
- export declare const SIWEButtonComponent: React.FC<ButtonProps>;
10
- export default SIWEButtonComponent;
@@ -1 +0,0 @@
1
- export declare const SpinnerContainer: any;
@@ -1,42 +0,0 @@
1
- /// <reference types="react" />
2
- import { useQuery } from "@tanstack/react-query";
3
- import { Address } from "viem";
4
- export declare enum StatusState {
5
- READY = "ready",
6
- LOADING = "loading",
7
- SUCCESS = "success",
8
- REJECTED = "rejected",
9
- ERROR = "error"
10
- }
11
- export type SIWESession = {
12
- address: Address;
13
- chainId: number;
14
- };
15
- export type SIWEConfig = {
16
- getNonce: () => Promise<string>;
17
- createMessage: (args: {
18
- nonce: string;
19
- address: Address;
20
- chainId: number;
21
- }) => Promise<string> | string;
22
- verifyMessage: (args: {
23
- message: string;
24
- signature: string;
25
- }) => Promise<boolean>;
26
- getSession: () => Promise<SIWESession | null>;
27
- signOut: () => Promise<boolean>;
28
- enabled?: boolean;
29
- nonceRefetchInterval?: number;
30
- sessionRefetchInterval?: number;
31
- signOutOnDisconnect?: boolean;
32
- signOutOnAccountChange?: boolean;
33
- signOutOnNetworkChange?: boolean;
34
- };
35
- export type SIWEContextValue = Required<SIWEConfig> & {
36
- nonce: ReturnType<typeof useQuery<string | null>>;
37
- session: ReturnType<typeof useQuery<SIWESession | null>>;
38
- status: StatusState;
39
- signIn: () => Promise<SIWESession | false>;
40
- resetStatus: () => void;
41
- };
42
- export declare const SIWEContext: import("react").Context<SIWEContextValue | null>;
@@ -1,11 +0,0 @@
1
- import { ReactNode } from "react";
2
- import { SIWEConfig, SIWESession } from "./SIWEContext";
3
- type Props = SIWEConfig & {
4
- children: ReactNode;
5
- onSignIn?: (data?: SIWESession) => void;
6
- onSignOut?: () => void;
7
- };
8
- export declare const SIWE_NONCE_QUERY_KEY = "ckSiweNonce";
9
- export declare const SIWE_SESSION_QUERY_KEY = "ckSiweSession";
10
- export declare const SIWEProvider: ({ children, enabled, nonceRefetchInterval, sessionRefetchInterval, signOutOnDisconnect, signOutOnAccountChange, signOutOnNetworkChange, onSignIn, onSignOut, ...siweConfig }: Props) => import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,3 +0,0 @@
1
- export { useSIWE } from "./useSIWE";
2
- export { SIWEProvider, SIWE_SESSION_QUERY_KEY, SIWE_NONCE_QUERY_KEY, } from "./SIWEProvider";
3
- export { SIWEContext, SIWEConfig, SIWESession } from "./SIWEContext";
@@ -1,21 +0,0 @@
1
- import { StatusState, SIWESession } from "./SIWEContext";
2
- type HookProps = {
3
- isSignedIn: boolean;
4
- data?: SIWESession;
5
- status: StatusState;
6
- error?: Error | any;
7
- isRejected: boolean;
8
- isError: boolean;
9
- isLoading: boolean;
10
- isSuccess: boolean;
11
- isReady: boolean;
12
- reset: () => void;
13
- signIn: () => Promise<boolean>;
14
- signOut: () => Promise<boolean>;
15
- };
16
- type UseSIWEConfig = {
17
- onSignIn?: (data?: SIWESession) => void;
18
- onSignOut?: () => void;
19
- };
20
- export declare const useSIWE: ({ onSignIn, onSignOut }?: UseSIWEConfig) => HookProps | any;
21
- export {};