@nadohq/nuanze-client 0.42.0 → 0.43.0

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.
Files changed (78) hide show
  1. package/dist/{NuanzeClient-ILfa7B1C.cjs → NuanzeClient-uL24b7LV.cjs} +10 -8
  2. package/dist/NuanzeClient-uL24b7LV.cjs.map +1 -0
  3. package/dist/NuanzeClient.cjs +1 -1
  4. package/dist/NuanzeClient.d.cts +10 -8
  5. package/dist/NuanzeClient.d.cts.map +1 -1
  6. package/dist/NuanzeClient.d.ts +10 -8
  7. package/dist/NuanzeClient.d.ts.map +1 -1
  8. package/dist/NuanzeClient.js +9 -7
  9. package/dist/NuanzeClient.js.map +1 -1
  10. package/dist/{NuanzeServerFailureError-CMeSnmPF.d.cts → NuanzeServerFailureError-BPgOv2fb.d.cts} +3 -3
  11. package/dist/{NuanzeServerFailureError-CMeSnmPF.d.cts.map → NuanzeServerFailureError-BPgOv2fb.d.cts.map} +1 -1
  12. package/dist/{NuanzeServerFailureError-C2iF5q-P.d.ts → NuanzeServerFailureError-DQ_Nf2c4.d.ts} +3 -3
  13. package/dist/{NuanzeServerFailureError-C2iF5q-P.d.ts.map → NuanzeServerFailureError-DQ_Nf2c4.d.ts.map} +1 -1
  14. package/dist/{clientModelTypes-DNPU1Q4B.d.ts → clientModelTypes-BypVSi04.d.ts} +6 -2
  15. package/dist/{clientModelTypes-DNPU1Q4B.d.ts.map → clientModelTypes-BypVSi04.d.ts.map} +1 -1
  16. package/dist/{clientModelTypes-YrD7pXq6.d.cts → clientModelTypes-QGu6fZtg.d.cts} +6 -2
  17. package/dist/{clientModelTypes-YrD7pXq6.d.cts.map → clientModelTypes-QGu6fZtg.d.cts.map} +1 -1
  18. package/dist/{clientTypes-CpOcZ6ST.d.ts → clientTypes-BeCLgtYs.d.cts} +11 -7
  19. package/dist/clientTypes-BeCLgtYs.d.cts.map +1 -0
  20. package/dist/{clientTypes-COeQAlKN.d.cts → clientTypes-DxWzvYkG.d.ts} +11 -7
  21. package/dist/clientTypes-DxWzvYkG.d.ts.map +1 -0
  22. package/dist/dataMappers.cjs +14 -4
  23. package/dist/dataMappers.cjs.map +1 -1
  24. package/dist/dataMappers.d.cts +5 -5
  25. package/dist/dataMappers.d.cts.map +1 -1
  26. package/dist/dataMappers.d.ts +5 -5
  27. package/dist/dataMappers.d.ts.map +1 -1
  28. package/dist/dataMappers.js +13 -3
  29. package/dist/dataMappers.js.map +1 -1
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.d.cts +6 -6
  32. package/dist/index.d.ts +6 -6
  33. package/dist/nuanzeErrorCodes-BJA7C7xg.d.cts +12 -0
  34. package/dist/nuanzeErrorCodes-BJA7C7xg.d.cts.map +1 -0
  35. package/dist/nuanzeErrorCodes-BXfbZV_p.d.ts +12 -0
  36. package/dist/nuanzeErrorCodes-BXfbZV_p.d.ts.map +1 -0
  37. package/dist/{serverModelTypes-BJzL4GkE.d.cts → serverModelTypes-6Yh2CDPU.d.ts} +5 -3
  38. package/dist/{serverModelTypes-Ch4IifDo.d.ts.map → serverModelTypes-6Yh2CDPU.d.ts.map} +1 -1
  39. package/dist/{serverModelTypes-Ch4IifDo.d.ts → serverModelTypes-Boq1Oei1.d.cts} +5 -3
  40. package/dist/{serverModelTypes-BJzL4GkE.d.cts.map → serverModelTypes-Boq1Oei1.d.cts.map} +1 -1
  41. package/dist/{serverQueryTypes-BDI5rETc.d.ts → serverQueryTypes-ExbYAkBm.d.ts} +4 -4
  42. package/dist/{serverQueryTypes-BDI5rETc.d.ts.map → serverQueryTypes-ExbYAkBm.d.ts.map} +1 -1
  43. package/dist/{serverQueryTypes-RBQQXK5Y.d.cts → serverQueryTypes-FSvlSr7y.d.cts} +4 -4
  44. package/dist/{serverQueryTypes-RBQQXK5Y.d.cts.map → serverQueryTypes-FSvlSr7y.d.cts.map} +1 -1
  45. package/dist/types/NuanzeServerFailureError.d.cts +1 -1
  46. package/dist/types/NuanzeServerFailureError.d.ts +1 -1
  47. package/dist/types/clientModelTypes.cjs.map +1 -1
  48. package/dist/types/clientModelTypes.d.cts +1 -1
  49. package/dist/types/clientModelTypes.d.ts +1 -1
  50. package/dist/types/clientModelTypes.js.map +1 -1
  51. package/dist/types/clientTypes.d.cts +1 -1
  52. package/dist/types/clientTypes.d.ts +1 -1
  53. package/dist/types/index.d.cts +6 -6
  54. package/dist/types/index.d.ts +6 -6
  55. package/dist/types/nuanzeErrorCodes.cjs +5 -8
  56. package/dist/types/nuanzeErrorCodes.cjs.map +1 -1
  57. package/dist/types/nuanzeErrorCodes.d.cts +1 -1
  58. package/dist/types/nuanzeErrorCodes.d.ts +1 -1
  59. package/dist/types/nuanzeErrorCodes.js +5 -8
  60. package/dist/types/nuanzeErrorCodes.js.map +1 -1
  61. package/dist/types/serverModelTypes.d.cts +1 -1
  62. package/dist/types/serverModelTypes.d.ts +1 -1
  63. package/dist/types/serverQueryTypes.d.cts +1 -1
  64. package/dist/types/serverQueryTypes.d.ts +1 -1
  65. package/package.json +3 -3
  66. package/src/NuanzeClient.ts +9 -7
  67. package/src/dataMappers.ts +18 -5
  68. package/src/types/clientModelTypes.ts +8 -1
  69. package/src/types/clientTypes.ts +9 -5
  70. package/src/types/nuanzeErrorCodes.ts +5 -8
  71. package/src/types/serverModelTypes.ts +6 -1
  72. package/dist/NuanzeClient-ILfa7B1C.cjs.map +0 -1
  73. package/dist/clientTypes-COeQAlKN.d.cts.map +0 -1
  74. package/dist/clientTypes-CpOcZ6ST.d.ts.map +0 -1
  75. package/dist/nuanzeErrorCodes-DMoRcCHK.d.cts +0 -14
  76. package/dist/nuanzeErrorCodes-DMoRcCHK.d.cts.map +0 -1
  77. package/dist/nuanzeErrorCodes-DewKYqCe.d.ts +0 -14
  78. package/dist/nuanzeErrorCodes-DewKYqCe.d.ts.map +0 -1
@@ -1,9 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  //#region src/types/nuanzeErrorCodes.ts
3
3
  /**
4
- * Error codes returned by the Nuanze API, in the order the service declares them. The codes are part
5
- * of the published contract and additive only, so a client release can only ever lag behind on new
6
- * ones - it never has to unlearn a code.
4
+ * Error codes in the current published Nuanze API contract, in service declaration order.
7
5
  */
8
6
  const NUANZE_ERROR_CODES = [
9
7
  "BAD_REQUEST",
@@ -15,16 +13,15 @@ const NUANZE_ERROR_CODES = [
15
13
  "MARKET_SELECTOR_MISMATCH",
16
14
  "MARKET_NOT_FOUND",
17
15
  "WALLET_NOT_FOUND",
18
- "USERNAME_NOT_FOUND",
19
16
  "UNSUPPORTED_INTERVAL",
20
17
  "UNSUPPORTED_BUCKET",
21
18
  "RANGE_TOO_LARGE",
22
- "NOT_FOUND",
23
- "METHOD_NOT_ALLOWED",
24
19
  "PAYLOAD_TOO_LARGE",
25
- "INTERNAL_ERROR",
20
+ "METHOD_NOT_ALLOWED",
21
+ "RATE_LIMITED",
22
+ "GATEWAY_TIMEOUT",
26
23
  "DEPENDENCY_UNAVAILABLE",
27
- "GATEWAY_TIMEOUT"
24
+ "INTERNAL_ERROR"
28
25
  ];
29
26
  //#endregion
30
27
  exports.NUANZE_ERROR_CODES = NUANZE_ERROR_CODES;
@@ -1 +1 @@
1
- {"version":3,"file":"nuanzeErrorCodes.cjs","names":[],"sources":["../../src/types/nuanzeErrorCodes.ts"],"sourcesContent":["/**\n * Error codes returned by the Nuanze API, in the order the service declares them. The codes are part\n * of the published contract and additive only, so a client release can only ever lag behind on new\n * ones - it never has to unlearn a code.\n */\nexport const NUANZE_ERROR_CODES = [\n 'BAD_REQUEST',\n 'INVALID_CURSOR',\n 'CURSOR_FILTER_MISMATCH',\n 'INVALID_ADDRESS',\n 'INVALID_SUBACCOUNT',\n 'AMBIGUOUS_MARKET',\n 'MARKET_SELECTOR_MISMATCH',\n 'MARKET_NOT_FOUND',\n 'WALLET_NOT_FOUND',\n 'USERNAME_NOT_FOUND',\n 'UNSUPPORTED_INTERVAL',\n 'UNSUPPORTED_BUCKET',\n 'RANGE_TOO_LARGE',\n 'NOT_FOUND',\n 'METHOD_NOT_ALLOWED',\n 'PAYLOAD_TOO_LARGE',\n 'INTERNAL_ERROR',\n 'DEPENDENCY_UNAVAILABLE',\n 'GATEWAY_TIMEOUT',\n] as const;\n\n/**\n * Union of all known Nuanze API error codes.\n */\nexport type NuanzeErrorCode = (typeof NUANZE_ERROR_CODES)[number];\n"],"mappings":";;;;;;;AAKA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
1
+ {"version":3,"file":"nuanzeErrorCodes.cjs","names":[],"sources":["../../src/types/nuanzeErrorCodes.ts"],"sourcesContent":["/**\n * Error codes in the current published Nuanze API contract, in service declaration order.\n */\nexport const NUANZE_ERROR_CODES = [\n 'BAD_REQUEST',\n 'INVALID_CURSOR',\n 'CURSOR_FILTER_MISMATCH',\n 'INVALID_ADDRESS',\n 'INVALID_SUBACCOUNT',\n 'AMBIGUOUS_MARKET',\n 'MARKET_SELECTOR_MISMATCH',\n 'MARKET_NOT_FOUND',\n 'WALLET_NOT_FOUND',\n 'UNSUPPORTED_INTERVAL',\n 'UNSUPPORTED_BUCKET',\n 'RANGE_TOO_LARGE',\n 'PAYLOAD_TOO_LARGE',\n 'METHOD_NOT_ALLOWED',\n 'RATE_LIMITED',\n 'GATEWAY_TIMEOUT',\n 'DEPENDENCY_UNAVAILABLE',\n 'INTERNAL_ERROR',\n] as const;\n\n/**\n * Union of all known Nuanze API error codes.\n */\nexport type NuanzeErrorCode = (typeof NUANZE_ERROR_CODES)[number];\n"],"mappings":";;;;;AAGA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
@@ -1,2 +1,2 @@
1
- import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-DMoRcCHK.cjs";
1
+ import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-BJA7C7xg.cjs";
2
2
  export { NUANZE_ERROR_CODES, NuanzeErrorCode };
@@ -1,2 +1,2 @@
1
- import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-DewKYqCe.js";
1
+ import { n as NuanzeErrorCode, t as NUANZE_ERROR_CODES } from "../nuanzeErrorCodes-BXfbZV_p.js";
2
2
  export { NUANZE_ERROR_CODES, NuanzeErrorCode };
@@ -1,8 +1,6 @@
1
1
  //#region src/types/nuanzeErrorCodes.ts
2
2
  /**
3
- * Error codes returned by the Nuanze API, in the order the service declares them. The codes are part
4
- * of the published contract and additive only, so a client release can only ever lag behind on new
5
- * ones - it never has to unlearn a code.
3
+ * Error codes in the current published Nuanze API contract, in service declaration order.
6
4
  */
7
5
  const NUANZE_ERROR_CODES = [
8
6
  "BAD_REQUEST",
@@ -14,16 +12,15 @@ const NUANZE_ERROR_CODES = [
14
12
  "MARKET_SELECTOR_MISMATCH",
15
13
  "MARKET_NOT_FOUND",
16
14
  "WALLET_NOT_FOUND",
17
- "USERNAME_NOT_FOUND",
18
15
  "UNSUPPORTED_INTERVAL",
19
16
  "UNSUPPORTED_BUCKET",
20
17
  "RANGE_TOO_LARGE",
21
- "NOT_FOUND",
22
- "METHOD_NOT_ALLOWED",
23
18
  "PAYLOAD_TOO_LARGE",
24
- "INTERNAL_ERROR",
19
+ "METHOD_NOT_ALLOWED",
20
+ "RATE_LIMITED",
21
+ "GATEWAY_TIMEOUT",
25
22
  "DEPENDENCY_UNAVAILABLE",
26
- "GATEWAY_TIMEOUT"
23
+ "INTERNAL_ERROR"
27
24
  ];
28
25
  //#endregion
29
26
  export { NUANZE_ERROR_CODES };
@@ -1 +1 @@
1
- {"version":3,"file":"nuanzeErrorCodes.js","names":[],"sources":["../../src/types/nuanzeErrorCodes.ts"],"sourcesContent":["/**\n * Error codes returned by the Nuanze API, in the order the service declares them. The codes are part\n * of the published contract and additive only, so a client release can only ever lag behind on new\n * ones - it never has to unlearn a code.\n */\nexport const NUANZE_ERROR_CODES = [\n 'BAD_REQUEST',\n 'INVALID_CURSOR',\n 'CURSOR_FILTER_MISMATCH',\n 'INVALID_ADDRESS',\n 'INVALID_SUBACCOUNT',\n 'AMBIGUOUS_MARKET',\n 'MARKET_SELECTOR_MISMATCH',\n 'MARKET_NOT_FOUND',\n 'WALLET_NOT_FOUND',\n 'USERNAME_NOT_FOUND',\n 'UNSUPPORTED_INTERVAL',\n 'UNSUPPORTED_BUCKET',\n 'RANGE_TOO_LARGE',\n 'NOT_FOUND',\n 'METHOD_NOT_ALLOWED',\n 'PAYLOAD_TOO_LARGE',\n 'INTERNAL_ERROR',\n 'DEPENDENCY_UNAVAILABLE',\n 'GATEWAY_TIMEOUT',\n] as const;\n\n/**\n * Union of all known Nuanze API error codes.\n */\nexport type NuanzeErrorCode = (typeof NUANZE_ERROR_CODES)[number];\n"],"mappings":";;;;;;AAKA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
1
+ {"version":3,"file":"nuanzeErrorCodes.js","names":[],"sources":["../../src/types/nuanzeErrorCodes.ts"],"sourcesContent":["/**\n * Error codes in the current published Nuanze API contract, in service declaration order.\n */\nexport const NUANZE_ERROR_CODES = [\n 'BAD_REQUEST',\n 'INVALID_CURSOR',\n 'CURSOR_FILTER_MISMATCH',\n 'INVALID_ADDRESS',\n 'INVALID_SUBACCOUNT',\n 'AMBIGUOUS_MARKET',\n 'MARKET_SELECTOR_MISMATCH',\n 'MARKET_NOT_FOUND',\n 'WALLET_NOT_FOUND',\n 'UNSUPPORTED_INTERVAL',\n 'UNSUPPORTED_BUCKET',\n 'RANGE_TOO_LARGE',\n 'PAYLOAD_TOO_LARGE',\n 'METHOD_NOT_ALLOWED',\n 'RATE_LIMITED',\n 'GATEWAY_TIMEOUT',\n 'DEPENDENCY_UNAVAILABLE',\n 'INTERNAL_ERROR',\n] as const;\n\n/**\n * Union of all known Nuanze API error codes.\n */\nexport type NuanzeErrorCode = (typeof NUANZE_ERROR_CODES)[number];\n"],"mappings":";;;;AAGA,MAAa,qBAAqB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
@@ -1,2 +1,2 @@
1
- import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M as NuanzeServerWalletPosition, N as NuanzeServerWalletTrade, O as NuanzeServerSeriesPoint, S as NuanzeServerMarketTrade, T as NuanzeServerPlatformDeltas, _ as NuanzeServerMarketPositioningBase, a as NuanzeServerFollowedLeaderboardItem, b as NuanzeServerMarketPositioningResponse, c as NuanzeServerFundamentalsSocial, d as NuanzeServerFundingRate, f as NuanzeServerLatestTicker, g as NuanzeServerMarketPosition, h as NuanzeServerMarketDetail, i as NuanzeServerCollateralFlowPoint, j as NuanzeServerSubaccountLeaderboardItem, k as NuanzeServerSidePositioningCell, l as NuanzeServerFundamentalsValuation, m as NuanzeServerMarket, n as NuanzeServerCohortPositioningCell, o as NuanzeServerFundamentalsKeyData, p as NuanzeServerLeaderboardItem, r as NuanzeServerCollateralFlow, s as NuanzeServerFundamentalsPerformance, t as NuanzeServerCandle, u as NuanzeServerFundingObservation, v as NuanzeServerMarketPositioningCohortResponse, w as NuanzeServerOpenPosition, x as NuanzeServerMarketPositioningSideResponse, y as NuanzeServerMarketPositioningNotionalBucketResponse } from "../serverModelTypes-BJzL4GkE.cjs";
1
+ import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M as NuanzeServerWalletPosition, N as NuanzeServerWalletTrade, O as NuanzeServerSeriesPoint, S as NuanzeServerMarketTrade, T as NuanzeServerPlatformDeltas, _ as NuanzeServerMarketPositioningBase, a as NuanzeServerFollowedLeaderboardItem, b as NuanzeServerMarketPositioningResponse, c as NuanzeServerFundamentalsSocial, d as NuanzeServerFundingRate, f as NuanzeServerLatestTicker, g as NuanzeServerMarketPosition, h as NuanzeServerMarketDetail, i as NuanzeServerCollateralFlowPoint, j as NuanzeServerSubaccountLeaderboardItem, k as NuanzeServerSidePositioningCell, l as NuanzeServerFundamentalsValuation, m as NuanzeServerMarket, n as NuanzeServerCohortPositioningCell, o as NuanzeServerFundamentalsKeyData, p as NuanzeServerLeaderboardItem, r as NuanzeServerCollateralFlow, s as NuanzeServerFundamentalsPerformance, t as NuanzeServerCandle, u as NuanzeServerFundingObservation, v as NuanzeServerMarketPositioningCohortResponse, w as NuanzeServerOpenPosition, x as NuanzeServerMarketPositioningSideResponse, y as NuanzeServerMarketPositioningNotionalBucketResponse } from "../serverModelTypes-Boq1Oei1.cjs";
2
2
  export { NuanzeServerCandle, NuanzeServerCohortPositioningCell, NuanzeServerCollateralFlow, NuanzeServerCollateralFlowPoint, NuanzeServerFollowedLeaderboardItem, NuanzeServerFundamentalsKeyData, NuanzeServerFundamentalsPerformance, NuanzeServerFundamentalsSocial, NuanzeServerFundamentalsValuation, NuanzeServerFundingObservation, NuanzeServerFundingRate, NuanzeServerLatestTicker, NuanzeServerLeaderboardItem, NuanzeServerMarket, NuanzeServerMarketDetail, NuanzeServerMarketPosition, NuanzeServerMarketPositioningBase, NuanzeServerMarketPositioningCohortResponse, NuanzeServerMarketPositioningNotionalBucketResponse, NuanzeServerMarketPositioningResponse, NuanzeServerMarketPositioningSideResponse, NuanzeServerMarketTrade, NuanzeServerNotionalBucketPositioningCell, NuanzeServerOpenPosition, NuanzeServerPlatformDeltas, NuanzeServerPositioningCellBase, NuanzeServerPositioningTotals, NuanzeServerSeriesPoint, NuanzeServerSidePositioningCell, NuanzeServerStockFundamentals, NuanzeServerSubaccountLeaderboardItem, NuanzeServerWalletPosition, NuanzeServerWalletTrade };
@@ -1,2 +1,2 @@
1
- import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M as NuanzeServerWalletPosition, N as NuanzeServerWalletTrade, O as NuanzeServerSeriesPoint, S as NuanzeServerMarketTrade, T as NuanzeServerPlatformDeltas, _ as NuanzeServerMarketPositioningBase, a as NuanzeServerFollowedLeaderboardItem, b as NuanzeServerMarketPositioningResponse, c as NuanzeServerFundamentalsSocial, d as NuanzeServerFundingRate, f as NuanzeServerLatestTicker, g as NuanzeServerMarketPosition, h as NuanzeServerMarketDetail, i as NuanzeServerCollateralFlowPoint, j as NuanzeServerSubaccountLeaderboardItem, k as NuanzeServerSidePositioningCell, l as NuanzeServerFundamentalsValuation, m as NuanzeServerMarket, n as NuanzeServerCohortPositioningCell, o as NuanzeServerFundamentalsKeyData, p as NuanzeServerLeaderboardItem, r as NuanzeServerCollateralFlow, s as NuanzeServerFundamentalsPerformance, t as NuanzeServerCandle, u as NuanzeServerFundingObservation, v as NuanzeServerMarketPositioningCohortResponse, w as NuanzeServerOpenPosition, x as NuanzeServerMarketPositioningSideResponse, y as NuanzeServerMarketPositioningNotionalBucketResponse } from "../serverModelTypes-Ch4IifDo.js";
1
+ import { A as NuanzeServerStockFundamentals, C as NuanzeServerNotionalBucketPositioningCell, D as NuanzeServerPositioningTotals, E as NuanzeServerPositioningCellBase, M as NuanzeServerWalletPosition, N as NuanzeServerWalletTrade, O as NuanzeServerSeriesPoint, S as NuanzeServerMarketTrade, T as NuanzeServerPlatformDeltas, _ as NuanzeServerMarketPositioningBase, a as NuanzeServerFollowedLeaderboardItem, b as NuanzeServerMarketPositioningResponse, c as NuanzeServerFundamentalsSocial, d as NuanzeServerFundingRate, f as NuanzeServerLatestTicker, g as NuanzeServerMarketPosition, h as NuanzeServerMarketDetail, i as NuanzeServerCollateralFlowPoint, j as NuanzeServerSubaccountLeaderboardItem, k as NuanzeServerSidePositioningCell, l as NuanzeServerFundamentalsValuation, m as NuanzeServerMarket, n as NuanzeServerCohortPositioningCell, o as NuanzeServerFundamentalsKeyData, p as NuanzeServerLeaderboardItem, r as NuanzeServerCollateralFlow, s as NuanzeServerFundamentalsPerformance, t as NuanzeServerCandle, u as NuanzeServerFundingObservation, v as NuanzeServerMarketPositioningCohortResponse, w as NuanzeServerOpenPosition, x as NuanzeServerMarketPositioningSideResponse, y as NuanzeServerMarketPositioningNotionalBucketResponse } from "../serverModelTypes-6Yh2CDPU.js";
2
2
  export { NuanzeServerCandle, NuanzeServerCohortPositioningCell, NuanzeServerCollateralFlow, NuanzeServerCollateralFlowPoint, NuanzeServerFollowedLeaderboardItem, NuanzeServerFundamentalsKeyData, NuanzeServerFundamentalsPerformance, NuanzeServerFundamentalsSocial, NuanzeServerFundamentalsValuation, NuanzeServerFundingObservation, NuanzeServerFundingRate, NuanzeServerLatestTicker, NuanzeServerLeaderboardItem, NuanzeServerMarket, NuanzeServerMarketDetail, NuanzeServerMarketPosition, NuanzeServerMarketPositioningBase, NuanzeServerMarketPositioningCohortResponse, NuanzeServerMarketPositioningNotionalBucketResponse, NuanzeServerMarketPositioningResponse, NuanzeServerMarketPositioningSideResponse, NuanzeServerMarketTrade, NuanzeServerNotionalBucketPositioningCell, NuanzeServerOpenPosition, NuanzeServerPlatformDeltas, NuanzeServerPositioningCellBase, NuanzeServerPositioningTotals, NuanzeServerSeriesPoint, NuanzeServerSidePositioningCell, NuanzeServerStockFundamentals, NuanzeServerSubaccountLeaderboardItem, NuanzeServerWalletPosition, NuanzeServerWalletTrade };
@@ -1,2 +1,2 @@
1
- import { S as isNuanzeServerFailureResponse, _ as NuanzeServerWalletPnlResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletSummaryResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerSubaccountLeaderboardResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPnlSeriesResponse, x as NuanzeServerWalletTradesResponse, y as NuanzeServerWalletPositionsResponse } from "../serverQueryTypes-RBQQXK5Y.cjs";
1
+ import { S as isNuanzeServerFailureResponse, _ as NuanzeServerWalletPnlResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletSummaryResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerSubaccountLeaderboardResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPnlSeriesResponse, x as NuanzeServerWalletTradesResponse, y as NuanzeServerWalletPositionsResponse } from "../serverQueryTypes-FSvlSr7y.cjs";
2
2
  export { NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundingRatesResponse, NuanzeServerLeaderboardResponse, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformSummaryResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTradesResponse, isNuanzeServerFailureResponse };
@@ -1,2 +1,2 @@
1
- import { S as isNuanzeServerFailureResponse, _ as NuanzeServerWalletPnlResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletSummaryResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerSubaccountLeaderboardResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPnlSeriesResponse, x as NuanzeServerWalletTradesResponse, y as NuanzeServerWalletPositionsResponse } from "../serverQueryTypes-BDI5rETc.js";
1
+ import { S as isNuanzeServerFailureResponse, _ as NuanzeServerWalletPnlResponse, a as NuanzeServerFollowedLeaderboardResponse, b as NuanzeServerWalletSummaryResponse, c as NuanzeServerMarketByTickerResponse, d as NuanzeServerMarketTradesResponse, f as NuanzeServerMarketsResponse, g as NuanzeServerSubaccountLeaderboardResponse, h as NuanzeServerPlatformSummaryResponse, i as NuanzeServerFailureResponse, l as NuanzeServerMarketCandlesResponse, m as NuanzeServerOpenPositionsResponse, n as NuanzeServerCollateralFlowSummaryResponse, o as NuanzeServerFundingRatesResponse, p as NuanzeServerNewsResponse, r as NuanzeServerCollateralFlowsResponse, s as NuanzeServerLeaderboardResponse, t as NuanzeServerCollateralFlowSeriesResponse, u as NuanzeServerMarketPositionsResponse, v as NuanzeServerWalletPnlSeriesResponse, x as NuanzeServerWalletTradesResponse, y as NuanzeServerWalletPositionsResponse } from "../serverQueryTypes-ExbYAkBm.js";
2
2
  export { NuanzeServerCollateralFlowSeriesResponse, NuanzeServerCollateralFlowSummaryResponse, NuanzeServerCollateralFlowsResponse, NuanzeServerFailureResponse, NuanzeServerFollowedLeaderboardResponse, NuanzeServerFundingRatesResponse, NuanzeServerLeaderboardResponse, NuanzeServerMarketByTickerResponse, NuanzeServerMarketCandlesResponse, NuanzeServerMarketPositionsResponse, NuanzeServerMarketTradesResponse, NuanzeServerMarketsResponse, NuanzeServerNewsResponse, NuanzeServerOpenPositionsResponse, NuanzeServerPlatformSummaryResponse, NuanzeServerSubaccountLeaderboardResponse, NuanzeServerWalletPnlResponse, NuanzeServerWalletPnlSeriesResponse, NuanzeServerWalletPositionsResponse, NuanzeServerWalletSummaryResponse, NuanzeServerWalletTradesResponse, isNuanzeServerFailureResponse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadohq/nuanze-client",
3
- "version": "0.42.0",
3
+ "version": "0.43.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "HTTP client for the Nuanze public analytics API - markets, wallets, trades, candles, flows, positioning, and open positions",
@@ -41,7 +41,7 @@
41
41
  "module": "./dist/index.js",
42
42
  "types": "./dist/index.d.ts",
43
43
  "dependencies": {
44
- "@nadohq/shared": "^0.42.0",
44
+ "@nadohq/shared": "^0.43.0",
45
45
  "axios": "1.16.1"
46
46
  },
47
47
  "peerDependencies": {
@@ -50,5 +50,5 @@
50
50
  "devDependencies": {
51
51
  "bignumber.js": "11.1.1"
52
52
  },
53
- "gitHead": "f9db267e3f3a3068f2197faee9b1b827157f33b1"
53
+ "gitHead": "00c909b8d77577f5fdc801faafaa8f724a029dd7"
54
54
  }
@@ -251,12 +251,12 @@ export class NuanzeClient {
251
251
  }
252
252
 
253
253
  /**
254
- * Gets a keyset-paginated leaderboard for every subaccount a username actively follows, sorted
255
- * by PnL descending with nulls last. Subaccounts with no PnL in the window are included by
256
- * default with null PnL/rank, zero counts, and no products.
254
+ * Gets a keyset-paginated leaderboard for every subaccount a supplied bytes32 subaccount actively
255
+ * follows, sorted by PnL descending with nulls last. The follower does not need a claimed
256
+ * username. Subaccounts with no PnL in the window are included by default with null PnL/rank,
257
+ * zero counts, and no products. Private subaccounts are excluded unless `includePrivate=true`.
257
258
  *
258
- * @throws {NuanzeServerFailureError} With `BAD_REQUEST` when params are invalid, or
259
- * `USERNAME_NOT_FOUND` when the supplied username has no claimed identity.
259
+ * @throws {NuanzeServerFailureError} With `BAD_REQUEST` when params are invalid.
260
260
  */
261
261
  async getFollowedLeaderboard(
262
262
  params: GetNuanzeFollowedLeaderboardParams,
@@ -487,7 +487,8 @@ export class NuanzeClient {
487
487
  * Lists open perpetual position legs for the resolved market. Results default to absolute
488
488
  * notional descending and can be ordered by signed unrealized PnL or absolute base amount in
489
489
  * either direction. Spot markets are not supported. Legs below $10 absolute notional are excluded.
490
- * Wallet addresses and signed exact base amounts are returned.
490
+ * Wallet addresses, nullable synced usernames and display names, and signed exact base amounts
491
+ * are returned.
491
492
  *
492
493
  * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`,
493
494
  * `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, or `BAD_REQUEST` on invalid input, and
@@ -509,7 +510,8 @@ export class NuanzeClient {
509
510
  * Lists current open perpetual position legs across every market by signed unrealized PnL.
510
511
  * Descending returns the largest gainers and ascending returns the largest losers. This is a
511
512
  * latest indexed snapshot with no timeframe. Legs below $10 absolute notional are excluded.
512
- * Each row includes market identity and its source snapshot timestamp.
513
+ * Private subaccounts are excluded unless `includePrivate=true`. Each row includes market
514
+ * identity and its source snapshot timestamp.
513
515
  *
514
516
  * @throws {NuanzeServerFailureError} With `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, or
515
517
  * `BAD_REQUEST` when the query or cursor is invalid.
@@ -866,11 +866,11 @@ export function mapNuanzeMarketPositioningResponse(
866
866
  }
867
867
 
868
868
  /**
869
- * Maps a server-side market position leg.
869
+ * Maps fields shared by per-market and globally ranked position legs.
870
870
  */
871
- export function mapNuanzeMarketPosition(
872
- server: NuanzeServerMarketPosition,
873
- ): NuanzeMarketPosition {
871
+ function mapNuanzePositionBase(
872
+ server: Omit<NuanzeServerMarketPosition, 'username' | 'displayName'>,
873
+ ): Omit<NuanzeMarketPosition, 'username' | 'displayName'> {
874
874
  return {
875
875
  subaccountOwner: server.subaccountOwner,
876
876
  subaccountName: server.subaccountName,
@@ -885,6 +885,19 @@ export function mapNuanzeMarketPosition(
885
885
  };
886
886
  }
887
887
 
888
+ /**
889
+ * Maps a server-side market position leg, including its synced identity.
890
+ */
891
+ export function mapNuanzeMarketPosition(
892
+ server: NuanzeServerMarketPosition,
893
+ ): NuanzeMarketPosition {
894
+ return {
895
+ ...mapNuanzePositionBase(server),
896
+ username: server.username,
897
+ displayName: server.displayName,
898
+ };
899
+ }
900
+
888
901
  /**
889
902
  * Maps a server-side `GET /markets/{ticker}/positions` response.
890
903
  */
@@ -914,7 +927,7 @@ export function mapNuanzeOpenPosition(
914
927
  ticker: server.ticker,
915
928
  venue: server.venue,
916
929
  snapshotAt: server.snapshotAt,
917
- ...mapNuanzeMarketPosition(server),
930
+ ...mapNuanzePositionBase(server),
918
931
  };
919
932
  }
920
933
 
@@ -840,6 +840,10 @@ export interface NuanzeMarketPosition {
840
840
  subaccountOwner: string;
841
841
  /** Subaccount name. */
842
842
  subaccountName: string;
843
+ /** Claimed username, or null when the subaccount has no synced identity or none claimed. */
844
+ username: string | null;
845
+ /** Display name, or null when the subaccount has no synced identity or none set. */
846
+ displayName: string | null;
843
847
  /** Venue-native symbol. */
844
848
  symbol: string;
845
849
  /** Margin mode. Isolated margin is isolated equity and is null when non-positive. */
@@ -864,7 +868,10 @@ export interface NuanzeMarketPosition {
864
868
  /**
865
869
  * Current open perpetual position leg in the global signed-unrealized-PnL ranking.
866
870
  */
867
- export interface NuanzeOpenPosition extends NuanzeMarketPosition {
871
+ export interface NuanzeOpenPosition extends Omit<
872
+ NuanzeMarketPosition,
873
+ 'username' | 'displayName'
874
+ > {
868
875
  /** Public product ID for this row's market. */
869
876
  productId: number;
870
877
  /** Canonical market ticker. */
@@ -210,17 +210,19 @@ export interface GetNuanzeSubaccountLeaderboardResponse {
210
210
  * every per-subaccount figure.
211
211
  */
212
212
  export interface GetNuanzeFollowedLeaderboardParams {
213
- /** Username whose active follow graph should be ranked. */
214
- username: string;
213
+ /** Lowercase or mixed-case bytes32 hex of the follower subaccount whose active graph is ranked. */
214
+ subaccountHex: string;
215
215
  /** Ranking window for every per-subaccount figure. */
216
216
  timeframe: NuanzeLeaderboardTimeframe;
217
217
  /** Include followed subaccounts with no PnL in the requested window, default true. */
218
218
  includeUntraded?: boolean;
219
+ /** Include followed subaccounts with Private Mode enabled, default false. */
220
+ includePrivate?: boolean;
219
221
  /** Page size, 1-200, default 100. */
220
222
  limit?: number;
221
223
  /**
222
- * Opaque cursor from the previous page. It is bound to the username and normalized filters and
223
- * must be returned unchanged.
224
+ * Opaque cursor from the previous page. It is bound to the follower subaccount and normalized
225
+ * filters and must be returned unchanged.
224
226
  */
225
227
  cursor?: string;
226
228
  }
@@ -742,7 +744,9 @@ export interface GetNuanzeOpenPositionsParams {
742
744
  limit?: number;
743
745
  /** Signed unrealized-PnL direction, default `desc` (largest gainers first). */
744
746
  sortDirection?: NuanzeOpenPositionSortDirection;
745
- /** Opaque exclusive cursor bound to the sort direction. */
747
+ /** Include positions from subaccounts with Private Mode enabled, default false. */
748
+ includePrivate?: boolean;
749
+ /** Opaque exclusive cursor bound to the sort direction and private visibility. */
746
750
  cursor?: string;
747
751
  }
748
752
 
@@ -1,7 +1,5 @@
1
1
  /**
2
- * Error codes returned by the Nuanze API, in the order the service declares them. The codes are part
3
- * of the published contract and additive only, so a client release can only ever lag behind on new
4
- * ones - it never has to unlearn a code.
2
+ * Error codes in the current published Nuanze API contract, in service declaration order.
5
3
  */
6
4
  export const NUANZE_ERROR_CODES = [
7
5
  'BAD_REQUEST',
@@ -13,16 +11,15 @@ export const NUANZE_ERROR_CODES = [
13
11
  'MARKET_SELECTOR_MISMATCH',
14
12
  'MARKET_NOT_FOUND',
15
13
  'WALLET_NOT_FOUND',
16
- 'USERNAME_NOT_FOUND',
17
14
  'UNSUPPORTED_INTERVAL',
18
15
  'UNSUPPORTED_BUCKET',
19
16
  'RANGE_TOO_LARGE',
20
- 'NOT_FOUND',
21
- 'METHOD_NOT_ALLOWED',
22
17
  'PAYLOAD_TOO_LARGE',
23
- 'INTERNAL_ERROR',
24
- 'DEPENDENCY_UNAVAILABLE',
18
+ 'METHOD_NOT_ALLOWED',
19
+ 'RATE_LIMITED',
25
20
  'GATEWAY_TIMEOUT',
21
+ 'DEPENDENCY_UNAVAILABLE',
22
+ 'INTERNAL_ERROR',
26
23
  ] as const;
27
24
 
28
25
  /**
@@ -250,6 +250,8 @@ export interface NuanzeServerMarketTrade {
250
250
  export interface NuanzeServerMarketPosition {
251
251
  subaccountOwner: string;
252
252
  subaccountName: string;
253
+ username: string | null;
254
+ displayName: string | null;
253
255
  symbol: string;
254
256
  marginKind: NuanzeMarginKind;
255
257
  side: NuanzePositionSide;
@@ -263,7 +265,10 @@ export interface NuanzeServerMarketPosition {
263
265
  /**
264
266
  * Globally ranked current open position leg as returned on the wire.
265
267
  */
266
- export interface NuanzeServerOpenPosition extends NuanzeServerMarketPosition {
268
+ export interface NuanzeServerOpenPosition extends Omit<
269
+ NuanzeServerMarketPosition,
270
+ 'username' | 'displayName'
271
+ > {
267
272
  productId: number;
268
273
  ticker: string;
269
274
  venue: 'perp';
@@ -1 +0,0 @@
1
- {"version":3,"file":"NuanzeClient-ILfa7B1C.cjs","names":["mapNuanzeNewsResponse","mapNuanzeMarketsResponse","mapNuanzeMarketByTickerResponse","mapNuanzeFundingRatesResponse","mapNuanzeLeaderboardResponse","mapNuanzeSubaccountLeaderboardResponse","mapNuanzePlatformSummaryResponse","mapNuanzeFollowedLeaderboardResponse","mapNuanzeWalletSummaryResponse","mapNuanzeWalletPositionsResponse","mapNuanzeMarketTradesResponse","mapNuanzeMarketCandlesResponse","mapNuanzeWalletTradesResponse","mapNuanzeWalletPnlResponse","mapNuanzeWalletPnlSeriesResponse","mapNuanzeCollateralFlowsResponse","mapNuanzeCollateralFlowSummaryResponse","mapNuanzeCollateralFlowSeriesResponse","mapNuanzeMarketPositioningResponse","mapNuanzeMarketPositionsResponse","mapNuanzeOpenPositionsResponse","isNuanzeServerFailureResponse","NuanzeServerFailureError"],"sources":["../src/NuanzeClient.ts"],"sourcesContent":["import axios, { AxiosInstance, AxiosResponse } from 'axios';\nimport {\n mapNuanzeCollateralFlowSeriesResponse,\n mapNuanzeCollateralFlowSummaryResponse,\n mapNuanzeCollateralFlowsResponse,\n mapNuanzeFollowedLeaderboardResponse,\n mapNuanzeFundingRatesResponse,\n mapNuanzeLeaderboardResponse,\n mapNuanzeMarketByTickerResponse,\n mapNuanzeMarketCandlesResponse,\n mapNuanzeMarketPositioningResponse,\n mapNuanzeMarketPositionsResponse,\n mapNuanzeMarketTradesResponse,\n mapNuanzeMarketsResponse,\n mapNuanzeNewsResponse,\n mapNuanzeOpenPositionsResponse,\n mapNuanzePlatformSummaryResponse,\n mapNuanzeSubaccountLeaderboardResponse,\n mapNuanzeWalletPnlResponse,\n mapNuanzeWalletPnlSeriesResponse,\n mapNuanzeWalletPositionsResponse,\n mapNuanzeWalletSummaryResponse,\n mapNuanzeWalletTradesResponse,\n} from './dataMappers';\nimport {\n GetNuanzeCollateralFlowSeriesParams,\n GetNuanzeCollateralFlowSeriesResponse,\n GetNuanzeCollateralFlowSummaryParams,\n GetNuanzeCollateralFlowSummaryResponse,\n GetNuanzeCollateralFlowsParams,\n GetNuanzeCollateralFlowsResponse,\n GetNuanzeFollowedLeaderboardParams,\n GetNuanzeFollowedLeaderboardResponse,\n GetNuanzeFundingRatesParams,\n GetNuanzeFundingRatesResponse,\n GetNuanzeLeaderboardParams,\n GetNuanzeLeaderboardResponse,\n GetNuanzeMarketByTickerParams,\n GetNuanzeMarketByTickerResponse,\n GetNuanzeMarketCandlesParams,\n GetNuanzeMarketCandlesResponse,\n GetNuanzeMarketPositioningParams,\n GetNuanzeMarketPositioningResponse,\n GetNuanzeMarketPositionsParams,\n GetNuanzeMarketPositionsResponse,\n GetNuanzeMarketTradesParams,\n GetNuanzeMarketTradesResponse,\n GetNuanzeMarketsParams,\n GetNuanzeMarketsResponse,\n GetNuanzeNewsParams,\n GetNuanzeNewsResponse,\n GetNuanzeOpenPositionsParams,\n GetNuanzeOpenPositionsResponse,\n GetNuanzePlatformSummaryParams,\n GetNuanzePlatformSummaryResponse,\n GetNuanzeSubaccountLeaderboardParams,\n GetNuanzeSubaccountLeaderboardResponse,\n GetNuanzeWalletPnlParams,\n GetNuanzeWalletPnlResponse,\n GetNuanzeWalletPnlSeriesParams,\n GetNuanzeWalletPnlSeriesResponse,\n GetNuanzeWalletPositionsParams,\n GetNuanzeWalletPositionsResponse,\n GetNuanzeWalletSummaryParams,\n GetNuanzeWalletSummaryResponse,\n GetNuanzeWalletTradesParams,\n GetNuanzeWalletTradesResponse,\n} from './types/clientTypes';\nimport { NuanzeServerFailureError } from './types/NuanzeServerFailureError';\nimport { NuanzeServerMarketPositioningResponse } from './types/serverModelTypes';\nimport {\n NuanzeServerCollateralFlowSeriesResponse,\n NuanzeServerCollateralFlowSummaryResponse,\n NuanzeServerCollateralFlowsResponse,\n NuanzeServerFollowedLeaderboardResponse,\n NuanzeServerFundingRatesResponse,\n NuanzeServerLeaderboardResponse,\n NuanzeServerMarketByTickerResponse,\n NuanzeServerMarketCandlesResponse,\n NuanzeServerMarketPositionsResponse,\n NuanzeServerMarketTradesResponse,\n NuanzeServerMarketsResponse,\n NuanzeServerNewsResponse,\n NuanzeServerOpenPositionsResponse,\n NuanzeServerPlatformSummaryResponse,\n NuanzeServerSubaccountLeaderboardResponse,\n NuanzeServerWalletPnlResponse,\n NuanzeServerWalletPnlSeriesResponse,\n NuanzeServerWalletPositionsResponse,\n NuanzeServerWalletSummaryResponse,\n NuanzeServerWalletTradesResponse,\n isNuanzeServerFailureResponse,\n} from './types/serverQueryTypes';\n\n/**\n * Options for constructing a {@link NuanzeClient}.\n */\nexport interface NuanzeClientOpts {\n /**\n * Base URL of the Nuanze API, including the version segment, e.g. {@link NUANZE_CLIENT_ENDPOINTS}.\n */\n url: string;\n}\n\n/**\n * Client for the Nuanze public analytics API: markets, wallets, trades, candles, collateral flows,\n * and positioning.\n *\n * Read-only and credential-free, so unlike the other service clients it takes no wallet client or\n * linked signer. It also sends no `x-nado-client-type` header: Nuanze is a public API that does not\n * attribute traffic per client, and its `Access-Control-Allow-Headers` does not list the header, so\n * sending it would fail CORS preflight in the browser. All operations are GET.\n */\nexport class NuanzeClient {\n readonly opts: NuanzeClientOpts;\n readonly axiosInstance: AxiosInstance;\n\n constructor(opts: NuanzeClientOpts) {\n this.opts = opts;\n this.axiosInstance = axios.create({\n // Nuanze is public and answers every origin with `Access-Control-Allow-Origin: *`, which\n // browsers reject for credentialed requests.\n withCredentials: false,\n // We have custom logic to validate response status and create an appropriate error\n validateStatus: () => true,\n // Repeatable `productId` must serialize as `productId=1&productId=2` (OpenAPI explode).\n paramsSerializer: { indexes: null },\n });\n }\n\n /**\n * Lists published editorial stories, sorted by `publishedAt` descending then `id` descending.\n * The opaque cursor is exclusive and bound to normalized filters. Raw article ingestion, scoring,\n * queue, and newsdesk fields are excluded.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST`, `INVALID_CURSOR`, or\n * `CURSOR_FILTER_MISMATCH` when filters or the cursor are invalid.\n */\n async getNews(\n params: GetNuanzeNewsParams = {},\n ): Promise<GetNuanzeNewsResponse> {\n return mapNuanzeNewsResponse(\n await this.getJson<NuanzeServerNewsResponse>('/news', params),\n );\n }\n\n /**\n * Gets the active market universe, ordered by `productId` ascending. Never truncated, so `count`\n * always equals the length of `markets`. Market metadata refreshes about every five minutes and\n * prices about every minute.\n *\n * @throws {NuanzeServerFailureError} With error code `BAD_REQUEST` if a filter value is not a\n * documented venue or tradability state.\n */\n async getMarkets(\n params: GetNuanzeMarketsParams = {},\n ): Promise<GetNuanzeMarketsResponse> {\n return mapNuanzeMarketsResponse(\n await this.getJson<NuanzeServerMarketsResponse>('/markets', params),\n );\n }\n\n /**\n * Resolves a market by ticker. Lookup is case-insensitive and accepts canonical tickers or\n * legacy source symbols. An explicit unavailable venue returns `MARKET_NOT_FOUND`. With no\n * venue, `strictVenue=true` returns `AMBIGUOUS_MARKET` for multi-venue assets; otherwise the\n * primary venue is used.\n *\n * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or\n * `BAD_REQUEST` on invalid selectors, and `MARKET_NOT_FOUND` when the ticker does not resolve.\n */\n async getMarketByTicker(\n params: GetNuanzeMarketByTickerParams,\n ): Promise<GetNuanzeMarketByTickerResponse> {\n const { ticker, ...query } = params;\n return mapNuanzeMarketByTickerResponse(\n await this.getJson<NuanzeServerMarketByTickerResponse>(\n `/markets/${encodeURIComponent(ticker)}`,\n query,\n ),\n );\n }\n\n /**\n * Lists the latest funding observation per active perpetual market, refreshed about every five\n * minutes.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST` if a filter value is invalid.\n */\n async getFundingRates(\n params: GetNuanzeFundingRatesParams = {},\n ): Promise<GetNuanzeFundingRatesResponse> {\n return mapNuanzeFundingRatesResponse(\n await this.getJson<NuanzeServerFundingRatesResponse>(\n '/funding/rates',\n params,\n ),\n );\n }\n\n /**\n * Gets the account PnL leaderboard. Equity-basis account PnL includes realized and unrealized\n * movement plus funding and is not realized PnL.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST` if a filter value is invalid.\n */\n async getLeaderboard(\n params: GetNuanzeLeaderboardParams = {},\n ): Promise<GetNuanzeLeaderboardResponse> {\n return mapNuanzeLeaderboardResponse(\n await this.getJson<NuanzeServerLeaderboardResponse>(\n '/leaderboard',\n params,\n ),\n );\n }\n\n /**\n * Gets the global public leaderboard of username-claimed subaccounts. Results are sorted by\n * equity-basis account PnL descending with nulls last. `globalRank` is independent of the active\n * privacy and trading filters. Pagination uses a filter-bound opaque cursor.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST`, `INVALID_CURSOR`, or\n * `CURSOR_FILTER_MISMATCH` when filters or the cursor are invalid.\n */\n async getSubaccountLeaderboard(\n params: GetNuanzeSubaccountLeaderboardParams = {},\n ): Promise<GetNuanzeSubaccountLeaderboardResponse> {\n return mapNuanzeSubaccountLeaderboardResponse(\n await this.getJson<NuanzeServerSubaccountLeaderboardResponse>(\n '/leaderboard/subaccounts',\n params,\n ),\n );\n }\n\n /**\n * Gets platform activity summary from five-minute aggregates.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST` if the window is not a documented value.\n */\n async getPlatformSummary(\n params: GetNuanzePlatformSummaryParams = {},\n ): Promise<GetNuanzePlatformSummaryResponse> {\n return mapNuanzePlatformSummaryResponse(\n await this.getJson<NuanzeServerPlatformSummaryResponse>(\n '/platform/summary',\n params,\n ),\n );\n }\n\n /**\n * Gets a keyset-paginated leaderboard for every subaccount a username actively follows, sorted\n * by PnL descending with nulls last. Subaccounts with no PnL in the window are included by\n * default with null PnL/rank, zero counts, and no products.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST` when params are invalid, or\n * `USERNAME_NOT_FOUND` when the supplied username has no claimed identity.\n */\n async getFollowedLeaderboard(\n params: GetNuanzeFollowedLeaderboardParams,\n ): Promise<GetNuanzeFollowedLeaderboardResponse> {\n return mapNuanzeFollowedLeaderboardResponse(\n await this.getJson<NuanzeServerFollowedLeaderboardResponse>(\n '/wallets/leaderboard',\n params,\n ),\n );\n }\n\n /**\n * Gets replica-backed wallet analytics. Without `subaccountName`, latest cumulative values are\n * selected per known subaccount and then summed. The response is a snapshot and does not claim\n * live health, withdrawable collateral, open-order, or signer state.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_ADDRESS` or `BAD_REQUEST` on invalid input,\n * and `WALLET_NOT_FOUND` when the address has no wallet data.\n */\n async getWalletSummary(\n params: GetNuanzeWalletSummaryParams,\n ): Promise<GetNuanzeWalletSummaryResponse> {\n const { address, ...query } = params;\n return mapNuanzeWalletSummaryResponse(\n await this.getJson<NuanzeServerWalletSummaryResponse>(\n `/wallets/${encodeURIComponent(address)}`,\n query,\n ),\n );\n }\n\n /**\n * Lists at most 500 current replica position rows across all known subaccounts by default. Rows\n * remain per subaccount. Spot rows are excluded unless `includeSpot=true`. This is not an\n * execution-grade live feed.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_ADDRESS` or `BAD_REQUEST` on invalid input,\n * and `WALLET_NOT_FOUND` when the address has no wallet data.\n */\n async getWalletPositions(\n params: GetNuanzeWalletPositionsParams,\n ): Promise<GetNuanzeWalletPositionsResponse> {\n const { address, ...query } = params;\n return mapNuanzeWalletPositionsResponse(\n await this.getJson<NuanzeServerWalletPositionsResponse>(\n `/wallets/${encodeURIComponent(address)}/positions`,\n query,\n ),\n );\n }\n\n /**\n * Lists market trades: one taker-side row per match, sorted by `matchedAt` then `id` descending.\n * The exclusive cursor is bound to operation and normalized filters. `from` is inclusive and\n * `to` exclusive. Wallet identity is absent.\n *\n * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`,\n * `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, `RANGE_TOO_LARGE`, or `BAD_REQUEST` on invalid\n * input, and `MARKET_NOT_FOUND` when the ticker does not resolve.\n */\n async getMarketTrades(\n params: GetNuanzeMarketTradesParams,\n ): Promise<GetNuanzeMarketTradesResponse> {\n const { ticker, ...query } = params;\n return mapNuanzeMarketTradesResponse(\n await this.getJson<NuanzeServerMarketTradesResponse>(\n `/markets/${encodeURIComponent(ticker)}/trades`,\n query,\n ),\n );\n }\n\n /**\n * Lists market candles. Source storage is 1h; 4h and 1d are UTC-aligned rollups and missing bars\n * are not interpolated. The newest `limit` matching bars are selected and returned\n * oldest-to-newest, at most 750, with no pagination. A current bucket has `complete=false`.\n *\n * @throws {NuanzeServerFailureError} With `UNSUPPORTED_INTERVAL`, `RANGE_TOO_LARGE`,\n * `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or `BAD_REQUEST` on invalid input, and\n * `MARKET_NOT_FOUND` when the ticker does not resolve.\n */\n async getMarketCandles(\n params: GetNuanzeMarketCandlesParams,\n ): Promise<GetNuanzeMarketCandlesResponse> {\n const { ticker, ...query } = params;\n return mapNuanzeMarketCandlesResponse(\n await this.getJson<NuanzeServerMarketCandlesResponse>(\n `/markets/${encodeURIComponent(ticker)}/candles`,\n query,\n ),\n );\n }\n\n /**\n * Lists wallet-owned maker and taker execution rows, sorted by `matchedAt` then `id` descending.\n * The cursor is exclusive and filter-bound. `from` is inclusive and `to` exclusive.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_ADDRESS`, `INVALID_CURSOR`,\n * `CURSOR_FILTER_MISMATCH`, `RANGE_TOO_LARGE`, or `BAD_REQUEST` on invalid input, and\n * `WALLET_NOT_FOUND` when the address has no wallet data.\n */\n async getWalletTrades(\n params: GetNuanzeWalletTradesParams,\n ): Promise<GetNuanzeWalletTradesResponse> {\n const { address, ...query } = params;\n return mapNuanzeWalletTradesResponse(\n await this.getJson<NuanzeServerWalletTradesResponse>(\n `/wallets/${encodeURIComponent(address)}/trades`,\n query,\n ),\n );\n }\n\n /**\n * Gets wallet account PnL. 24h is rolling and uses hourly snapshots with a daily fallback\n * baseline. Longer windows use daily snapshots; `all` starts at earliest coverage. PnL includes\n * realized and unrealized movement plus funding.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_ADDRESS` or `BAD_REQUEST` on invalid input,\n * and `WALLET_NOT_FOUND` when the address has no wallet data.\n */\n async getWalletPnl(\n params: GetNuanzeWalletPnlParams,\n ): Promise<GetNuanzeWalletPnlResponse> {\n const { address, ...query } = params;\n return mapNuanzeWalletPnlResponse(\n await this.getJson<NuanzeServerWalletPnlResponse>(\n `/wallets/${encodeURIComponent(address)}/pnl`,\n query,\n ),\n );\n }\n\n /**\n * Gets a wallet account series of at most 1,000 deterministically sampled points ordered by\n * timestamp. Series contain a boundary anchor and a carried-forward request-time tip; synthetic\n * points are identified. Latest buckets may be provisional.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_ADDRESS` or `BAD_REQUEST` on invalid input,\n * and `WALLET_NOT_FOUND` when the address has no wallet data.\n */\n async getWalletPnlSeries(\n params: GetNuanzeWalletPnlSeriesParams,\n ): Promise<GetNuanzeWalletPnlSeriesResponse> {\n const { address, ...query } = params;\n return mapNuanzeWalletPnlSeriesResponse(\n await this.getJson<NuanzeServerWalletPnlSeriesResponse>(\n `/wallets/${encodeURIComponent(address)}/pnl/series`,\n query,\n ),\n );\n }\n\n /**\n * Lists public collateral events, sorted by timestamp then `id` descending. Repeated `productId`\n * uses OR semantics. `minUsd` excludes unvalued events; without it unvalued events remain.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST`, `INVALID_CURSOR`, or\n * `CURSOR_FILTER_MISMATCH` when filters or the cursor are invalid.\n */\n async getCollateralFlows(\n params: GetNuanzeCollateralFlowsParams = {},\n ): Promise<GetNuanzeCollateralFlowsResponse> {\n return mapNuanzeCollateralFlowsResponse(\n await this.getJson<NuanzeServerCollateralFlowsResponse>('/flows', params),\n );\n }\n\n /**\n * Gets collateral flow aggregates: deposited, withdrawn, net, and gross, with valuation coverage\n * and a prior equal-window comparison. `all` has no prior window.\n *\n * @throws {NuanzeServerFailureError} With `BAD_REQUEST` if a filter value is invalid.\n */\n async getCollateralFlowSummary(\n params: GetNuanzeCollateralFlowSummaryParams = {},\n ): Promise<GetNuanzeCollateralFlowSummaryResponse> {\n return mapNuanzeCollateralFlowSummaryResponse(\n await this.getJson<NuanzeServerCollateralFlowSummaryResponse>(\n '/flows/summary',\n params,\n ),\n );\n }\n\n /**\n * Gets collateral flow series of at most 1,000 UTC buckets. Allowed timeframe/bucket pairs are\n * 24h/hour, 7d/hour or day (default hour), 30d/day, and all/day.\n *\n * @throws {NuanzeServerFailureError} With `UNSUPPORTED_BUCKET` or `BAD_REQUEST` when the pair or\n * filters are invalid.\n */\n async getCollateralFlowSeries(\n params: GetNuanzeCollateralFlowSeriesParams = {},\n ): Promise<GetNuanzeCollateralFlowSeriesResponse> {\n return mapNuanzeCollateralFlowSeriesResponse(\n await this.getJson<NuanzeServerCollateralFlowSeriesResponse>(\n '/flows/series',\n params,\n ),\n );\n }\n\n /**\n * Gets privacy-preserving aggregate positioning for an active perpetual. Cross and isolated legs\n * are summed within owner/subaccount/product before direction classification. Every cell requires\n * at least 20 distinct contributing owners. No identity, individual position, entry price, PnL,\n * margin, or leverage fields are returned.\n *\n * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`, or\n * `BAD_REQUEST` on invalid input, and `MARKET_NOT_FOUND` when the ticker does not resolve to a\n * perp.\n */\n async getMarketPositioning(\n params: GetNuanzeMarketPositioningParams,\n ): Promise<GetNuanzeMarketPositioningResponse> {\n const { ticker, ...query } = params;\n return mapNuanzeMarketPositioningResponse(\n await this.getJson<NuanzeServerMarketPositioningResponse>(\n `/markets/${encodeURIComponent(ticker)}/positioning`,\n query,\n ),\n );\n }\n\n /**\n * Lists open perpetual position legs for the resolved market. Results default to absolute\n * notional descending and can be ordered by signed unrealized PnL or absolute base amount in\n * either direction. Spot markets are not supported. Legs below $10 absolute notional are excluded.\n * Wallet addresses and signed exact base amounts are returned.\n *\n * @throws {NuanzeServerFailureError} With `AMBIGUOUS_MARKET`, `MARKET_SELECTOR_MISMATCH`,\n * `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, or `BAD_REQUEST` on invalid input, and\n * `MARKET_NOT_FOUND` when the ticker does not resolve to a perp.\n */\n async getMarketPositions(\n params: GetNuanzeMarketPositionsParams,\n ): Promise<GetNuanzeMarketPositionsResponse> {\n const { ticker, ...query } = params;\n return mapNuanzeMarketPositionsResponse(\n await this.getJson<NuanzeServerMarketPositionsResponse>(\n `/markets/${encodeURIComponent(ticker)}/positions`,\n query,\n ),\n );\n }\n\n /**\n * Lists current open perpetual position legs across every market by signed unrealized PnL.\n * Descending returns the largest gainers and ascending returns the largest losers. This is a\n * latest indexed snapshot with no timeframe. Legs below $10 absolute notional are excluded.\n * Each row includes market identity and its source snapshot timestamp.\n *\n * @throws {NuanzeServerFailureError} With `INVALID_CURSOR`, `CURSOR_FILTER_MISMATCH`, or\n * `BAD_REQUEST` when the query or cursor is invalid.\n */\n async getOpenPositions(\n params: GetNuanzeOpenPositionsParams = {},\n ): Promise<GetNuanzeOpenPositionsResponse> {\n return mapNuanzeOpenPositionsResponse(\n await this.getJson<NuanzeServerOpenPositionsResponse>(\n '/positions',\n params,\n ),\n );\n }\n\n /**\n * Performs a GET against `{baseUrl}{path}` and classifies the status before returning the body.\n */\n private async getJson<T>(path: string, params?: object): Promise<T> {\n return this.requestJson<T>(path, { params });\n }\n\n private async requestJson<T>(\n path: string,\n config: { params?: object } = {},\n ): Promise<T> {\n const response = await this.axiosInstance.request<T>({\n method: 'GET',\n url: `${this.opts.url}${path}`,\n ...config,\n });\n this.checkResponseStatus(response);\n return response.data;\n }\n\n /**\n * Validates the HTTP status before interpreting the body. Nuanze maps every domain failure onto a\n * non-2xx status carrying a failure envelope, so anything else is a transport-level error.\n */\n private checkResponseStatus(response: AxiosResponse<unknown>) {\n if (response.status >= 200 && response.status < 300) {\n return;\n }\n if (isNuanzeServerFailureResponse(response.data)) {\n throw new NuanzeServerFailureError(response.data, response.status);\n }\n throw new Error(\n `Unexpected response from Nuanze: ${response.status} ${response.statusText}. Data: ${JSON.stringify(response.data)}`,\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiHA,IAAa,eAAb,MAA0B;CAIxB,YAAY,MAAwB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AAgB;AAAA;;;;UAMV,qCAAA;EA4EJ;EA1EX,SAAA,EAAW,mBAAA;EA8EX;EA5EA,MAAA,EAAQ,gBAAA;EA8EJ;EA5EJ,MAAA,EAAQ,yBAAA;EAmFO;EAjFf,IAAA;AAAA;;;;UAMe,gCAAA;EAiFf;EA/EA,MAAA;EA+EM;EA7EN,KAAA;EAmF6C;EAjF7C,SAAA;EAmF6B;;;;EA9E7B,WAAA;EAoFA;EAlFA,OAAA,GAAU,wBAAA;EAkFN;EAhFJ,cAAA,GAAiB,oBAAoB;AAAA;;;;KAM3B,kCAAA,GACR,mCAAA,GACA,qCAAA,GACA,6CAAA;;;;UAKa,8BAAA;;EAEf,MAAA;;EAEA,KAAA;;EAEA,SAAA;;EAEA,KAAA;;;;;EAKA,MAAA,GAAS,0BAAA;;EAET,aAAA,GAAgB,iCAAiC;;EAEjD,MAAA;AAAA;;;;UAMe,gCAAA;;EAEf,SAAA;;EAEA,MAAA;;EAEA,MAAA;;EAEA,KAAA,EAAO,iBAAA;;EAEP,SAAA,EAAW,oBAAoB;;EAE/B,UAAA;;EAEA,aAAA;;EAEA,IAAA;AAAA;;;;;UAOe,4BAAA;;EAEf,KAAA;;EAEA,aAAA,GAAgB,+BAA+B;;EAE/C,MAAA;AAAA;;;;UAMe,8BAAA;;EAEf,SAAA,EAAW,kBAAkB;;EAE7B,UAAA;;EAEA,aAAA;;EAEA,IAAA;AAAA"}
@@ -1,14 +0,0 @@
1
- //#region src/types/nuanzeErrorCodes.d.ts
2
- /**
3
- * Error codes returned by the Nuanze API, in the order the service declares them. The codes are part
4
- * of the published contract and additive only, so a client release can only ever lag behind on new
5
- * ones - it never has to unlearn a code.
6
- */
7
- declare const NUANZE_ERROR_CODES: readonly ["BAD_REQUEST", "INVALID_CURSOR", "CURSOR_FILTER_MISMATCH", "INVALID_ADDRESS", "INVALID_SUBACCOUNT", "AMBIGUOUS_MARKET", "MARKET_SELECTOR_MISMATCH", "MARKET_NOT_FOUND", "WALLET_NOT_FOUND", "USERNAME_NOT_FOUND", "UNSUPPORTED_INTERVAL", "UNSUPPORTED_BUCKET", "RANGE_TOO_LARGE", "NOT_FOUND", "METHOD_NOT_ALLOWED", "PAYLOAD_TOO_LARGE", "INTERNAL_ERROR", "DEPENDENCY_UNAVAILABLE", "GATEWAY_TIMEOUT"];
8
- /**
9
- * Union of all known Nuanze API error codes.
10
- */
11
- type NuanzeErrorCode = (typeof NUANZE_ERROR_CODES)[number];
12
- //#endregion
13
- export { NuanzeErrorCode as n, NUANZE_ERROR_CODES as t };
14
- //# sourceMappingURL=nuanzeErrorCodes-DMoRcCHK.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nuanzeErrorCodes-DMoRcCHK.d.cts","names":[],"sources":["../src/types/src/types/nuanzeErrorCodes.ts"],"mappings":";;AAKA;;;;cAAa,kBAAA;AAyBb;;;AAAA,KAAY,eAAA,WAA0B,kBAAkB"}
@@ -1,14 +0,0 @@
1
- //#region src/types/nuanzeErrorCodes.d.ts
2
- /**
3
- * Error codes returned by the Nuanze API, in the order the service declares them. The codes are part
4
- * of the published contract and additive only, so a client release can only ever lag behind on new
5
- * ones - it never has to unlearn a code.
6
- */
7
- declare const NUANZE_ERROR_CODES: readonly ["BAD_REQUEST", "INVALID_CURSOR", "CURSOR_FILTER_MISMATCH", "INVALID_ADDRESS", "INVALID_SUBACCOUNT", "AMBIGUOUS_MARKET", "MARKET_SELECTOR_MISMATCH", "MARKET_NOT_FOUND", "WALLET_NOT_FOUND", "USERNAME_NOT_FOUND", "UNSUPPORTED_INTERVAL", "UNSUPPORTED_BUCKET", "RANGE_TOO_LARGE", "NOT_FOUND", "METHOD_NOT_ALLOWED", "PAYLOAD_TOO_LARGE", "INTERNAL_ERROR", "DEPENDENCY_UNAVAILABLE", "GATEWAY_TIMEOUT"];
8
- /**
9
- * Union of all known Nuanze API error codes.
10
- */
11
- type NuanzeErrorCode = (typeof NUANZE_ERROR_CODES)[number];
12
- //#endregion
13
- export { NuanzeErrorCode as n, NUANZE_ERROR_CODES as t };
14
- //# sourceMappingURL=nuanzeErrorCodes-DewKYqCe.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nuanzeErrorCodes-DewKYqCe.d.ts","names":[],"sources":["../src/types/src/types/nuanzeErrorCodes.ts"],"mappings":";;AAKA;;;;cAAa,kBAAA;AAyBb;;;AAAA,KAAY,eAAA,WAA0B,kBAAkB"}