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

@hazae41/glacier

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hazae41/glacier - npm Package Compare versions

Comparing version 2.0.0-111 to 2.0.0-112

6

dist/types/mods/react/hooks/blocks/use-retry.d.ts
import { ReactQuery } from '../../types/query.js';
interface RetrySettings {
init?: number;
base?: number;
max?: number;
readonly init?: number;
readonly base?: number;
readonly max?: number;
}

@@ -8,0 +8,0 @@ /**

@@ -1,10 +0,9 @@

import { Result } from '@hazae41/result';
import { State } from './state.js';
type Indexer<D, F> = (states: States<D, F>) => Promise<Result<void, Error>>;
type Indexer<D, F> = (states: States<D, F>) => Promise<void>;
interface States<D, F> {
current: State<D, F>;
previous?: State<D, F>;
readonly current: State<D, F>;
readonly previous?: State<D, F>;
}
export type { Indexer, States };

@@ -6,20 +6,20 @@ import { DataInit, Data } from '../fetched/data.js';

interface RawState1<D = unknown, F = unknown> {
version?: undefined;
data?: D;
error?: F;
time: number;
cooldown?: number;
expiration?: number;
readonly version?: undefined;
readonly data?: D;
readonly error?: F;
readonly time: number;
readonly cooldown?: number;
readonly expiration?: number;
}
interface RawState2<D = unknown, F = unknown> {
version: 2;
data?: DataInit<D>;
error?: FailInit<F>;
time: number;
cooldown?: number;
expiration?: number;
readonly version: 2;
readonly data?: DataInit<D>;
readonly error?: FailInit<F>;
readonly time: number;
readonly cooldown?: number;
readonly expiration?: number;
}
interface StateAndAborter<D, F> {
state: State<D, F>;
aborter?: AbortController;
readonly state: State<D, F>;
readonly aborter?: AbortController;
}

@@ -26,0 +26,0 @@ type State<D, F> = RealState<D, F> | FakeState<D, F>;

{
"type": "module",
"name": "@hazae41/glacier",
"version": "2.0.0-111",
"version": "2.0.0-112",
"author": "hazae41",

@@ -6,0 +6,0 @@ "license": "MIT",

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 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