@totalis/hip4-client 0.123.0 → 0.125.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 (41) hide show
  1. package/CHANGELOG.md +391 -0
  2. package/README.md +9 -5
  3. package/dist/api-keys.d.ts +21 -2
  4. package/dist/api-keys.js +12 -10
  5. package/dist/audience-contract.d.ts +1 -2
  6. package/dist/client.d.ts +1 -1
  7. package/dist/client.js +1 -1
  8. package/dist/flow-errors.d.ts +1 -1
  9. package/dist/flow-errors.js +1 -1
  10. package/dist/generated/account-read.d.ts +150 -126
  11. package/dist/generated/api-keys.d.ts +19 -10
  12. package/dist/generated/browse.d.ts +12 -12
  13. package/dist/generated/client.d.ts +5 -2
  14. package/dist/generated/errors.d.ts +15 -8
  15. package/dist/generated/errors.js +47 -35
  16. package/dist/generated/maker.d.ts +3 -4
  17. package/dist/generated/openapi.d.ts +828 -892
  18. package/dist/generated/realtime.d.ts +68 -93
  19. package/dist/generated/vault-abi.d.ts +57 -0
  20. package/dist/generated/vault-abi.js +77 -0
  21. package/dist/generated/version.d.ts +16 -16
  22. package/dist/generated/version.js +20 -18
  23. package/dist/maker.d.ts +134 -54
  24. package/dist/maker.js +257 -147
  25. package/dist/money.d.ts +8 -6
  26. package/dist/money.js +7 -7
  27. package/dist/partner.d.ts +2 -0
  28. package/dist/partner.js +2 -1
  29. package/dist/request.d.ts +11 -2
  30. package/dist/request.js +7 -2
  31. package/dist/totalis.d.ts +147 -232
  32. package/dist/totalis.js +290 -269
  33. package/dist/typed-data.d.ts +6 -0
  34. package/dist/typed-data.js +8 -0
  35. package/dist/ui.d.ts +6 -10
  36. package/dist/ui.js +15 -13
  37. package/dist/vault-reads.d.ts +46 -0
  38. package/dist/vault-reads.js +72 -0
  39. package/examples/browser-wallet.mjs +1 -1
  40. package/examples/node-bot.mjs +15 -12
  41. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import type { components as SharedComponents, operations as SharedOperations, paths as SharedPaths } from "./openapi.js";
2
2
  export type components = SharedComponents;
3
3
  export type paths = {
4
- readonly "/v1/makers/{maker_id}/quotes": Pick<SharedPaths["/v1/makers/{maker_id}/quotes"], "parameters" | "get">;
4
+ readonly "/v1/makers/{maker_id}/quotes": Pick<SharedPaths["/v1/makers/{maker_id}/quotes"], "parameters" | "get" | "delete">;
5
5
  readonly "/v1/makers/{maker_id}/telemetry": Pick<SharedPaths["/v1/makers/{maker_id}/telemetry"], "parameters" | "get">;
6
6
  readonly "/v1/makers/{maker_id}/telemetry-publication": Pick<SharedPaths["/v1/makers/{maker_id}/telemetry-publication"], "parameters" | "get" | "put">;
7
7
  readonly "/v1/makers/{maker_id}/positions": Pick<SharedPaths["/v1/makers/{maker_id}/positions"], "parameters" | "get">;
@@ -16,7 +16,6 @@ export type paths = {
16
16
  readonly "/v1/deployment": Pick<SharedPaths["/v1/deployment"], "parameters" | "get">;
17
17
  readonly "/v1/rfqs/{rfq_id}/quotes": Pick<SharedPaths["/v1/rfqs/{rfq_id}/quotes"], "parameters" | "post">;
18
18
  readonly "/v1/quotes/{quote_id}": Pick<SharedPaths["/v1/quotes/{quote_id}"], "parameters" | "delete">;
19
- readonly "/v1/makers/{maker_id}/quote-lease": Pick<SharedPaths["/v1/makers/{maker_id}/quote-lease"], "parameters" | "put" | "delete">;
20
19
  readonly "/v1/quotes/{quote_id}/confirm": Pick<SharedPaths["/v1/quotes/{quote_id}/confirm"], "parameters" | "post">;
21
20
  readonly "/v1/rfqs": Pick<SharedPaths["/v1/rfqs"], "parameters" | "get">;
22
21
  readonly "/v1/discovery": Pick<SharedPaths["/v1/discovery"], "parameters" | "get">;
@@ -24,7 +23,6 @@ export type paths = {
24
23
  readonly "/v1/markets": Pick<SharedPaths["/v1/markets"], "parameters" | "get">;
25
24
  readonly "/v1/markets/{outcome_id}": Pick<SharedPaths["/v1/markets/{outcome_id}"], "parameters" | "get">;
26
25
  readonly "/v1/questions/{question_id}": Pick<SharedPaths["/v1/questions/{question_id}"], "parameters" | "get">;
27
- readonly "/v1/markets/{outcome_id}/history": Pick<SharedPaths["/v1/markets/{outcome_id}/history"], "parameters" | "get">;
28
26
  readonly "/v1/markets/{outcome_id}/reference-closes": Pick<SharedPaths["/v1/markets/{outcome_id}/reference-closes"], "parameters" | "get">;
29
27
  readonly "/v1/markets/{outcome_id}/recurring-round": Pick<SharedPaths["/v1/markets/{outcome_id}/recurring-round"], "parameters" | "get">;
30
28
  readonly "/v1/markets/{outcome_id}/recurring-round/history": Pick<SharedPaths["/v1/markets/{outcome_id}/recurring-round/history"], "parameters" | "get">;
@@ -32,6 +30,7 @@ export type paths = {
32
30
  readonly "/v1/series/{series_id}": Pick<SharedPaths["/v1/series/{series_id}"], "parameters" | "get">;
33
31
  readonly "/v1/taxonomy": Pick<SharedPaths["/v1/taxonomy"], "parameters" | "get">;
34
32
  readonly "/v1/market-display": Pick<SharedPaths["/v1/market-display"], "parameters" | "get">;
33
+ readonly "/v1/market-results": Pick<SharedPaths["/v1/market-results"], "parameters" | "get">;
35
34
  readonly "/v1/charts/{series}": Pick<SharedPaths["/v1/charts/{series}"], "parameters" | "get">;
36
35
  readonly "/v1/rfqs/{rfq_id}": Pick<SharedPaths["/v1/rfqs/{rfq_id}"], "parameters" | "get">;
37
36
  readonly "/v1/me/operations": Pick<SharedPaths["/v1/me/operations"], "parameters" | "get">;
@@ -47,4 +46,4 @@ export type paths = {
47
46
  readonly "/v1/makers/{maker_id}/exposure": Pick<SharedPaths["/v1/makers/{maker_id}/exposure"], "parameters" | "get">;
48
47
  readonly "/v1/makers/{maker_id}/performance": Pick<SharedPaths["/v1/makers/{maker_id}/performance"], "parameters" | "get">;
49
48
  };
50
- export type operations = Pick<SharedOperations, "cancelQuote" | "confirmQuote" | "createCollateralReduction" | "createQuote" | "getAccountActivity" | "getAccountPosition" | "getChart" | "getCollateralReduction" | "getDeployment" | "getMakerActivity" | "getMakerCapital" | "getMakerExposure" | "getMakerPerformance" | "getMakerPosition" | "getMakerQuotes" | "getMakerTelemetry" | "getMakerTelemetryPublication" | "getMakerVaultFundingTransaction" | "getMakerWithdrawal" | "getMarket" | "getMarketDisplay" | "getMarketHistory" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketRoundHistory" | "getOperation" | "getQuestion" | "getQuestionRecurringRound" | "getRfq" | "getSeries" | "getTaxonomy" | "listAccountActivity" | "listAccountPositions" | "listDiscovery" | "listMakerAcceptances" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listOperations" | "listRfqs" | "publishMakerTelemetry" | "releaseQuoteLease" | "renewQuoteLease" | "searchCatalog" | "stream" | "submitMakerSelfFundedTransaction">;
49
+ export type operations = Pick<SharedOperations, "cancelAllQuotes" | "cancelQuote" | "confirmQuote" | "createCollateralReduction" | "createQuote" | "getAccountActivity" | "getAccountPosition" | "getChart" | "getCollateralReduction" | "getDeployment" | "getMakerActivity" | "getMakerCapital" | "getMakerExposure" | "getMakerPerformance" | "getMakerPosition" | "getMakerQuotes" | "getMakerTelemetry" | "getMakerTelemetryPublication" | "getMakerVaultFundingTransaction" | "getMakerWithdrawal" | "getMarket" | "getMarketDisplay" | "getMarketRecurringRound" | "getMarketReferenceCloses" | "getMarketResults" | "getMarketRoundHistory" | "getOperation" | "getQuestion" | "getQuestionRecurringRound" | "getRfq" | "getSeries" | "getTaxonomy" | "listAccountActivity" | "listAccountPositions" | "listDiscovery" | "listMakerAcceptances" | "listMakerActivity" | "listMakerPositions" | "listMakerQuoteHistory" | "listMarkets" | "listOperations" | "listRfqs" | "publishMakerTelemetry" | "searchCatalog" | "stream" | "submitMakerSelfFundedTransaction">;