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

@aarc-dev/auth-sdk

Package Overview
Dependencies
Maintainers
5
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aarc-dev/auth-sdk - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

49

dist/index.d.ts

@@ -0,1 +1,50 @@

import { AarcEthersSigner } from '@aarc-xyz/ethers-v6-signer';
declare class AuthSDK {
private aarcApiKey;
private chainId;
private env;
private config;
walletAddress: string | undefined;
private sessionKey?;
private provider?;
private session_identifier;
private farcaster_session?;
signature?: string;
phoneNo?: string;
email?: string;
constructor(aarcApiKey: string, chainId: number, env: string, provider?: string);
generateUrl(provider: string, session_identifier: string): string;
pollStytchLogin(provider: string, session_identifier: string, onSuccess: (data: any) => void, onError: (data: any) => void, maxTime?: number, w?: Window): Promise<void>;
sendOTP(isEmail: boolean, data: string): Promise<{
status: string;
data?: any;
message?: string;
error?: any;
}>;
verifyOTP(session_identifier: string, isEmail: boolean, data: string, otp: string): Promise<{
status: string;
data?: any;
message?: string;
error?: any;
}>;
callExternalWallets(account: any, signature: any, message: string, provider: string, nonce: string): Promise<{
status: string;
data?: any;
message?: string;
error?: any;
}>;
getAarcWalletAddress(provider: any, providerType: any, nonce: string, message: string): Promise<{
status: string;
data?: any;
message?: string;
error?: any;
} | undefined>;
authenticate(options: Record<string, any>): Promise<any>;
getSigner(rpcUrl: string): Promise<AarcEthersSigner>;
signMessage(rpcUrl: string, msg: string): Promise<string>;
sendTransaction(to: string, value: string, rpcUrl: string): Promise<any>;
}
export default AuthSDK;
export { }

2

package.json
{
"name": "@aarc-dev/auth-sdk",
"version": "0.1.3",
"version": "0.1.4",
"type": "module",

@@ -5,0 +5,0 @@ "scripts": {

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