@stellar/stellar-sdk 14.0.0-rc.1 → 14.0.0-rc.3

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 (46) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/stellar-sdk-minimal.js +16 -19
  3. package/dist/stellar-sdk-minimal.min.js +1 -1
  4. package/dist/stellar-sdk-no-axios.js +16 -19
  5. package/dist/stellar-sdk-no-axios.min.js +1 -1
  6. package/dist/stellar-sdk-no-eventsource.js +16 -19
  7. package/dist/stellar-sdk-no-eventsource.min.js +1 -1
  8. package/dist/stellar-sdk.js +16 -19
  9. package/dist/stellar-sdk.min.js +1 -1
  10. package/lib/contract/assembled_transaction.js +2 -2
  11. package/lib/horizon/call_builder.d.ts +1 -1
  12. package/lib/horizon/horizon_axios_client.js +1 -1
  13. package/lib/horizon/server.js +1 -1
  14. package/lib/horizon/types/effects.d.ts +6 -6
  15. package/lib/minimal/contract/assembled_transaction.js +2 -2
  16. package/lib/minimal/horizon/call_builder.d.ts +1 -1
  17. package/lib/minimal/horizon/horizon_axios_client.js +1 -1
  18. package/lib/minimal/horizon/server.js +1 -1
  19. package/lib/minimal/horizon/types/effects.d.ts +6 -6
  20. package/lib/minimal/rpc/api.d.ts +2 -4
  21. package/lib/minimal/rpc/axios.js +1 -1
  22. package/lib/minimal/rpc/parsers.js +7 -10
  23. package/lib/minimal/rpc/server.js +1 -1
  24. package/lib/no-axios/contract/assembled_transaction.js +2 -2
  25. package/lib/no-axios/horizon/call_builder.d.ts +1 -1
  26. package/lib/no-axios/horizon/horizon_axios_client.js +1 -1
  27. package/lib/no-axios/horizon/server.js +1 -1
  28. package/lib/no-axios/horizon/types/effects.d.ts +6 -6
  29. package/lib/no-axios/rpc/api.d.ts +2 -4
  30. package/lib/no-axios/rpc/axios.js +1 -1
  31. package/lib/no-axios/rpc/parsers.js +7 -10
  32. package/lib/no-axios/rpc/server.js +1 -1
  33. package/lib/no-eventsource/contract/assembled_transaction.js +2 -2
  34. package/lib/no-eventsource/horizon/call_builder.d.ts +1 -1
  35. package/lib/no-eventsource/horizon/horizon_axios_client.js +1 -1
  36. package/lib/no-eventsource/horizon/server.js +1 -1
  37. package/lib/no-eventsource/horizon/types/effects.d.ts +6 -6
  38. package/lib/no-eventsource/rpc/api.d.ts +2 -4
  39. package/lib/no-eventsource/rpc/axios.js +1 -1
  40. package/lib/no-eventsource/rpc/parsers.js +7 -10
  41. package/lib/no-eventsource/rpc/server.js +1 -1
  42. package/lib/rpc/api.d.ts +2 -4
  43. package/lib/rpc/axios.js +1 -1
  44. package/lib/rpc/parsers.js +7 -10
  45. package/lib/rpc/server.js +1 -1
  46. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -7,6 +7,27 @@ A breaking change will get clearly marked in this log.
7
7
  ## Unreleased
8
8
 
9
9
 
10
+ ## [v14.0.0-rc.3](https://github.com/stellar/js-stellar-sdk/compare/v13.1.0...v14.0.0-rc.3)
11
+
12
+ ### Fixed
13
+ * Fixes a bug in `Rpc.Server.getTransaction` where either `transactionEventsXdr` and/or `contractEventsXdr` may not be present in the new `events` field.
14
+
15
+
16
+ ## [v14.0.0-rc.2](https://github.com/stellar/js-stellar-sdk/compare/v13.1.0...v14.0.0-rc.2)
17
+
18
+ ### Breaking Changes
19
+ * The RPC server's `getTransaction` and `getTransactions` responses have dropped the `events.diagnosticEventsXdr` field ([#1183](https://github.com/stellar/js-stellar-sdk/pull/1183)):
20
+ ```diff
21
+ export interface TransactionEvents {
22
+ - diagnosticEventsXdr: xdr.DiagnosticEvent[];
23
+ transactionEventsXdr: xdr.TransactionEvent[];
24
+ }
25
+ ```
26
+
27
+ ### Fixed
28
+ * Fixed type for Horizon streaming endpoints, namely `EventSourceOptions.onmessage` now extends `CollectionPage` ([#1100](https://github.com/stellar/js-stellar-sdk/pull/1100)).
29
+
30
+
10
31
  ## [v14.0.0-rc.1](https://github.com/stellar/js-stellar-sdk/compare/v13.1.0...v14.0.0-rc.1)
11
32
 
12
33
  ### Breaking Changes