New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@farcaster/auth-client

Package Overview
Dependencies
Maintainers
7
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@farcaster/auth-client - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

6

dist/index.d.ts

@@ -5,3 +5,2 @@ import { SiweMessage, SiweResponse } from 'siwe';

import { Hex } from 'viem';
import { providers } from 'ethers';

@@ -46,5 +45,8 @@ interface AuthClientErrorOpts {

declare const Provider: any;
type Provider = typeof Provider;
interface EthereumConnector {
getFid: (custody: Hex) => Promise<BigInt>;
provider: providers.JsonRpcProvider;
provider: Provider;
}

@@ -51,0 +53,0 @@

@@ -455,3 +455,2 @@ "use strict";

var import_chains = require("viem/chains");
var ethers = __toESM(require("ethers"));

@@ -1715,2 +1714,13 @@ // src/contracts/idRegistry.ts

// src/clients/ethereum/ethers.ts
var ethers = __toESM(require("ethers"));
var JsonRpcProvider2 = (
// @ts-expect-error -- ethers v6 compatibility hack
ethers.providers ? ethers.providers.JsonRpcProvider : ethers.JsonRpcProvider
);
var Provider2 = (
// @ts-expect-error -- ethers v6 compatibility hack
ethers.providers ? ethers.providers.Provider : ethers.Provider
);
// src/clients/ethereum/viemConnector.ts

@@ -1737,3 +1747,3 @@ var viemConnector = (args) => {

const rpc = transport.url ?? chain.rpcUrls.default.http[0];
return new (ethers.providers ? ethers.providers.JsonRpcProvider : ethers.JsonRpcProvider)(rpc, network);
return new JsonRpcProvider2(rpc, network);
};

@@ -1740,0 +1750,0 @@ return {

{
"name": "@farcaster/auth-client",
"version": "0.0.19",
"version": "0.0.20",
"main": "./dist/index.js",

@@ -5,0 +5,0 @@ "module": "./dist/index.mjs",

Sorry, the diff of this file is not supported yet

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