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

@unstoppabledomains/config

Package Overview
Dependencies
Maintainers
7
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.17 to 0.0.18

119

env/default.js

@@ -117,2 +117,121 @@ export default function getDefaultConfig() {

},
SWAP: {
EXCHANGE_HOST_URL: 'https://swap.prod.swing.xyz/v0',
PLATFORM_HOST_URL: 'https://platform.swing.xyz/api/v1/projects/unstoppable-domains-staging',
API_KEY: 'swing-8faf57ed-6f1d-4dbc-94a0-00c28bd1a277',
ENVIRONMENT: 'testnet',
PROJECT_ID: 'unstoppable-domains-staging',
FEE_BPS: 85,
MIN_BALANCE_USD: 5,
SUPPORTED_TOKENS: {
SOURCE: [
{
swing: {
chain: 'sepolia',
symbol: 'ETH',
type: 'native',
},
walletType: 'ETH',
chainName: 'Ethereum',
chainSymbol: 'ETH',
tokenSymbol: 'ETH',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/ETH/icon.svg',
environment: 'staging',
},
{
swing: {
chain: 'polygon-amoy',
symbol: 'POL',
type: 'native',
},
walletType: 'MATIC',
chainName: 'Polygon',
chainSymbol: 'MATIC',
tokenSymbol: 'MATIC',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/MATIC/icon.svg',
environment: 'staging',
},
{
swing: {
chain: 'polygon-amoy',
symbol: 'USDC',
type: 'erc20',
},
walletType: 'MATIC',
chainName: 'Polygon',
chainSymbol: 'MATIC',
tokenSymbol: 'USDC',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/USDC/icon.svg',
environment: 'staging',
},
],
DESTINATION: [
{
swing: {
chain: 'sepolia',
symbol: 'ETH',
type: 'native',
},
walletType: 'ETH',
chainName: 'Ethereum',
chainSymbol: 'ETH',
tokenSymbol: 'ETH',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/ETH/icon.svg',
environment: 'staging',
},
{
swing: {
chain: 'arbitrum-sepolia',
symbol: 'ETH',
type: 'native',
},
walletType: 'ETH',
chainName: 'Arbitrum',
chainSymbol: 'ARB',
tokenSymbol: 'ETH',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/ARB/icon.svg',
environment: 'staging',
},
{
swing: {
chain: 'solana-dev',
symbol: 'SOL',
type: 'native',
},
walletType: 'SOL',
chainName: 'Solana',
chainSymbol: 'SOL',
tokenSymbol: 'SOL',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/SOL/icon.svg',
environment: 'staging',
},
{
swing: {
chain: 'bitcoin-testnet',
symbol: 'BTC',
type: 'native',
},
walletType: 'BTC',
chainName: 'Bitcoin',
chainSymbol: 'BTC',
tokenSymbol: 'BTC',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/BTC/icon.svg',
environment: 'staging',
},
{
swing: {
chain: 'base-sepolia',
symbol: 'ETH',
type: 'native',
},
walletType: 'BASE',
chainName: 'Base',
chainSymbol: 'BASE',
tokenSymbol: 'ETH',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/BASE/icon.svg',
environment: 'staging',
},
],
},
},
MOBILE: {

@@ -119,0 +238,0 @@ ANDROID_URL: 'https://play.google.com/store/apps/details?id=com.unstoppabledomains.manager',

@@ -57,2 +57,118 @@ export default function getProductionConfig() {

GET_WALLET_URL: 'https://unstoppabledomains.com/cart?product=unstoppable-wallet',
SWAP: {
PLATFORM_HOST_URL: 'https://platform.swing.xyz/api/v1/projects/unstoppable-domains',
API_KEY: 'swing-37b05c4c-0b6d-43a8-ad54-7bd7168af0ee',
ENVIRONMENT: 'production',
PROJECT_ID: 'unstoppable-domains',
SUPPORTED_TOKENS: {
SOURCE: [
{
swing: {
chain: 'ethereum',
symbol: 'ETH',
type: 'native',
},
walletType: 'ETH',
chainName: 'Ethereum',
chainSymbol: 'ETH',
tokenSymbol: 'ETH',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/ETH/icon.svg',
environment: 'production',
},
{
swing: {
chain: 'polygon',
symbol: 'POL',
type: 'native',
},
walletType: 'MATIC',
chainName: 'Polygon',
chainSymbol: 'MATIC',
tokenSymbol: 'MATIC',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/MATIC/icon.svg',
environment: 'production',
},
{
swing: {
chain: 'base',
symbol: 'ETH',
type: 'native',
},
walletType: 'BASE',
chainName: 'Base',
chainSymbol: 'BASE',
tokenSymbol: 'ETH',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/BASE/icon.svg',
environment: 'production',
},
],
DESTINATION: [
{
swing: {
chain: 'ethereum',
symbol: 'ETH',
type: 'native',
},
walletType: 'ETH',
chainName: 'Ethereum',
chainSymbol: 'ETH',
tokenSymbol: 'ETH',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/ETH/icon.svg',
environment: 'production',
},
{
swing: {
chain: 'solana',
symbol: 'SOL',
type: 'native',
},
walletType: 'SOL',
chainName: 'Solana',
chainSymbol: 'SOL',
tokenSymbol: 'SOL',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/SOL/icon.svg',
environment: 'production',
},
{
swing: {
chain: 'bitcoin',
symbol: 'BTC',
type: 'native',
},
walletType: 'BTC',
chainName: 'Bitcoin',
chainSymbol: 'BTC',
tokenSymbol: 'BTC',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/BTC/icon.svg',
environment: 'production',
},
{
swing: {
chain: 'polygon',
symbol: 'POL',
type: 'native',
},
walletType: 'MATIC',
chainName: 'Polygon',
chainSymbol: 'MATIC',
tokenSymbol: 'MATIC',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/MATIC/icon.svg',
environment: 'production',
},
{
swing: {
chain: 'base',
symbol: 'ETH',
type: 'native',
},
walletType: 'BASE',
chainName: 'Base',
chainSymbol: 'BASE',
tokenSymbol: 'ETH',
imageUrl: 'https://images.unstoppabledomains.com/images/icons/BASE/icon.svg',
environment: 'production',
},
],
},
},
},

@@ -59,0 +175,0 @@ XMTP: {

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

};
export interface SwapConfig {
swing: {
chain: string;
symbol: string;
type: 'erc20' | 'native';
};
walletType: string;
chainName: string;
chainSymbol: string;
tokenSymbol: string;
imageUrl: string;
environment: string;
}
export type Config = {

@@ -97,2 +110,15 @@ APP_ENV: AppEnv;

};
SWAP: {
PLATFORM_HOST_URL: string;
EXCHANGE_HOST_URL: string;
API_KEY: string;
ENVIRONMENT: string;
PROJECT_ID: string;
FEE_BPS?: number;
MIN_BALANCE_USD: number;
SUPPORTED_TOKENS: {
SOURCE: SwapConfig[];
DESTINATION: SwapConfig[];
};
};
SIGNATURE_SYMBOL: string;

@@ -99,0 +125,0 @@ MOBILE: {

1

launchdarkly/defaultFlagValues.js

@@ -13,2 +13,3 @@ export const defaultFlagValues = {

'ud-me-service-domains-enable-fireblocks': false,
'ud-me-service-enable-swap': false,
'ecommerce-service-users-enable-chat-community-udBlue': false,

@@ -15,0 +16,0 @@ 'ecommerce-service-wallets-disable-badges': [],

2

launchdarkly/keys.d.ts

@@ -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-community-udBlue' | 'ecommerce-service-users-enable-chat-support-bubble' | 'ecommerce-service-users-public-profile-address-verified-check' | 'profile-service-enable-wallet-creation' | 'profile-service-enable-wallet-identity' | 'profile-service-enable-wallet-send-to-email' | 'ud-me-service-domains-enable-social-verification' | 'ud-me-service-domains-enable-fireblocks' | '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' | 'profile-service-enable-wallet-creation' | 'profile-service-enable-wallet-identity' | 'profile-service-enable-wallet-send-to-email' | 'ud-me-service-domains-enable-social-verification' | 'ud-me-service-domains-enable-fireblocks' | 'ud-me-service-domains-enable-management' | 'ud-me-service-enable-swap';
export type LaunchDarklyNumberKey = 'example-number';

@@ -3,0 +3,0 @@ export type LaunchDarklyStringKey = 'example-string';

{
"name": "@unstoppabledomains/config",
"version": "0.0.17",
"version": "0.0.18",
"private": false,

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

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