@xyo-network/xl1-protocol-sdk 1.22.20 → 1.22.21

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,21 +1,19 @@
1
1
  import type { CreatableInstance, CreatableParams, EmptyObject, Promisable } from '@xylabs/sdk-js';
2
2
  import { AbstractCreatable } from '@xylabs/sdk-js';
3
3
  import { AccountInstance } from '@xyo-network/account-model';
4
- import { CachingContext } from '@xyo-network/xl1-protocol';
5
4
  import { Semaphore } from 'async-mutex';
6
- import { Config } from '../config/index.ts';
7
- import { CreatableProviderFactory, ProviderFactoryLocatorInstance } from '../CreatableProvider/index.ts';
8
- export interface ActorContext extends CachingContext {
9
- config: Config;
10
- locator: ProviderFactoryLocatorInstance;
11
- }
5
+ import { CreatableProviderFactory } from '../CreatableProvider/index.ts';
6
+ import { ActorContext } from './ActorContext.ts';
7
+ /** @deprecated use ActorParamsV2 */
12
8
  export type ActorParams<T extends EmptyObject | void = void> = CreatableParams & {
13
9
  account: AccountInstance;
14
10
  context?: ActorContext;
15
11
  displayName?: string;
16
12
  id: string;
17
13
  } & (T extends void ? EmptyObject : T);
14
+ /** @deprecated use ActorInstanceV2 */
18
15
  export type ActorInstance<T extends ActorParams = ActorParams> = CreatableInstance<T>;
16
+ /** @deprecated use Actor */
19
17
  export declare class Actor<TParams extends ActorParams = ActorParams> extends AbstractCreatable<TParams> {
20
18
  protected readonly _intervals: Map<string, ReturnType<typeof setInterval>>;
21
19
  protected readonly _semaphores: Map<string, Semaphore>;
@@ -148,7 +146,7 @@ export declare class Actor<TParams extends ActorParams = ActorParams> extends Ab
148
146
  silent: boolean;
149
147
  };
150
148
  protected get context(): ActorContext;
151
- protected get locator(): ProviderFactoryLocatorInstance<import("../CreatableProvider/CreatableProviderContext.zod.ts").CreatableProviderContextType>;
149
+ protected get locator(): import("../CreatableProvider/ProviderFactoryLocatorInstance.ts").ProviderFactoryLocatorInstance<import("../CreatableProvider/CreatableProviderContext.zod.ts").CreatableProviderContextType>;
152
150
  protected get logPrefix(): string;
153
151
  static defaultFactories(): CreatableProviderFactory[];
154
152
  static paramsHandler<T extends ActorInstance>(params?: Partial<T['params']>): Promise<T["params"] & {
@@ -1 +1 @@
1
- {"version":3,"file":"Actor.d.ts","sourceRoot":"","sources":["../../../src/actor/Actor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAAE,eAAe,EAAE,WAAW,EAC/C,UAAU,EACX,MAAM,gBAAgB,CAAA;AACvB,OAAO,EACL,iBAAiB,EAGlB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,EAAE,MAAM,EAAoB,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EACL,wBAAwB,EAA0B,8BAA8B,EACjF,MAAM,+BAA+B,CAAA;AAEtC,MAAM,WAAW,YAAa,SAAQ,cAAc;IAClD,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,8BAA8B,CAAA;CACxC;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,IAAI,eAAe,GAAG;IAC/E,OAAO,EAAE,eAAe,CAAA;IACxB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,EAAE,EAAE,MAAM,CAAA;CACX,GAAG,CAAC,CAAC,SAAS,IAAI,GAAG,WAAW,GAAG,CAAC,CAAC,CAAA;AAEtC,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAA;AAErF,qBACa,KAAK,CAAC,OAAO,SAAS,WAAW,GAAG,WAAW,CAAE,SAAQ,iBAAiB,CAAC,OAAO,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Y;IACpF,OAAO,CAAC,OAAO,CAAQ;IAEvB,IAAI,WAAW,WAEd;IAED,IAAI,EAAE,WAEL;IAED,SAAS,KAAK,OAAO,oBAEpB;IAED,SAAS,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEnB;IAED,SAAS,KAAK,OAAO,iBAEpB;IAED,SAAS,KAAK,OAAO,iMAEpB;IAED,SAAS,KAAK,SAAS,WAEtB;IAED,MAAM,CAAC,gBAAgB,IAAI,wBAAwB,EAAE;WAK/B,aAAa,CAAC,CAAC,SAAS,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;;;;;;;IAgB1F,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,SAAS,aAAa,EAClD,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,GAClB,UAAU,CAAC,YAAY,CAAC;IAiB3B;;OAEG;IACH,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IA+DnG;;OAEG;IACY,YAAY;IAM3B;;;OAGG;IACY,WAAW;CA+B3B"}
@@ -0,0 +1,8 @@
1
+ import type { CachingContext } from '@xyo-network/xl1-protocol';
2
+ import type { Config } from '../config/index.ts';
3
+ import type { ProviderFactoryLocatorInstance } from '../CreatableProvider/index.ts';
4
+ export interface ActorContext extends CachingContext {
5
+ config: Config;
6
+ locator: ProviderFactoryLocatorInstance;
7
+ }
8
+ //# sourceMappingURL=ActorContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActorContext.d.ts","sourceRoot":"","sources":["../../../src/actor/ActorContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAA;AAEnF,MAAM,WAAW,YAAa,SAAQ,cAAc;IAClD,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,8BAA8B,CAAA;CACxC"}
@@ -0,0 +1,174 @@
1
+ import type { CreatableInstance, CreatableParams, EmptyObject, Logger, Promisable } from '@xylabs/sdk-js';
2
+ import { AbstractCreatable, IdLogger } from '@xylabs/sdk-js';
3
+ import { AccountInstance } from '@xyo-network/account-model';
4
+ import { Semaphore } from 'async-mutex';
5
+ import { Config } from '../config/index.ts';
6
+ import { CreatableProviderFactory, ProviderFactoryLocator } from '../CreatableProvider/index.ts';
7
+ import { ActorContext } from './ActorContext.ts';
8
+ export type ActorParamsV2<T extends EmptyObject | void = void> = CreatableParams & {
9
+ account: AccountInstance;
10
+ config: Config;
11
+ logger?: Logger;
12
+ } & (T extends void ? EmptyObject : T);
13
+ export type ActorInstanceV2<T extends ActorParamsV2 = ActorParamsV2> = CreatableInstance<T>;
14
+ export declare class ActorV2<TParams extends ActorParamsV2 = ActorParamsV2> extends AbstractCreatable<TParams> {
15
+ protected readonly _intervals: Map<string, ReturnType<typeof setInterval>>;
16
+ protected readonly _semaphores: Map<string, Semaphore>;
17
+ protected readonly _timeouts: Map<string, ReturnType<typeof setTimeout>>;
18
+ private _active;
19
+ private _context;
20
+ /** @deprecated use .name instead */
21
+ get id(): import("@xylabs/sdk-js").CreatableName;
22
+ protected get account(): AccountInstance;
23
+ protected get config(): {
24
+ api: {
25
+ host: string;
26
+ initRewardsCache: boolean;
27
+ port: number;
28
+ mnemonic?: string | undefined;
29
+ };
30
+ bridge: {
31
+ chainRpcApiUrl: string;
32
+ feeFixed: import("@xylabs/sdk-js").BrandedHex;
33
+ feeRateBasisPoints: number;
34
+ host: string;
35
+ maxBridgeAmount: import("@xylabs/sdk-js").BrandedHex;
36
+ minBridgeAmount: import("@xylabs/sdk-js").BrandedHex;
37
+ port: number;
38
+ redisHost: string;
39
+ redisPort: number;
40
+ remoteBridgeContractAddress: Lowercase<string> & {
41
+ readonly __hex: true;
42
+ } & {
43
+ readonly __address: true;
44
+ };
45
+ remoteChainId: import("@xylabs/sdk-js").BrandedHex;
46
+ remoteTokenAddress: import("@xylabs/sdk-js").BrandedHex;
47
+ remoteChainWalletPrivateKey: import("@xylabs/sdk-js").BrandedHex;
48
+ escrowAddress?: (Lowercase<string> & {
49
+ readonly __hex: true;
50
+ } & {
51
+ readonly __address: true;
52
+ }) | undefined;
53
+ feesAddress?: (Lowercase<string> & {
54
+ readonly __hex: true;
55
+ } & {
56
+ readonly __address: true;
57
+ }) | undefined;
58
+ mnemonic?: string | undefined;
59
+ xl1ChainId?: import("@xylabs/sdk-js").BrandedHex | undefined;
60
+ xl1TokenAddress?: import("@xylabs/sdk-js").BrandedHex | undefined;
61
+ };
62
+ chain: {
63
+ id?: import("@xylabs/sdk-js").BrandedHex | undefined;
64
+ genesisRewardAddress?: (Lowercase<string> & {
65
+ readonly __hex: true;
66
+ } & {
67
+ readonly __address: true;
68
+ }) | undefined;
69
+ };
70
+ evm: {
71
+ chainId?: string | undefined;
72
+ infura?: {
73
+ projectId?: string | undefined;
74
+ projectSecret?: string | undefined;
75
+ } | undefined;
76
+ jsonRpc?: {
77
+ url?: string | undefined;
78
+ } | undefined;
79
+ };
80
+ mempool: {
81
+ enabled: boolean;
82
+ host: string;
83
+ port: number;
84
+ mnemonic?: string | undefined;
85
+ };
86
+ producer: {
87
+ heartbeatInterval: number;
88
+ minStake: number;
89
+ port: number;
90
+ allowlist?: (Lowercase<string> & {
91
+ readonly __hex: true;
92
+ } & {
93
+ readonly __address: true;
94
+ })[] | undefined;
95
+ disableIntentRedeclaration?: boolean | undefined;
96
+ healthCheckPort?: number | undefined;
97
+ mnemonic?: string | undefined;
98
+ rewardAddress?: string | undefined;
99
+ };
100
+ rewardRedemptionApi: {
101
+ chainRpcApiUrl: string;
102
+ host: string;
103
+ port: number;
104
+ mnemonic?: string | undefined;
105
+ };
106
+ services: {
107
+ accountBalanceViewerEndpoint: string;
108
+ apiEndpoint: string;
109
+ };
110
+ storage: {
111
+ mongo?: {
112
+ connectionString?: string | undefined;
113
+ database?: string | undefined;
114
+ domain?: string | undefined;
115
+ password?: string | undefined;
116
+ username?: string | undefined;
117
+ } | undefined;
118
+ root?: string | undefined;
119
+ };
120
+ telemetry: {
121
+ metrics?: {
122
+ scrape: {
123
+ path: string;
124
+ port?: number | undefined;
125
+ };
126
+ } | undefined;
127
+ otel?: {
128
+ otlpEndpoint?: string | undefined;
129
+ } | undefined;
130
+ };
131
+ validation: {
132
+ allowedRewardRedeemers?: (Lowercase<string> & {
133
+ readonly __hex: true;
134
+ } & {
135
+ readonly __address: true;
136
+ })[] | undefined;
137
+ allowedRewardEscrowAccountSigners?: (Lowercase<string> & {
138
+ readonly __hex: true;
139
+ } & {
140
+ readonly __address: true;
141
+ })[] | undefined;
142
+ };
143
+ logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
144
+ silent: boolean;
145
+ };
146
+ protected get context(): ActorContext;
147
+ protected get locator(): import("../CreatableProvider/ProviderFactoryLocatorInstance.ts").ProviderFactoryLocatorInstance<import("../CreatableProvider/CreatableProviderContext.zod.ts").CreatableProviderContextType>;
148
+ static defaultFactories(): CreatableProviderFactory[];
149
+ static paramsHandler<T extends ActorInstanceV2>(params: Partial<T['params']>): Promise<{
150
+ account: T["params"]["account"];
151
+ logger: IdLogger | undefined;
152
+ config: T["params"]["config"];
153
+ name?: import("@xylabs/sdk-js").CreatableName;
154
+ statusReporter?: import("@xylabs/sdk-js").CreatableStatusReporter<void> | undefined;
155
+ meterProvider?: import("@opentelemetry/api").MeterProvider;
156
+ traceProvider?: import("@opentelemetry/api").TracerProvider;
157
+ }>;
158
+ /**
159
+ * The timer runs until the actor is deactivated (or you manually stop it).
160
+ */
161
+ registerTimer(timerName: string, callback: () => Promise<void>, dueTimeMs: number, periodMs: number): void;
162
+ /**
163
+ * Called by the Orchestrator when the actor is activated.
164
+ */
165
+ startHandler(): Promise<void>;
166
+ /**
167
+ * Called by the Orchestrator when the actor is deactivated.
168
+ * Stop all running timers.
169
+ */
170
+ stopHandler(): Promise<void>;
171
+ protected initContext(): Promisable<ActorContext>;
172
+ protected initLocator(): ProviderFactoryLocator<import("../CreatableProvider/CreatableProviderContext.zod.ts").CreatableProviderContextType, string[]>;
173
+ }
174
+ //# sourceMappingURL=ActorV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActorV2.d.ts","sourceRoot":"","sources":["../../../src/actor/ActorV2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAAE,eAAe,EAAE,WAAW,EAC/C,MAAM,EACN,UAAU,EACX,MAAM,gBAAgB,CAAA;AACvB,OAAO,EACL,iBAAiB,EAEO,QAAQ,EACjC,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAA;AAChG,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,IAAI,eAAe,GAAG;IACjF,OAAO,EAAE,eAAe,CAAA;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,GAAG,CAAC,CAAC,SAAS,IAAI,GAAG,WAAW,GAAG,CAAC,CAAC,CAAA;AAEtC,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,aAAa,GAA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AKjD,SAAS,CAAC,WAAW;CAKtB"}
@@ -1,2 +1,4 @@
1
1
  export * from './Actor.ts';
2
+ export * from './ActorContext.ts';
3
+ export * from './ActorV2.ts';
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actor/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actor/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA"}
@@ -141,5 +141,6 @@ export declare const ConfigZod: z.ZodObject<{
141
141
  silent: z.ZodDefault<z.ZodBoolean>;
142
142
  }, z.core.$strip>;
143
143
  export type Config = z.infer<typeof ConfigZod>;
144
+ /** @deprecated Use ConfigZod.parse({}) instead */
144
145
  export declare const getDefaultConfig: () => Config;
145
146
  //# sourceMappingURL=Config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAevB,eAAO,MAAM,qBAAqB;;;;;;;;;;iBAAmF,CAAA;AAErH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAapB,CAAA;AAEF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAA;AAE9C,eAAO,MAAM,gBAAgB,QAAO,MAA6B,CAAA"}
1
+ {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAevB,eAAO,MAAM,qBAAqB;;;;;;;;;;iBAAmF,CAAA;AAErH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAapB,CAAA;AAEF,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAA;AAE9C,kDAAkD;AAClD,eAAO,MAAM,gBAAgB,QAAO,MAA6B,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { Config } from '../config/index.ts';
2
2
  import { type CreatableProviderContext } from '../CreatableProvider/index.ts';
3
- export declare function getEmptyProviderContext(config?: Config): CreatableProviderContext;
3
+ export declare function getEmptyProviderContext(config: Config): CreatableProviderContext;
4
4
  /** @deprecated Use getEmptyProviderContext instead */
5
- export declare function getEmptyContext(config?: Config): import("../CreatableProvider/CreatableProviderContext.zod.ts").CreatableProviderContextType;
5
+ export declare function getEmptyContext(config: Config): import("../CreatableProvider/CreatableProviderContext.zod.ts").CreatableProviderContextType;
6
6
  //# sourceMappingURL=getEmptyProviderContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEmptyProviderContext.d.ts","sourceRoot":"","sources":["../../../src/context/getEmptyProviderContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAEhD,OAAO,EAAE,KAAK,wBAAwB,EAA0B,MAAM,+BAA+B,CAAA;AAErG,wBAAgB,uBAAuB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,wBAAwB,CAQjF;AAED,sDAAsD;AACtD,wBAAgB,eAAe,CAAC,MAAM,CAAC,EAAE,MAAM,+FAE9C"}
1
+ {"version":3,"file":"getEmptyProviderContext.d.ts","sourceRoot":"","sources":["../../../src/context/getEmptyProviderContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,KAAK,wBAAwB,EAA0B,MAAM,+BAA+B,CAAA;AAErG,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,wBAAwB,CAOhF;AAED,sDAAsD;AACtD,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,+FAE7C"}