@supanovaapp/sdk 0.2.34 → 0.2.35
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/core/types.d.ts
CHANGED
|
@@ -34,9 +34,7 @@ export interface CantonSubmitRegisterRequestDto {
|
|
|
34
34
|
/** Base64 signature for provided hash */
|
|
35
35
|
signature: string;
|
|
36
36
|
/** Optional deduplication period */
|
|
37
|
-
deduplicationPeriod?:
|
|
38
|
-
value: string;
|
|
39
|
-
};
|
|
37
|
+
deduplicationPeriod?: any;
|
|
40
38
|
}
|
|
41
39
|
export interface CantonSubmitTransactionResponseDto {
|
|
42
40
|
/** Submission ID for tracking completion */
|
|
@@ -19,9 +19,7 @@ export interface SendMultipleTransactionsOptions {
|
|
|
19
19
|
/** Show technical transaction details (commands, disclosedContracts, hash) as JSON. Default: false */
|
|
20
20
|
showTechnicalDetails?: boolean;
|
|
21
21
|
/** Optional deduplication period (shared across all transactions in the batch) */
|
|
22
|
-
deduplicationPeriod?:
|
|
23
|
-
value: string;
|
|
24
|
-
};
|
|
22
|
+
deduplicationPeriod?: any;
|
|
25
23
|
submitOptions?: CantonSubmitPreparedOptions;
|
|
26
24
|
}
|
|
27
25
|
export interface UseSendMultipleTransactionsReturn {
|
|
@@ -27,9 +27,7 @@ export interface CantonSubmitPreparedOptions {
|
|
|
27
27
|
/** Optional command ID for idempotency (passed to prepareTransaction) */
|
|
28
28
|
commandId?: string;
|
|
29
29
|
/** Optional deduplication period (passed to submitPrepared) */
|
|
30
|
-
deduplicationPeriod?:
|
|
31
|
-
value: string;
|
|
32
|
-
};
|
|
30
|
+
deduplicationPeriod?: any;
|
|
33
31
|
}
|
|
34
32
|
export declare class CantonService {
|
|
35
33
|
private client;
|
|
@@ -70,9 +68,7 @@ export declare class CantonService {
|
|
|
70
68
|
* @param hash Base64 hash
|
|
71
69
|
* @param signature Base64 signature
|
|
72
70
|
*/
|
|
73
|
-
submitPrepared(hash: string, signature: string, deduplicationPeriod?:
|
|
74
|
-
value: string;
|
|
75
|
-
}): Promise<CantonSubmitTransactionResponseDto>;
|
|
71
|
+
submitPrepared(hash: string, signature: string, deduplicationPeriod?: any): Promise<CantonSubmitTransactionResponseDto>;
|
|
76
72
|
/**
|
|
77
73
|
* Submit multiple signed Canton transactions in a single request
|
|
78
74
|
* @param txs Array of { hash, signature } (base64)
|
package/package.json
CHANGED