@xyo-network/xl1-protocol 1.12.106 → 1.12.107

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,15 +1,15 @@
1
1
  import type { Address } from '@xylabs/hex';
2
2
  import type { Promisable } from '@xylabs/promise';
3
- import type { WithHashMeta } from '@xyo-network/payload-model';
3
+ import type { Signed } from '@xyo-network/boundwitness-model';
4
4
  import type { BlockBoundWitness } from '../../block/index.ts';
5
5
  import type { XL1BlockRange } from '../../model/index.ts';
6
6
  import type { Transfer } from '../../payload/index.ts';
7
7
  import type { TransactionBoundWitness } from '../../transaction/index.ts';
8
8
  import type { AttoXL1 } from '../../xl1/index.ts';
9
9
  export type AccountBalanceHistoryItem = [
10
- WithHashMeta<BlockBoundWitness>,
11
- WithHashMeta<TransactionBoundWitness> | null,
12
- WithHashMeta<Transfer>
10
+ Signed<BlockBoundWitness>,
11
+ Signed<TransactionBoundWitness> | null,
12
+ Transfer
13
13
  ];
14
14
  export interface AccountBalancesViewInterface {
15
15
  accountBalances(address: Address[]): Promisable<Partial<Record<Address, AttoXL1>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"AccountBalance.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/viewers/AccountBalance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAE9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;AACzE,OAAO,KAAK,EAAE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AAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,CAAC,iBAAiB,CAAC;IACzB,MAAM,CAAC,uBAAuB,CAAC,GAAG,IAAI;IACtC,QAAQ;CACT,CAAA;AAED,MAAM,WAAW,4BAA4B;IAC3C,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAA;IAClF,wBAAwB,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,yBAAyB,EAAE,CAAC,CAAC,CAAC,CAAA;CAChH;AAED,MAAM,WAAW,2BAA2B;IAC1C,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IACrD,qBAAqB,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,aAAa,GAAG,UAAU,CAAC,yBAAyB,EAAE,CAAC,CAAA;CACxG"}
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.106",
4
+ "version": "1.12.107",
5
5
  "description": "XYO Layer One Protocol",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -1,6 +1,6 @@
1
1
  import type { Address } from '@xylabs/hex'
2
2
  import type { Promisable } from '@xylabs/promise'
3
- import type { WithHashMeta } from '@xyo-network/payload-model'
3
+ import type { Signed } from '@xyo-network/boundwitness-model'
4
4
 
5
5
  import type { BlockBoundWitness } from '../../block/index.ts'
6
6
  import type { XL1BlockRange } from '../../model/index.ts'
@@ -9,9 +9,9 @@ import type { TransactionBoundWitness } from '../../transaction/index.ts'
9
9
  import type { AttoXL1 } from '../../xl1/index.ts'
10
10
 
11
11
  export type AccountBalanceHistoryItem = [
12
- WithHashMeta<BlockBoundWitness> /* block */,
13
- WithHashMeta<TransactionBoundWitness> | null,
14
- WithHashMeta<Transfer>, /* the actual transfer payload */
12
+ Signed<BlockBoundWitness> /* block */,
13
+ Signed<TransactionBoundWitness> | null,
14
+ Transfer, /* the actual transfer payload */
15
15
  ]
16
16
 
17
17
  export interface AccountBalancesViewInterface {