@xyo-network/chain-services 1.6.5 → 1.7.0
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.
- package/dist/{types → neutral}/BlockProducer/BaseBlockProducerService.d.ts +1 -1
- package/dist/{types → neutral}/BlockProducer/BaseBlockProducerService.d.ts.map +1 -1
- package/dist/neutral/BlockProducer/spec/BaseBlockProducerService.spec.d.ts +2 -0
- package/dist/neutral/BlockProducer/spec/BaseBlockProducerService.spec.d.ts.map +1 -0
- package/dist/neutral/BlockProducer/spec/generateTransactionTransfer.spec.d.ts +2 -0
- package/dist/neutral/BlockProducer/spec/generateTransactionTransfer.spec.d.ts.map +1 -0
- package/dist/{types → neutral}/ChainValidator/XyoValidator.d.ts +1 -1
- package/dist/{types → neutral}/ChainValidator/XyoValidator.d.ts.map +1 -1
- package/dist/neutral/PendingTransactions/spec/BasePendingTransactions.spec.d.ts +2 -0
- package/dist/neutral/PendingTransactions/spec/BasePendingTransactions.spec.d.ts.map +1 -0
- package/dist/neutral/PendingTransactions/spec/bundledPayloadToHydratedTransaction.spec.d.ts +2 -0
- package/dist/neutral/PendingTransactions/spec/bundledPayloadToHydratedTransaction.spec.d.ts.map +1 -0
- package/dist/neutral/PendingTransactions/spec/hydratedTransactionToPayloadBundle.spec.d.ts +2 -0
- package/dist/neutral/PendingTransactions/spec/hydratedTransactionToPayloadBundle.spec.d.ts.map +1 -0
- package/dist/{types → neutral}/StakeIntent/XyoStakeIntentService.d.ts +2 -2
- package/dist/{types → neutral}/StakeIntent/XyoStakeIntentService.d.ts.map +1 -1
- package/dist/neutral/index.d.ts +362 -0
- package/dist/neutral/index.mjs +1 -1
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +41 -41
- package/src/StakeIntent/XyoStakeIntentService.ts +1 -1
- package/dist/types/index.d.ts +0 -12
- /package/dist/{types → neutral}/AccountBalance/BaseAccountBalanceService.d.ts +0 -0
- /package/dist/{types → neutral}/AccountBalance/BaseAccountBalanceService.d.ts.map +0 -0
- /package/dist/{types → neutral}/AccountBalance/accountBalanceServiceFromArchivist.d.ts +0 -0
- /package/dist/{types → neutral}/AccountBalance/accountBalanceServiceFromArchivist.d.ts.map +0 -0
- /package/dist/{types → neutral}/AccountBalance/index.d.ts +0 -0
- /package/dist/{types → neutral}/AccountBalance/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/BaseService.d.ts +0 -0
- /package/dist/{types → neutral}/BaseService.d.ts.map +0 -0
- /package/dist/{types → neutral}/BlockProducer/generateTransactionFeeTransfers.d.ts +0 -0
- /package/dist/{types → neutral}/BlockProducer/generateTransactionFeeTransfers.d.ts.map +0 -0
- /package/dist/{types → neutral}/BlockProducer/index.d.ts +0 -0
- /package/dist/{types → neutral}/BlockProducer/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/BlockReward/BaseBlockRewardService.d.ts +0 -0
- /package/dist/{types → neutral}/BlockReward/BaseBlockRewardService.d.ts.map +0 -0
- /package/dist/{types → neutral}/BlockReward/EvmBlockRewardService.d.ts +0 -0
- /package/dist/{types → neutral}/BlockReward/EvmBlockRewardService.d.ts.map +0 -0
- /package/dist/{types → neutral}/BlockReward/MemoryBlockRewardService.d.ts +0 -0
- /package/dist/{types → neutral}/BlockReward/MemoryBlockRewardService.d.ts.map +0 -0
- /package/dist/{types → neutral}/BlockReward/index.d.ts +0 -0
- /package/dist/{types → neutral}/BlockReward/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainBlockNumberIteration/ChainBlockNumberIterationService.d.ts +0 -0
- /package/dist/{types → neutral}/ChainBlockNumberIteration/ChainBlockNumberIterationService.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainBlockNumberIteration/index.d.ts +0 -0
- /package/dist/{types → neutral}/ChainBlockNumberIteration/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainBlockNumberIteration/model/BlockNumberIteration.d.ts +0 -0
- /package/dist/{types → neutral}/ChainBlockNumberIteration/model/BlockNumberIteration.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainBlockNumberIteration/model/Params.d.ts +0 -0
- /package/dist/{types → neutral}/ChainBlockNumberIteration/model/Params.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainBlockNumberIteration/model/index.d.ts +0 -0
- /package/dist/{types → neutral}/ChainBlockNumberIteration/model/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainService/Evm/Evm.d.ts +0 -0
- /package/dist/{types → neutral}/ChainService/Evm/Evm.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainService/Evm/index.d.ts +0 -0
- /package/dist/{types → neutral}/ChainService/Evm/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainService/Memory/Memory.d.ts +0 -0
- /package/dist/{types → neutral}/ChainService/Memory/Memory.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainService/Memory/index.d.ts +0 -0
- /package/dist/{types → neutral}/ChainService/Memory/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainService/index.d.ts +0 -0
- /package/dist/{types → neutral}/ChainService/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainValidator/index.d.ts +0 -0
- /package/dist/{types → neutral}/ChainValidator/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainValidator/model/Validator.d.ts +0 -0
- /package/dist/{types → neutral}/ChainValidator/model/Validator.d.ts.map +0 -0
- /package/dist/{types → neutral}/ChainValidator/model/index.d.ts +0 -0
- /package/dist/{types → neutral}/ChainValidator/model/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Election/BaseElectionService.d.ts +0 -0
- /package/dist/{types → neutral}/Election/BaseElectionService.d.ts.map +0 -0
- /package/dist/{types → neutral}/Election/index.d.ts +0 -0
- /package/dist/{types → neutral}/Election/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/PendingTransactions/BasePendingTransactions.d.ts +0 -0
- /package/dist/{types → neutral}/PendingTransactions/BasePendingTransactions.d.ts.map +0 -0
- /package/dist/{types → neutral}/PendingTransactions/bundledPayloadToHydratedTransaction.d.ts +0 -0
- /package/dist/{types → neutral}/PendingTransactions/bundledPayloadToHydratedTransaction.d.ts.map +0 -0
- /package/dist/{types → neutral}/PendingTransactions/hydratedTransactionToPayloadBundle.d.ts +0 -0
- /package/dist/{types → neutral}/PendingTransactions/hydratedTransactionToPayloadBundle.d.ts.map +0 -0
- /package/dist/{types → neutral}/PendingTransactions/index.d.ts +0 -0
- /package/dist/{types → neutral}/PendingTransactions/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/StakeIntent/index.d.ts +0 -0
- /package/dist/{types → neutral}/StakeIntent/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/StakeIntent/lib/getBlockSignedStakeDeclarations.d.ts +0 -0
- /package/dist/{types → neutral}/StakeIntent/lib/getBlockSignedStakeDeclarations.d.ts.map +0 -0
- /package/dist/{types → neutral}/StakeIntent/lib/index.d.ts +0 -0
- /package/dist/{types → neutral}/StakeIntent/lib/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/model/Params.d.ts +0 -0
- /package/dist/{types → neutral}/model/Params.d.ts.map +0 -0
- /package/dist/{types → neutral}/model/index.d.ts +0 -0
- /package/dist/{types → neutral}/model/index.d.ts.map +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@xyo-network/chain-services",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.7.0",
|
|
5
5
|
"description": "XYO Layer One SDK Services",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -22,63 +22,63 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|
|
25
|
-
"types": "./dist/
|
|
25
|
+
"types": "./dist/neutral/index.d.ts",
|
|
26
26
|
"default": "./dist/neutral/index.mjs"
|
|
27
27
|
},
|
|
28
28
|
"./package.json": "./package.json"
|
|
29
29
|
},
|
|
30
30
|
"module": "./dist/neutral/index.mjs",
|
|
31
|
-
"types": "./dist/
|
|
31
|
+
"types": "./dist/neutral/index.d.ts",
|
|
32
32
|
"scripts": {
|
|
33
33
|
"deploy": "echo Deploy not allowed!",
|
|
34
34
|
"deploy3": "echo Deploy3 not allowed!"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@opentelemetry/api": "^1.9.0",
|
|
38
|
-
"@xylabs/array": "^4.
|
|
39
|
-
"@xylabs/assert": "^4.
|
|
40
|
-
"@xylabs/creatable": "^4.
|
|
41
|
-
"@xylabs/decimal-precision": "^4.
|
|
42
|
-
"@xylabs/events": "^4.
|
|
43
|
-
"@xylabs/exists": "^4.
|
|
44
|
-
"@xylabs/forget": "^4.
|
|
45
|
-
"@xylabs/hex": "^4.
|
|
46
|
-
"@xylabs/promise": "^4.
|
|
47
|
-
"@xylabs/telemetry": "^4.
|
|
48
|
-
"@xylabs/typeof": "^4.
|
|
49
|
-
"@xyo-network/account-model": "^4.
|
|
50
|
-
"@xyo-network/archivist-memory": "^4.
|
|
51
|
-
"@xyo-network/archivist-model": "^4.
|
|
52
|
-
"@xyo-network/boundwitness-model": "^4.
|
|
53
|
-
"@xyo-network/boundwitness-validator": "^4.
|
|
54
|
-
"@xyo-network/boundwitness-wrapper": "^4.
|
|
55
|
-
"@xyo-network/chain-analyze": "^1.
|
|
56
|
-
"@xyo-network/chain-ethereum": "^1.
|
|
57
|
-
"@xyo-network/chain-modules": "^1.
|
|
58
|
-
"@xyo-network/chain-protocol": "^1.
|
|
59
|
-
"@xyo-network/chain-telemetry": "^1.
|
|
60
|
-
"@xyo-network/chain-utils": "^1.
|
|
61
|
-
"@xyo-network/chain-validation": "^1.
|
|
62
|
-
"@xyo-network/chain-wrappers": "^1.
|
|
63
|
-
"@xyo-network/payload-builder": "^4.
|
|
64
|
-
"@xyo-network/payload-model": "^4.
|
|
38
|
+
"@xylabs/array": "^4.13.15",
|
|
39
|
+
"@xylabs/assert": "^4.13.15",
|
|
40
|
+
"@xylabs/creatable": "^4.13.15",
|
|
41
|
+
"@xylabs/decimal-precision": "^4.13.15",
|
|
42
|
+
"@xylabs/events": "^4.13.15",
|
|
43
|
+
"@xylabs/exists": "^4.13.15",
|
|
44
|
+
"@xylabs/forget": "^4.13.15",
|
|
45
|
+
"@xylabs/hex": "^4.13.15",
|
|
46
|
+
"@xylabs/promise": "^4.13.15",
|
|
47
|
+
"@xylabs/telemetry": "^4.13.15",
|
|
48
|
+
"@xylabs/typeof": "^4.13.15",
|
|
49
|
+
"@xyo-network/account-model": "^4.1.1",
|
|
50
|
+
"@xyo-network/archivist-memory": "^4.1.1",
|
|
51
|
+
"@xyo-network/archivist-model": "^4.1.1",
|
|
52
|
+
"@xyo-network/boundwitness-model": "^4.1.1",
|
|
53
|
+
"@xyo-network/boundwitness-validator": "^4.1.1",
|
|
54
|
+
"@xyo-network/boundwitness-wrapper": "^4.1.1",
|
|
55
|
+
"@xyo-network/chain-analyze": "^1.7.0",
|
|
56
|
+
"@xyo-network/chain-ethereum": "^1.7.0",
|
|
57
|
+
"@xyo-network/chain-modules": "^1.7.0",
|
|
58
|
+
"@xyo-network/chain-protocol": "^1.7.0",
|
|
59
|
+
"@xyo-network/chain-telemetry": "^1.7.0",
|
|
60
|
+
"@xyo-network/chain-utils": "^1.7.0",
|
|
61
|
+
"@xyo-network/chain-validation": "^1.7.0",
|
|
62
|
+
"@xyo-network/chain-wrappers": "^1.7.0",
|
|
63
|
+
"@xyo-network/payload-builder": "^4.1.1",
|
|
64
|
+
"@xyo-network/payload-model": "^4.1.1",
|
|
65
65
|
"@xyo-network/typechain": "^3.5.4",
|
|
66
|
-
"@xyo-network/xl1-protocol": "^1.6.
|
|
67
|
-
"@xyo-network/xl1-protocol-sdk": "^1.
|
|
66
|
+
"@xyo-network/xl1-protocol": "^1.6.4",
|
|
67
|
+
"@xyo-network/xl1-protocol-sdk": "^1.7.0",
|
|
68
68
|
"async-mutex": "^0.5.0",
|
|
69
69
|
"ethers": "6.15.0",
|
|
70
70
|
"lru-cache": "^11.1.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@types/node": "^24.0.
|
|
74
|
-
"@xylabs/delay": "^4.
|
|
75
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
76
|
-
"@xylabs/tsconfig": "^
|
|
77
|
-
"@xylabs/vitest-extended": "^4.
|
|
78
|
-
"@xyo-network/account": "^4.
|
|
79
|
-
"@xyo-network/account-model": "^4.
|
|
80
|
-
"@xyo-network/chain-validation": "^1.
|
|
81
|
-
"@xyo-network/wallet": "^4.
|
|
73
|
+
"@types/node": "^24.0.13",
|
|
74
|
+
"@xylabs/delay": "^4.13.15",
|
|
75
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.23",
|
|
76
|
+
"@xylabs/tsconfig": "^7.0.0-rc.23",
|
|
77
|
+
"@xylabs/vitest-extended": "^4.13.15",
|
|
78
|
+
"@xyo-network/account": "^4.1.1",
|
|
79
|
+
"@xyo-network/account-model": "^4.1.1",
|
|
80
|
+
"@xyo-network/chain-validation": "^1.7.0",
|
|
81
|
+
"@xyo-network/wallet": "^4.1.1",
|
|
82
82
|
"knip": "^5.61.3",
|
|
83
83
|
"typescript": "^5.8.3",
|
|
84
84
|
"vitest": "^3.2.4",
|
|
@@ -212,7 +212,7 @@ export class XyoStakeIntentService extends BaseService<XyoStakeIntentServicePara
|
|
|
212
212
|
const signedDeclarations = filterAs(result.find(isChainSummaryStakeIntent)?.intents ?? [], asChainStakeIntent)
|
|
213
213
|
if (currentHead.block === undefined) return
|
|
214
214
|
const currentHeadBlockNum = currentHead.block
|
|
215
|
-
if (displayProgress) this.logger?.
|
|
215
|
+
if (displayProgress) this.logger?.log(`Updating index through 0x${currentHeadBlockNum}`)
|
|
216
216
|
for (const signedDeclaration of signedDeclarations) {
|
|
217
217
|
const { exp, nbf } = signedDeclaration
|
|
218
218
|
const start = nbf
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from './AccountBalance/index.ts';
|
|
2
|
-
export * from './BaseService.ts';
|
|
3
|
-
export * from './BlockProducer/index.ts';
|
|
4
|
-
export * from './BlockReward/index.ts';
|
|
5
|
-
export * from './ChainBlockNumberIteration/index.ts';
|
|
6
|
-
export * from './ChainService/index.ts';
|
|
7
|
-
export * from './ChainValidator/index.ts';
|
|
8
|
-
export * from './Election/index.ts';
|
|
9
|
-
export * from './model/index.ts';
|
|
10
|
-
export * from './PendingTransactions/index.ts';
|
|
11
|
-
export * from './StakeIntent/index.ts';
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types → neutral}/ChainBlockNumberIteration/ChainBlockNumberIterationService.d.ts
RENAMED
|
File without changes
|
/package/dist/{types → neutral}/ChainBlockNumberIteration/ChainBlockNumberIterationService.d.ts.map
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types → neutral}/ChainBlockNumberIteration/model/BlockNumberIteration.d.ts.map
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{types → neutral}/PendingTransactions/bundledPayloadToHydratedTransaction.d.ts
RENAMED
|
File without changes
|
/package/dist/{types → neutral}/PendingTransactions/bundledPayloadToHydratedTransaction.d.ts.map
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{types → neutral}/PendingTransactions/hydratedTransactionToPayloadBundle.d.ts.map
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|