@xyo-network/boundwitness-builder 5.1.24 → 5.2.1
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.
|
@@ -21,7 +21,7 @@ export declare class BoundWitnessBuilder<TBoundWitness extends UnsignedBoundWitn
|
|
|
21
21
|
static addressIndex<T extends BoundWitness>(payload: T, address: Address): number;
|
|
22
22
|
static previousHash<T extends BoundWitness>(boundWitness: T, address: Address): string | undefined;
|
|
23
23
|
protected static linkingFields<T extends BoundWitness>(accounts: AccountInstance[], payloads?: Payload[]): Promise<Pick<T, GeneratedBoundWitnessFields>>;
|
|
24
|
-
protected static signature<T extends BoundWitness>(payload: T, address: Address): Hex;
|
|
24
|
+
protected static signature<T extends BoundWitness>(payload: T, address: Address): Hex | null;
|
|
25
25
|
protected static signatures(accounts: AccountInstance[], dataHash: Hash): Promise<string[]>;
|
|
26
26
|
private static validateGeneratedFields;
|
|
27
27
|
build(): Promise<[Signed<TBoundWitness>, TPayload[], ModuleError[]]>;
|
|
@@ -21,7 +21,7 @@ export declare class BoundWitnessBuilder<TBoundWitness extends UnsignedBoundWitn
|
|
|
21
21
|
static addressIndex<T extends BoundWitness>(payload: T, address: Address): number;
|
|
22
22
|
static previousHash<T extends BoundWitness>(boundWitness: T, address: Address): string | undefined;
|
|
23
23
|
protected static linkingFields<T extends BoundWitness>(accounts: AccountInstance[], payloads?: Payload[]): Promise<Pick<T, GeneratedBoundWitnessFields>>;
|
|
24
|
-
protected static signature<T extends BoundWitness>(payload: T, address: Address): Hex;
|
|
24
|
+
protected static signature<T extends BoundWitness>(payload: T, address: Address): Hex | null;
|
|
25
25
|
protected static signatures(accounts: AccountInstance[], dataHash: Hash): Promise<string[]>;
|
|
26
26
|
private static validateGeneratedFields;
|
|
27
27
|
build(): Promise<[Signed<TBoundWitness>, TPayload[], ModuleError[]]>;
|
|
@@ -21,7 +21,7 @@ export declare class BoundWitnessBuilder<TBoundWitness extends UnsignedBoundWitn
|
|
|
21
21
|
static addressIndex<T extends BoundWitness>(payload: T, address: Address): number;
|
|
22
22
|
static previousHash<T extends BoundWitness>(boundWitness: T, address: Address): string | undefined;
|
|
23
23
|
protected static linkingFields<T extends BoundWitness>(accounts: AccountInstance[], payloads?: Payload[]): Promise<Pick<T, GeneratedBoundWitnessFields>>;
|
|
24
|
-
protected static signature<T extends BoundWitness>(payload: T, address: Address): Hex;
|
|
24
|
+
protected static signature<T extends BoundWitness>(payload: T, address: Address): Hex | null;
|
|
25
25
|
protected static signatures(accounts: AccountInstance[], dataHash: Hash): Promise<string[]>;
|
|
26
26
|
private static validateGeneratedFields;
|
|
27
27
|
build(): Promise<[Signed<TBoundWitness>, TPayload[], ModuleError[]]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/boundwitness-builder",
|
|
3
|
-
"version": "5.1
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,24 +36,24 @@
|
|
|
36
36
|
"!**/*.test.*"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@xylabs/arraybuffer": "~5.0.
|
|
40
|
-
"@xylabs/assert": "~5.0.
|
|
41
|
-
"@xylabs/hex": "~5.0.
|
|
42
|
-
"@xyo-network/account-model": "~5.1
|
|
43
|
-
"@xyo-network/boundwitness-model": "~5.1
|
|
44
|
-
"@xyo-network/hash": "~5.1
|
|
45
|
-
"@xyo-network/payload": "~5.1
|
|
46
|
-
"@xyo-network/payload-builder": "~5.1
|
|
47
|
-
"@xyo-network/payload-model": "~5.1
|
|
39
|
+
"@xylabs/arraybuffer": "~5.0.39",
|
|
40
|
+
"@xylabs/assert": "~5.0.39",
|
|
41
|
+
"@xylabs/hex": "~5.0.39",
|
|
42
|
+
"@xyo-network/account-model": "~5.2.1",
|
|
43
|
+
"@xyo-network/boundwitness-model": "~5.2.1",
|
|
44
|
+
"@xyo-network/hash": "~5.2.1",
|
|
45
|
+
"@xyo-network/payload": "~5.2.1",
|
|
46
|
+
"@xyo-network/payload-builder": "~5.2.1",
|
|
47
|
+
"@xyo-network/payload-model": "~5.2.1",
|
|
48
48
|
"async-mutex": "~0.5.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@xylabs/ts-scripts-yarn3": "~7.2.8",
|
|
52
52
|
"@xylabs/tsconfig": "~7.2.8",
|
|
53
|
-
"@xylabs/vitest-extended": "~5.0.
|
|
54
|
-
"@xyo-network/account": "~5.1
|
|
55
|
-
"@xyo-network/elliptic": "~5.1
|
|
56
|
-
"@xyo-network/wallet": "~5.1
|
|
53
|
+
"@xylabs/vitest-extended": "~5.0.39",
|
|
54
|
+
"@xyo-network/account": "~5.2.1",
|
|
55
|
+
"@xyo-network/elliptic": "~5.2.1",
|
|
56
|
+
"@xyo-network/wallet": "~5.2.1",
|
|
57
57
|
"typescript": "~5.9.3",
|
|
58
58
|
"vitest": "~4.0.10"
|
|
59
59
|
},
|