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

@privy-io/js-sdk-core

Package Overview
Dependencies
Maintainers
8
Versions
725
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@privy-io/js-sdk-core - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0-beta-20231017002745

12

dist/index.d.ts
import { OAuthProviderType } from "@privy-io/public-api";
import EventEmitter from "eventemitter3";
interface Storage {
get(key: string): unknown;
export interface Storage {
get(key: string): unknown | Promise<unknown>;
put(key: string, value: unknown): void;
del(key: string): void;
getKeys(): string[];
getKeys(): string[] | Promise<string[]>;
}

@@ -267,2 +267,3 @@ declare class CustomProviderApi {

}
export function errorIndicatesRecoveryIsNeeded(error: unknown): boolean;
type ProviderConnectInfo = {

@@ -357,4 +358,3 @@ chainId: string;

/**
* Class definition for `Privy`
* TODO: need doc pass
* Privy API Client SDK
*/

@@ -380,3 +380,3 @@ declare class Privy {

export class LocalStorage implements Storage {
get(key: string): any;
get(key: string): Promise<any>;
put(key: string, val: unknown): void;

@@ -383,0 +383,0 @@ del(key: string): void;

{
"name": "@privy-io/js-sdk-core",
"version": "0.4.0",
"version": "0.5.0-beta-20231017002745",
"description": "Vanilla JS client for the Privy Auth API",

@@ -5,0 +5,0 @@ "keywords": [

@@ -43,2 +43,3 @@ # @privy-io/js-sdk-core

// create a viem client from the privy embedded wallet
const viemWalletClient = createWalletClient({

@@ -45,0 +46,0 @@ chain: mainnet,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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