@query-farm/vgi 0.30.0 → 0.31.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/index.js CHANGED
@@ -11754,8 +11754,9 @@ function registerCatalogMethods(protocol, catalog, _catalogName, signingKey) {
11754
11754
  }
11755
11755
 
11756
11756
  // src/protocol/dispatch.ts
11757
+ var VGI_PROTOCOL_NAME = "vgi.v2";
11757
11758
  function buildVgiProtocol(config) {
11758
- const protocol = new Protocol("vgi", { protocolVersion: "2.0.0" });
11759
+ const protocol = new Protocol(VGI_PROTOCOL_NAME, { protocolVersion: "2.0.0" });
11759
11760
  registerFunctionMethods(protocol, {
11760
11761
  registry: config.registry,
11761
11762
  recoverExchangeState: config.recoverExchangeState,
@@ -12016,6 +12017,24 @@ function wrapRpcWithErrorEnrichment(rpc) {
12016
12017
  throw e;
12017
12018
  }
12018
12019
  },
12020
+ async callRaw(method, input) {
12021
+ try {
12022
+ return await rpc.callRaw(method, input);
12023
+ } catch (e) {
12024
+ if (e instanceof RpcError)
12025
+ throw VgiClientError.fromRpcError(e);
12026
+ throw e;
12027
+ }
12028
+ },
12029
+ async streamRaw(method, input, options) {
12030
+ try {
12031
+ return await rpc.streamRaw(method, input, options);
12032
+ } catch (e) {
12033
+ if (e instanceof RpcError)
12034
+ throw VgiClientError.fromRpcError(e);
12035
+ throw e;
12036
+ }
12037
+ },
12019
12038
  describe: () => rpc.describe(),
12020
12039
  close: () => rpc.close()
12021
12040
  };
@@ -13197,4 +13216,4 @@ export {
13197
13216
  utf82 as utf8
13198
13217
  };
13199
13218
 
13200
- //# debugId=5739BCB2FB0272A864756E2164756E21
13219
+ //# debugId=F30A98CAD029B8EE64756E2164756E21