@olane/o-node 0.7.12-alpha.21 → 0.7.12-alpha.22

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.
@@ -78,7 +78,7 @@ export class oSearchResolver extends oAddressResolver {
78
78
  * @returns The registry address to query
79
79
  */
80
80
  getRegistryAddress() {
81
- return new oAddress(RestrictedAddresses.REGISTRY);
81
+ return new oAddress('o://leader/registry');
82
82
  }
83
83
  /**
84
84
  * Returns the method name to call on the registry.
@@ -222,7 +222,7 @@ export class oSearchResolver extends oAddressResolver {
222
222
  const registryAddress = this.getRegistryAddress();
223
223
  let searchResponse;
224
224
  try {
225
- searchResponse = await node.useChild(registryAddress, {
225
+ searchResponse = await node.use(registryAddress, {
226
226
  method: this.getSearchMethod(),
227
227
  params: searchParams,
228
228
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olane/o-node",
3
- "version": "0.7.12-alpha.21",
3
+ "version": "0.7.12-alpha.22",
4
4
  "type": "module",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -54,12 +54,12 @@
54
54
  "typescript": "5.4.5"
55
55
  },
56
56
  "dependencies": {
57
- "@olane/o-config": "0.7.12-alpha.21",
58
- "@olane/o-core": "0.7.12-alpha.21",
59
- "@olane/o-protocol": "0.7.12-alpha.21",
60
- "@olane/o-tool": "0.7.12-alpha.21",
57
+ "@olane/o-config": "0.7.12-alpha.22",
58
+ "@olane/o-core": "0.7.12-alpha.22",
59
+ "@olane/o-protocol": "0.7.12-alpha.22",
60
+ "@olane/o-tool": "0.7.12-alpha.22",
61
61
  "debug": "^4.4.1",
62
62
  "dotenv": "^16.5.0"
63
63
  },
64
- "gitHead": "d3bfb08e99cae168b9a6276e45b8e38b25857ae4"
64
+ "gitHead": "8224ba551626751995e60a2064243a5976588d6d"
65
65
  }