@settlemint/sdk-utils
Advanced tools
Comparing version 0.9.3-pr68bd35cb to 0.9.3-pr6971dff9
@@ -609,12 +609,2 @@ import { ZodString, z, ZodSchema } from 'zod'; | ||
/** | ||
* Retry a function when it fails. | ||
* @param fn - The function to retry. | ||
* @param maxRetries - The maximum number of retries. | ||
* @param initialSleepTime - The initial time to sleep between exponential backoff retries. | ||
* @param stopOnError - The function to stop on error. | ||
* @returns The result of the function or undefined if it fails. | ||
*/ | ||
declare function retryWhenFailed<T>(fn: () => Promise<T>, maxRetries?: number, initialSleepTime?: number, stopOnError?: (error: Error) => boolean): Promise<T | undefined>; | ||
/** | ||
* Ensures that code is running on the server and not in a browser environment. | ||
@@ -811,2 +801,2 @@ * | ||
export { type AccessToken, AccessTokenSchema, type ApplicationAccessToken, ApplicationAccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type ExecuteCommandOptions, type Id, IdSchema, type PersonalAccessToken, PersonalAccessTokenSchema, type SpinnerOptions, type Template, UniqueNameSchema, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, ascii, cancel, capitalizeFirstLetter, emptyDir, ensureBrowser, ensureServer, executeCommand, exists, formatTargetDir, getPackageManager, getPackageManagerExecutable, installDependencies, intro, isEmpty, isPackageInstalled, loadEnv, maskTokens, note, outro, projectRoot, retryWhenFailed, runsInBrowser, runsOnServer, setName, spinner, templates, tryParseJson, validate, writeEnv }; | ||
export { type AccessToken, AccessTokenSchema, type ApplicationAccessToken, ApplicationAccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type ExecuteCommandOptions, type Id, IdSchema, type PersonalAccessToken, PersonalAccessTokenSchema, type SpinnerOptions, type Template, UniqueNameSchema, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, ascii, cancel, capitalizeFirstLetter, emptyDir, ensureBrowser, ensureServer, executeCommand, exists, formatTargetDir, getPackageManager, getPackageManagerExecutable, installDependencies, intro, isEmpty, isPackageInstalled, loadEnv, maskTokens, note, outro, projectRoot, runsInBrowser, runsOnServer, setName, spinner, templates, tryParseJson, validate, writeEnv }; |
{ | ||
"name": "@settlemint/sdk-utils", | ||
"description": "SettleMint SDK, integrate SettleMint into your application with ease.", | ||
"version": "0.9.3-pr68bd35cb", | ||
"version": "0.9.3-pr6971dff9", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "private": false, |
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
Sorry, the diff of this file is not supported yet
598224
4580