@xyo-network/xl1-protocol 1.12.9 → 1.12.10

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.
@@ -5,8 +5,6 @@ export * from './BlockRewardServiceV2.ts';
5
5
  export * from './BridgeService.ts';
6
6
  export * from './Chain/index.ts';
7
7
  export * from './ChainIterator/index.ts';
8
- export * from './ChainServiceCollection.ts';
9
- export * from './ChainServiceCollectionV2.ts';
10
8
  export * from './Election.ts';
11
9
  export * from './NetworkStakeService.ts';
12
10
  export * from './PendingTransactionsService.ts';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,2BAA2B,CAAA;AACzC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,eAAe,CAAA;AAC7B,cAAc,0BAA0B,CAAA;AACxC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,cAAc,CAAA;AAC5B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,2BAA2B,CAAA;AACzC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,0BAA0B,CAAA;AACxC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,cAAc,CAAA;AAC5B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,uBAAuB,CAAA"}
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.9",
4
+ "version": "1.12.10",
5
5
  "description": "XYO Layer One Protocol",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -5,8 +5,6 @@ export * from './BlockRewardServiceV2.ts'
5
5
  export * from './BridgeService.ts'
6
6
  export * from './Chain/index.ts'
7
7
  export * from './ChainIterator/index.ts'
8
- export * from './ChainServiceCollection.ts'
9
- export * from './ChainServiceCollectionV2.ts'
10
8
  export * from './Election.ts'
11
9
  export * from './NetworkStakeService.ts'
12
10
  export * from './PendingTransactionsService.ts'
@@ -1,67 +0,0 @@
1
- import type { ArchivistInstance, WriteArchivist } from '@xyo-network/archivist-model';
2
- import type { WalletInstance } from '@xyo-network/wallet-model';
3
- import type { AccountBalanceService } from './AccountBalanceService.ts';
4
- import type { BlockProducerService } from './BlockProducerService.ts';
5
- import type { BlockRewardService } from './BlockRewardService.ts';
6
- import type { ChainContractViewer, ChainStaker, ChainStakeViewer } from './Chain/index.ts';
7
- import type { EventingChainBlockNumberIteratorService } from './ChainIterator/index.ts';
8
- import type { ElectionService } from './Election.ts';
9
- import type { StakeIntentService } from './StakeIntentService/index.ts';
10
- /** @deprecated use from @xyo-network/xl1-protocol-sdk instead */
11
- export interface ChainServiceCollection {
12
- /**
13
- * The account which is used to sign transactions
14
- */
15
- account: WalletInstance;
16
- /**
17
- * Services for working with account balances
18
- */
19
- balanceService: AccountBalanceService;
20
- /**
21
- * The archivist which the chain data is stored in
22
- */
23
- chainArchivist: ArchivistInstance;
24
- /**
25
- * Service for viewing codified chain information
26
- * from a contract
27
- */
28
- chainContractViewer: ChainContractViewer;
29
- /**
30
- * The chain iterator
31
- */
32
- chainIterator?: EventingChainBlockNumberIteratorService;
33
- /**
34
- * Service for viewing stake information
35
- */
36
- chainStakeViewer: ChainStakeViewer;
37
- /**
38
- * Service for staking
39
- */
40
- chainStaker: ChainStaker;
41
- /**
42
- * The archivist which the chain submissions are stored in
43
- */
44
- chainSubmissionsArchivistWrite: WriteArchivist;
45
- /**
46
- * Service for determining leader election
47
- */
48
- electionService: ElectionService;
49
- /**
50
- * The archivist which the pending transactions are stored
51
- * as bundled transactions
52
- */
53
- pendingBundledTransactionsArchivistWrite: ArchivistInstance;
54
- /**
55
- * The block producer service
56
- */
57
- producer: BlockProducerService;
58
- /**
59
- * Service response for calculating block rewards
60
- */
61
- rewardService: BlockRewardService;
62
- /**
63
- * Services for working with staked intents
64
- */
65
- stakeIntentService: StakeIntentService;
66
- }
67
- //# sourceMappingURL=ChainServiceCollection.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChainServiceCollection.d.ts","sourceRoot":"","sources":["../../../src/services/ChainServiceCollection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EACV,mBAAmB,EAAE,WAAW,EAAE,gBAAgB,EACnD,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,0BAA0B,CAAA;AACvF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAEvE,iEAAiE;AACjE,MAAM,WAAW,sBAAsB;IAErC;;OAEG;IACH,OAAO,EAAE,cAAc,CAAA;IACvB;;OAEG;IACH,cAAc,EAAE,qBAAqB,CAAA;IACrC;;OAEG;IACH,cAAc,EAAE,iBAAiB,CAAA;IACjC;;;OAGG;IACH,mBAAmB,EAAE,mBAAmB,CAAA;IACxC;;OAEG;IACH,aAAa,CAAC,EAAE,uCAAuC,CAAA;IACvD;;OAEG;IACH,gBAAgB,EAAE,gBAAgB,CAAA;IAClC;;OAEG;IACH,WAAW,EAAE,WAAW,CAAA;IACxB;;OAEG;IACH,8BAA8B,EAAE,cAAc,CAAA;IAC9C;;OAEG;IACH,eAAe,EAAE,eAAe,CAAA;IAChC;;;OAGG;IACH,wCAAwC,EAAE,iBAAiB,CAAA;IAC3D;;OAEG;IACH,QAAQ,EAAE,oBAAoB,CAAA;IAC9B;;OAEG;IACH,aAAa,EAAE,kBAAkB,CAAA;IACjC;;OAEG;IACH,kBAAkB,EAAE,kBAAkB,CAAA;CACvC"}
@@ -1,73 +0,0 @@
1
- import type { ArchivistInstance, WriteArchivist } from '@xyo-network/archivist-model';
2
- import type { WalletInstance } from '@xyo-network/wallet-model';
3
- import type { AccountBalanceServiceV2 } from './AccountBalanceService.ts';
4
- import type { BlockProducerService } from './BlockProducerService.ts';
5
- import type { BlockRewardService } from './BlockRewardService.ts';
6
- import type { BridgeService } from './BridgeService.ts';
7
- import type { ChainContractViewer, ChainStaker, ChainStakeViewer } from './Chain/index.ts';
8
- import type { EventingChainBlockNumberIteratorService } from './ChainIterator/index.ts';
9
- import type { ElectionService } from './Election.ts';
10
- import type { NetworkStakeService } from './NetworkStakeService.ts';
11
- import type { StakeIntentService } from './StakeIntentService/index.ts';
12
- import type { StepStakeService } from './StepStakeService.ts';
13
- /** @deprecated use from @xyo-network/xl1-protocol-sdk instead */
14
- export interface ChainServiceCollectionV2 {
15
- /**
16
- * The account which is used to sign transactions
17
- */
18
- account: WalletInstance;
19
- /**
20
- * Services for working with account balances
21
- */
22
- balance: AccountBalanceServiceV2;
23
- /**
24
- * The archivist which the chain data is stored in
25
- */
26
- bridge: BridgeService;
27
- chainArchivist: ArchivistInstance;
28
- /**
29
- * Service for viewing codified chain information
30
- * from a contract
31
- */
32
- chainContractViewer: ChainContractViewer;
33
- /**
34
- * The chain iterator
35
- */
36
- chainIterator?: EventingChainBlockNumberIteratorService;
37
- /**
38
- * Service for viewing stake information
39
- */
40
- chainStakeViewer: ChainStakeViewer;
41
- /**
42
- * Service for staking
43
- */
44
- chainStaker: ChainStaker;
45
- /**
46
- * The archivist which the chain submissions are stored in
47
- */
48
- chainSubmissionsArchivistWrite: WriteArchivist;
49
- /**
50
- * Service for determining leader election
51
- */
52
- election: ElectionService;
53
- networkStake: NetworkStakeService;
54
- /**
55
- * The archivist which the pending transactions are stored
56
- * as bundled transactions
57
- */
58
- pendingBundledTransactionsArchivistWrite: ArchivistInstance;
59
- /**
60
- * The block producer service
61
- */
62
- producer: BlockProducerService;
63
- /**
64
- * Service response for calculating block rewards
65
- */
66
- reward: BlockRewardService;
67
- /**
68
- * Services for working with staked intents
69
- */
70
- stakeIntent: StakeIntentService;
71
- stepStake: StepStakeService;
72
- }
73
- //# sourceMappingURL=ChainServiceCollectionV2.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChainServiceCollectionV2.d.ts","sourceRoot":"","sources":["../../../src/services/ChainServiceCollectionV2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,KAAK,EACV,mBAAmB,EAAE,WAAW,EAAE,gBAAgB,EACnD,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,0BAA0B,CAAA;AACvF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE7D,iEAAiE;AACjE,MAAM,WAAW,wBAAwB;IAEvC;;OAEG;IACH,OAAO,EAAE,cAAc,CAAA;IACvB;;OAEG;IACH,OAAO,EAAE,uBAAuB,CAAA;IAChC;;OAEG;IAEH,MAAM,EAAE,aAAa,CAAA;IAErB,cAAc,EAAE,iBAAiB,CAAA;IACjC;;;OAGG;IACH,mBAAmB,EAAE,mBAAmB,CAAA;IACxC;;OAEG;IACH,aAAa,CAAC,EAAE,uCAAuC,CAAA;IACvD;;OAEG;IACH,gBAAgB,EAAE,gBAAgB,CAAA;IAClC;;OAEG;IACH,WAAW,EAAE,WAAW,CAAA;IACxB;;OAEG;IACH,8BAA8B,EAAE,cAAc,CAAA;IAC9C;;OAEG;IACH,QAAQ,EAAE,eAAe,CAAA;IAEzB,YAAY,EAAE,mBAAmB,CAAA;IAEjC;;;OAGG;IACH,wCAAwC,EAAE,iBAAiB,CAAA;IAC3D;;OAEG;IACH,QAAQ,EAAE,oBAAoB,CAAA;IAC9B;;OAEG;IACH,MAAM,EAAE,kBAAkB,CAAA;IAC1B;;OAEG;IACH,WAAW,EAAE,kBAAkB,CAAA;IAE/B,SAAS,EAAE,gBAAgB,CAAA;CAC5B"}
@@ -1,71 +0,0 @@
1
- import type { ArchivistInstance, WriteArchivist } from '@xyo-network/archivist-model'
2
- import type { WalletInstance } from '@xyo-network/wallet-model'
3
-
4
- import type { AccountBalanceService } from './AccountBalanceService.ts'
5
- import type { BlockProducerService } from './BlockProducerService.ts'
6
- import type { BlockRewardService } from './BlockRewardService.ts'
7
- import type {
8
- ChainContractViewer, ChainStaker, ChainStakeViewer,
9
- } from './Chain/index.ts'
10
- import type { EventingChainBlockNumberIteratorService } from './ChainIterator/index.ts'
11
- import type { ElectionService } from './Election.ts'
12
- import type { StakeIntentService } from './StakeIntentService/index.ts'
13
-
14
- /** @deprecated use from @xyo-network/xl1-protocol-sdk instead */
15
- export interface ChainServiceCollection {
16
-
17
- /**
18
- * The account which is used to sign transactions
19
- */
20
- account: WalletInstance
21
- /**
22
- * Services for working with account balances
23
- */
24
- balanceService: AccountBalanceService
25
- /**
26
- * The archivist which the chain data is stored in
27
- */
28
- chainArchivist: ArchivistInstance
29
- /**
30
- * Service for viewing codified chain information
31
- * from a contract
32
- */
33
- chainContractViewer: ChainContractViewer
34
- /**
35
- * The chain iterator
36
- */
37
- chainIterator?: EventingChainBlockNumberIteratorService
38
- /**
39
- * Service for viewing stake information
40
- */
41
- chainStakeViewer: ChainStakeViewer
42
- /**
43
- * Service for staking
44
- */
45
- chainStaker: ChainStaker
46
- /**
47
- * The archivist which the chain submissions are stored in
48
- */
49
- chainSubmissionsArchivistWrite: WriteArchivist
50
- /**
51
- * Service for determining leader election
52
- */
53
- electionService: ElectionService
54
- /**
55
- * The archivist which the pending transactions are stored
56
- * as bundled transactions
57
- */
58
- pendingBundledTransactionsArchivistWrite: ArchivistInstance
59
- /**
60
- * The block producer service
61
- */
62
- producer: BlockProducerService
63
- /**
64
- * Service response for calculating block rewards
65
- */
66
- rewardService: BlockRewardService
67
- /**
68
- * Services for working with staked intents
69
- */
70
- stakeIntentService: StakeIntentService
71
- }
@@ -1,82 +0,0 @@
1
- import type { ArchivistInstance, WriteArchivist } from '@xyo-network/archivist-model'
2
- import type { WalletInstance } from '@xyo-network/wallet-model'
3
-
4
- import type { AccountBalanceServiceV2 } from './AccountBalanceService.ts'
5
- import type { BlockProducerService } from './BlockProducerService.ts'
6
- import type { BlockRewardService } from './BlockRewardService.ts'
7
- import type { BridgeService } from './BridgeService.ts'
8
- import type {
9
- ChainContractViewer, ChainStaker, ChainStakeViewer,
10
- } from './Chain/index.ts'
11
- import type { EventingChainBlockNumberIteratorService } from './ChainIterator/index.ts'
12
- import type { ElectionService } from './Election.ts'
13
- import type { NetworkStakeService } from './NetworkStakeService.ts'
14
- import type { StakeIntentService } from './StakeIntentService/index.ts'
15
- import type { StepStakeService } from './StepStakeService.ts'
16
-
17
- /** @deprecated use from @xyo-network/xl1-protocol-sdk instead */
18
- export interface ChainServiceCollectionV2 {
19
-
20
- /**
21
- * The account which is used to sign transactions
22
- */
23
- account: WalletInstance
24
- /**
25
- * Services for working with account balances
26
- */
27
- balance: AccountBalanceServiceV2
28
- /**
29
- * The archivist which the chain data is stored in
30
- */
31
-
32
- bridge: BridgeService
33
-
34
- chainArchivist: ArchivistInstance
35
- /**
36
- * Service for viewing codified chain information
37
- * from a contract
38
- */
39
- chainContractViewer: ChainContractViewer
40
- /**
41
- * The chain iterator
42
- */
43
- chainIterator?: EventingChainBlockNumberIteratorService
44
- /**
45
- * Service for viewing stake information
46
- */
47
- chainStakeViewer: ChainStakeViewer
48
- /**
49
- * Service for staking
50
- */
51
- chainStaker: ChainStaker
52
- /**
53
- * The archivist which the chain submissions are stored in
54
- */
55
- chainSubmissionsArchivistWrite: WriteArchivist
56
- /**
57
- * Service for determining leader election
58
- */
59
- election: ElectionService
60
-
61
- networkStake: NetworkStakeService
62
-
63
- /**
64
- * The archivist which the pending transactions are stored
65
- * as bundled transactions
66
- */
67
- pendingBundledTransactionsArchivistWrite: ArchivistInstance
68
- /**
69
- * The block producer service
70
- */
71
- producer: BlockProducerService
72
- /**
73
- * Service response for calculating block rewards
74
- */
75
- reward: BlockRewardService
76
- /**
77
- * Services for working with staked intents
78
- */
79
- stakeIntent: StakeIntentService
80
-
81
- stepStake: StepStakeService
82
- }