@midnight-ntwrk/wallet-sdk-indexer-client 1.1.0 → 1.2.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.
- package/dist/graphql/generated/gql.d.ts +5 -0
- package/dist/graphql/generated/gql.js +1 -0
- package/dist/graphql/generated/graphql.d.ts +588 -267
- package/dist/graphql/generated/graphql.js +1 -0
- package/dist/graphql/queries/FetchTermsAndConditions.d.ts +6 -0
- package/dist/graphql/queries/FetchTermsAndConditions.js +26 -0
- package/dist/graphql/queries/index.d.ts +1 -0
- package/dist/graphql/queries/index.js +1 -0
- package/dist/graphql/queries/test/BlockHash.test.js +1 -1
- package/dist/graphql/subscriptions/test/ShieldedTransactions.test.js +1 -1
- package/dist/graphql/subscriptions/test/UnshieldedTransactions.test.js +1 -1
- package/dist/graphql/subscriptions/test/ZswapEvents.test.js +1 -1
- package/package.json +2 -2
|
@@ -15,6 +15,7 @@ type Documents = {
|
|
|
15
15
|
"\n query BlockHash($offset: BlockOffset) {\n block(offset: $offset) {\n height\n hash\n ledgerParameters\n timestamp\n }\n }\n ": typeof types.BlockHashDocument;
|
|
16
16
|
"\n mutation Connect($viewingKey: ViewingKey!) {\n connect(viewingKey: $viewingKey)\n }\n ": typeof types.ConnectDocument;
|
|
17
17
|
"\n mutation Disconnect($sessionId: HexEncoded!) {\n disconnect(sessionId: $sessionId)\n }\n ": typeof types.DisconnectDocument;
|
|
18
|
+
"\n query FetchTermsAndConditions {\n block {\n systemParameters {\n termsAndConditions {\n hash\n url\n }\n }\n }\n }\n ": typeof types.FetchTermsAndConditionsDocument;
|
|
18
19
|
"\n query TransactionStatus($transactionId: HexEncoded!) {\n transactions(offset: {identifier: $transactionId}) {\n __typename\n ... on RegularTransaction {\n identifiers\n transactionResult {\n segments {\n id\n success\n }\n status\n __typename\n }\n }\n }\n }\n ": typeof types.TransactionStatusDocument;
|
|
19
20
|
"\n subscription DustLedgerEvents($id: Int) {\n dustLedgerEvents(id: $id) {\n type: __typename\n id\n raw\n maxId\n }\n }\n ": typeof types.DustLedgerEventsDocument;
|
|
20
21
|
"\n subscription ShieldedTransactions($sessionId: HexEncoded!, $index: Int) {\n shieldedTransactions(sessionId: $sessionId, index: $index) {\n __typename\n ... on ShieldedTransactionsProgress {\n highestEndIndex\n highestCheckedEndIndex\n highestRelevantEndIndex\n }\n ... on RelevantTransaction {\n transaction {\n id\n raw\n hash\n protocolVersion\n identifiers\n startIndex\n endIndex\n fees {\n paidFees\n estimatedFees\n }\n transactionResult {\n status\n segments {\n id\n success\n }\n }\n }\n collapsedMerkleTree {\n startIndex\n endIndex\n update\n protocolVersion\n }\n }\n }\n }\n ": typeof types.ShieldedTransactionsDocument;
|
|
@@ -47,6 +48,10 @@ export declare function gql(source: "\n mutation Connect($viewingKey: Viewing
|
|
|
47
48
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
48
49
|
*/
|
|
49
50
|
export declare function gql(source: "\n mutation Disconnect($sessionId: HexEncoded!) {\n disconnect(sessionId: $sessionId)\n }\n "): (typeof documents)["\n mutation Disconnect($sessionId: HexEncoded!) {\n disconnect(sessionId: $sessionId)\n }\n "];
|
|
51
|
+
/**
|
|
52
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
53
|
+
*/
|
|
54
|
+
export declare function gql(source: "\n query FetchTermsAndConditions {\n block {\n systemParameters {\n termsAndConditions {\n hash\n url\n }\n }\n }\n }\n "): (typeof documents)["\n query FetchTermsAndConditions {\n block {\n systemParameters {\n termsAndConditions {\n hash\n url\n }\n }\n }\n }\n "];
|
|
50
55
|
/**
|
|
51
56
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
52
57
|
*/
|
|
@@ -4,6 +4,7 @@ const documents = {
|
|
|
4
4
|
"\n query BlockHash($offset: BlockOffset) {\n block(offset: $offset) {\n height\n hash\n ledgerParameters\n timestamp\n }\n }\n ": types.BlockHashDocument,
|
|
5
5
|
"\n mutation Connect($viewingKey: ViewingKey!) {\n connect(viewingKey: $viewingKey)\n }\n ": types.ConnectDocument,
|
|
6
6
|
"\n mutation Disconnect($sessionId: HexEncoded!) {\n disconnect(sessionId: $sessionId)\n }\n ": types.DisconnectDocument,
|
|
7
|
+
"\n query FetchTermsAndConditions {\n block {\n systemParameters {\n termsAndConditions {\n hash\n url\n }\n }\n }\n }\n ": types.FetchTermsAndConditionsDocument,
|
|
7
8
|
"\n query TransactionStatus($transactionId: HexEncoded!) {\n transactions(offset: {identifier: $transactionId}) {\n __typename\n ... on RegularTransaction {\n identifiers\n transactionResult {\n segments {\n id\n success\n }\n status\n __typename\n }\n }\n }\n }\n ": types.TransactionStatusDocument,
|
|
8
9
|
"\n subscription DustLedgerEvents($id: Int) {\n dustLedgerEvents(id: $id) {\n type: __typename\n id\n raw\n maxId\n }\n }\n ": types.DustLedgerEventsDocument,
|
|
9
10
|
"\n subscription ShieldedTransactions($sessionId: HexEncoded!, $index: Int) {\n shieldedTransactions(sessionId: $sessionId, index: $index) {\n __typename\n ... on ShieldedTransactionsProgress {\n highestEndIndex\n highestCheckedEndIndex\n highestRelevantEndIndex\n }\n ... on RelevantTransaction {\n transaction {\n id\n raw\n hash\n protocolVersion\n identifiers\n startIndex\n endIndex\n fees {\n paidFees\n estimatedFees\n }\n transactionResult {\n status\n segments {\n id\n success\n }\n }\n }\n collapsedMerkleTree {\n startIndex\n endIndex\n update\n protocolVersion\n }\n }\n }\n }\n ": types.ShieldedTransactionsDocument,
|