@xyo-network/xl1-protocol-sdk 2.1.8 → 2.2.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/neutral/CreatableProvider/AbstractCreatableProvider.d.ts +62 -8
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
- package/dist/neutral/capabilities/resolveProviders.d.ts +6 -0
- package/dist/neutral/capabilities/resolveProviders.d.ts.map +1 -1
- package/dist/neutral/config/Actor.d.ts +372 -48
- package/dist/neutral/config/Actor.d.ts.map +1 -1
- package/dist/neutral/config/Actors.d.ts +62 -8
- package/dist/neutral/config/Actors.d.ts.map +1 -1
- package/dist/neutral/config/Base.d.ts +62 -8
- package/dist/neutral/config/Base.d.ts.map +1 -1
- package/dist/neutral/config/Chain.d.ts +1 -1
- package/dist/neutral/config/Config.d.ts +248 -32
- package/dist/neutral/config/Config.d.ts.map +1 -1
- package/dist/neutral/config/HostActor.d.ts +372 -48
- package/dist/neutral/config/HostActor.d.ts.map +1 -1
- package/dist/neutral/config/ProviderBinding.d.ts +18 -0
- package/dist/neutral/config/ProviderBinding.d.ts.map +1 -0
- package/dist/neutral/config/Validation.d.ts +2 -2
- package/dist/neutral/config/adaptLegacyConfig.d.ts +9 -0
- package/dist/neutral/config/adaptLegacyConfig.d.ts.map +1 -0
- package/dist/neutral/config/index.d.ts +5 -1
- package/dist/neutral/config/index.d.ts.map +1 -1
- package/dist/neutral/config/storage/Storage.d.ts +26 -5
- package/dist/neutral/config/storage/Storage.d.ts.map +1 -1
- package/dist/neutral/config/storage/driver/S3.d.ts +77 -0
- package/dist/neutral/config/storage/driver/S3.d.ts.map +1 -0
- package/dist/neutral/config/storage/driver/index.d.ts +1 -1
- package/dist/neutral/config/transports/Transport.d.ts +111 -0
- package/dist/neutral/config/transports/Transport.d.ts.map +1 -0
- package/dist/neutral/config/transports/index.d.ts +2 -0
- package/dist/neutral/config/transports/index.d.ts.map +1 -0
- package/dist/neutral/context/Actor.d.ts +372 -48
- package/dist/neutral/context/Actor.d.ts.map +1 -1
- package/dist/neutral/context/HostActor.d.ts +372 -48
- package/dist/neutral/context/HostActor.d.ts.map +1 -1
- package/dist/neutral/createDeclarationPayload.d.ts +1 -1
- package/dist/neutral/createDeclarationPayload.d.ts.map +1 -1
- package/dist/neutral/createTransferPayload.d.ts +1 -1
- package/dist/neutral/createTransferPayload.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.d.ts +124 -16
- package/dist/neutral/getFileConfig.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.mjs +157 -108
- package/dist/neutral/getFileConfig.mjs.map +4 -4
- package/dist/neutral/index.mjs +427 -216
- package/dist/neutral/index.mjs.map +4 -4
- package/dist/neutral/instances/Address.d.ts +1 -1
- package/dist/neutral/instances/Address.d.ts.map +1 -1
- package/dist/neutral/instances/Signature.d.ts +1 -1
- package/dist/neutral/instances/Signature.d.ts.map +1 -1
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts +372 -48
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts.map +1 -1
- package/dist/neutral/payloads/AddressPairPayload.d.ts +1 -2
- package/dist/neutral/payloads/AddressPairPayload.d.ts.map +1 -1
- package/dist/neutral/payloads/netBalancesForPayloads.d.ts +2 -2
- package/dist/neutral/payloads/netBalancesForPayloads.d.ts.map +1 -1
- package/dist/neutral/payloads/netSchemasForPayloads.d.ts +2 -2
- package/dist/neutral/payloads/netSchemasForPayloads.d.ts.map +1 -1
- package/dist/neutral/payloads/netTransfersForPayloads.d.ts +1 -2
- package/dist/neutral/payloads/netTransfersForPayloads.d.ts.map +1 -1
- package/dist/neutral/primitives/chain/step/chainStepRewardAddress.d.ts +1 -1
- package/dist/neutral/primitives/chain/step/chainStepRewardAddress.d.ts.map +1 -1
- package/dist/neutral/primitives/payload/mergeTransfers.d.ts +1 -1
- package/dist/neutral/primitives/payload/mergeTransfers.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/activeStakeAtTimeByAddress.d.ts +1 -1
- package/dist/neutral/primitives/stake/activeStakeAtTimeByAddress.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/allStakersForRange.d.ts +1 -1
- package/dist/neutral/primitives/stake/allStakersForRange.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/allStakersForStep.d.ts +1 -1
- package/dist/neutral/primitives/stake/allStakersForStep.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts +1 -1
- package/dist/neutral/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/weightedStakeForRangeByPosition.d.ts +1 -1
- package/dist/neutral/primitives/stake/weightedStakeForRangeByPosition.d.ts.map +1 -1
- package/dist/neutral/primitives/uncle/findUncles.d.ts +2 -2
- package/dist/neutral/services/AccountTransfersService.d.ts +1 -1
- package/dist/neutral/services/AccountTransfersService.d.ts.map +1 -1
- package/dist/neutral/services/Election.d.ts +1 -2
- package/dist/neutral/services/Election.d.ts.map +1 -1
- package/dist/neutral/services/StakeIntentService/StakeIntentService.d.ts +1 -1
- package/dist/neutral/services/StakeIntentService/StakeIntentService.d.ts.map +1 -1
- package/dist/neutral/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts +1 -1
- package/dist/neutral/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts.map +1 -1
- package/dist/neutral/simple/StakeViewer/SimpleStakeViewer.d.ts +1 -1
- package/dist/neutral/simple/StakeViewer/SimpleStakeViewer.d.ts.map +1 -1
- package/dist/neutral/simple/accountBalance/SimpleAccountBalanceViewer.d.ts +9 -10
- package/dist/neutral/simple/accountBalance/SimpleAccountBalanceViewer.d.ts.map +1 -1
- package/dist/neutral/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts +1 -1
- package/dist/neutral/simple/blockValidation/SimpleBlockValidationViewer.d.ts +1 -1
- package/dist/neutral/simple/chainContractViewer/SimpleChainContractViewer.d.ts +3 -3
- package/dist/neutral/simple/chainContractViewer/SimpleChainContractViewer.d.ts.map +1 -1
- package/dist/neutral/simple/gateway/SimpleXyoGatewayRunner.d.ts +1 -2
- package/dist/neutral/simple/gateway/SimpleXyoGatewayRunner.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts +1 -1
- package/dist/neutral/simple/signer/SimpleXyoSigner.d.ts +1 -2
- package/dist/neutral/simple/signer/SimpleXyoSigner.d.ts.map +1 -1
- package/dist/neutral/simple/timeSync2/SimpleTimeSyncViewer.d.ts +1 -1
- package/dist/neutral/simple/timeSync2/SimpleTimeSyncViewer.d.ts.map +1 -1
- package/dist/neutral/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts +1 -1
- package/dist/neutral/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts +1 -1
- package/dist/neutral/summary/model/BalancesStepSummary.d.ts +1 -2
- package/dist/neutral/summary/model/BalancesStepSummary.d.ts.map +1 -1
- package/dist/neutral/summary/model/TransfersSummary.d.ts +1 -2
- package/dist/neutral/summary/model/TransfersSummary.d.ts.map +1 -1
- package/dist/neutral/summary/primitives/balances/balancesSummary.d.ts +1 -1
- package/dist/neutral/summary/primitives/balances/balancesSummary.d.ts.map +1 -1
- package/dist/neutral/summary/primitives/transfers/transfersSummary.d.ts +1 -1
- package/dist/neutral/summary/primitives/transfers/transfersSummary.d.ts.map +1 -1
- package/dist/neutral/test/BuildBlockOptions.d.ts +1 -2
- package/dist/neutral/test/BuildBlockOptions.d.ts.map +1 -1
- package/dist/neutral/test/buildNextBlock.d.ts +1 -2
- package/dist/neutral/test/buildNextBlock.d.ts.map +1 -1
- package/dist/neutral/test/buildRandomChain.d.ts +1 -2
- package/dist/neutral/test/buildRandomChain.d.ts.map +1 -1
- package/dist/neutral/test/buildRandomTransaction.d.ts +1 -2
- package/dist/neutral/test/buildRandomTransaction.d.ts.map +1 -1
- package/dist/neutral/test/createGenesisBlock.d.ts +1 -2
- package/dist/neutral/test/createGenesisBlock.d.ts.map +1 -1
- package/dist/neutral/test/createProducerChainStakeIntentTransaction.d.ts +1 -2
- package/dist/neutral/test/createProducerChainStakeIntentTransaction.d.ts.map +1 -1
- package/dist/neutral/test/getSimpleBlockViewerLocator.d.ts +1 -2
- package/dist/neutral/test/getSimpleBlockViewerLocator.d.ts.map +1 -1
- package/dist/neutral/test/index.mjs +159 -110
- package/dist/neutral/test/index.mjs.map +4 -4
- package/dist/neutral/transaction/buildTransaction.d.ts +1 -2
- package/dist/neutral/transaction/buildTransaction.d.ts.map +1 -1
- package/dist/neutral/transaction/buildUnsignedTransaction.d.ts +1 -2
- package/dist/neutral/transaction/buildUnsignedTransaction.d.ts.map +1 -1
- package/package.json +14 -16
- package/dist/neutral/config/storage/driver/R2.d.ts +0 -27
- package/dist/neutral/config/storage/driver/R2.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostActor.d.ts","sourceRoot":"","sources":["../../../src/context/HostActor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5B,uCAAuC;AACvC,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"HostActor.d.ts","sourceRoot":"","sources":["../../../src/context/HostActor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5B,uCAAuC;AACvC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAiE,CAAA;AAEpG,mCAAmC;AACnC,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA;AAC5E,uEAAuE;AACvE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmE,CAAA;AACxG,yCAAyC;AACzC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmE,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { XyoAddress } from '@xyo-network/
|
|
1
|
+
import type { XyoAddress } from '@xyo-network/sdk-js';
|
|
2
2
|
import { type ChainStakeIntent, type Intent } from '@xyo-network/xl1-protocol-lib';
|
|
3
3
|
/** createDeclarationIntent constant. */
|
|
4
4
|
export declare const createDeclarationIntent: (address: XyoAddress, intent: Intent, nbf: number, exp?: number) => ChainStakeIntent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDeclarationPayload.d.ts","sourceRoot":"","sources":["../../src/createDeclarationPayload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"createDeclarationPayload.d.ts","sourceRoot":"","sources":["../../src/createDeclarationPayload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,EACL,KAAK,gBAAgB,EAA0B,KAAK,MAAM,EAC3D,MAAM,+BAA+B,CAAA;AAEtC,wCAAwC;AACxC,eAAO,MAAM,uBAAuB,GAAI,SAAS,UAAU,EAAE,QAAQ,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,MAAM,KAAG,gBAMxG,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JsonObject } from '@xylabs/sdk-js';
|
|
2
|
-
import type { XyoAddress } from '@xyo-network/
|
|
2
|
+
import type { XyoAddress } from '@xyo-network/sdk-js';
|
|
3
3
|
import type { Transfer } from '@xyo-network/xl1-protocol-lib';
|
|
4
4
|
/** Creates a TransferPayload instance. */
|
|
5
5
|
export declare function createTransferPayload(from: XyoAddress, transfers: Record<XyoAddress, bigint>, context?: JsonObject): Transfer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTransferPayload.d.ts","sourceRoot":"","sources":["../../src/createTransferPayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"createTransferPayload.d.ts","sourceRoot":"","sources":["../../src/createTransferPayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAErD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAG7D,0CAA0C;AAC1C,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,CAQ7H"}
|
|
@@ -9,7 +9,7 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
9
9
|
readonly __hex: true;
|
|
10
10
|
} & {
|
|
11
11
|
readonly __address: true;
|
|
12
|
-
}) | import("@xyo-network/
|
|
12
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
|
|
13
13
|
};
|
|
14
14
|
evm: {
|
|
15
15
|
chainId?: string | undefined;
|
|
@@ -25,6 +25,10 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
25
25
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
26
26
|
silent: boolean;
|
|
27
27
|
};
|
|
28
|
+
providerBindings: Record<string, {
|
|
29
|
+
implementation?: string | undefined;
|
|
30
|
+
transport?: string | undefined;
|
|
31
|
+
}>;
|
|
28
32
|
providers: {
|
|
29
33
|
[x: string]: unknown;
|
|
30
34
|
moniker: string;
|
|
@@ -40,6 +44,35 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
40
44
|
sessionId: string;
|
|
41
45
|
} | undefined;
|
|
42
46
|
};
|
|
47
|
+
transports: Record<string, {
|
|
48
|
+
type: "lmdb";
|
|
49
|
+
root: string;
|
|
50
|
+
} | {
|
|
51
|
+
type: "mongo";
|
|
52
|
+
connectionString?: string | undefined;
|
|
53
|
+
database?: string | undefined;
|
|
54
|
+
domain?: string | undefined;
|
|
55
|
+
password?: string | undefined;
|
|
56
|
+
username?: string | undefined;
|
|
57
|
+
} | {
|
|
58
|
+
protocol: string;
|
|
59
|
+
url: string;
|
|
60
|
+
type: "rpc";
|
|
61
|
+
} | {
|
|
62
|
+
type: "rest";
|
|
63
|
+
baseUrl: string;
|
|
64
|
+
} | {
|
|
65
|
+
type: "s3";
|
|
66
|
+
bucket?: string | undefined;
|
|
67
|
+
prefix?: string | undefined;
|
|
68
|
+
readUrl?: string | undefined;
|
|
69
|
+
accessKeyId?: string | undefined;
|
|
70
|
+
accountId?: string | undefined;
|
|
71
|
+
secretAccessKey?: string | undefined;
|
|
72
|
+
} | {
|
|
73
|
+
type: "evm-rpc";
|
|
74
|
+
url: string;
|
|
75
|
+
}>;
|
|
43
76
|
storage: {
|
|
44
77
|
mongo?: {
|
|
45
78
|
connectionString?: string | undefined;
|
|
@@ -48,16 +81,37 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
48
81
|
password?: string | undefined;
|
|
49
82
|
username?: string | undefined;
|
|
50
83
|
} | undefined;
|
|
51
|
-
|
|
84
|
+
root?: string | undefined;
|
|
85
|
+
s3?: {
|
|
52
86
|
accessKeyId?: string | undefined;
|
|
53
87
|
accountId?: string | undefined;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
88
|
+
chainState?: {
|
|
89
|
+
accessKeyId?: string | undefined;
|
|
90
|
+
accountId?: string | undefined;
|
|
91
|
+
bucket?: string | undefined;
|
|
92
|
+
prefix?: string | undefined;
|
|
93
|
+
readUrl?: string | undefined;
|
|
94
|
+
secretAccessKey?: string | undefined;
|
|
95
|
+
} | undefined;
|
|
96
|
+
finalized?: {
|
|
97
|
+
accessKeyId?: string | undefined;
|
|
98
|
+
accountId?: string | undefined;
|
|
99
|
+
bucket?: string | undefined;
|
|
100
|
+
prefix?: string | undefined;
|
|
101
|
+
readUrl?: string | undefined;
|
|
102
|
+
secretAccessKey?: string | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
index?: {
|
|
105
|
+
accessKeyId?: string | undefined;
|
|
106
|
+
accountId?: string | undefined;
|
|
107
|
+
bucket?: string | undefined;
|
|
108
|
+
prefix?: string | undefined;
|
|
109
|
+
readUrl?: string | undefined;
|
|
110
|
+
secretAccessKey?: string | undefined;
|
|
111
|
+
} | undefined;
|
|
57
112
|
prefix?: string | undefined;
|
|
58
113
|
secretAccessKey?: string | undefined;
|
|
59
114
|
} | undefined;
|
|
60
|
-
root?: string | undefined;
|
|
61
115
|
};
|
|
62
116
|
telemetry: {
|
|
63
117
|
metrics?: {
|
|
@@ -77,12 +131,12 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
77
131
|
readonly __hex: true;
|
|
78
132
|
} & {
|
|
79
133
|
readonly __address: true;
|
|
80
|
-
}) | import("@xyo-network/
|
|
134
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress)[] | undefined;
|
|
81
135
|
allowedRewardEscrowAccountSigners?: ((Lowercase<string> & {
|
|
82
136
|
readonly __hex: true;
|
|
83
137
|
} & {
|
|
84
138
|
readonly __address: true;
|
|
85
|
-
}) | import("@xyo-network/
|
|
139
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress)[] | undefined;
|
|
86
140
|
};
|
|
87
141
|
actors: {
|
|
88
142
|
[x: string]: unknown;
|
|
@@ -92,7 +146,7 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
92
146
|
readonly __hex: true;
|
|
93
147
|
} & {
|
|
94
148
|
readonly __address: true;
|
|
95
|
-
}) | import("@xyo-network/
|
|
149
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
|
|
96
150
|
};
|
|
97
151
|
evm: {
|
|
98
152
|
chainId?: string | undefined;
|
|
@@ -108,6 +162,10 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
108
162
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
109
163
|
silent: boolean;
|
|
110
164
|
};
|
|
165
|
+
providerBindings: Record<string, {
|
|
166
|
+
implementation?: string | undefined;
|
|
167
|
+
transport?: string | undefined;
|
|
168
|
+
}>;
|
|
111
169
|
providers: {
|
|
112
170
|
[x: string]: unknown;
|
|
113
171
|
moniker: string;
|
|
@@ -123,6 +181,35 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
123
181
|
sessionId: string;
|
|
124
182
|
} | undefined;
|
|
125
183
|
};
|
|
184
|
+
transports: Record<string, {
|
|
185
|
+
type: "lmdb";
|
|
186
|
+
root: string;
|
|
187
|
+
} | {
|
|
188
|
+
type: "mongo";
|
|
189
|
+
connectionString?: string | undefined;
|
|
190
|
+
database?: string | undefined;
|
|
191
|
+
domain?: string | undefined;
|
|
192
|
+
password?: string | undefined;
|
|
193
|
+
username?: string | undefined;
|
|
194
|
+
} | {
|
|
195
|
+
protocol: string;
|
|
196
|
+
url: string;
|
|
197
|
+
type: "rpc";
|
|
198
|
+
} | {
|
|
199
|
+
type: "rest";
|
|
200
|
+
baseUrl: string;
|
|
201
|
+
} | {
|
|
202
|
+
type: "s3";
|
|
203
|
+
bucket?: string | undefined;
|
|
204
|
+
prefix?: string | undefined;
|
|
205
|
+
readUrl?: string | undefined;
|
|
206
|
+
accessKeyId?: string | undefined;
|
|
207
|
+
accountId?: string | undefined;
|
|
208
|
+
secretAccessKey?: string | undefined;
|
|
209
|
+
} | {
|
|
210
|
+
type: "evm-rpc";
|
|
211
|
+
url: string;
|
|
212
|
+
}>;
|
|
126
213
|
storage: {
|
|
127
214
|
mongo?: {
|
|
128
215
|
connectionString?: string | undefined;
|
|
@@ -131,16 +218,37 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
131
218
|
password?: string | undefined;
|
|
132
219
|
username?: string | undefined;
|
|
133
220
|
} | undefined;
|
|
134
|
-
|
|
221
|
+
root?: string | undefined;
|
|
222
|
+
s3?: {
|
|
135
223
|
accessKeyId?: string | undefined;
|
|
136
224
|
accountId?: string | undefined;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
225
|
+
chainState?: {
|
|
226
|
+
accessKeyId?: string | undefined;
|
|
227
|
+
accountId?: string | undefined;
|
|
228
|
+
bucket?: string | undefined;
|
|
229
|
+
prefix?: string | undefined;
|
|
230
|
+
readUrl?: string | undefined;
|
|
231
|
+
secretAccessKey?: string | undefined;
|
|
232
|
+
} | undefined;
|
|
233
|
+
finalized?: {
|
|
234
|
+
accessKeyId?: string | undefined;
|
|
235
|
+
accountId?: string | undefined;
|
|
236
|
+
bucket?: string | undefined;
|
|
237
|
+
prefix?: string | undefined;
|
|
238
|
+
readUrl?: string | undefined;
|
|
239
|
+
secretAccessKey?: string | undefined;
|
|
240
|
+
} | undefined;
|
|
241
|
+
index?: {
|
|
242
|
+
accessKeyId?: string | undefined;
|
|
243
|
+
accountId?: string | undefined;
|
|
244
|
+
bucket?: string | undefined;
|
|
245
|
+
prefix?: string | undefined;
|
|
246
|
+
readUrl?: string | undefined;
|
|
247
|
+
secretAccessKey?: string | undefined;
|
|
248
|
+
} | undefined;
|
|
140
249
|
prefix?: string | undefined;
|
|
141
250
|
secretAccessKey?: string | undefined;
|
|
142
251
|
} | undefined;
|
|
143
|
-
root?: string | undefined;
|
|
144
252
|
};
|
|
145
253
|
telemetry: {
|
|
146
254
|
metrics?: {
|
|
@@ -160,12 +268,12 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
|
|
|
160
268
|
readonly __hex: true;
|
|
161
269
|
} & {
|
|
162
270
|
readonly __address: true;
|
|
163
|
-
}) | import("@xyo-network/
|
|
271
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress)[] | undefined;
|
|
164
272
|
allowedRewardEscrowAccountSigners?: ((Lowercase<string> & {
|
|
165
273
|
readonly __hex: true;
|
|
166
274
|
} & {
|
|
167
275
|
readonly __address: true;
|
|
168
|
-
}) | import("@xyo-network/
|
|
276
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress)[] | undefined;
|
|
169
277
|
};
|
|
170
278
|
name: string;
|
|
171
279
|
dataLake?: import("./config/index.ts").DataLakeConfig | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFileConfig.d.ts","sourceRoot":"","sources":["../../src/getFileConfig.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,wBAAsB,aAAa,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"getFileConfig.d.ts","sourceRoot":"","sources":["../../src/getFileConfig.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,wBAAsB,aAAa,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgB1D"}
|