@dydxprotocol/v4-localization 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1321,11 +1321,11 @@
1321
1321
  "V4_DEVNET_4": "V4 Dev 4",
1322
1322
  "V4_DEVNET_5": "V4 Dev 5",
1323
1323
  "V4_STAGING": "V4 Staging",
1324
- "V4_TESTNET2": "V4 Testnet",
1325
- "V4_TESTNET2_DSRV": "V4 Testnet (DSRV)",
1326
- "V4_TESTNET2_DYDX": "V4 Testnet (dYdX)",
1327
- "V4_TESTNET2_NODEFLEET": "V4 Testnet (nodefleet)",
1328
- "V4_TESTNET3_IMPERATOR": "V4 Testnet3 (Imperator)"
1324
+ "V4_TESTNET": "V4 Testnet 3",
1325
+ "V4_TESTNET_DSRV": "V4 Testnet 3(DSRV)",
1326
+ "V4_TESTNET_DYDX": "V4 Testnet 3(dYdX)",
1327
+ "V4_TESTNET_NODEFLEET": "V4 Testnet 3(nodefleet)",
1328
+ "V4_TESTNET_IMPERATOR": "V4 Testnet 3(Imperator)"
1329
1329
  },
1330
1330
  "ERRORS": {
1331
1331
  "GENERAL": {
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "environments":[
3
3
  {
4
- "comment":"V4 Public Testnet #2",
4
+ "comment":"V4 Public Testnet #3",
5
5
  "environment":"dydxprotocol-testnet",
6
6
  "ethereumChainId":"5",
7
- "dydxChainId":"dydx-testnet-2",
8
- "string":"v4 Public Testnet #2",
9
- "stringKey":"CHAIN.V4_TESTNET2",
7
+ "dydxChainId":"dydx-testnet-3",
8
+ "string":"v4 Public Testnet #3",
9
+ "stringKey":"CHAIN.V4_TESTNET",
10
10
  "isMainNet":false,
11
11
  "version":"v4",
12
12
  "maxSubaccountNumber":127,
13
13
  "endpoints":{
14
14
  "indexers":[
15
15
  {
16
- "api":"https://indexer.v4testnet2.dydx.exchange",
17
- "socket":"wss://indexer.v4testnet2.dydx.exchange"
16
+ "api":"https://dydx-testnet.imperator.co",
17
+ "socket":"wss://dydx-testnet.imperator.co"
18
18
  }
19
19
  ],
20
20
  "validators":[
@@ -23,7 +23,7 @@
23
23
  ],
24
24
  "0xsquid":"https://squid-api-git-main-cosmos-mainnet-0xsquid.vercel.app",
25
25
  "configs":"https://dydx-v4-shared-resources.vercel.app",
26
- "faucet":"https://faucet.v4testnet2.dydx.exchange",
26
+ "faucet":"https://faucet.v4testnet.dydx.exchange",
27
27
  "statusPageUrl": "https://status.v4testnet.dydx.exchange/",
28
28
  "marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
29
29
  "tosUrl": "https://dydx.exchange/v4-terms",
@@ -206,29 +206,29 @@
206
206
  }
207
207
  },
208
208
  {
209
- "comment":"V4 Public Testnet #2",
209
+ "comment":"V4 Public Testnet #3",
210
210
  "environment":"dydxprotocol-testnet",
211
211
  "ethereumChainId":"5",
212
- "dydxChainId":"dydx-testnet-2",
213
- "string":"v4 Public Testnet #2",
214
- "stringKey":"CHAIN.V4_TESTNET2",
212
+ "dydxChainId":"dydx-testnet-3",
213
+ "string":"v4 Public Testnet #3",
214
+ "stringKey":"CHAIN.V4_TESTNET",
215
215
  "isMainNet":false,
216
216
  "version":"v4",
217
217
  "maxSubaccountNumber":127,
218
218
  "endpoints":{
219
219
  "indexers":[
220
220
  {
221
- "api":"https://indexer.v4testnet2.dydx.exchange",
222
- "socket":"wss://indexer.v4testnet2.dydx.exchange"
221
+ "api":"https://dydx-testnet.imperator.co",
222
+ "socket":"wss://dydx-testnet.imperator.co"
223
223
  }
224
224
  ],
225
225
  "validators":[
226
226
  "https://dydx-testnet.nodefleet.org",
227
227
  "https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
228
228
  ],
229
- "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app",
229
+ "0xsquid":"https://squid-api-git-main-cosmos-mainnet-0xsquid.vercel.app",
230
230
  "configs":"https://dydx-v4-shared-resources.vercel.app",
231
- "faucet":"https://faucet.v4testnet2.dydx.exchange",
231
+ "faucet":"https://faucet.v4testnet.dydx.exchange",
232
232
  "statusPageUrl": "https://status.v4testnet.dydx.exchange/",
233
233
  "marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
234
234
  "tosUrl": "https://dydx.exchange/v4-terms",
@@ -237,28 +237,28 @@
237
237
  }
238
238
  },
239
239
  {
240
- "comment":"V4 Public Testnet #2 dYdX Node",
240
+ "comment":"V4 Public Testnet #3 dYdX Node",
241
241
  "environment":"dydxprotocol-testnet-dydx",
242
242
  "ethereumChainId":"5",
243
- "dydxChainId":"dydx-testnet-2",
244
- "string":"v4 Public Testnet #2 dYdX Node",
245
- "stringKey":"CHAIN.V4_TESTNET2_DYDX",
243
+ "dydxChainId":"dydx-testnet-3",
244
+ "string":"v4 Public Testnet #3 dYdX Node",
245
+ "stringKey":"CHAIN.V4_TESTNET_DYDX",
246
246
  "isMainNet":false,
247
247
  "version":"v4",
248
248
  "maxSubaccountNumber":127,
249
249
  "endpoints":{
250
250
  "indexers":[
251
251
  {
252
- "api":"https://indexer.v4testnet2.dydx.exchange",
253
- "socket":"wss://indexer.v4testnet2.dydx.exchange"
252
+ "api":"https://indexer.v4testnet.dydx.exchange",
253
+ "socket":"wss://indexer.v4testnet.dydx.exchange"
254
254
  }
255
255
  ],
256
256
  "validators":[
257
- "https://validator.v4testnet2.dydx.exchange"
257
+ "https://validator.v4testnet.dydx.exchange"
258
258
  ],
259
259
  "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app",
260
260
  "configs":"https://dydx-v4-shared-resources.vercel.app",
261
- "faucet":"https://faucet.v4testnet2.dydx.exchange",
261
+ "faucet":"https://faucet.v4testnet.dydx.exchange",
262
262
  "statusPageUrl": "https://status.v4testnet.dydx.exchange/",
263
263
  "marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
264
264
  "tosUrl": "https://dydx.exchange/v4-terms",
@@ -267,20 +267,20 @@
267
267
  }
268
268
  },
269
269
  {
270
- "comment":"V4 Public Testnet #2 DSRV Node",
270
+ "comment":"V4 Public Testnet #3 DSRV Node",
271
271
  "environment":"dydxprotocol-testnet-dsrv",
272
272
  "ethereumChainId":"5",
273
- "dydxChainId":"dydx-testnet-2",
274
- "string":"v4 Public Testnet #2 DSRV Node",
275
- "stringKey":"CHAIN.V4_TESTNET2_DSRV",
273
+ "dydxChainId":"dydx-testnet-3",
274
+ "string":"v4 Public Testnet #3 DSRV Node",
275
+ "stringKey":"CHAIN.V4_TESTNET_DSRV",
276
276
  "isMainNet":false,
277
277
  "version":"v4",
278
278
  "maxSubaccountNumber":127,
279
279
  "endpoints":{
280
280
  "indexers":[
281
281
  {
282
- "api":"https://indexer.v4testnet2.dydx.exchange",
283
- "socket":"wss://indexer.v4testnet2.dydx.exchange"
282
+ "api":"https://dydx-testnet.imperator.co",
283
+ "socket":"wss://dydx-testnet.imperator.co"
284
284
  }
285
285
  ],
286
286
  "validators":[
@@ -288,7 +288,7 @@
288
288
  ],
289
289
  "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app",
290
290
  "configs":"https://dydx-v4-shared-resources.vercel.app",
291
- "faucet":"https://faucet.v4testnet2.dydx.exchange",
291
+ "faucet":"https://faucet.v4testnet.dydx.exchange",
292
292
  "statusPageUrl": "https://status.v4testnet.dydx.exchange/",
293
293
  "marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
294
294
  "tosUrl": "https://dydx.exchange/v4-terms",
@@ -297,20 +297,20 @@
297
297
  }
298
298
  },
299
299
  {
300
- "comment":"V4 Public Testnet #2 nodefleet Node",
300
+ "comment":"V4 Public Testnet #3 nodefleet Node",
301
301
  "environment":"dydxprotocol-testnet-nodefleet",
302
302
  "ethereumChainId":"5",
303
- "dydxChainId":"dydx-testnet-2",
304
- "string":"v4 Public Testnet #2 nodefleet Node",
305
- "stringKey":"CHAIN.V4_TESTNET2_NODEFLEET",
303
+ "dydxChainId":"dydx-testnet-3",
304
+ "string":"v4 Public Testnet #3 nodefleet Node",
305
+ "stringKey":"CHAIN.V4_TESTNET_NODEFLEET",
306
306
  "isMainNet":false,
307
307
  "version":"v4",
308
308
  "maxSubaccountNumber":127,
309
309
  "endpoints":{
310
310
  "indexers":[
311
311
  {
312
- "api":"https://indexer.v4testnet2.dydx.exchange",
313
- "socket":"wss://indexer.v4testnet2.dydx.exchange"
312
+ "api":"https://dydx-testnet.imperator.co",
313
+ "socket":"wss://dydx-testnet.imperator.co"
314
314
  }
315
315
  ],
316
316
  "validators":[
@@ -318,7 +318,7 @@
318
318
  ],
319
319
  "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app",
320
320
  "configs":"https://dydx-v4-shared-resources.vercel.app",
321
- "faucet":"https://faucet.v4testnet2.dydx.exchange",
321
+ "faucet":"https://faucet.v4testnet.dydx.exchange",
322
322
  "statusPageUrl": "https://status.v4testnet.dydx.exchange/",
323
323
  "marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
324
324
  "tosUrl": "https://dydx.exchange/v4-terms",
@@ -332,7 +332,7 @@
332
332
  "ethereumChainId":"5",
333
333
  "dydxChainId":"dydx-testnet-3",
334
334
  "string":"v4 Public Testnet #3 Imperator Indexer",
335
- "stringKey":"CHAIN.V4_TESTNET3_IMPERATOR",
335
+ "stringKey":"CHAIN.V4_TESTNET_IMPERATOR",
336
336
  "isMainNet":false,
337
337
  "version":"v4",
338
338
  "maxSubaccountNumber":127,
@@ -148,29 +148,29 @@
148
148
  }
149
149
  },
150
150
  {
151
- "comment":"V4 Public Testnet #2",
151
+ "comment":"V4 Public Testnet #3",
152
152
  "environment":"dydxprotocol-testnet",
153
153
  "ethereumChainId":"5",
154
- "dydxChainId":"dydx-testnet-2",
155
- "string":"v4 Public Testnet #2",
156
- "stringKey":"CHAIN.V4_TESTNET2",
154
+ "dydxChainId":"dydx-testnet-3",
155
+ "string":"v4 Public Testnet #3",
156
+ "stringKey":"CHAIN.V4_TESTNET",
157
157
  "isMainNet":false,
158
158
  "version":"v4",
159
159
  "maxSubaccountNumber":127,
160
160
  "endpoints":{
161
161
  "indexers":[
162
162
  {
163
- "api":"https://indexer.v4testnet2.dydx.exchange",
164
- "socket":"wss://indexer.v4testnet2.dydx.exchange"
163
+ "api":"https://dydx-testnet.imperator.co",
164
+ "socket":"wss://dydx-testnet.imperator.co"
165
165
  }
166
166
  ],
167
167
  "validators":[
168
168
  "https://dydx-testnet.nodefleet.org",
169
169
  "https://dydx-testnet-archive.allthatnode.com:26657/XZvMM41hESf8PJrEQiTzbCOMVyFca79R"
170
170
  ],
171
- "0xsquid":"https://squid-api-git-main-cosmos-testnet-0xsquid.vercel.app",
171
+ "0xsquid":"https://squid-api-git-main-cosmos-mainnet-0xsquid.vercel.app",
172
172
  "configs":"https://dydx-v4-shared-resources.vercel.app",
173
- "faucet":"https://faucet.v4testnet2.dydx.exchange",
173
+ "faucet":"https://faucet.v4testnet.dydx.exchange",
174
174
  "statusPageUrl": "https://status.v4testnet.dydx.exchange/",
175
175
  "marketImageUrl": "https://v4.testnet.dydx.exchange/currencies/{asset}.png",
176
176
  "tosUrl": "https://dydx.exchange/v4-terms",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-localization",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "v4 localization",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  // !! GENERATED FILE - DO NOT EDIT
2
2
 
3
- // Generated from ./config/localization/en/app.json using scripts/codegen_localization_app.swift
3
+ // Generated from ../config/localization/en/app.json using ./codegen_localization_app.swift
4
4
 
5
5
  export const APP_STRING_KEYS = {
6
6
 
@@ -1357,11 +1357,11 @@ export const CHAIN_STRING_KEYS = {
1357
1357
  V4_DEVNET_4: 'CHAIN.V4_DEVNET_4',
1358
1358
  V4_DEVNET_5: 'CHAIN.V4_DEVNET_5',
1359
1359
  V4_STAGING: 'CHAIN.V4_STAGING',
1360
- V4_TESTNET2: 'CHAIN.V4_TESTNET2',
1361
- V4_TESTNET2_DSRV: 'CHAIN.V4_TESTNET2_DSRV',
1362
- V4_TESTNET2_DYDX: 'CHAIN.V4_TESTNET2_DYDX',
1363
- V4_TESTNET2_NODEFLEET: 'CHAIN.V4_TESTNET2_NODEFLEET',
1364
- V4_TESTNET3_IMPERATOR: 'CHAIN.V4_TESTNET3_IMPERATOR',
1360
+ V4_TESTNET: 'CHAIN.V4_TESTNET',
1361
+ V4_TESTNET_DSRV: 'CHAIN.V4_TESTNET_DSRV',
1362
+ V4_TESTNET_DYDX: 'CHAIN.V4_TESTNET_DYDX',
1363
+ V4_TESTNET_IMPERATOR: 'CHAIN.V4_TESTNET_IMPERATOR',
1364
+ V4_TESTNET_NODEFLEET: 'CHAIN.V4_TESTNET_NODEFLEET',
1365
1365
  };
1366
1366
 
1367
1367
  export const ERRORS_STRING_KEYS = {
@@ -20,6 +20,8 @@ export const NOTIFICATIONS_STRING_KEYS = {
20
20
  ORDER_PARTIAL_FILL_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_PARTIAL_FILL.TITLE',
21
21
  ORDER_TRIGGERED_BODY: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_TRIGGERED.BODY',
22
22
  ORDER_TRIGGERED_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.ORDER_TRIGGERED.TITLE',
23
+ POSITION_CLOSED_BODY: 'NOTIFICATIONS.NOTIFICATIONS.POSITION_CLOSED.BODY',
24
+ POSITION_CLOSED_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.POSITION_CLOSED.TITLE',
23
25
  SLOW_WITHDRAWAL_PENDING_BODY: 'NOTIFICATIONS.NOTIFICATIONS.SLOW_WITHDRAWAL_PENDING.BODY',
24
26
  SLOW_WITHDRAWAL_PENDING_TITLE: 'NOTIFICATIONS.NOTIFICATIONS.SLOW_WITHDRAWAL_PENDING.TITLE',
25
27
  SLOW_WITHDRAWAL_SUCCESS_BODY: 'NOTIFICATIONS.NOTIFICATIONS.SLOW_WITHDRAWAL_SUCCESS.BODY',