@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.
- package/dist/http/consumer.d.ts +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/macro/ark.d.ts +4 -4
- package/dist/mesh.js +7377 -6281
- package/dist/mesh.umd.cjs +8 -8
- package/dist/mpc/context.d.ts +5 -5
- package/dist/mpc/mesh.d.ts +34 -16
- package/dist/psi/context.d.ts +19 -28
- package/dist/psi/daler.d.ts +72 -0
- package/dist/psi/index.d.ts +1 -0
- package/dist/psi/kms.d.ts +25 -5
- package/dist/psi/tokenizer.d.ts +8 -2
- package/dist/types/daler.d.ts +168 -0
- package/dist/types/environ.d.ts +8 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/keys.d.ts +65 -9
- package/dist/types/oauth2.d.ts +2 -2
- package/dist/types/route.d.ts +130 -0
- package/dist/types/status.d.ts +1 -0
- package/dist/types/transport.d.ts +2 -2
- package/package.json +11 -11
package/dist/http/consumer.d.ts
CHANGED
|
@@ -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
|
*/
|
package/dist/macro/ark.d.ts
CHANGED
|
@@ -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
|
|
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:
|
|
83
|
+
declare const Ark: _Ark;
|
|
84
84
|
export { Ark };
|