Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@oxyhq/services

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oxyhq/services - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

3

dist/components/auth/SignInButton.d.ts
import React from "react";
export declare const SignInButton: ({ onClick, icon, text, }: {
onClick?: () => void;
export declare const SignInButton: ({ icon, text, }: {
icon?: React.ReactNode;

@@ -5,0 +4,0 @@ text: string;

import React from "react";
export const SignInButton = ({ onClick, icon, text = "Sign in with Oxy", }) => {
export const SignInButton = ({ icon, text = "Sign in with Oxy", }) => {
const onClick = () => {
const currentUrl = window.location.href;
const redirectUrl = `https://auth.oxy.so/?callback=${encodeURIComponent(currentUrl)}`;
window.location.href = redirectUrl;
};
return (React.createElement("button", { onClick: onClick, style: styles.container },

@@ -4,0 +9,0 @@ icon && icon,

{
"name": "@oxyhq/services",
"version": "0.0.7",
"version": "0.0.8",
"description": "",

@@ -5,0 +5,0 @@ "homepage": "https://oxy.so/",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc