feat : add package

This commit is contained in:
lukman
2024-07-25 10:08:31 +08:00
parent 2f8a9ccab1
commit 404734c8f6
4 changed files with 30 additions and 5 deletions

View File

@@ -1,8 +1,7 @@
###
POST http://localhost:3000/api/auth/login/ HTTP/1.1
Content-Type: application/json
{
"id": "devLukman",
"phone": "6287701790942",
"email": "lukman@bip.com"
"phone": "6287701790942"
}

View File

@@ -38,6 +38,7 @@
"echarts-for-react": "^3.0.2",
"embla-carousel-autoplay": "^7.1.0",
"embla-carousel-react": "^7.1.0",
"iron-session": "^8.0.2",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"next": "14.2.4",

View File

@@ -1,6 +1,7 @@
import { ViewVerification } from "@/module/auth";
import { IVerification } from "@/types";
import React from "react";
export default function Verification() {
return <ViewVerification />;
export default function Page() {
return <ViewVerification phone={""} otp={0} user={''} />;
}

View File

@@ -1072,6 +1072,11 @@ concat-map@0.0.1:
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
cookie@0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051"
integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==
create-require@^1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
@@ -2081,6 +2086,20 @@ invariant@^2.2.4:
dependencies:
loose-envify "^1.0.0"
iron-session@^8.0.2:
version "8.0.2"
resolved "https://registry.yarnpkg.com/iron-session/-/iron-session-8.0.2.tgz#9802e080206a8ba41911b53d29ff7de11161d036"
integrity sha512-p4Yf1moQr6gnCcXu5vCaxVKRKDmR9PZcQDfp7ZOgbsSHUsgaNti6OgDB2BdgxC2aS6V/6Hu4O0wYlj92sbdIJg==
dependencies:
cookie "0.6.0"
iron-webcrypto "1.2.1"
uncrypto "0.1.3"
iron-webcrypto@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/iron-webcrypto/-/iron-webcrypto-1.2.1.tgz#aa60ff2aa10550630f4c0b11fd2442becdb35a6f"
integrity sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg==
is-arguments@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b"
@@ -3527,6 +3546,11 @@ unbox-primitive@^1.0.2:
has-symbols "^1.0.3"
which-boxed-primitive "^1.0.2"
uncrypto@0.1.3:
version "0.1.3"
resolved "https://registry.yarnpkg.com/uncrypto/-/uncrypto-0.1.3.tgz#e1288d609226f2d02d8d69ee861fa20d8348ef2b"
integrity sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==
undici-types@~5.26.4:
version "5.26.5"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"