@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, "GET", {
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,KAAK,EAAE;QACjE,mBAAmB,EAAE,gBAAgB;KACtC,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC,mBAAmB,CAAC;AACtC,CAAC,CAAC;AAVW,QAAA,mBAAmB,uBAU9B"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zero-tech/zauction-sdk",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "repository": "git@github.com:zer0-os/zAuction-SDK.git",