@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.
- package/dist/explorer/codegen/types.js +6 -6
- package/dist/explorer/codegen/versions/0.3.1/services.d.ts +2 -0
- package/dist/explorer/codegen/versions/0.3.1/services.js +644 -0
- package/dist/explorer/codegen/versions/0.3.1/types.d.ts +2 -0
- package/dist/explorer/codegen/versions/0.3.1/types.js +3610 -0
- package/dist/explorer/versions.d.ts +1 -1
- package/dist/explorer/versions.js +10 -7
- package/dist/generated/types.d.ts +6 -6
- package/dist/generated/types.js +1 -1
- package/dist/playground/codegen/truapi-dts.d.ts +1 -1
- package/dist/playground/codegen/truapi-dts.js +15 -7
- package/package.json +1 -1
|
@@ -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: "
|
|
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
|
{
|