Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@unstoppabledomains/config

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unstoppabledomains/config - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8-experimental.1

bugsnag/index.d.ts

1

env/default.d.ts
import type { Config } from './types';
export default function getDefaultConfig(): Config;
//# sourceMappingURL=default.d.ts.map

@@ -13,2 +13,3 @@ export default function getDefaultConfig() {

BLOCK_EXPLORER_BASE_URL: 'https://viewblock.io',
BLOCK_EXPLORER_TX_URL: '',
ZNS_REGISTRY_ADDRESS: 'zil1hyj6m5w4atcn7s806s69r0uh5g4t84e8gp6nps',

@@ -23,17 +24,28 @@ DISABLE_CONTRACTS_CACHE: true,

BLOCK_EXPLORER_BASE_URL: 'https://goerli.etherscan.io',
BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/sepolia-test/tx/',
DISABLE_CONTRACTS_CACHE: true,
PROXY_READER_ADDRESS: '0xFc5f608149f4D9e2Ed0733efFe9DD57ee24BCF68',
OPEN_SEA_BASE_URL: 'https://testnets.opensea.io/assets/goerli/',
OPEN_SEA_BASE_URL: 'https://testnets.opensea.io/assets/sepolia/',
ENS_CONTRACT_ADDRESS: '0x114d4603199df73e7d157787f8778e21fcd13066',
},
MATIC: {
CHAIN_ID: 80001,
NETWORK_NAME: 'mumbai',
JSON_RPC_API_URL: 'https://polygon-mumbai.infura.io/v3/a58ebb0c76a64c149e35145f85f82382',
CHAIN_ID: 80002,
NETWORK_NAME: 'amoy',
JSON_RPC_API_URL: 'https://polygon-amoy.infura.io/v3/a58ebb0c76a64c149e35145f85f82382',
BLOCK_EXPLORER_NAME: 'polygonscan',
BLOCK_EXPLORER_BASE_URL: 'https://mumbai.polygonscan.com',
BLOCK_EXPLORER_BASE_URL: 'https://amoy.polygonscan.com',
BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/amoy/tx/',
DISABLE_CONTRACTS_CACHE: true,
PROXY_READER_ADDRESS: '0x332A8191905fA8E6eeA7350B5799F225B8ed30a9',
OPEN_SEA_BASE_URL: 'https://testnets.opensea.io/assets/mumbai/',
OPEN_SEA_BASE_URL: 'https://testnets.opensea.io/assets/amoy/',
},
BASE: {
BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/base/tx/',
},
BTC: {
BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/btc/tx/',
},
SOL: {
BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/sol/tx/',
},
},

@@ -48,3 +60,3 @@ UD_LOGO_URL: 'https://storage.googleapis.com/unstoppable-client-assets/images/favicon/favicon-v3.ico',

IPFS_BASE_URL: 'https://ipfs.io',
VERIFICATION_SUPPORTED: ['SOL', 'ETH', 'MATIC', 'FTM', 'AVAX'],
VERIFICATION_SUPPORTED: ['SOL', 'ETH', 'MATIC', 'FTM', 'AVAX', 'BTC'],
LOGIN_WITH_UNSTOPPABLE: {

@@ -54,2 +66,5 @@ CLIENT_ID: '115148ec-364d-4e19-b7d8-2807e8f1b525',

},
BUGSNAG: {
API_KEY: process.env.NEXT_PUBLIC_BUGSNAG_API_KEY || '',
},
COOKIE: {

@@ -69,2 +84,29 @@ SECURE: true,

},
WALLETS: {
HOST_URL: 'https://api.ud-staging.com/wallet/v1',
GET_WALLET_URL: 'https://ud-staging.com/cart?product=unstoppable-wallet',
DOCUMENTATION_URL: 'https://support.unstoppabledomains.com/support/solutions/48000457487',
LANDING_PAGE_URL: 'https://unstoppabledomains.com/products/wallet',
CHAINS: {
BUY: ['BTC/BTC', 'MATIC/MATIC', 'SOL/SOL', 'ETH/ETH'],
RECEIVE: [
'BTC/BTC',
'MATIC/MATIC',
'MATIC/USDC',
'SOL/SOL',
'BASE/ETH',
'ETH/ETH',
],
SEND: [
'BTC/BTC',
'MATIC/MATIC',
'MATIC/USDC',
'SOL/SOL',
'BASE/ETH',
'ETH/ETH',
],
DOMAINS: ['ETH', 'MATIC'],
},
SIGNATURE_SYMBOL: 'ETHEREUM/ETH',
},
PUSH: {

@@ -82,4 +124,4 @@ CHANNELS: ['eip155:5:0x0389246fB9191Dc41722e1f0D558dC8f82Be3C7A'],

},
GATEWAY_API_KEY: process.env.GATEWAY_API_KEY || '',
};
}
//# sourceMappingURL=default.js.map
import type { ConfigOverride } from './types';
export default function getDevelopmentConfig(): ConfigOverride;
//# sourceMappingURL=development.d.ts.map

@@ -22,2 +22,1 @@ export default function getDevelopmentConfig() {

}
//# sourceMappingURL=development.js.map
import type { ConfigOverride } from './types';
export default function getE2eConfig(): ConfigOverride;
//# sourceMappingURL=e2e.d.ts.map

@@ -6,2 +6,1 @@ export default function getE2eConfig() {

}
//# sourceMappingURL=e2e.js.map
declare const _default: import("./types").ImmutableObject<import("./types").Config>;
export default _default;
//# sourceMappingURL=index.d.ts.map

@@ -47,2 +47,1 @@ import merge from 'lodash/merge';

export default getConfig();
//# sourceMappingURL=index.js.map
export {};
//# sourceMappingURL=index.test.d.ts.map

@@ -27,2 +27,1 @@ const APP_ENVS = ['development', 'test', 'staging', 'production'];

export {};
//# sourceMappingURL=index.test.js.map
import type { ConfigOverride } from './types';
export default function getProductionConfig(): ConfigOverride;
//# sourceMappingURL=production.d.ts.map

@@ -52,2 +52,6 @@ export default function getProductionConfig() {

},
WALLETS: {
HOST_URL: 'https://api.unstoppabledomains.com/wallet/v1',
GET_WALLET_URL: 'https://unstoppabledomains.com/cart?product=unstoppable-wallet',
},
XMTP: {

@@ -60,2 +64,1 @@ ENVIRONMENT: 'production',

}
//# sourceMappingURL=production.js.map
import type { ConfigOverride } from './types';
export default function getStagingConfig(): ConfigOverride;
//# sourceMappingURL=staging.d.ts.map

@@ -10,2 +10,1 @@ export default function getStagingConfig() {

}
//# sourceMappingURL=staging.js.map
import type { ConfigOverride } from './types';
export default function getTestConfig(): ConfigOverride;
//# sourceMappingURL=testing.d.ts.map

@@ -6,2 +6,1 @@ export default function getTestConfig() {

}
//# sourceMappingURL=testing.js.map

@@ -8,2 +8,3 @@ export type AppEnv = 'development' | 'test' | 'e2e' | 'staging' | 'production';

BLOCK_EXPLORER_BASE_URL: string;
BLOCK_EXPLORER_TX_URL: string;
DISABLE_CONTRACTS_CACHE: boolean;

@@ -16,2 +17,3 @@ };

ZNS_REGISTRY_ADDRESS: string;
BLOCK_EXPLORER_TX_URL: '';
};

@@ -23,10 +25,21 @@ export type EthereumBlockchainConfig = BaseBlockchainConfig & {

ENS_CONTRACT_ADDRESS: string;
OPEN_SEA_BASE_URL: 'https://opensea.io/assets/' | 'https://testnets.opensea.io/assets/' | 'https://testnets.opensea.io/assets/goerli/';
OPEN_SEA_BASE_URL: 'https://opensea.io/assets/' | 'https://testnets.opensea.io/assets/' | 'https://testnets.opensea.io/assets/sepolia/';
BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/sepolia-test/tx/' | 'https://www.oklink.com/eth/tx/';
};
export type MaticBlockchainConfig = BaseBlockchainConfig & {
CHAIN_ID: 80001 | 137 | 1337;
NETWORK_NAME: 'mumbai' | 'polygon-mainnet' | 'local';
CHAIN_ID: 80002 | 137 | 1337;
NETWORK_NAME: 'amoy' | 'polygon-mainnet' | 'local';
PROXY_READER_ADDRESS: string;
OPEN_SEA_BASE_URL: 'https://opensea.io/assets/matic/' | 'https://testnets.opensea.io/assets/mumbai/';
OPEN_SEA_BASE_URL: 'https://opensea.io/assets/matic/' | 'https://testnets.opensea.io/assets/amoy/';
BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/amoy/tx/' | 'https://www.oklink.com/polygon/tx/';
};
export type BitcoinBlockchainConfig = {
BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/btc/tx/';
};
export type SolanaBlockchainConfig = {
BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/sol/tx/';
};
export type BaseChainBlockchainConfig = {
BLOCK_EXPLORER_TX_URL: 'https://www.oklink.com/base/tx/';
};
export type Config = {

@@ -39,2 +52,5 @@ APP_ENV: AppEnv;

MATIC: MaticBlockchainConfig;
BTC: BitcoinBlockchainConfig;
SOL: SolanaBlockchainConfig;
BASE: BaseChainBlockchainConfig;
};

@@ -53,2 +69,5 @@ ASSETS_BUCKET_URL: string;

};
BUGSNAG: {
API_KEY: string;
};
COOKIE: {

@@ -68,2 +87,15 @@ SECURE: boolean;

};
WALLETS: {
HOST_URL: string;
GET_WALLET_URL: string;
LANDING_PAGE_URL: string;
DOCUMENTATION_URL: string;
CHAINS: {
BUY: string[];
RECEIVE: string[];
SEND: string[];
DOMAINS: string[];
};
SIGNATURE_SYMBOL: string;
};
VERIFICATION_SUPPORTED: string[];

@@ -82,2 +114,3 @@ PUSH: {

};
GATEWAY_API_KEY: string;
};

@@ -97,2 +130,1 @@ export type ConfigOverride = DeepPartial<Config>;

export type ImmutableSet<T> = ReadonlySet<Immutable<T>>;
//# sourceMappingURL=types.d.ts.map
export {};
//# sourceMappingURL=types.js.map
import env from './env';
export * from './launchdarkly';
export * from './bugsnag';
export type { DeepPartial } from './env/types';
export default env;
//# sourceMappingURL=index.d.ts.map
import env from './env';
export * from './launchdarkly';
export * from './bugsnag';
export default env;
//# sourceMappingURL=index.js.map
import type { LaunchDarklyFlagSet } from './types';
export declare const defaultFlagValues: LaunchDarklyFlagSet;
export default defaultFlagValues;
//# sourceMappingURL=defaultFlagValues.d.ts.map

@@ -9,2 +9,4 @@ export const defaultFlagValues = {

'ud-me-service-domains-enable-management': false,
'ud-me-service-domains-enable-fireblocks': false,
'ecommerce-service-users-enable-chat-community-udBlue': false,
'ecommerce-service-wallets-disable-badges': [],

@@ -15,2 +17,1 @@ 'example-number': 0,

export default defaultFlagValues;
//# sourceMappingURL=defaultFlagValues.js.map

@@ -5,2 +5,1 @@ export * from './keys';

export { defaultFlagValues } from './defaultFlagValues';
//# sourceMappingURL=index.d.ts.map

@@ -5,2 +5,1 @@ export * from './keys';

export { defaultFlagValues } from './defaultFlagValues';
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

export type LaunchDarklyBooleanKey = 'ecommerce-service-users-enable-chat' | 'ecommerce-service-users-enable-chat-community' | 'ecommerce-service-users-enable-chat-community-media' | 'ecommerce-service-users-enable-chat-support-bubble' | 'ecommerce-service-users-public-profile-address-verified-check' | 'ud-me-service-domains-enable-social-verification' | 'ud-me-service-domains-enable-management';
export type LaunchDarklyBooleanKey = 'ecommerce-service-users-enable-chat' | 'ecommerce-service-users-enable-chat-community' | 'ecommerce-service-users-enable-chat-community-media' | 'ecommerce-service-users-enable-chat-community-udBlue' | 'ecommerce-service-users-enable-chat-support-bubble' | 'ecommerce-service-users-public-profile-address-verified-check' | 'ud-me-service-domains-enable-social-verification' | 'ud-me-service-domains-enable-fireblocks' | 'ud-me-service-domains-enable-management';
export type LaunchDarklyNumberKey = 'example-number';

@@ -6,2 +6,1 @@ export type LaunchDarklyStringKey = 'example-string';

export type LaunchDarklyKey = LaunchDarklyBooleanKey | LaunchDarklyNumberKey | LaunchDarklyStringKey | LaunchDarklyJsonKey;
//# sourceMappingURL=keys.d.ts.map
export {};
//# sourceMappingURL=keys.js.map

@@ -13,2 +13,1 @@ import type { LaunchDarklyBooleanKey, LaunchDarklyJsonKey, LaunchDarklyNumberKey, LaunchDarklyStringKey } from './keys';

}
//# sourceMappingURL=types.d.ts.map
export {};
//# sourceMappingURL=types.js.map
import type { KebabToCamelCase, LaunchDarklyCamelFlagSet } from './types';
export declare const kebabToCamel: <T extends string>(str: T) => KebabToCamelCase<T>;
export declare const getLaunchDarklyDefaults: () => LaunchDarklyCamelFlagSet;
//# sourceMappingURL=utils.d.ts.map

@@ -14,2 +14,1 @@ import { camelCase } from 'lodash';

};
//# sourceMappingURL=utils.js.map
{
"name": "@unstoppabledomains/config",
"version": "0.0.7",
"version": "0.0.8-experimental.1",
"private": false,

@@ -19,2 +19,5 @@ "description": "Configuration variables for Unstoppable Domains environments",

"dependencies": {
"@bugsnag/browser-performance": "^2.2.0",
"@bugsnag/js": "^7.16.2",
"@bugsnag/plugin-react": "^7.16.2",
"@types/lodash": "^4.14.199",

@@ -21,0 +24,0 @@ "@types/lodash.merge": "^4.6.7",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc