@oxyhq/services
Advanced tools
Comparing version 0.0.33 to 0.0.34
@@ -37,5 +37,5 @@ "use client"; | ||
}, className: styles.container, style: style, role: "group" }, | ||
React.createElement("div", { className: "relative z-10 flex flex-col items-center justify-center\n space-y-3 rounded-2xl bg-darkC2 px-5 py-3 text-sm font-medium text-textC\n shadow-md shadow-[#b4bebb]" }, | ||
React.createElement("button", { className: "absolute right-3 top-3 rounded-full bg-darkC2 p-1 hover:bg-darkC" }, | ||
React.createElement(AiOutlineClose, { className: "h-5 w-5 rounded-full stroke-2 text-textC" })), | ||
React.createElement("div", { className: "relative z-10 flex flex-col items-center justify-center\n space-y-3 rounded-2xl bg-indigo-50 px-5 py-3 text-sm font-medium text-zinc-700\n shadow-md shadow-[#b4bebb]" }, | ||
React.createElement("button", { className: "absolute right-3 top-3 rounded-full bg-indigo-50 p-1 hover:bg-zinc-200" }, | ||
React.createElement(AiOutlineClose, { className: "h-5 w-5 rounded-full stroke-2 text-zinc-700" })), | ||
React.createElement("p", null, session?.user?.email), | ||
@@ -48,8 +48,8 @@ React.createElement("div", { className: "h-20 w-20 rounded-full border" }, | ||
"!"), | ||
React.createElement("button", { className: "rounded-full border border-black px-7 py-2 text-textC2 hover:bg-[#d3dfee]" }, "Manage your Google Account"), | ||
React.createElement("button", { className: "rounded-full border border-black px-7 py-2 text-blue-500 hover:bg-[#d3dfee]" }, "Manage your Google Account"), | ||
React.createElement("div", { className: "flex space-x-1" }, | ||
React.createElement("button", { className: "tablet:w-44 flex w-36 items-center space-x-2 rounded-l-full bg-white py-3 pl-3 hover:bg-darkC" }, | ||
React.createElement(HiOutlinePlus, { className: "h-7 w-7 rounded-full bg-darkC2 p-1 text-textC2" }), | ||
React.createElement("button", { className: "tablet:w-44 flex w-36 items-center space-x-2 rounded-l-full bg-white py-3 pl-3 hover:bg-zinc-200" }, | ||
React.createElement(HiOutlinePlus, { className: "h-7 w-7 rounded-full bg-indigo-50 p-1 text-blue-500" }), | ||
React.createElement("span", null, "Add account")), | ||
React.createElement("button", { className: "tablet:w-44 flex w-36 items-center space-x-2 rounded-r-full bg-white py-3 pl-3 hover:bg-darkC" }, | ||
React.createElement("button", { className: "tablet:w-44 flex w-36 items-center space-x-2 rounded-r-full bg-white py-3 pl-3 hover:bg-zinc-200" }, | ||
React.createElement(PiSignOutBold, { className: "h-6 w-6" }), | ||
@@ -56,0 +56,0 @@ React.createElement("span", null, "Sign out"))), |
import axios from "axios"; | ||
import { OXY_AUTH_URL } from "../config"; | ||
export const getUser = async (id) => { | ||
try { | ||
const response = await axios.get(`/api/users/${id}`); | ||
const response = await axios.get(OXY_AUTH_URL + `/api/users/${id}`); | ||
return response.data; | ||
@@ -6,0 +7,0 @@ } |
{ | ||
"name": "@oxyhq/services", | ||
"version": "0.0.33", | ||
"version": "0.0.34", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "homepage": "https://oxy.so/", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79138
1251