New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dydxprotocol/v4-localization

Package Overview
Dependencies
Maintainers
2
Versions
337
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dydxprotocol/v4-localization - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

scripts/codegen_localization_notifications.swift

4

config/localization_notifications/en/app.json

@@ -23,2 +23,6 @@ {

},
"POSITION_CLOSED": {
"TITLE": "Position Closed",
"BODY": "Your position on {MARKET} has been closed."
},
"DEPOSIT_SUCCESS": {

@@ -25,0 +29,0 @@ "TITLE": "Deposit Succeeded",

3

index.ts
import countries from './config/countries.json';
import marketsV3 from './config/markets.json';
import marketsV4 from './v4/staging/markets.json';

@@ -13,2 +12,3 @@ import versionIos from './config/version_ios.json';

export { NOTIFICATIONS} from './config/localization_notifications';
export { NOTIFICATIONS_STRING_KEYS } from './scripts/generated/notifications';

@@ -19,3 +19,2 @@ export { DEV_ENDPOINTS, ENDPOINTS_STAGING, WALLETS_V2_STAGING } from './config/staging';

export const COUNTRIES = countries;
export const MARKETS_V3 = marketsV3;
export const MARKETS_V4 = marketsV4;

@@ -22,0 +21,0 @@ export const VERSION_IOS = versionIos;

{
"name": "@dydxprotocol/v4-localization",
"version": "0.0.18",
"version": "0.0.19",
"description": "v4 localization",

@@ -5,0 +5,0 @@ "main": "index.ts",

@@ -64,1 +64,6 @@ # Translation structures

'''
# Generating notifications.ts
'''
./codegen_localization_notifications.swift ../config/localization_notifications/en/app.json > ./generated/notifications.ts
'''
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