@xyo-network/os-runtime 8.0.0 → 8.0.1

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/README.md CHANGED
@@ -8,6 +8,6 @@ Part of [sdk-xyo-client-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-c
8
8
 
9
9
  ## Credits
10
10
 
11
- [Made with 🔥 and ❄️ by XYO](https://xyo.network)
11
+ [Made with 🔥 and ❄️ by XYO Foundation](https://xyo.network)
12
12
 
13
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
13
+ [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
@@ -41,16 +41,16 @@ export declare class XyOsContextBase<TParams extends XyOsContextParams | void =
41
41
  description?: string | undefined;
42
42
  lazyStart?: boolean | undefined;
43
43
  status?: {
44
- address: Lowercase<string> & {
44
+ address: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
45
45
  readonly __hex: true;
46
46
  } & {
47
47
  readonly __address: true;
48
- };
49
- children?: Record<Lowercase<string> & {
48
+ });
49
+ children?: Record<import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
50
50
  readonly __hex: true;
51
51
  } & {
52
52
  readonly __address: true;
53
- }, string | null> | undefined;
53
+ }), string | null> | undefined;
54
54
  } | undefined;
55
55
  modules?: {
56
56
  private?: (import("@xylabs/sdk-js").Brand<string, {
@@ -70,16 +70,16 @@ export declare class XyOsContextBase<TParams extends XyOsContextParams | void =
70
70
  description?: string | undefined;
71
71
  lazyStart?: boolean | undefined;
72
72
  status?: {
73
- address: Lowercase<string> & {
73
+ address: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
74
74
  readonly __hex: true;
75
75
  } & {
76
76
  readonly __address: true;
77
- };
78
- children?: Record<Lowercase<string> & {
77
+ });
78
+ children?: Record<import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
79
79
  readonly __hex: true;
80
80
  } & {
81
81
  readonly __address: true;
82
- }, string | null> | undefined;
82
+ }), string | null> | undefined;
83
83
  } | undefined;
84
84
  })[] | undefined;
85
85
  public?: (import("@xylabs/sdk-js").Brand<string, {
@@ -99,16 +99,16 @@ export declare class XyOsContextBase<TParams extends XyOsContextParams | void =
99
99
  description?: string | undefined;
100
100
  lazyStart?: boolean | undefined;
101
101
  status?: {
102
- address: Lowercase<string> & {
102
+ address: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
103
103
  readonly __hex: true;
104
104
  } & {
105
105
  readonly __address: true;
106
- };
107
- children?: Record<Lowercase<string> & {
106
+ });
107
+ children?: Record<import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
108
108
  readonly __hex: true;
109
109
  } & {
110
110
  readonly __address: true;
111
- }, string | null> | undefined;
111
+ }), string | null> | undefined;
112
112
  } | undefined;
113
113
  })[] | undefined;
114
114
  } | undefined;
@@ -132,16 +132,16 @@ export declare class XyOsContextBase<TParams extends XyOsContextParams | void =
132
132
  description?: string | undefined;
133
133
  lazyStart?: boolean | undefined;
134
134
  status?: {
135
- address: Lowercase<string> & {
135
+ address: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
136
136
  readonly __hex: true;
137
137
  } & {
138
138
  readonly __address: true;
139
- };
140
- children?: Record<Lowercase<string> & {
139
+ });
140
+ children?: Record<import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
141
141
  readonly __hex: true;
142
142
  } & {
143
143
  readonly __address: true;
144
- }, string | null> | undefined;
144
+ }), string | null> | undefined;
145
145
  } | undefined;
146
146
  }> | undefined;
147
147
  };
@@ -360,6 +360,7 @@ var DappAccessPayloads = class {
360
360
  };
361
361
 
362
362
  // src/dapp/context/creator/DefaultPayloads/NodeInfoPayload.ts
363
+ import { ZERO_ADDRESS } from "@xylabs/sdk-js";
363
364
  import { NodeOsInfoSchema } from "@xyo-network/os-model";
364
365
  var NodeInfoPayload = class {
365
366
  _context;
@@ -375,7 +376,7 @@ var NodeInfoPayload = class {
375
376
  }
376
377
  await Promise.resolve();
377
378
  const nodeOsInfo = {
378
- publicAddress: exposedNode?.address ?? "",
379
+ publicAddress: exposedNode?.address ?? ZERO_ADDRESS,
379
380
  schema: NodeOsInfoSchema
380
381
  };
381
382
  return [nodeOsInfo];