@zero-tech/zauction-sdk 0.0.36 → 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ exports.encodeCancelMessage = void 0;
|
|
4
4
|
const helpers_1 = require("./helpers");
|
5
5
|
const encodeCancelMessage = async (apiUrl, signedBidMessage) => {
|
6
6
|
const uri = `${apiUrl}/bid/cancel/encode`;
|
7
|
-
const response = await (0, helpers_1.makeApiCall)(uri, "
|
7
|
+
const response = await (0, helpers_1.makeApiCall)(uri, "POST", {
|
8
8
|
bidMessageSignature: signedBidMessage,
|
9
9
|
});
|
10
10
|
return response.hashedCancelMessage;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"encodeCancelMessage.js","sourceRoot":"","sources":["../../../src/api/actions/encodeCancelMessage.ts"],"names":[],"mappings":";;;AAAA,uCAAwC;AAMjC,MAAM,mBAAmB,GAAG,KAAK,EACtC,MAAc,EACd,gBAAwB,EACP,EAAE;IACnB,MAAM,GAAG,GAAG,GAAG,MAAM,oBAAoB,CAAC;IAC1C,MAAM,QAAQ,GAAG,MAAM,IAAA,qBAAW,EAAqB,GAAG,EAAE,
|
1
|
+
{"version":3,"file":"encodeCancelMessage.js","sourceRoot":"","sources":["../../../src/api/actions/encodeCancelMessage.ts"],"names":[],"mappings":";;;AAAA,uCAAwC;AAMjC,MAAM,mBAAmB,GAAG,KAAK,EACtC,MAAc,EACd,gBAAwB,EACP,EAAE;IACnB,MAAM,GAAG,GAAG,GAAG,MAAM,oBAAoB,CAAC;IAC1C,MAAM,QAAQ,GAAG,MAAM,IAAA,qBAAW,EAAqB,GAAG,EAAE,MAAM,EAAE;QAClE,mBAAmB,EAAE,gBAAgB;KACtC,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC,mBAAmB,CAAC;AACtC,CAAC,CAAC;AAVW,QAAA,mBAAmB,uBAU9B"}
|