@polymarket/clob-client 1.0.14 → 1.0.15

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.
@@ -45,7 +45,7 @@ var constants_1 = require("./constants");
45
45
  * @returns string
46
46
  */
47
47
  var buildClobEip712Signature = function (signer, timestamp) { return __awaiter(void 0, void 0, void 0, function () {
48
- var address, chainId, ts, domain, types, value, sig;
48
+ var address, chainID, ts, domain, types, value, sig;
49
49
  return __generator(this, function (_a) {
50
50
  switch (_a.label) {
51
51
  case 0: return [4 /*yield*/, signer.getAddress()];
@@ -53,12 +53,12 @@ var buildClobEip712Signature = function (signer, timestamp) { return __awaiter(v
53
53
  address = _a.sent();
54
54
  return [4 /*yield*/, signer.getChainId()];
55
55
  case 2:
56
- chainId = _a.sent();
56
+ chainID = _a.sent();
57
57
  ts = "" + timestamp;
58
58
  domain = {
59
59
  name: "ClobAuthDomain",
60
60
  version: "1",
61
- chainId: chainId,
61
+ chainId: chainID,
62
62
  };
63
63
  types = {
64
64
  ClobAuth: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@polymarket/clob-client",
3
3
  "description": "Typescript client for Polymarket's CLOB",
4
- "version": "1.0.14",
4
+ "version": "1.0.15",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Jonathan Amenechi",
@@ -23,7 +23,7 @@
23
23
  "@ethersproject/random": "^5.5.0",
24
24
  "@ethersproject/transactions": "^5.5.0",
25
25
  "@ethersproject/wallet": "^5.5.0",
26
- "@polymarket/order-utils": "^1.2.5",
26
+ "@polymarket/order-utils": "^1.2.6",
27
27
  "axios": "^0.21.1",
28
28
  "commitizen": "^4.2.1",
29
29
  "cz-conventional-changelog": "^3.3.0",