@xyo-network/bridge-worker 3.9.2 → 3.9.3
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/browser/index.d.ts +2 -58
- package/dist/neutral/index.d.ts +2 -58
- package/dist/node/index.d.ts +2 -58
- package/package.json +12 -12
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PackageManifestPayload } from '@xyo-network/manifest-model';
|
|
2
2
|
import { Address } from '@xylabs/hex';
|
|
3
|
-
import * as _xylabs_logger from '@xylabs/logger';
|
|
4
3
|
import { Logger } from '@xylabs/logger';
|
|
5
4
|
import { PackageManifestPayload as PackageManifestPayload$1 } from '@xyo-network/manifest';
|
|
6
5
|
import { NodeInstance } from '@xyo-network/node-model';
|
|
@@ -45,9 +44,7 @@ declare class WorkerBridge<TParams extends WorkerBridgeParams = WorkerBridgePara
|
|
|
45
44
|
private _discoverCache?;
|
|
46
45
|
private _targetConfigs;
|
|
47
46
|
private _targetQueries;
|
|
48
|
-
get discoverCache(): LRUCache<string,
|
|
49
|
-
schema: Schema;
|
|
50
|
-
}>[], unknown>;
|
|
47
|
+
get discoverCache(): LRUCache<string, Payload[], unknown>;
|
|
51
48
|
get discoverCacheConfig(): LRUCache.Options<string, Payload[], unknown>;
|
|
52
49
|
get worker(): Worker;
|
|
53
50
|
static createWorkerNode(manifest?: PackageManifestPayload): Promise<WorkerBridge<_xylabs_object.BaseParamsFields & {
|
|
@@ -55,60 +52,7 @@ declare class WorkerBridge<TParams extends WorkerBridgeParams = WorkerBridgePara
|
|
|
55
52
|
addToResolvers?: boolean;
|
|
56
53
|
additionalSigners?: _xyo_network_account.AccountInstance[];
|
|
57
54
|
allowNameResolution?: boolean;
|
|
58
|
-
config:
|
|
59
|
-
schema: Schema;
|
|
60
|
-
readonly labels?: {
|
|
61
|
-
[x: string]: string | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
64
|
-
readonly archiving?: {
|
|
65
|
-
readonly archivists?: string[] | undefined;
|
|
66
|
-
readonly queries?: string[] | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
readonly allowedQueries?: string[] | undefined;
|
|
69
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
70
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
71
|
-
readonly paging?: {
|
|
72
|
-
[x: string]: {
|
|
73
|
-
size?: number | undefined;
|
|
74
|
-
};
|
|
75
|
-
} | undefined;
|
|
76
|
-
readonly retry?: {
|
|
77
|
-
backoff?: number | undefined;
|
|
78
|
-
interval?: number | undefined;
|
|
79
|
-
retries?: number | undefined;
|
|
80
|
-
} | undefined;
|
|
81
|
-
readonly security?: {
|
|
82
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
83
|
-
readonly allowed?: {
|
|
84
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
85
|
-
} | undefined;
|
|
86
|
-
readonly disallowed?: {
|
|
87
|
-
[x: string]: Lowercase<string>[];
|
|
88
|
-
} | undefined;
|
|
89
|
-
} | undefined;
|
|
90
|
-
readonly sign?: boolean | undefined;
|
|
91
|
-
readonly storeQueries?: boolean | undefined;
|
|
92
|
-
readonly timestamp?: boolean | undefined;
|
|
93
|
-
client?: {
|
|
94
|
-
cache?: true | {
|
|
95
|
-
max?: number | undefined;
|
|
96
|
-
maxSize?: number | undefined;
|
|
97
|
-
ttl?: number | undefined;
|
|
98
|
-
} | undefined;
|
|
99
|
-
discoverRoots?: "start" | "lazy" | undefined;
|
|
100
|
-
maxDepth?: number | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
discoverRoots?: "start" | "lazy" | undefined;
|
|
103
|
-
host?: {
|
|
104
|
-
cache?: true | {
|
|
105
|
-
max?: number | undefined;
|
|
106
|
-
maxSize?: number | undefined;
|
|
107
|
-
ttl?: number | undefined;
|
|
108
|
-
} | undefined;
|
|
109
|
-
maxDepth?: number | undefined;
|
|
110
|
-
} | undefined;
|
|
111
|
-
}>;
|
|
55
|
+
config: AnyConfigSchema<WorkerBridgeConfig>;
|
|
112
56
|
ephemeralQueryAccountEnabled?: boolean;
|
|
113
57
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
114
58
|
} & {
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PackageManifestPayload } from '@xyo-network/manifest-model';
|
|
2
2
|
import { Address } from '@xylabs/hex';
|
|
3
|
-
import * as _xylabs_logger from '@xylabs/logger';
|
|
4
3
|
import { Logger } from '@xylabs/logger';
|
|
5
4
|
import { PackageManifestPayload as PackageManifestPayload$1 } from '@xyo-network/manifest';
|
|
6
5
|
import { NodeInstance } from '@xyo-network/node-model';
|
|
@@ -45,9 +44,7 @@ declare class WorkerBridge<TParams extends WorkerBridgeParams = WorkerBridgePara
|
|
|
45
44
|
private _discoverCache?;
|
|
46
45
|
private _targetConfigs;
|
|
47
46
|
private _targetQueries;
|
|
48
|
-
get discoverCache(): LRUCache<string,
|
|
49
|
-
schema: Schema;
|
|
50
|
-
}>[], unknown>;
|
|
47
|
+
get discoverCache(): LRUCache<string, Payload[], unknown>;
|
|
51
48
|
get discoverCacheConfig(): LRUCache.Options<string, Payload[], unknown>;
|
|
52
49
|
get worker(): Worker;
|
|
53
50
|
static createWorkerNode(manifest?: PackageManifestPayload): Promise<WorkerBridge<_xylabs_object.BaseParamsFields & {
|
|
@@ -55,60 +52,7 @@ declare class WorkerBridge<TParams extends WorkerBridgeParams = WorkerBridgePara
|
|
|
55
52
|
addToResolvers?: boolean;
|
|
56
53
|
additionalSigners?: _xyo_network_account.AccountInstance[];
|
|
57
54
|
allowNameResolution?: boolean;
|
|
58
|
-
config:
|
|
59
|
-
schema: Schema;
|
|
60
|
-
readonly labels?: {
|
|
61
|
-
[x: string]: string | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
64
|
-
readonly archiving?: {
|
|
65
|
-
readonly archivists?: string[] | undefined;
|
|
66
|
-
readonly queries?: string[] | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
readonly allowedQueries?: string[] | undefined;
|
|
69
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
70
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
71
|
-
readonly paging?: {
|
|
72
|
-
[x: string]: {
|
|
73
|
-
size?: number | undefined;
|
|
74
|
-
};
|
|
75
|
-
} | undefined;
|
|
76
|
-
readonly retry?: {
|
|
77
|
-
backoff?: number | undefined;
|
|
78
|
-
interval?: number | undefined;
|
|
79
|
-
retries?: number | undefined;
|
|
80
|
-
} | undefined;
|
|
81
|
-
readonly security?: {
|
|
82
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
83
|
-
readonly allowed?: {
|
|
84
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
85
|
-
} | undefined;
|
|
86
|
-
readonly disallowed?: {
|
|
87
|
-
[x: string]: Lowercase<string>[];
|
|
88
|
-
} | undefined;
|
|
89
|
-
} | undefined;
|
|
90
|
-
readonly sign?: boolean | undefined;
|
|
91
|
-
readonly storeQueries?: boolean | undefined;
|
|
92
|
-
readonly timestamp?: boolean | undefined;
|
|
93
|
-
client?: {
|
|
94
|
-
cache?: true | {
|
|
95
|
-
max?: number | undefined;
|
|
96
|
-
maxSize?: number | undefined;
|
|
97
|
-
ttl?: number | undefined;
|
|
98
|
-
} | undefined;
|
|
99
|
-
discoverRoots?: "start" | "lazy" | undefined;
|
|
100
|
-
maxDepth?: number | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
discoverRoots?: "start" | "lazy" | undefined;
|
|
103
|
-
host?: {
|
|
104
|
-
cache?: true | {
|
|
105
|
-
max?: number | undefined;
|
|
106
|
-
maxSize?: number | undefined;
|
|
107
|
-
ttl?: number | undefined;
|
|
108
|
-
} | undefined;
|
|
109
|
-
maxDepth?: number | undefined;
|
|
110
|
-
} | undefined;
|
|
111
|
-
}>;
|
|
55
|
+
config: AnyConfigSchema<WorkerBridgeConfig>;
|
|
112
56
|
ephemeralQueryAccountEnabled?: boolean;
|
|
113
57
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
114
58
|
} & {
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PackageManifestPayload } from '@xyo-network/manifest-model';
|
|
2
2
|
import { Address } from '@xylabs/hex';
|
|
3
|
-
import * as _xylabs_logger from '@xylabs/logger';
|
|
4
3
|
import { Logger } from '@xylabs/logger';
|
|
5
4
|
import { PackageManifestPayload as PackageManifestPayload$1 } from '@xyo-network/manifest';
|
|
6
5
|
import { NodeInstance } from '@xyo-network/node-model';
|
|
@@ -45,9 +44,7 @@ declare class WorkerBridge<TParams extends WorkerBridgeParams = WorkerBridgePara
|
|
|
45
44
|
private _discoverCache?;
|
|
46
45
|
private _targetConfigs;
|
|
47
46
|
private _targetQueries;
|
|
48
|
-
get discoverCache(): LRUCache<string,
|
|
49
|
-
schema: Schema;
|
|
50
|
-
}>[], unknown>;
|
|
47
|
+
get discoverCache(): LRUCache<string, Payload[], unknown>;
|
|
51
48
|
get discoverCacheConfig(): LRUCache.Options<string, Payload[], unknown>;
|
|
52
49
|
get worker(): Worker;
|
|
53
50
|
static createWorkerNode(manifest?: PackageManifestPayload): Promise<WorkerBridge<_xylabs_object.BaseParamsFields & {
|
|
@@ -55,60 +52,7 @@ declare class WorkerBridge<TParams extends WorkerBridgeParams = WorkerBridgePara
|
|
|
55
52
|
addToResolvers?: boolean;
|
|
56
53
|
additionalSigners?: _xyo_network_account.AccountInstance[];
|
|
57
54
|
allowNameResolution?: boolean;
|
|
58
|
-
config:
|
|
59
|
-
schema: Schema;
|
|
60
|
-
readonly labels?: {
|
|
61
|
-
[x: string]: string | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
64
|
-
readonly archiving?: {
|
|
65
|
-
readonly archivists?: string[] | undefined;
|
|
66
|
-
readonly queries?: string[] | undefined;
|
|
67
|
-
} | undefined;
|
|
68
|
-
readonly allowedQueries?: string[] | undefined;
|
|
69
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
70
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
71
|
-
readonly paging?: {
|
|
72
|
-
[x: string]: {
|
|
73
|
-
size?: number | undefined;
|
|
74
|
-
};
|
|
75
|
-
} | undefined;
|
|
76
|
-
readonly retry?: {
|
|
77
|
-
backoff?: number | undefined;
|
|
78
|
-
interval?: number | undefined;
|
|
79
|
-
retries?: number | undefined;
|
|
80
|
-
} | undefined;
|
|
81
|
-
readonly security?: {
|
|
82
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
83
|
-
readonly allowed?: {
|
|
84
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
85
|
-
} | undefined;
|
|
86
|
-
readonly disallowed?: {
|
|
87
|
-
[x: string]: Lowercase<string>[];
|
|
88
|
-
} | undefined;
|
|
89
|
-
} | undefined;
|
|
90
|
-
readonly sign?: boolean | undefined;
|
|
91
|
-
readonly storeQueries?: boolean | undefined;
|
|
92
|
-
readonly timestamp?: boolean | undefined;
|
|
93
|
-
client?: {
|
|
94
|
-
cache?: true | {
|
|
95
|
-
max?: number | undefined;
|
|
96
|
-
maxSize?: number | undefined;
|
|
97
|
-
ttl?: number | undefined;
|
|
98
|
-
} | undefined;
|
|
99
|
-
discoverRoots?: "start" | "lazy" | undefined;
|
|
100
|
-
maxDepth?: number | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
discoverRoots?: "start" | "lazy" | undefined;
|
|
103
|
-
host?: {
|
|
104
|
-
cache?: true | {
|
|
105
|
-
max?: number | undefined;
|
|
106
|
-
maxSize?: number | undefined;
|
|
107
|
-
ttl?: number | undefined;
|
|
108
|
-
} | undefined;
|
|
109
|
-
maxDepth?: number | undefined;
|
|
110
|
-
} | undefined;
|
|
111
|
-
}>;
|
|
55
|
+
config: AnyConfigSchema<WorkerBridgeConfig>;
|
|
112
56
|
ephemeralQueryAccountEnabled?: boolean;
|
|
113
57
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
114
58
|
} & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/bridge-worker",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.3",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -44,17 +44,17 @@
|
|
|
44
44
|
"@xylabs/logger": "^4.5.1",
|
|
45
45
|
"@xylabs/object": "^4.5.1",
|
|
46
46
|
"@xylabs/promise": "^4.5.1",
|
|
47
|
-
"@xyo-network/account": "^3.9.
|
|
48
|
-
"@xyo-network/archivist-model": "^3.9.
|
|
49
|
-
"@xyo-network/boundwitness-model": "^3.9.
|
|
50
|
-
"@xyo-network/bridge-abstract": "^3.9.
|
|
51
|
-
"@xyo-network/bridge-model": "^3.9.
|
|
52
|
-
"@xyo-network/manifest": "^3.9.
|
|
53
|
-
"@xyo-network/manifest-model": "^3.9.
|
|
54
|
-
"@xyo-network/module-model": "^3.9.
|
|
55
|
-
"@xyo-network/node-model": "^3.9.
|
|
56
|
-
"@xyo-network/payload-model": "^3.9.
|
|
57
|
-
"@xyo-network/sentinel-model": "^3.9.
|
|
47
|
+
"@xyo-network/account": "^3.9.3",
|
|
48
|
+
"@xyo-network/archivist-model": "^3.9.3",
|
|
49
|
+
"@xyo-network/boundwitness-model": "^3.9.3",
|
|
50
|
+
"@xyo-network/bridge-abstract": "^3.9.3",
|
|
51
|
+
"@xyo-network/bridge-model": "^3.9.3",
|
|
52
|
+
"@xyo-network/manifest": "^3.9.3",
|
|
53
|
+
"@xyo-network/manifest-model": "^3.9.3",
|
|
54
|
+
"@xyo-network/module-model": "^3.9.3",
|
|
55
|
+
"@xyo-network/node-model": "^3.9.3",
|
|
56
|
+
"@xyo-network/payload-model": "^3.9.3",
|
|
57
|
+
"@xyo-network/sentinel-model": "^3.9.3",
|
|
58
58
|
"lru-cache": "^11.0.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|