@firmer/mesh 0.0.2 → 0.0.4

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.
@@ -4,7 +4,7 @@ import { Reference } from '../types';
4
4
  import { AxiosInstance } from 'axios';
5
5
  export declare class HTTPConsumer extends Consumer {
6
6
  private c;
7
- getClient(): Promise<AxiosInstance>;
7
+ getClient(ctx: Context): Promise<AxiosInstance>;
8
8
  start(): void;
9
9
  close(): void;
10
10
  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, DataHouse, Endpoint, Evaluator, Graph, KMS, KV, Licenser, Locker, Network, Pipeline, Publisher, Registry, Savepoint, Scheduler, Sequence, Subscriber, Tokenizer, Transporter, FileSystem, Workflow } from './psi';
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';
2
2
  export * from './psi';
3
3
  export * from './types';
4
4
  export * from './asm';
@@ -31,6 +31,10 @@ interface MeshServices {
31
31
  * Cryptor
32
32
  */
33
33
  cryptor: Cryptor;
34
+ /**
35
+ * Daler
36
+ */
37
+ daler: Daler;
34
38
  /**
35
39
  * DataHouse
36
40
  */
@@ -99,6 +103,10 @@ interface MeshServices {
99
103
  * Tokenizer
100
104
  */
101
105
  tokenizer: Tokenizer;
106
+ /**
107
+ * TokenProvider
108
+ */
109
+ tokenProvider: TokenProvider;
102
110
  /**
103
111
  * Transporter
104
112
  */
@@ -22,9 +22,9 @@ export declare class Types implements Function {
22
22
  toString(): string;
23
23
  [Symbol.hasInstance](value: any): boolean;
24
24
  }
25
- declare class ark {
26
- private tinder;
27
- private annotations;
25
+ declare class _Ark {
26
+ private readonly tinder;
27
+ private readonly annotations;
28
28
  private ak;
29
29
  /**
30
30
  * Annotate handler.
@@ -80,5 +80,5 @@ declare class ark {
80
80
  provider<T>(macro: Type<any>, kind: Type<T>, name: string): List<Class<T>>;
81
81
  inspect<T>(kind: Type<T>): Dict<string, any>;
82
82
  }
83
- declare const Ark: ark;
83
+ declare const Ark: _Ark;
84
84
  export { Ark };