@matter/general 0.13.1-alpha.0-20250517-99a1e848a → 0.13.1-alpha.0-20250520-d699cd56d
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.
|
@@ -19,7 +19,7 @@ export declare const ec: {
|
|
|
19
19
|
FpPow<T>(Fp: mod.IField<T>, num: T, power: bigint): T;
|
|
20
20
|
FpInvertBatch<T>(Fp: mod.IField<T>, nums: T[], passZero?: boolean): T[];
|
|
21
21
|
FpDiv<T>(Fp: mod.IField<T>, lhs: T, rhs: T | bigint): T;
|
|
22
|
-
FpLegendre<T>(Fp: mod.IField<T>, n: T):
|
|
22
|
+
FpLegendre<T>(Fp: mod.IField<T>, n: T): -1 | 0 | 1;
|
|
23
23
|
FpIsSquare<T>(Fp: mod.IField<T>, n: T): boolean;
|
|
24
24
|
nLength(n: bigint, nBitLength?: number): {
|
|
25
25
|
nBitLength: number;
|
|
@@ -143,16 +143,16 @@ export declare const Transaction: {
|
|
|
143
143
|
*/
|
|
144
144
|
act<T>(via: string, actor: (transaction: Transaction) => MaybePromise<T>): MaybePromise<T>;
|
|
145
145
|
ReadOnly: {
|
|
146
|
-
"__#
|
|
147
|
-
"__#
|
|
148
|
-
"__#
|
|
149
|
-
"__#
|
|
150
|
-
"__#
|
|
151
|
-
"__#
|
|
152
|
-
"__#
|
|
153
|
-
"__#
|
|
154
|
-
"__#
|
|
155
|
-
"__#
|
|
146
|
+
"__#15458@#participants": Set<Participant>;
|
|
147
|
+
"__#15458@#roles": Map<{}, Participant>;
|
|
148
|
+
"__#15458@#resources": Set<Resource>;
|
|
149
|
+
"__#15458@#status": Status;
|
|
150
|
+
"__#15458@#waitingOn"?: Iterable<Transaction>;
|
|
151
|
+
"__#15458@#via": string;
|
|
152
|
+
"__#15458@#shared"?: import("../index.js").Observable<[]>;
|
|
153
|
+
"__#15458@#closed"?: import("../index.js").Observable<[]>;
|
|
154
|
+
"__#15458@#isAsync": boolean;
|
|
155
|
+
"__#15458@#reportingLocks": boolean;
|
|
156
156
|
close(): void;
|
|
157
157
|
readonly via: string;
|
|
158
158
|
readonly status: Status;
|
|
@@ -174,15 +174,15 @@ export declare const Transaction: {
|
|
|
174
174
|
waitFor(others: Set<Transaction>): Promise<void>;
|
|
175
175
|
toString(): string;
|
|
176
176
|
treatAsSlow(): void;
|
|
177
|
-
"__#
|
|
178
|
-
"__#
|
|
179
|
-
"__#
|
|
180
|
-
"__#
|
|
181
|
-
"__#
|
|
182
|
-
"__#
|
|
183
|
-
"__#
|
|
184
|
-
"__#
|
|
185
|
-
"__#
|
|
177
|
+
"__#15458@#finalize"(status: Status, why: string, finalizer: () => MaybePromise): Promise<void> | undefined;
|
|
178
|
+
"__#15458@#executePreCommit"(): MaybePromise<void>;
|
|
179
|
+
"__#15458@#executeCommit"(): MaybePromise;
|
|
180
|
+
"__#15458@#executeCommit1"(): MaybePromise;
|
|
181
|
+
"__#15458@#executeCommit2"(): Promise<void> | undefined;
|
|
182
|
+
"__#15458@#executePostCommit"(participants: Participant[]): MaybePromise;
|
|
183
|
+
"__#15458@#executeRollback"(): Promise<void> | undefined;
|
|
184
|
+
"__#15458@#locksChanged"(resources: Set<Resource>, how?: string): void;
|
|
185
|
+
"__#15458@#assertAvailable"(): void;
|
|
186
186
|
};
|
|
187
187
|
Status: typeof Status;
|
|
188
188
|
Resource: typeof Resource;
|
|
@@ -19,7 +19,7 @@ export declare const ec: {
|
|
|
19
19
|
FpPow<T>(Fp: mod.IField<T>, num: T, power: bigint): T;
|
|
20
20
|
FpInvertBatch<T>(Fp: mod.IField<T>, nums: T[], passZero?: boolean): T[];
|
|
21
21
|
FpDiv<T>(Fp: mod.IField<T>, lhs: T, rhs: T | bigint): T;
|
|
22
|
-
FpLegendre<T>(Fp: mod.IField<T>, n: T):
|
|
22
|
+
FpLegendre<T>(Fp: mod.IField<T>, n: T): -1 | 0 | 1;
|
|
23
23
|
FpIsSquare<T>(Fp: mod.IField<T>, n: T): boolean;
|
|
24
24
|
nLength(n: bigint, nBitLength?: number): {
|
|
25
25
|
nBitLength: number;
|
|
@@ -143,16 +143,16 @@ export declare const Transaction: {
|
|
|
143
143
|
*/
|
|
144
144
|
act<T>(via: string, actor: (transaction: Transaction) => MaybePromise<T>): MaybePromise<T>;
|
|
145
145
|
ReadOnly: {
|
|
146
|
-
"__#
|
|
147
|
-
"__#
|
|
148
|
-
"__#
|
|
149
|
-
"__#
|
|
150
|
-
"__#
|
|
151
|
-
"__#
|
|
152
|
-
"__#
|
|
153
|
-
"__#
|
|
154
|
-
"__#
|
|
155
|
-
"__#
|
|
146
|
+
"__#15458@#participants": Set<Participant>;
|
|
147
|
+
"__#15458@#roles": Map<{}, Participant>;
|
|
148
|
+
"__#15458@#resources": Set<Resource>;
|
|
149
|
+
"__#15458@#status": Status;
|
|
150
|
+
"__#15458@#waitingOn"?: Iterable<Transaction>;
|
|
151
|
+
"__#15458@#via": string;
|
|
152
|
+
"__#15458@#shared"?: import("../index.js").Observable<[]>;
|
|
153
|
+
"__#15458@#closed"?: import("../index.js").Observable<[]>;
|
|
154
|
+
"__#15458@#isAsync": boolean;
|
|
155
|
+
"__#15458@#reportingLocks": boolean;
|
|
156
156
|
close(): void;
|
|
157
157
|
readonly via: string;
|
|
158
158
|
readonly status: Status;
|
|
@@ -174,15 +174,15 @@ export declare const Transaction: {
|
|
|
174
174
|
waitFor(others: Set<Transaction>): Promise<void>;
|
|
175
175
|
toString(): string;
|
|
176
176
|
treatAsSlow(): void;
|
|
177
|
-
"__#
|
|
178
|
-
"__#
|
|
179
|
-
"__#
|
|
180
|
-
"__#
|
|
181
|
-
"__#
|
|
182
|
-
"__#
|
|
183
|
-
"__#
|
|
184
|
-
"__#
|
|
185
|
-
"__#
|
|
177
|
+
"__#15458@#finalize"(status: Status, why: string, finalizer: () => MaybePromise): Promise<void> | undefined;
|
|
178
|
+
"__#15458@#executePreCommit"(): MaybePromise<void>;
|
|
179
|
+
"__#15458@#executeCommit"(): MaybePromise;
|
|
180
|
+
"__#15458@#executeCommit1"(): MaybePromise;
|
|
181
|
+
"__#15458@#executeCommit2"(): Promise<void> | undefined;
|
|
182
|
+
"__#15458@#executePostCommit"(participants: Participant[]): MaybePromise;
|
|
183
|
+
"__#15458@#executeRollback"(): Promise<void> | undefined;
|
|
184
|
+
"__#15458@#locksChanged"(resources: Set<Resource>, how?: string): void;
|
|
185
|
+
"__#15458@#assertAvailable"(): void;
|
|
186
186
|
};
|
|
187
187
|
Status: typeof Status;
|
|
188
188
|
Resource: typeof Resource;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter/general",
|
|
3
|
-
"version": "0.13.1-alpha.0-
|
|
3
|
+
"version": "0.13.1-alpha.0-20250520-d699cd56d",
|
|
4
4
|
"description": "Non-Matter support for Matter.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iot",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"embed-examples": "embedme **/README.md"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@noble/curves": "^1.
|
|
36
|
+
"@noble/curves": "^1.9.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@matter/testing": "0.13.1-alpha.0-
|
|
39
|
+
"@matter/testing": "0.13.1-alpha.0-20250520-d699cd56d"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
42
|
"dist/**/*",
|