@settlemint/sdk-utils
Advanced tools
Comparing version 0.5.28 to 0.5.29-mainf25c874
@@ -181,2 +181,15 @@ import { ZodString, z, ZodSchema } from 'zod'; | ||
type Url = z.infer<typeof UrlSchema>; | ||
/** | ||
* Schema for validating URL paths. | ||
* | ||
* This schema ensures that the path: | ||
* - Starts with a forward slash | ||
* - Can contain letters, numbers, hyphens, underscores, and additional forward slashes | ||
* - Does not end with a forward slash (unless it's the root path "/") | ||
* - Is case-sensitive | ||
*/ | ||
declare const UrlPathSchema: z.ZodString; | ||
type UrlPath = z.infer<typeof UrlPathSchema>; | ||
declare const UrlOrPathSchema: z.ZodUnion<[z.ZodString, z.ZodString]>; | ||
type UrlOrPath = z.infer<typeof UrlOrPathSchema>; | ||
@@ -221,2 +234,2 @@ /** | ||
export { type AccessToken, AccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type Url, UrlSchema, ensureFolder, ensureServer, getPackageManager, installDependencies, loadEnv, projectRoot, validate, writeEnv }; | ||
export { type AccessToken, AccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, ensureFolder, ensureServer, getPackageManager, installDependencies, loadEnv, projectRoot, validate, writeEnv }; |
@@ -181,2 +181,15 @@ import { ZodString, z, ZodSchema } from 'zod'; | ||
type Url = z.infer<typeof UrlSchema>; | ||
/** | ||
* Schema for validating URL paths. | ||
* | ||
* This schema ensures that the path: | ||
* - Starts with a forward slash | ||
* - Can contain letters, numbers, hyphens, underscores, and additional forward slashes | ||
* - Does not end with a forward slash (unless it's the root path "/") | ||
* - Is case-sensitive | ||
*/ | ||
declare const UrlPathSchema: z.ZodString; | ||
type UrlPath = z.infer<typeof UrlPathSchema>; | ||
declare const UrlOrPathSchema: z.ZodUnion<[z.ZodString, z.ZodString]>; | ||
type UrlOrPath = z.infer<typeof UrlOrPathSchema>; | ||
@@ -196,2 +209,2 @@ /** | ||
export { type AccessToken, AccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type Url, UrlSchema, validate }; | ||
export { type AccessToken, AccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, validate }; |
{ | ||
"name": "@settlemint/sdk-utils", | ||
"description": "SettleMint SDK, integrate SettleMint into your application with ease.", | ||
"version": "0.5.28", | ||
"version": "0.5.29-mainf25c874", | ||
"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
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
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
212873
1979