You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@settlemint/sdk-utils

Package Overview
Dependencies
Maintainers
2
Versions
3096
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@settlemint/sdk-utils - npm Package Compare versions

Comparing version

to
0.5.16-mainb167485

10

dist/environment.d.ts

@@ -7,3 +7,2 @@ import { z } from 'zod';

declare const DotEnvSchema: z.ZodObject<{
SETTLEMINT_ENVIRONMENT: z.ZodString;
SETTLEMINT_INSTANCE: z.ZodString;

@@ -24,3 +23,2 @@ SETTLEMINT_ACCESS_TOKEN: z.ZodString;

}, "strip", z.ZodTypeAny, {
SETTLEMINT_ENVIRONMENT: string;
SETTLEMINT_INSTANCE: string;

@@ -41,3 +39,2 @@ SETTLEMINT_ACCESS_TOKEN: string;

}, {
SETTLEMINT_ENVIRONMENT: string;
SETTLEMINT_INSTANCE: string;

@@ -60,3 +57,2 @@ SETTLEMINT_ACCESS_TOKEN: string;

declare const DotEnvSchemaPartial: z.ZodObject<{
SETTLEMINT_ENVIRONMENT: z.ZodOptional<z.ZodString>;
SETTLEMINT_INSTANCE: z.ZodOptional<z.ZodString>;

@@ -77,3 +73,2 @@ SETTLEMINT_ACCESS_TOKEN: z.ZodOptional<z.ZodString>;

}, "strip", z.ZodTypeAny, {
SETTLEMINT_ENVIRONMENT?: string | undefined;
SETTLEMINT_INSTANCE?: string | undefined;

@@ -94,3 +89,2 @@ SETTLEMINT_ACCESS_TOKEN?: string | undefined;

}, {
SETTLEMINT_ENVIRONMENT?: string | undefined;
SETTLEMINT_INSTANCE?: string | undefined;

@@ -124,6 +118,6 @@ SETTLEMINT_ACCESS_TOKEN?: string | undefined;

*/
declare function loadEnv<T extends boolean = true>(validateEnv?: T): Promise<T extends true ? DotEnv : DotEnvPartial>;
declare function loadEnv<T extends boolean = true>(validateEnv: T, prod: boolean): Promise<T extends true ? DotEnv : DotEnvPartial>;
declare function writeEnv(env: Partial<DotEnv>, secrets: boolean): Promise<void>;
declare function writeEnv(prod: boolean, env: Partial<DotEnv>, secrets: boolean): Promise<void>;
export { loadEnv, writeEnv };

@@ -13,3 +13,2 @@ import { z, ZodSchema } from 'zod';

declare const DotEnvSchema: z.ZodObject<{
SETTLEMINT_ENVIRONMENT: z.ZodString;
SETTLEMINT_INSTANCE: z.ZodString;

@@ -30,3 +29,2 @@ SETTLEMINT_ACCESS_TOKEN: z.ZodString;

}, "strip", z.ZodTypeAny, {
SETTLEMINT_ENVIRONMENT: string;
SETTLEMINT_INSTANCE: string;

@@ -47,3 +45,2 @@ SETTLEMINT_ACCESS_TOKEN: string;

}, {
SETTLEMINT_ENVIRONMENT: string;
SETTLEMINT_INSTANCE: string;

@@ -66,3 +63,2 @@ SETTLEMINT_ACCESS_TOKEN: string;

declare const DotEnvSchemaPartial: z.ZodObject<{
SETTLEMINT_ENVIRONMENT: z.ZodOptional<z.ZodString>;
SETTLEMINT_INSTANCE: z.ZodOptional<z.ZodString>;

@@ -83,3 +79,2 @@ SETTLEMINT_ACCESS_TOKEN: z.ZodOptional<z.ZodString>;

}, "strip", z.ZodTypeAny, {
SETTLEMINT_ENVIRONMENT?: string | undefined;
SETTLEMINT_INSTANCE?: string | undefined;

@@ -100,3 +95,2 @@ SETTLEMINT_ACCESS_TOKEN?: string | undefined;

}, {
SETTLEMINT_ENVIRONMENT?: string | undefined;
SETTLEMINT_INSTANCE?: string | undefined;

@@ -158,5 +152,5 @@ SETTLEMINT_ACCESS_TOKEN?: string | undefined;

*/
declare function loadEnv<T extends boolean = true>(validateEnv?: T): Promise<T extends true ? DotEnv : DotEnvPartial>;
declare function loadEnv<T extends boolean = true>(validateEnv: T, prod: boolean): Promise<T extends true ? DotEnv : DotEnvPartial>;
declare function writeEnv(env: Partial<DotEnv>, secrets: boolean): Promise<void>;
declare function writeEnv(prod: boolean, env: Partial<DotEnv>, secrets: boolean): Promise<void>;

@@ -163,0 +157,0 @@ declare function ensureFolder(path: string): void;

@@ -13,3 +13,2 @@ import { z, ZodSchema } from 'zod';

declare const DotEnvSchema: z.ZodObject<{
SETTLEMINT_ENVIRONMENT: z.ZodString;
SETTLEMINT_INSTANCE: z.ZodString;

@@ -30,3 +29,2 @@ SETTLEMINT_ACCESS_TOKEN: z.ZodString;

}, "strip", z.ZodTypeAny, {
SETTLEMINT_ENVIRONMENT: string;
SETTLEMINT_INSTANCE: string;

@@ -47,3 +45,2 @@ SETTLEMINT_ACCESS_TOKEN: string;

}, {
SETTLEMINT_ENVIRONMENT: string;
SETTLEMINT_INSTANCE: string;

@@ -66,3 +63,2 @@ SETTLEMINT_ACCESS_TOKEN: string;

declare const DotEnvSchemaPartial: z.ZodObject<{
SETTLEMINT_ENVIRONMENT: z.ZodOptional<z.ZodString>;
SETTLEMINT_INSTANCE: z.ZodOptional<z.ZodString>;

@@ -83,3 +79,2 @@ SETTLEMINT_ACCESS_TOKEN: z.ZodOptional<z.ZodString>;

}, "strip", z.ZodTypeAny, {
SETTLEMINT_ENVIRONMENT?: string | undefined;
SETTLEMINT_INSTANCE?: string | undefined;

@@ -100,3 +95,2 @@ SETTLEMINT_ACCESS_TOKEN?: string | undefined;

}, {
SETTLEMINT_ENVIRONMENT?: string | undefined;
SETTLEMINT_INSTANCE?: string | undefined;

@@ -103,0 +97,0 @@ SETTLEMINT_ACCESS_TOKEN?: string | undefined;

2

package.json
{
"name": "@settlemint/sdk-utils",
"description": "SettleMint SDK, integrate SettleMint into your application with ease.",
"version": "0.5.15",
"version": "0.5.16-mainb167485",
"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