@dignetwork/dig-sdk 0.0.1-alpha.28 → 0.0.1-alpha.29
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.
|
@@ -18,6 +18,6 @@ export declare class DigPeer {
|
|
|
18
18
|
static sendEqualBulkPayments(walletName: string, addresses: string[], totalAmount: bigint, memos: Buffer[]): Promise<void>;
|
|
19
19
|
static sendBulkPayments(walletName: string, outputs: Output[]): Promise<void>;
|
|
20
20
|
sendPayment(walletName: string, amount: bigint, memos?: Buffer[]): Promise<void>;
|
|
21
|
-
createPaymentHint(storeId: Buffer):
|
|
21
|
+
createPaymentHint(storeId: Buffer): Buffer;
|
|
22
22
|
}
|
|
23
23
|
//# sourceMappingURL=DigPeer.d.ts.map
|
|
@@ -193,7 +193,7 @@ class DigPeer {
|
|
|
193
193
|
hash.update(combinedBuffer);
|
|
194
194
|
const transformedBuffer = hash.digest();
|
|
195
195
|
// Return the 32-byte hash as a hex string
|
|
196
|
-
return transformedBuffer
|
|
196
|
+
return transformedBuffer;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
exports.DigPeer = DigPeer;
|