message-verify 0.0.17-beta.0 → 0.0.18-beta.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.
package/dist/main.d.ts ADDED
@@ -0,0 +1 @@
1
+ export {};
package/dist/main.js ADDED
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { createRoot } from 'react-dom/client';
3
+ import App from './index'; // 或 './index'
4
+ createRoot(document.getElementById('root')).render(_jsx(App, { data: {
5
+ mobile: '185****7760',
6
+ verifyCodeKey: 'e381c5f9-c7f4-4bf1-a948-744334fb0203',
7
+ sendSuccess: true
8
+ } }));
@@ -1 +1 @@
1
- {"root":["../src/index.tsx","../src/vite-env.d.ts","../src/components/input.tsx","../src/components/modal.tsx"],"version":"5.7.3"}
1
+ {"root":["../src/index.tsx","../src/main.tsx","../src/vite-env.d.ts","../src/components/input.tsx","../src/components/modal.tsx"],"version":"5.7.3"}
package/index.html ADDED
@@ -0,0 +1,12 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Vite + React + TS</title>
7
+ </head>
8
+ <body>
9
+ <div id="root"></div>
10
+ <script type="module" src="/src/main.tsx"></script>
11
+ </body>
12
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "message-verify",
3
- "version": "0.0.17-beta.0",
3
+ "version": "0.0.18-beta.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "dependencies": {
package/src/main.tsx ADDED
@@ -0,0 +1,8 @@
1
+ import { createRoot } from 'react-dom/client';
2
+ import App from './index'; // 或 './index'
3
+
4
+ createRoot(document.getElementById('root')!).render(<App data={{
5
+ mobile: '185****7760',
6
+ verifyCodeKey: 'e381c5f9-c7f4-4bf1-a948-744334fb0203',
7
+ sendSuccess: true
8
+ }} />);