@parity/truapi 0.3.0 → 0.3.1

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.
@@ -1751,7 +1751,7 @@ export const types = [
1751
1751
  id: "host-payment-top-up-error",
1752
1752
  name: "HostPaymentTopUpError",
1753
1753
  category: "payment",
1754
- definition: 'export type HostPaymentTopUpError =\n | { tag: "InsufficientFunds"; value?: undefined }\n | { tag: "InvalidSource"; value?: undefined }\n | { tag: "Unknown"; value: { reason: string } }\n | { tag: "PartialPayment"; value: { credited: Balance } }\n;',
1754
+ definition: 'export type HostPaymentTopUpError =\n | { tag: "InsufficientFunds"; value?: undefined }\n | { tag: "InvalidSource"; value?: undefined }\n | { tag: "PartialPayment"; value: { credited: Balance } }\n | { tag: "Unknown"; value: { reason: string } }\n;',
1755
1755
  description: "Error from [`crate::api::Payment::top_up`].\n\nSee [RFC 0006].\n\n[RFC 0006]: https://github.com/paritytech/triangle-js-sdks/pull/94",
1756
1756
  variants: [
1757
1757
  {
@@ -1764,16 +1764,16 @@ export const types = [
1764
1764
  type: '{ tag: "InvalidSource"; value?: undefined }',
1765
1765
  description: "The source account was not found or is invalid.",
1766
1766
  },
1767
- {
1768
- name: "Unknown",
1769
- type: '{ tag: "Unknown"; value: { reason: string } }',
1770
- description: "Catch-all.",
1771
- },
1772
1767
  {
1773
1768
  name: "PartialPayment",
1774
1769
  type: '{ tag: "PartialPayment"; value: { credited: Balance } }',
1775
1770
  description: "Some coins were claimed but the total fell short of the requested amount.",
1776
1771
  },
1772
+ {
1773
+ name: "Unknown",
1774
+ type: '{ tag: "Unknown"; value: { reason: string } }',
1775
+ description: "Catch-all.",
1776
+ },
1777
1777
  ],
1778
1778
  },
1779
1779
  {
@@ -0,0 +1,2 @@
1
+ import type { ServiceInfo } from "../../../../playground/services-types.js";
2
+ export declare const services: ServiceInfo[];