@firmer/mesh 0.0.5 → 0.0.7

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 +1,5 @@
1
- export declare function errorf(e: any): Error;
1
+ import { Codeable } from './codeable';
2
+ export declare class Errors {
3
+ static inspect(e: any): Codeable;
4
+ static errorf(e: any): Error;
5
+ }
@@ -1,8 +1,8 @@
1
1
  import { Type } from '../macro';
2
2
  import { Codec } from './codec';
3
3
  export declare class JSONCodec extends Codec {
4
- private encoder;
5
- private decoder;
4
+ private readonly encoder;
5
+ private readonly decoder;
6
6
  decode<T>(buffer: Uint8Array, type: Type<T>): T;
7
7
  decorateAny(type: Type<any>, dict: any): any;
8
8
  encode(value: any): Uint8Array;
@@ -3,8 +3,10 @@ import { Context } from '../psi';
3
3
  import { Reference } from '../types';
4
4
  import { AxiosInstance } from 'axios';
5
5
  export declare class HTTPConsumer extends Consumer {
6
- private c;
7
- getClient(ctx: Context): Promise<AxiosInstance>;
6
+ private readonly timeout;
7
+ private readonly cs;
8
+ getAddr(ctx: Context): string;
9
+ getClient(uri: string): Promise<AxiosInstance>;
8
10
  start(): void;
9
11
  close(): void;
10
12
  consume(ctx: Context, address: string, urn: string, execution: Execution<Reference>, inbound: Uint8Array): Promise<Uint8Array>;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Builtin, Cache, CipherEconomy, CipherProvider, Cluster, Commercialize, Cryptor, Daler, DataHouse, Endpoint, Evaluator, Graph, KMS, KV, Licenser, Locker, Network, Pipeline, Publisher, Registry, Savepoint, Scheduler, Sequence, Subscriber, Tokenizer, TokenProvider, Transporter, FileSystem, Workflow } from './psi';
1
+ import { Builtin, Cache, CipherEconomy, CipherProvider, Cluster, Commercialize, Cryptor, Daler, DataHouse, Devops, Endpoint, Firewalld, Graph, KMS, KV, Licenser, Locker, Network, Pipeline, Publisher, Registry, Savepoint, Scheduler, Sequence, Subscriber, Tokenizer, AuthProvider, Transporter, FileSystem, VM, Workflow } from './psi';
2
2
  export * from './psi';
3
3
  export * from './types';
4
4
  export * from './asm';
@@ -39,14 +39,18 @@ interface MeshServices {
39
39
  * DataHouse
40
40
  */
41
41
  dataHouse: DataHouse;
42
+ /**
43
+ * Devops
44
+ */
45
+ devops: Devops;
42
46
  /**
43
47
  * Endpoint
44
48
  */
45
49
  endpoint: Endpoint;
46
50
  /**
47
- * Evaluator
51
+ * Firewalld
48
52
  */
49
- evaluator: Evaluator;
53
+ firewalld: Firewalld;
50
54
  /**
51
55
  * Graph
52
56
  */
@@ -104,9 +108,9 @@ interface MeshServices {
104
108
  */
105
109
  tokenizer: Tokenizer;
106
110
  /**
107
- * TokenProvider
111
+ * AuthProvider
108
112
  */
109
- tokenProvider: TokenProvider;
113
+ authProvider: AuthProvider;
110
114
  /**
111
115
  * Transporter
112
116
  */
@@ -115,6 +119,10 @@ interface MeshServices {
115
119
  * FileSystem
116
120
  */
117
121
  fileSystem: FileSystem;
122
+ /**
123
+ * VM
124
+ */
125
+ vm: VM;
118
126
  /**
119
127
  * Workflow
120
128
  */