@xyo-network/xl1-protocol 1.7.21 → 1.7.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.
@@ -7,11 +7,11 @@ export interface XyoGatewayProvider extends TransactionSubmitter {
7
7
  /**
8
8
  * @deprecated use `connection()` instead
9
9
  */
10
- activeConnection(): Promisable<XyoConnectionProvider | undefined>;
10
+ activeConnection?(): Promisable<XyoConnectionProvider | undefined>;
11
11
  /**
12
12
  * @deprecated use `connection()` instead
13
13
  */
14
- addConnection(config: XyoRpcConnectionConfig): Promisable<XyoConnectionProvider>;
14
+ addConnection?(config: XyoRpcConnectionConfig): Promisable<XyoConnectionProvider>;
15
15
  /**
16
16
  * Returns the connection provider for this gateway.
17
17
  */
@@ -19,19 +19,19 @@ export interface XyoGatewayProvider extends TransactionSubmitter {
19
19
  /**
20
20
  * @deprecated use `connection()` instead
21
21
  */
22
- connections(): Promisable<Record<string, XyoConnectionProvider>>;
22
+ connections?(): Promisable<Record<string, XyoConnectionProvider>>;
23
23
  /**
24
24
  * @deprecated Permissions now at Client level
25
25
  */
26
- getPermissions(): Promisable<InvokerPermission[]>;
26
+ getPermissions?(): Promisable<InvokerPermission[]>;
27
27
  /**
28
28
  * @deprecated Permissions now at Client level
29
29
  */
30
- requestPermissions(permissions: Permission[]): Promisable<boolean>;
30
+ requestPermissions?(permissions: Permission[]): Promisable<boolean>;
31
31
  /**
32
32
  * @deprecated Permissions now at Client level
33
33
  */
34
- revokePermissions(permissions: Permission[]): Promisable<boolean>;
34
+ revokePermissions?(permissions: Permission[]): Promisable<boolean>;
35
35
  /**
36
36
  * Returns the signer for this gateway.
37
37
  */
@@ -1 +1 @@
1
- {"version":3,"file":"XyoGateway.d.ts","sourceRoot":"","sources":["../../../../src/provider/v1/XyoGateway.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,iBAAiB,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,sBAAsB,EAAE,MAAM,oBAAoB,CAAA;AACvF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,MAAM,WAAW,kBAAmB,SAAQ,oBAAoB;IAC9D;;OAEG;IACH,gBAAgB,CAAC,IAAI,UAAU,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAA;IAClE;;OAEG;IACH,aAAa,CAAC,CAAC,MAAM,EAAE,sBAAsB,GAAG,UAAU,CAAC,qBAAqB,CAAC,CAAA;IACjF;;OAEG;IACH,UAAU,IAAI,UAAU,CAAC,qBAAqB,CAAC,CAAA;IAC/C;;OAEG;IACH,WAAW,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAA;IACjE;;OAEG;IACH,cAAc,CAAC,IAAI,UAAU,CAAC,iBAAiB,EAAE,CAAC,CAAA;IAClD;;OAEG;IACH,kBAAkB,CAAC,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IACnE;;OAEG;IACH,iBAAiB,CAAC,CAAC,WAAW,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAClE;;OAEG;IACH,MAAM,IAAI,UAAU,CAAC,SAAS,CAAC,CAAA;CAChC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json.schemastore.org/package.json",
3
3
  "name": "@xyo-network/xl1-protocol",
4
- "version": "1.7.21",
4
+ "version": "1.7.22",
5
5
  "description": "XYO Layer One Protocol",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -9,11 +9,11 @@ export interface XyoGatewayProvider extends TransactionSubmitter {
9
9
  /**
10
10
  * @deprecated use `connection()` instead
11
11
  */
12
- activeConnection(): Promisable<XyoConnectionProvider | undefined>
12
+ activeConnection?(): Promisable<XyoConnectionProvider | undefined>
13
13
  /**
14
14
  * @deprecated use `connection()` instead
15
15
  */
16
- addConnection(config: XyoRpcConnectionConfig): Promisable<XyoConnectionProvider>
16
+ addConnection?(config: XyoRpcConnectionConfig): Promisable<XyoConnectionProvider>
17
17
  /**
18
18
  * Returns the connection provider for this gateway.
19
19
  */
@@ -21,19 +21,19 @@ export interface XyoGatewayProvider extends TransactionSubmitter {
21
21
  /**
22
22
  * @deprecated use `connection()` instead
23
23
  */
24
- connections(): Promisable<Record<string, XyoConnectionProvider>>
24
+ connections?(): Promisable<Record<string, XyoConnectionProvider>>
25
25
  /**
26
26
  * @deprecated Permissions now at Client level
27
27
  */
28
- getPermissions(): Promisable<InvokerPermission[]>
28
+ getPermissions?(): Promisable<InvokerPermission[]>
29
29
  /**
30
30
  * @deprecated Permissions now at Client level
31
31
  */
32
- requestPermissions(permissions: Permission[]): Promisable<boolean>
32
+ requestPermissions?(permissions: Permission[]): Promisable<boolean>
33
33
  /**
34
34
  * @deprecated Permissions now at Client level
35
35
  */
36
- revokePermissions(permissions: Permission[]): Promisable<boolean>
36
+ revokePermissions?(permissions: Permission[]): Promisable<boolean>
37
37
  /**
38
38
  * Returns the signer for this gateway.
39
39
  */