antelopeql 3.0.0-rc.5 → 3.0.0-rc.7
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/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/Context.d.ts +2 -1
- package/dist/types/Context.js +0 -1
- package/dist/types/Context.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ export { send_transaction_rpc, type SendTransactionArgs } from "./send_transacti
|
|
|
6
6
|
export { send_serialized_transaction } from "./send_serialized_transaction.js";
|
|
7
7
|
export { query_resolver } from "./query_resolver.js";
|
|
8
8
|
export { mutation_resolver } from "./mutation_resolver.js";
|
|
9
|
-
export { get_abis } from "./get_abis.js";
|
|
10
|
-
export { build_graphql_fields_from_abis } from "./build_graphql_fields_from_abis.js";
|
|
9
|
+
export { get_abis, type AbiResponse } from "./get_abis.js";
|
|
10
|
+
export { build_graphql_fields_from_abis, type AccountABI } from "./build_graphql_fields_from_abis.js";
|
|
11
11
|
export { blockchain_query_field } from "./blockchain_query_field.js";
|
|
12
12
|
export { antelope_types } from "./antelope_types.js";
|
|
13
13
|
export { abi_to_graphql_ast } from "./abi_to_graphql_ast.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,OAAO,EAAE,cAAc,EA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
@@ -8,6 +9,6 @@ export type SignTransactionContext = (hash: Uint8Array, serialized_transaction?:
|
|
|
8
9
|
transaction_body: string;
|
|
9
10
|
}, transaction?: any) => Promise<string[]>;
|
|
10
11
|
export type Context = {
|
|
11
|
-
network(root: any, args: any, info:
|
|
12
|
+
network(root: any, args: any, info: GraphQLResolveInfo): NetworkContext;
|
|
12
13
|
signTransaction?: SignTransactionContext;
|
|
13
14
|
};
|
package/dist/types/Context.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Context.js","sourceRoot":"","sources":["../../src/types/Context.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Context.js","sourceRoot":"","sources":["../../src/types/Context.ts"],"names":[],"mappings":""}
|