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

blockin

Package Overview
Dependencies
Maintainers
2
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blockin - npm Package Compare versions

Comparing version 1.3.9 to 1.3.10

2

dist/index.js

@@ -191,3 +191,3 @@ function convertAssetConditionGroup(item, convertFunction, populateDefaults) {

// console.log("Success: Constructed challenge from string and verified it is well-formed.");
const currDate = new Date();
const currDate = new Date(options?.verificationTimeOverride ?? Date.now());
verificationData.verificationTime = currDate;

@@ -194,0 +194,0 @@ const skipTimestampVerification = options?.skipTimestampVerification ?? false;

@@ -79,2 +79,6 @@ export type NumberType = string | bigint | number;

/**
* If true, we will use this timestamp instead of the current time. UNIX milliseconds. This is useful for verifying challenges that are expected to be verified at a future time.
*/
verificationTimeOverride?: number;
/**
* If true, we do not check timestamps (expirationDate / notBefore). This is useful if you are verifying a challenge that is expected to be verified at a future time.

@@ -81,0 +85,0 @@ */

import React, { ButtonHTMLAttributes } from 'react';
import { ChallengeParams, NumberType, VerifyChallengeOptions } from '../../types/verify.types';
import { AssetConditionGroup, NumberType } from '../../types/verify.types';
export interface CodeGenQueryParams {
ownershipRequirements?: AssetConditionGroup<NumberType>;
expectVerifySuccess?: boolean;
name?: string;
description?: string;
image?: string;
otherSignIns?: ('discord' | 'twitter' | 'github' | 'google')[];
redirect_uri?: string;
client_id: string;
state?: string;
expectAttestationsPresentations?: boolean;
}
export declare const SignInWithBitBadgesButton: React.FC<{

@@ -7,19 +19,5 @@ noDefaultStyles?: boolean;

children?: React.ReactNode;
popupParams: {
challengeParams?: ChallengeParams<NumberType>;
name?: string;
description?: string;
image?: string;
allowAddressSelect?: boolean;
autoGenerateNonce?: boolean;
verifyOptions?: VerifyChallengeOptions;
expectVerifySuccess?: boolean;
otherSignIns?: ('discord' | 'twitter' | 'github' | 'google')[];
redirectUri?: string;
clientId?: string;
state?: string;
expectSecretsProofs?: boolean;
};
popupParams: CodeGenQueryParams;
} & ButtonHTMLAttributes<HTMLButtonElement>>;
export declare const Spinner: React.FC<{}>;
export default SignInWithBitBadgesButton;
{
"name": "blockin",
"version": "1.3.9",
"version": "1.3.10",
"description": "",

@@ -77,3 +77,3 @@ "files": [

"sass-loader": "^10.4.1",
"storybook": "^7.6.9",
"storybook": "^8.1.9",
"tailwindcss": "^3.4.3",

@@ -80,0 +80,0 @@ "typedoc": "^0.25.4",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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