@use-glyph/sdk-react 1.0.29 → 1.1.0

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 (31) hide show
  1. package/dist/EIP1193Strategy.js +92 -93
  2. package/dist/PrivyStrategy.js +70 -77
  3. package/dist/assets/sdk-react.css +1 -1
  4. package/dist/glyph-widget.umd.js +55 -63
  5. package/dist/index.js +8516 -8716
  6. package/dist/types/assets/svg/ActivityIcon.d.ts +1 -1
  7. package/dist/types/assets/svg/ApecoinIcon.d.ts +1 -1
  8. package/dist/types/assets/svg/BackIcon.d.ts +1 -1
  9. package/dist/types/assets/svg/CaretDownIcon.d.ts +1 -1
  10. package/dist/types/assets/svg/CopyIcon.d.ts +1 -1
  11. package/dist/types/assets/svg/EditIcon.d.ts +1 -1
  12. package/dist/types/assets/svg/Ellipse.d.ts +1 -1
  13. package/dist/types/assets/svg/FailureIcon.d.ts +1 -1
  14. package/dist/types/assets/svg/GlyphIcon.d.ts +1 -1
  15. package/dist/types/assets/svg/HelpIcon.d.ts +1 -1
  16. package/dist/types/assets/svg/HomeIcon.d.ts +1 -1
  17. package/dist/types/assets/svg/InfoIcon.d.ts +1 -1
  18. package/dist/types/assets/svg/LinkIcon.d.ts +1 -1
  19. package/dist/types/assets/svg/LinkedNFTChip.d.ts +1 -1
  20. package/dist/types/assets/svg/LoadingCircleIcon..d.ts +1 -1
  21. package/dist/types/assets/svg/NFTsIcon.d.ts +1 -1
  22. package/dist/types/assets/svg/PlusSign.d.ts +1 -1
  23. package/dist/types/assets/svg/ProfileViewPattern.d.ts +1 -1
  24. package/dist/types/assets/svg/QRIcon.d.ts +1 -1
  25. package/dist/types/assets/svg/SuccessIcon.d.ts +1 -1
  26. package/dist/types/assets/svg/SuccessViewPattern.d.ts +1 -1
  27. package/dist/types/assets/svg/TokensIcon.d.ts +1 -1
  28. package/dist/types/assets/svg/TxSendIcon.d.ts +1 -1
  29. package/dist/types/assets/svg/WalletsTabFilledIcon.d.ts +1 -1
  30. package/dist/types/assets/svg/WalletsTabOutlinedIcon.d.ts +1 -1
  31. package/package.json +39 -39
@@ -1,5 +1,5 @@
1
1
  interface Props extends React.SVGProps<SVGSVGElement> {
2
2
  isActive: boolean;
3
3
  }
4
- declare function ActivityIcon(props: Props): JSX.Element;
4
+ declare function ActivityIcon(props: Props): import("react/jsx-runtime").JSX.Element;
5
5
  export default ActivityIcon;
@@ -1,2 +1,2 @@
1
- declare function ApecoinIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ declare function ApecoinIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
2
  export default ApecoinIcon;
@@ -1,2 +1,2 @@
1
- declare function BackIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ declare function BackIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
2
  export default BackIcon;
@@ -1 +1 @@
1
- export declare function CaretDownIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ export declare function CaretDownIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  interface Props extends React.SVGProps<SVGSVGElement> {
2
2
  isCopied?: boolean;
3
3
  }
4
- declare function CopyIcon(props: Props): JSX.Element;
4
+ declare function CopyIcon(props: Props): import("react/jsx-runtime").JSX.Element;
5
5
  export default CopyIcon;
@@ -1,2 +1,2 @@
1
- declare function EditIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ declare function EditIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
2
  export default EditIcon;
@@ -4,4 +4,4 @@ export interface EllipseProps extends React.SVGProps<SVGSVGElement> {
4
4
  cy?: string;
5
5
  r?: string;
6
6
  }
7
- export default function Ellipse({ cx, cy, r, fill, ...props }: EllipseProps): JSX.Element;
7
+ export default function Ellipse({ cx, cy, r, fill, ...props }: EllipseProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare function FailureIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ export declare function FailureIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- declare function GlyphIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ declare function GlyphIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
2
  export default GlyphIcon;
@@ -1 +1 @@
1
- export declare function HelpIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ export declare function HelpIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- declare function HomeIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ declare function HomeIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
2
  export default HomeIcon;
@@ -1 +1 @@
1
- export declare function InfoIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ export declare function InfoIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare function LinkIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ export declare function LinkIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- declare function LinkedNFTChip(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ declare function LinkedNFTChip(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
2
  export default LinkedNFTChip;
@@ -1,2 +1,2 @@
1
- declare function LoadingCircleIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ declare function LoadingCircleIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
2
  export default LoadingCircleIcon;
@@ -1,4 +1,4 @@
1
1
  export type NFTsIconProps = React.SVGProps<SVGSVGElement> & {
2
2
  selected?: boolean;
3
3
  };
4
- export default function NFTsIcon({ selected, ...props }: NFTsIconProps): JSX.Element;
4
+ export default function NFTsIcon({ selected, ...props }: NFTsIconProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare function PlusSign(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ export declare function PlusSign(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- declare function ProfileViewPattern(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ declare function ProfileViewPattern(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
2
  export default ProfileViewPattern;
@@ -1 +1 @@
1
- export declare function QRIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ export declare function QRIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export declare function SuccessIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ export declare function SuccessIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- declare function SuccessViewPattern(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ declare function SuccessViewPattern(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
2
  export default SuccessViewPattern;
@@ -1,2 +1,2 @@
1
- declare function TokensIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ declare function TokensIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
2
2
  export default TokensIcon;
@@ -1 +1 @@
1
- export declare function TxSendIcon(props: React.SVGProps<SVGSVGElement>): JSX.Element;
1
+ export declare function TxSendIcon(props: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- declare const WalletsTabFilledIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
1
+ declare const WalletsTabFilledIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
2
  export default WalletsTabFilledIcon;
@@ -1,2 +1,2 @@
1
- declare const WalletsTabOutlinedIcon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
1
+ declare const WalletsTabOutlinedIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
2
  export default WalletsTabOutlinedIcon;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@use-glyph/sdk-react",
3
- "version": "1.0.29",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "license": "GLYPH-1.0",
6
6
  "sideEffects": false,
@@ -29,56 +29,56 @@
29
29
  "README.md"
30
30
  ],
31
31
  "devDependencies": {
32
- "@eslint/js": "^9.19.0",
33
- "@types/node": "^22.13.1",
34
- "@types/react": "^18.3.18",
35
- "@types/react-dom": "^18.3.5",
36
- "@vitejs/plugin-react": "^4.3.4",
37
- "autoprefixer": "^10.4.20",
38
- "dotenv": "^16.4.7",
39
- "eslint": "^9.19.0",
40
- "eslint-plugin-react-hooks": "^5.1.0",
41
- "eslint-plugin-react-refresh": "^0.4.18",
42
- "globals": "^15.14.0",
32
+ "@eslint/js": "^9.34.0",
33
+ "@types/node": "^24.3.0",
34
+ "@types/react": ">=18",
35
+ "@types/react-dom": ">=18",
36
+ "@vitejs/plugin-react": "^5.0.2",
37
+ "autoprefixer": "^10.4.21",
38
+ "dotenv": "^17.2.1",
39
+ "eslint": "^9.34.0",
40
+ "eslint-plugin-react-hooks": "^5.2.0",
41
+ "eslint-plugin-react-refresh": "^0.4.20",
42
+ "globals": "^16.3.0",
43
43
  "path": "^0.12.7",
44
- "postcss": "^8.5.1",
45
- "prettier": "^3.4.2",
46
- "react": "^18.3.0",
47
- "react-dom": "^18.3.0",
44
+ "postcss": "^8.5.6",
45
+ "prettier": "^3.6.2",
46
+ "react": ">=18",
47
+ "react-dom": ">=18",
48
48
  "rimraf": "^6.0.1",
49
49
  "tailwind-scrollbar": "3.1.0",
50
50
  "tailwindcss": "^3.4.17",
51
- "typescript": "~5.7.3",
52
- "typescript-eslint": "^8.23.0",
53
- "vite": "6.1.0",
54
- "vite-plugin-dts": "^4.5.0"
51
+ "typescript": "~5.9.2",
52
+ "typescript-eslint": "^8.41.0",
53
+ "vite": "7.1.3",
54
+ "vite-plugin-dts": "^4.5.4"
55
55
  },
56
56
  "peerDependencies": {
57
- "@privy-io/cross-app-connect": "^0.2.2",
58
- "@privy-io/react-auth": "^2.19.2",
59
- "@privy-io/wagmi": "^1.0.5",
60
- "@rainbow-me/rainbowkit": "^2.2.4",
61
- "@tanstack/react-query": "^5.76.0",
62
- "@types/react": "^18.3.0",
63
- "@types/react-dom": "^18.3.0",
64
- "react": "^18.3.0",
65
- "react-dom": "^18.3.0",
66
- "viem": "^2.30.6",
67
- "wagmi": "^2.15.2"
57
+ "@privy-io/cross-app-connect": "^0.2.3",
58
+ "@privy-io/react-auth": "^2.22.0",
59
+ "@privy-io/wagmi": "^1.0.6",
60
+ "@rainbow-me/rainbowkit": "^2.2.8",
61
+ "@tanstack/react-query": "^5.85.5",
62
+ "@types/react": ">=18",
63
+ "@types/react-dom": ">=18",
64
+ "react": ">=18",
65
+ "react-dom": ">=18",
66
+ "viem": "^2.36.0",
67
+ "wagmi": "^2.16.8"
68
68
  },
69
69
  "dependencies": {
70
- "@radix-ui/react-accordion": "^1.2.10",
71
- "@radix-ui/react-dialog": "1.1.13",
72
- "@radix-ui/react-popover": "^1.1.13",
73
- "@radix-ui/react-slot": "^1.2.2",
74
- "@radix-ui/react-tooltip": "1.2.6",
70
+ "@radix-ui/react-accordion": "^1.2.12",
71
+ "@radix-ui/react-dialog": "1.1.15",
72
+ "@radix-ui/react-popover": "^1.1.15",
73
+ "@radix-ui/react-slot": "^1.2.3",
74
+ "@radix-ui/react-tooltip": "1.2.8",
75
75
  "@types/throttle-debounce": "5.0.2",
76
76
  "class-variance-authority": "^0.7.1",
77
77
  "clsx": "^2.1.1",
78
- "lucide-react": "^0.510.0",
78
+ "lucide-react": "^0.542.0",
79
79
  "qrcode.react": "^4.2.0",
80
- "sonner": "2.0.3",
81
- "tailwind-merge": "^2.6.0",
80
+ "sonner": "2.0.7",
81
+ "tailwind-merge": "^3.3.1",
82
82
  "tailwindcss-animate": "^1.0.7",
83
83
  "throttle-debounce": "5.0.2",
84
84
  "truncate-eth-address": "1.0.2",