@firmer/mesh 0.0.12 → 0.0.14
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/__vite-browser-external-_8GVkOFt.js +7 -0
- package/dist/cause/status.d.ts +6 -0
- package/dist/chunk-BdsCSvBP.js +20 -0
- package/dist/grpc/consumer.d.ts +1 -0
- package/dist/http/consumer.d.ts +1 -0
- package/dist/macro/mpi.d.ts +1 -1
- package/dist/mesh.js +8368 -14365
- package/dist/mesh.umd.cjs +10 -9
- package/dist/mpc/consumer.d.ts +12 -0
- package/dist/mpc/reference.d.ts +2 -0
- package/dist/psi/builtin.d.ts +6 -1
- package/dist/test/builtin.test.d.ts +0 -0
- package/dist/types/entity.d.ts +12 -2
- package/dist/uses/useAuth.d.ts +4 -3
- package/package.json +14 -8
- package/dist/__vite-browser-external-l0sNRNKZ.js +0 -1
package/dist/cause/status.d.ts
CHANGED
|
@@ -43,4 +43,10 @@ export declare class Status {
|
|
|
43
43
|
static NO_TRANSACTION: MeshCode;
|
|
44
44
|
static SQL_EXECUTE_ERROR: MeshCode;
|
|
45
45
|
static DUPLICATE_KEY: MeshCode;
|
|
46
|
+
static InvalidCredential: MeshCode;
|
|
47
|
+
static ExpireAuthentication: MeshCode;
|
|
48
|
+
static ExpireAuthorizeCode: MeshCode;
|
|
49
|
+
static WontService: MeshCode;
|
|
50
|
+
static AckFin: MeshCode;
|
|
51
|
+
static DenyOp: MeshCode;
|
|
46
52
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, n) => {
|
|
3
|
+
let r = {};
|
|
4
|
+
for (var i in e) t(r, i, {
|
|
5
|
+
get: e[i],
|
|
6
|
+
enumerable: !0
|
|
7
|
+
});
|
|
8
|
+
return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
9
|
+
}, c = (e, i, o, s) => {
|
|
10
|
+
if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
11
|
+
get: ((e) => i[e]).bind(null, d),
|
|
12
|
+
enumerable: !(s = n(i, d)) || s.enumerable
|
|
13
|
+
});
|
|
14
|
+
return e;
|
|
15
|
+
}, l = (n, r, a) => (a = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule ? t(a, "default", {
|
|
16
|
+
value: n,
|
|
17
|
+
enumerable: !0
|
|
18
|
+
}) : a, n));
|
|
19
|
+
//#endregion
|
|
20
|
+
export { s as n, l as r, o as t };
|
package/dist/grpc/consumer.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export declare class GRPCConsumer extends Consumer {
|
|
|
5
5
|
start(): void;
|
|
6
6
|
close(): void;
|
|
7
7
|
consume(ctx: Context, address: string, urn: string, execution: Execution<Reference>, inbound: Uint8Array): Promise<Uint8Array>;
|
|
8
|
+
consumes(ctx: Context, address: string, urn: string, execution: Execution<Reference>, inbound: Uint8Array): AsyncIterableIterator<Uint8Array>;
|
|
8
9
|
}
|
package/dist/http/consumer.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare class HTTPConsumer extends Consumer {
|
|
|
10
10
|
start(): void;
|
|
11
11
|
close(): void;
|
|
12
12
|
consume(ctx: Context, address: string, urn: string, execution: Execution<Reference>, inbound: Uint8Array): Promise<Uint8Array>;
|
|
13
|
+
consumes(ctx: Context, address: string, urn: string, execution: Execution<Reference>, inbound: Uint8Array): AsyncIterableIterator<Uint8Array>;
|
|
13
14
|
invoke<T>(ctx: Context, param: any, type: T, urn: string, timeout: number): Promise<T>;
|
|
14
15
|
doing(ctx: Context, addr: string, path: string, param: any, headers: Record<string, string>, timeout: number): Promise<any>;
|
|
15
16
|
}
|
package/dist/macro/mpi.d.ts
CHANGED
|
@@ -18,4 +18,4 @@ export declare class MPI {
|
|
|
18
18
|
constructor(name: string, version: string, proto: string, codec: string, flags: number, timeout: number, retries: number, mdc: string, zone: string, cluster: string, cell: string, group: string, address: string, retype: any);
|
|
19
19
|
decorate<T>(target: Object, propertyKey: string | symbol, descriptor?: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T> | void;
|
|
20
20
|
}
|
|
21
|
-
export declare function mpi(name?: string, retype?: any, timeout?: number, version?: string, proto?: string, codec?: string,
|
|
21
|
+
export declare function mpi(name?: string, retype?: any, timeout?: number, flags?: number, version?: string, proto?: string, codec?: string, retries?: number, mdc?: string, zone?: string, cluster?: string, cell?: string, group?: string, address?: string): PropertyDecorator & MethodDecorator;
|