@settlemint/sdk-utils
Advanced tools
Comparing version 0.6.22-prec8e1cb to 0.6.22-pred62049
@@ -11,2 +11,5 @@ import { z } from 'zod'; | ||
SETTLEMINT_APPLICATION: z.ZodUnion<[z.ZodString, z.ZodString]>; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_BLOCKCHAIN_NODE: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_LOAD_BALANCER: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_HASURA: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
@@ -50,2 +53,5 @@ SETTLEMINT_HASURA_ENDPOINT: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY: "0x5e771e1417100000000000000000000000000003"; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -84,2 +90,5 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; | ||
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY: "0x5e771e1417100000000000000000000000000003"; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -115,2 +124,5 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; | ||
SETTLEMINT_APPLICATION: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
SETTLEMINT_BLOCKCHAIN_NODE: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
SETTLEMINT_LOAD_BALANCER: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
SETTLEMINT_HASURA: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
@@ -149,2 +161,5 @@ SETTLEMINT_HASURA_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_APPLICATION?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -183,2 +198,5 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; | ||
SETTLEMINT_APPLICATION?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -185,0 +203,0 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; |
import { ZodString, z, ZodSchema } from 'zod'; | ||
import { AgentName } from 'package-manager-detector'; | ||
declare function capitalizeFirstLetter(val: string): string; | ||
/** | ||
@@ -17,2 +20,5 @@ * Schema for validating access tokens. | ||
SETTLEMINT_APPLICATION: z.ZodUnion<[z.ZodString, z.ZodString]>; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_BLOCKCHAIN_NODE: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_LOAD_BALANCER: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_HASURA: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
@@ -56,2 +62,5 @@ SETTLEMINT_HASURA_ENDPOINT: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY: "0x5e771e1417100000000000000000000000000003"; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -90,2 +99,5 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; | ||
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY: "0x5e771e1417100000000000000000000000000003"; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -121,2 +133,5 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; | ||
SETTLEMINT_APPLICATION: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
SETTLEMINT_BLOCKCHAIN_NODE: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
SETTLEMINT_LOAD_BALANCER: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
SETTLEMINT_HASURA: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
@@ -155,2 +170,5 @@ SETTLEMINT_HASURA_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_APPLICATION?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -189,2 +207,5 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; | ||
SETTLEMINT_APPLICATION?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -353,3 +374,3 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; | ||
declare function getPackageManager(targetDir: string): Promise<"yarn" | "pnpm" | "bun" | "npm">; | ||
declare function getPackageManager(targetDir: string): Promise<AgentName>; | ||
@@ -391,2 +412,2 @@ declare function installDependencies(pkgs: string | string[]): Promise<void>; | ||
export { type AccessToken, AccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type Template, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, emptyDir, ensureBrowser, ensureFolder, ensureServer, formatTargetDir, getPackageManager, installDependencies, isEmpty, isPackageInstalled, isValidPackageName, loadEnv, projectRoot, runsInBrowser, runsOnServer, setName, templates, toValidPackageName, validate, writeEnv }; | ||
export { type AccessToken, AccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type Template, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, capitalizeFirstLetter, emptyDir, ensureBrowser, ensureFolder, ensureServer, formatTargetDir, getPackageManager, installDependencies, isEmpty, isPackageInstalled, isValidPackageName, loadEnv, projectRoot, runsInBrowser, runsOnServer, setName, templates, toValidPackageName, validate, writeEnv }; |
@@ -0,1 +1,3 @@ | ||
import { AgentName } from 'package-manager-detector'; | ||
/** | ||
@@ -73,3 +75,3 @@ * Array of available templates for project creation. | ||
declare function getPackageManager(targetDir: string): Promise<"yarn" | "pnpm" | "bun" | "npm">; | ||
declare function getPackageManager(targetDir: string): Promise<AgentName>; | ||
@@ -76,0 +78,0 @@ declare function installDependencies(pkgs: string | string[]): Promise<void>; |
@@ -17,2 +17,5 @@ import { ZodString, z, ZodSchema } from 'zod'; | ||
SETTLEMINT_APPLICATION: z.ZodUnion<[z.ZodString, z.ZodString]>; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_BLOCKCHAIN_NODE: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_LOAD_BALANCER: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_HASURA: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
@@ -56,2 +59,5 @@ SETTLEMINT_HASURA_ENDPOINT: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY: "0x5e771e1417100000000000000000000000000003"; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -90,2 +96,5 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; | ||
SETTLEMINT_PREDEPLOYED_CONTRACT_ERC20_DEX_FACTORY: "0x5e771e1417100000000000000000000000000003"; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -121,2 +130,5 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; | ||
SETTLEMINT_APPLICATION: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
SETTLEMINT_BLOCKCHAIN_NODE: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
SETTLEMINT_LOAD_BALANCER: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
SETTLEMINT_HASURA: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
@@ -155,2 +167,5 @@ SETTLEMINT_HASURA_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_APPLICATION?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -189,2 +204,5 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; | ||
SETTLEMINT_APPLICATION?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined; | ||
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined; | ||
SETTLEMINT_LOAD_BALANCER?: string | undefined; | ||
SETTLEMINT_HASURA?: string | undefined; | ||
@@ -191,0 +209,0 @@ SETTLEMINT_HASURA_ENDPOINT?: string | undefined; |
{ | ||
"name": "@settlemint/sdk-utils", | ||
"description": "SettleMint SDK, integrate SettleMint into your application with ease.", | ||
"version": "0.6.22-prec8e1cb", | ||
"version": "0.6.22-pred62049", | ||
"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
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
309065
2777