@redzone/taunt-logins-ui-react 0.0.6 → 0.0.7

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.
@@ -4,8 +4,13 @@ type ContextProps = {
4
4
  accessToken: string;
5
5
  refreshToken: string;
6
6
  };
7
+ isLoading: boolean;
7
8
  metamaskLogin: () => void;
8
9
  otpMagicLogin: (email: string) => void;
10
+ telegramLogin: () => void;
11
+ metaLogin: () => void;
12
+ coinbaseLogin: () => void;
13
+ logout: () => void;
9
14
  };
10
15
  export declare const TauntContext: import('react').Context<ContextProps>;
11
16
  export declare function useTaunt(): ContextProps;
@@ -0,0 +1,3 @@
1
+ export declare const TelegramButton: ({ openTelegram }: {
2
+ openTelegram?: () => void;
3
+ }) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,14 +1,19 @@
1
1
  {
2
2
  "name": "@redzone/taunt-logins-ui-react",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
7
7
  "build": "tsc && vite build",
8
+ "build:lib": "tsc --project tsconfig.lib.json && vite build --config vite.config.lib.ts",
8
9
  "prebuild": "npm run clean",
9
10
  "clean": "rm -rf dist",
10
11
  "lint": "eslint .",
11
- "preview": "vite preview"
12
+ "preview": "vite preview",
13
+ "prenpm:publish": "npm run build:lib",
14
+ "npm:publish": "npm publish --access public",
15
+ "fb:login": "firebase login --reauth",
16
+ "fb:deploy": "firebase deploy --only hosting:dev"
12
17
  },
13
18
  "main": "./dist/taunt-logins-ui-react.umd.js",
14
19
  "module": "./dist/taunt-logins-ui-react.js",
@@ -22,11 +27,12 @@
22
27
  "peerDependencies": {
23
28
  "react": "^18.2.0",
24
29
  "react-dom": "^18.2.0",
25
- "@redzone/taunt-logins": "^0.0.3"
30
+ "react-router-dom": "^7.9.3"
26
31
  },
27
32
  "devDependencies": {
28
33
  "@eslint/js": "^9.36.0",
29
34
  "@ianvs/prettier-plugin-sort-imports": "^4.7.0",
35
+ "@types/chrome": "^0.1.21",
30
36
  "@types/node": "^24.6.0",
31
37
  "@types/react": "^19.1.16",
32
38
  "@types/react-dom": "^19.1.9",
@@ -38,11 +44,15 @@
38
44
  "globals": "^16.4.0",
39
45
  "typescript": "~5.9.3",
40
46
  "typescript-eslint": "^8.45.0",
41
- "vite": "^7.1.7",
47
+ "vite": "^7.1.9",
42
48
  "vite-plugin-css-injected-by-js": "^3.5.2",
43
- "vite-plugin-dts": "^4.5.4"
49
+ "vite-plugin-dts": "^4.5.4",
50
+ "vite-plugin-ts": "^1.3.2-1"
44
51
  },
45
52
  "files": [
46
53
  "dist"
47
- ]
54
+ ],
55
+ "dependencies": {
56
+ "@redzone/taunt-logins": "^0.0.4"
57
+ }
48
58
  }
package/dist/App.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare function App(): import("react/jsx-runtime").JSX.Element;
2
- export default App;
package/dist/main.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
File without changes
File without changes