@settlemint/sdk-utils
Advanced tools
Comparing version
@@ -19,2 +19,3 @@ import { z } from 'zod'; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_PORTAL: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
@@ -64,2 +65,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -104,2 +106,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -141,2 +144,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_PORTAL: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
@@ -181,2 +185,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -221,2 +226,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -223,0 +229,0 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; |
@@ -0,1 +1,2 @@ | ||
import { SpawnOptionsWithoutStdio } from 'node:child_process'; | ||
import { ZodString, z, ZodSchema } from 'zod'; | ||
@@ -12,7 +13,7 @@ import { PathLike } from 'node:fs'; | ||
* @param args - Array of arguments to pass to the command | ||
* @param env - Environment variables to pass to the command | ||
* @param options - Options to pass to the spawn command | ||
* @returns Promise that resolves when the process completes successfully | ||
* @throws Error if the process fails or exits with non-zero code | ||
*/ | ||
declare function executeCommand(command: string, args: string[], env?: Record<string, string>): Promise<void>; | ||
declare function executeCommand(command: string, args: string[], options?: SpawnOptionsWithoutStdio): Promise<void>; | ||
@@ -22,2 +23,6 @@ /** | ||
*/ | ||
declare const ApplicationAccessTokenSchema: ZodString; | ||
type ApplicationAccessToken = z.infer<typeof ApplicationAccessTokenSchema>; | ||
declare const PersonalAccessTokenSchema: ZodString; | ||
type PersonalAccessToken = z.infer<typeof PersonalAccessTokenSchema>; | ||
declare const AccessTokenSchema: ZodString; | ||
@@ -42,2 +47,3 @@ type AccessToken = z.infer<typeof AccessTokenSchema>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_PORTAL: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
@@ -87,2 +93,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -127,2 +134,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -164,2 +172,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_PORTAL: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
@@ -204,2 +213,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -244,2 +254,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -456,2 +467,2 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; | ||
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, executeCommand, exists, formatTargetDir, getPackageManager, getPackageManagerExecutable, installDependencies, isEmpty, isPackageInstalled, isValidPackageName, loadEnv, projectRoot, runsInBrowser, runsOnServer, setName, templates, toValidPackageName, validate, writeEnv }; | ||
export { type AccessToken, AccessTokenSchema, type ApplicationAccessToken, ApplicationAccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type PersonalAccessToken, PersonalAccessTokenSchema, type Template, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, capitalizeFirstLetter, emptyDir, ensureBrowser, ensureFolder, ensureServer, executeCommand, exists, formatTargetDir, getPackageManager, getPackageManagerExecutable, installDependencies, isEmpty, isPackageInstalled, isValidPackageName, loadEnv, projectRoot, runsInBrowser, runsOnServer, setName, templates, toValidPackageName, validate, writeEnv }; |
@@ -6,2 +6,6 @@ import { ZodString, z, ZodSchema } from 'zod'; | ||
*/ | ||
declare const ApplicationAccessTokenSchema: ZodString; | ||
type ApplicationAccessToken = z.infer<typeof ApplicationAccessTokenSchema>; | ||
declare const PersonalAccessTokenSchema: ZodString; | ||
type PersonalAccessToken = z.infer<typeof PersonalAccessTokenSchema>; | ||
declare const AccessTokenSchema: ZodString; | ||
@@ -26,2 +30,3 @@ type AccessToken = z.infer<typeof AccessTokenSchema>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_PORTAL: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>; | ||
@@ -71,2 +76,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: z.ZodOptional<z.ZodString>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -111,2 +117,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -148,2 +155,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_PORTAL: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>>; | ||
@@ -188,2 +196,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -228,2 +237,3 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_ENDPOINT?: string | undefined; | ||
SETTLEMINT_THEGRAPH_SUBGRAPH_NAME?: string | undefined; | ||
SETTLEMINT_PORTAL?: string | undefined; | ||
@@ -299,2 +309,2 @@ SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined; | ||
export { type AccessToken, AccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, validate }; | ||
export { type AccessToken, AccessTokenSchema, type ApplicationAccessToken, ApplicationAccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type PersonalAccessToken, PersonalAccessTokenSchema, 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.6.29", | ||
"version": "0.6.30-main075208a", | ||
"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
353984
2.91%3151
1.88%