@xyo-network/xl1-protocol 1.12.18 → 1.12.19

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.
@@ -1,8 +1,8 @@
1
1
  import type { Hex } from '@xylabs/hex';
2
2
  /**
3
- * Represents a transfer from a source chain/token/address to a destination chain/token/address.
3
+ * Represents a transfer destination
4
4
  */
5
- export interface BridgeDetailsFields {
5
+ export interface BridgeDetailsDestinationFields {
6
6
  /**
7
7
  * Destination network
8
8
  */
@@ -19,6 +19,11 @@ export interface BridgeDetailsFields {
19
19
  * Token being bridged to
20
20
  */
21
21
  destToken: Hex;
22
+ }
23
+ /**
24
+ * Represents a transfer source
25
+ */
26
+ export interface BridgeDetailsSourceFields {
22
27
  /**
23
28
  * Source network
24
29
  */
@@ -36,4 +41,9 @@ export interface BridgeDetailsFields {
36
41
  */
37
42
  srcToken: Hex;
38
43
  }
44
+ /**
45
+ * Represents a transfer from a source chain/token/address/amount to a destination chain/token/address/amount.
46
+ */
47
+ export interface BridgeDetailsFields extends BridgeDetailsSourceFields, BridgeDetailsDestinationFields {
48
+ }
39
49
  //# sourceMappingURL=BridgeDetails.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BridgeDetails.d.ts","sourceRoot":"","sources":["../../../../../src/payload/elevatable/Bridge/BridgeDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAEtC;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAElC;;OAEG;IACH,IAAI,EAAE,GAAG,CAAA;IAET;;OAEG;IACH,WAAW,EAAE,GAAG,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,GAAG,CAAA;IAEf;;OAEG;IACH,SAAS,EAAE,GAAG,CAAA;IAEd;;OAEG;IACH,GAAG,EAAE,GAAG,CAAA;IAER;;OAEG;IACH,UAAU,EAAE,GAAG,CAAA;IAEf;;OAEG;IACH,SAAS,EAAE,GAAG,CAAA;IAEd;;OAEG;IACH,QAAQ,EAAE,GAAG,CAAA;CACd"}
1
+ {"version":3,"file":"BridgeDetails.d.ts","sourceRoot":"","sources":["../../../../../src/payload/elevatable/Bridge/BridgeDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAEtC;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,IAAI,EAAE,GAAG,CAAA;IAET;;OAEG;IACH,WAAW,EAAE,GAAG,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,GAAG,CAAA;IAEf;;OAEG;IACH,SAAS,EAAE,GAAG,CAAA;CACf;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,GAAG,EAAE,GAAG,CAAA;IAER;;OAEG;IACH,UAAU,EAAE,GAAG,CAAA;IAEf;;OAEG;IACH,SAAS,EAAE,GAAG,CAAA;IAEd;;OAEG;IACH,QAAQ,EAAE,GAAG,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,yBAAyB,EAAE,8BAA8B;CAAG"}
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.12.18",
4
+ "version": "1.12.19",
5
5
  "description": "XYO Layer One Protocol",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -1,10 +1,9 @@
1
1
  import type { Hex } from '@xylabs/hex'
2
2
 
3
3
  /**
4
- * Represents a transfer from a source chain/token/address to a destination chain/token/address.
4
+ * Represents a transfer destination
5
5
  */
6
- export interface BridgeDetailsFields {
7
-
6
+ export interface BridgeDetailsDestinationFields {
8
7
  /**
9
8
  * Destination network
10
9
  */
@@ -24,7 +23,12 @@ export interface BridgeDetailsFields {
24
23
  * Token being bridged to
25
24
  */
26
25
  destToken: Hex
26
+ }
27
27
 
28
+ /**
29
+ * Represents a transfer source
30
+ */
31
+ export interface BridgeDetailsSourceFields {
28
32
  /**
29
33
  * Source network
30
34
  */
@@ -45,3 +49,8 @@ export interface BridgeDetailsFields {
45
49
  */
46
50
  srcToken: Hex
47
51
  }
52
+
53
+ /**
54
+ * Represents a transfer from a source chain/token/address/amount to a destination chain/token/address/amount.
55
+ */
56
+ export interface BridgeDetailsFields extends BridgeDetailsSourceFields, BridgeDetailsDestinationFields {}