@notifi-network/notifi-frontend-client
Advanced tools
Comparing version 1.1.3-alpha.21 to 1.1.3-alpha.22
import { Types, Operations, NotifiService } from '@notifi-network/notifi-graphql'; | ||
import { RequestConfig } from 'graphql-request/build/esm/types'; | ||
declare type NotifiEnvironment = 'Production' | 'Staging' | 'Development' | 'Local'; | ||
declare const notifiEnvs: readonly ["Production", "Staging", "Development", "Local"]; | ||
declare type NotifiEnvironment = (typeof notifiEnvs)[number]; | ||
declare const isNotifiEnv: (env: unknown) => env is "Production" | "Staging" | "Development" | "Local"; | ||
declare type NotifiEnvironmentConfiguration = Readonly<{ | ||
@@ -890,2 +892,2 @@ env?: NotifiEnvironment; | ||
export { AcalaSignMessageFunction, AcalaUserParams, AgoricUserParams, AlertFilter, AlertFrequency, AptosSignMessageFunction, AptosUserParams, ArchwayUserParams, AuthenticateResult, Authorization, AuthorizationStorage, AxelarUserParams, BroadcastEventTypeItem, CardConfigItemV1, CardConfigType, CelestiaUserParams, CheckRatio, ConfigFactoryInput, ConfigFactoryInputDelegated, ConfigFactoryInputOidc, ConfigFactoryInputPublicKey, ConfigFactoryInputPublicKeyAndAddress, ConnectWalletParams, ContactInfo, ContactInfoConfig, CosmosUserParams, CountryCode, CreateFunc, CustomHealthCheckItem, CustomInputConstraints, CustomToggleTypeItem, CustomTopicTypeItem, CustomTypeBase, DeepPartialReadonly, DirectPushEventTypeItem, DiscordContactInfo, DydxUserParams, DymensionUserParams, ElysUserParams, EmailContactInfo, EnsureWebhookParams$1 as EnsureWebhookParams, EventTypeConfig, EventTypeItem, EvmUserParams, FetchFunc, Filter, FilterBase, FilterOptions, FilterType, FrequencyFilter, FrontendClientConfigFactory, FusionEventMetadata, FusionEventTopic, FusionEventTypeItem, FusionFilterOptions, FusionHealthCheckEventTypeItem, FusionMultiThreshholdEventTypeItem, FusionToggleEventTypeItem, FusionTypeBase, GetStorageType, HasStorageType, HealthCheckEventInputsWithCustomPercentage, HealthCheckEventInputsWithIndex, HealthCheckEventTypeItem, HealthCheckInputs, IdentifyFunc, InjectiveUserParams, InputItem, InputObject, InputType, InputsConfig, KavaUserParams, LabelEventTypeItem, NearUserParams, NeutronUserParams, NotifiConfigWithDelegate, NotifiConfigWithOidc, NotifiConfigWithPublicKey, NotifiConfigWithPublicKeyAndAddress, NotifiEnvironment, NotifiEnvironmentConfiguration, NotifiFrontendClient, NotifiFrontendConfiguration, NotifiFrontendStorage, NotifiStorage, NumberTypeSelect, OffChainUserParams, OidcCredentials, OidcSignInFunction, OraiUserParams, PersistenceUserParams, PrefixAndSuffix, PriceChangeDataSource, PriceChangeEventTypeItem, RequiredParserVariable, Roles, RolesStorage, SIGNING_MESSAGE, SetStorageType, SignMessageParams, SlackContactInfo, SmsContactInfo, SolanaUserParams, StorageDriver, StorageType, SuiUserParams, SupportedCardConfigType, TelegramContactInfo, TenantConfig, ThresholdDirection, TitleSubtitleConfig, TitleSubtitleConfigActive, TitleSubtitleConfigInactive, TradingPairEventTypeItem, TradingPairInputs, UiType, Uint8SignMessageFunction, UserInputOptions, UserInputParam, UserParams, UserState, ValidInputRange, ValueItemConfig, ValueOrRef, ValueTransformFunc, ValueType, WalletBalanceEventTypeItem, WalletContactInfo, WalletWithSignParams, WebhookContactInfo, WebhookHeaders, XMTPTopicTypeItem, XionSignMessageFunction, XionUserParams, checkIsConfigWithDelegate, checkIsConfigWithOidc, checkIsConfigWithPublicKeyAndAddress, createInMemoryStorageDriver, createLocalForageStorageDriver, ensureDiscord, ensureEmail, ensureSlack, ensureSms, ensureSourceAndFilters, ensureTarget, ensureTelegram, ensureWeb3, ensureWebhook, envUrl, instantiateFrontendClient, isEvmChain, newFrontendClient, newFrontendConfig, newNotifiService, newNotifiStorage, normalizeHexString, notNullOrEmpty, objectKeys, packFilterOptions, resolveCheckRatioArrayRef, resolveNumberRef, resolveObjectArrayRef, resolveStringArrayRef, resolveStringRef }; | ||
export { AcalaSignMessageFunction, AcalaUserParams, AgoricUserParams, AlertFilter, AlertFrequency, AptosSignMessageFunction, AptosUserParams, ArchwayUserParams, AuthenticateResult, Authorization, AuthorizationStorage, AxelarUserParams, BroadcastEventTypeItem, CardConfigItemV1, CardConfigType, CelestiaUserParams, CheckRatio, ConfigFactoryInput, ConfigFactoryInputDelegated, ConfigFactoryInputOidc, ConfigFactoryInputPublicKey, ConfigFactoryInputPublicKeyAndAddress, ConnectWalletParams, ContactInfo, ContactInfoConfig, CosmosUserParams, CountryCode, CreateFunc, CustomHealthCheckItem, CustomInputConstraints, CustomToggleTypeItem, CustomTopicTypeItem, CustomTypeBase, DeepPartialReadonly, DirectPushEventTypeItem, DiscordContactInfo, DydxUserParams, DymensionUserParams, ElysUserParams, EmailContactInfo, EnsureWebhookParams$1 as EnsureWebhookParams, EventTypeConfig, EventTypeItem, EvmUserParams, FetchFunc, Filter, FilterBase, FilterOptions, FilterType, FrequencyFilter, FrontendClientConfigFactory, FusionEventMetadata, FusionEventTopic, FusionEventTypeItem, FusionFilterOptions, FusionHealthCheckEventTypeItem, FusionMultiThreshholdEventTypeItem, FusionToggleEventTypeItem, FusionTypeBase, GetStorageType, HasStorageType, HealthCheckEventInputsWithCustomPercentage, HealthCheckEventInputsWithIndex, HealthCheckEventTypeItem, HealthCheckInputs, IdentifyFunc, InjectiveUserParams, InputItem, InputObject, InputType, InputsConfig, KavaUserParams, LabelEventTypeItem, NearUserParams, NeutronUserParams, NotifiConfigWithDelegate, NotifiConfigWithOidc, NotifiConfigWithPublicKey, NotifiConfigWithPublicKeyAndAddress, NotifiEnvironment, NotifiEnvironmentConfiguration, NotifiFrontendClient, NotifiFrontendConfiguration, NotifiFrontendStorage, NotifiStorage, NumberTypeSelect, OffChainUserParams, OidcCredentials, OidcSignInFunction, OraiUserParams, PersistenceUserParams, PrefixAndSuffix, PriceChangeDataSource, PriceChangeEventTypeItem, RequiredParserVariable, Roles, RolesStorage, SIGNING_MESSAGE, SetStorageType, SignMessageParams, SlackContactInfo, SmsContactInfo, SolanaUserParams, StorageDriver, StorageType, SuiUserParams, SupportedCardConfigType, TelegramContactInfo, TenantConfig, ThresholdDirection, TitleSubtitleConfig, TitleSubtitleConfigActive, TitleSubtitleConfigInactive, TradingPairEventTypeItem, TradingPairInputs, UiType, Uint8SignMessageFunction, UserInputOptions, UserInputParam, UserParams, UserState, ValidInputRange, ValueItemConfig, ValueOrRef, ValueTransformFunc, ValueType, WalletBalanceEventTypeItem, WalletContactInfo, WalletWithSignParams, WebhookContactInfo, WebhookHeaders, XMTPTopicTypeItem, XionSignMessageFunction, XionUserParams, checkIsConfigWithDelegate, checkIsConfigWithOidc, checkIsConfigWithPublicKeyAndAddress, createInMemoryStorageDriver, createLocalForageStorageDriver, ensureDiscord, ensureEmail, ensureSlack, ensureSms, ensureSourceAndFilters, ensureTarget, ensureTelegram, ensureWeb3, ensureWebhook, envUrl, instantiateFrontendClient, isEvmChain, isNotifiEnv, newFrontendClient, newFrontendConfig, newNotifiService, newNotifiStorage, normalizeHexString, notNullOrEmpty, objectKeys, packFilterOptions, resolveCheckRatioArrayRef, resolveNumberRef, resolveObjectArrayRef, resolveStringArrayRef, resolveStringRef }; |
import { Types } from '@notifi-network/notifi-graphql'; | ||
export type NotifiEnvironment = | ||
| 'Production' | ||
| 'Staging' | ||
| 'Development' | ||
| 'Local'; | ||
const notifiEnvs = ['Production', 'Staging', 'Development', 'Local'] as const; | ||
export type NotifiEnvironment = (typeof notifiEnvs)[number]; | ||
export const isNotifiEnv = (env: unknown): env is NotifiEnvironment => { | ||
if (typeof env !== 'string') return false; | ||
if (notifiEnvs.includes(env as NotifiEnvironment)) return true; | ||
return false; | ||
}; | ||
@@ -9,0 +11,0 @@ export type NotifiEnvironmentConfiguration = Readonly<{ |
{ | ||
"name": "@notifi-network/notifi-frontend-client", | ||
"version": "1.1.3-alpha.21+07ff5e7f", | ||
"version": "1.1.3-alpha.22+3ecbff27", | ||
"description": "The frontend client for Notifi", | ||
@@ -35,7 +35,7 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@notifi-network/notifi-graphql": "^1.1.3-alpha.21+07ff5e7f", | ||
"@notifi-network/notifi-graphql": "^1.1.3-alpha.22+3ecbff27", | ||
"graphql-request": "^6.0.0", | ||
"localforage": "^1.10.0" | ||
}, | ||
"gitHead": "07ff5e7f6138bd01a714b4d124af7021afd534f3" | ||
"gitHead": "3ecbff273f579284db85f5602e073a3a193eaee2" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
367840
10515