antelopeql 2.0.0-rc.22 → 2.0.0-rc.23
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/package.json +1 -1
- package/readme.md +1 -1
- package/send_serialized_transaction.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antelopeql",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.23",
|
|
4
4
|
"description": "A GraphQL implementation for interacting with Antelope based blockchains.",
|
|
5
5
|
"repository": "github:pur3miish/antelopeql",
|
|
6
6
|
"bugs": "https://github.com/pur3miish/antelopeql/issues",
|
package/readme.md
CHANGED
|
@@ -96,7 +96,7 @@ const { data } = await AntelopeQL({
|
|
|
96
96
|
signTransaction: async (hash) => {
|
|
97
97
|
const wif_private_key = "PVT_K1_…"; // your private key
|
|
98
98
|
const signature = await sign_txn({ hash, wif_private_key });
|
|
99
|
-
return [signature]; //
|
|
99
|
+
return [signature]; // signatures must return array
|
|
100
100
|
},
|
|
101
101
|
rpc_url: "https://eos.relocke.io" // eos blockchain url.
|
|
102
102
|
});
|
|
@@ -14,7 +14,7 @@ const send_serialized_transaction = {
|
|
|
14
14
|
args: {
|
|
15
15
|
transaction_header: { type: new GraphQLNonNull(bytes_type) },
|
|
16
16
|
transaction_body: { type: new GraphQLNonNull(bytes_type) },
|
|
17
|
-
|
|
17
|
+
signatures: { type: new GraphQLNonNull(new GraphQLList(signature_type)) }
|
|
18
18
|
},
|
|
19
19
|
resolve(root, args, getContext, info) {
|
|
20
20
|
const { network } = getContext(root, args, info);
|