@xyo-network/xl1-protocol 1.25.3 → 1.25.5

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.
@@ -2,9 +2,11 @@ import type { GatewayName } from '../model/index.ts';
2
2
  import type { XyoPermissions } from '../permissions/index.ts';
3
3
  import type { XyoGateway } from './XyoGateway.ts';
4
4
  import type { XyoGatewayRunner } from './XyoGatewayRunner.ts';
5
+ /** @deprecated */
5
6
  export interface XyoGatewayConfig {
6
7
  name: GatewayName;
7
8
  }
9
+ /** @deprecated */
8
10
  export interface XyoRpcGatewayConfig extends XyoGatewayConfig {
9
11
  dataLakeEndpoint: string;
10
12
  networkEndpoint: string;
@@ -12,7 +14,9 @@ export interface XyoRpcGatewayConfig extends XyoGatewayConfig {
12
14
  export interface XyoClient {
13
15
  gateways: Readonly<Partial<Record<GatewayName, XyoGatewayRunner>>>;
14
16
  permissions: XyoPermissions;
17
+ /** @deprecated */
15
18
  addGateway?(providerOrConfig: XyoGatewayConfig | XyoRpcGatewayConfig | XyoGateway): Promise<XyoGateway>;
19
+ /** @deprecated */
16
20
  removeGateway?(name: GatewayName): Promise<void>;
17
21
  }
18
22
  //# sourceMappingURL=XyoClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"XyoClient.d.ts","sourceRoot":"","sources":["../../../src/providers/XyoClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE7D,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IAC3D,gBAAgB,EAAE,MAAM,CAAA;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WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACjD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/xl1-protocol",
3
- "version": "1.25.3",
3
+ "version": "1.25.5",
4
4
  "description": "XYO Layer One Protocol",
5
5
  "homepage": "https://xylabs.com",
6
6
  "bugs": {
@@ -3,10 +3,12 @@ import type { XyoPermissions } from '../permissions/index.ts'
3
3
  import type { XyoGateway } from './XyoGateway.ts'
4
4
  import type { XyoGatewayRunner } from './XyoGatewayRunner.ts'
5
5
 
6
+ /** @deprecated */
6
7
  export interface XyoGatewayConfig {
7
8
  name: GatewayName
8
9
  }
9
10
 
11
+ /** @deprecated */
10
12
  export interface XyoRpcGatewayConfig extends XyoGatewayConfig {
11
13
  dataLakeEndpoint: string
12
14
  networkEndpoint: string
@@ -16,6 +18,8 @@ export interface XyoClient {
16
18
  gateways: Readonly<Partial<Record<GatewayName, XyoGatewayRunner>>>
17
19
  permissions: XyoPermissions
18
20
 
21
+ /** @deprecated */
19
22
  addGateway?(providerOrConfig: XyoGatewayConfig | XyoRpcGatewayConfig | XyoGateway): Promise<XyoGateway>
23
+ /** @deprecated */
20
24
  removeGateway?(name: GatewayName): Promise<void>
21
25
  }