@polymarket/relayer-client 1.0.1 → 1.0.3

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/client.js CHANGED
@@ -68,7 +68,7 @@ class RelayClient {
68
68
  nonce: rp.nonce,
69
69
  };
70
70
  const request = yield builder_1.buildProxyTransactionRequest(this.signer, args);
71
- console.log(`Client side request creation took: ${(Date.now() - start) / 1000} seconds`);
71
+ console.log(`Client side proxy request creation took: ${(Date.now() - start) / 1000} seconds`);
72
72
  return this.submitTransaction(request);
73
73
  });
74
74
  }
@@ -88,7 +88,7 @@ class RelayClient {
88
88
  chainId: this.chainId,
89
89
  };
90
90
  const request = yield builder_1.buildSafeTransactionRequest(this.signer, args);
91
- console.log(`Client side request creation took: ${(Date.now() - start) / 1000} seconds`);
91
+ console.log(`Client side safe request creation took: ${(Date.now() - start) / 1000} seconds`);
92
92
  return this.submitTransaction(request);
93
93
  });
94
94
  }
@@ -108,7 +108,7 @@ class RelayClient {
108
108
  paymentReceiver: ethers_1.ethers.constants.AddressZero,
109
109
  };
110
110
  const request = yield builder_2.buildSafeCreateTransactionRequest(this.signer, args);
111
- console.log(`Client side request creation took: ${(Date.now() - start) / 1000} seconds`);
111
+ console.log(`Client side deploy request creation took: ${(Date.now() - start) / 1000} seconds`);
112
112
  return this.submitTransaction(request);
113
113
  });
114
114
  }
package/dist/types.d.ts CHANGED
@@ -83,6 +83,7 @@ export interface SafeCreateTransactionArgs {
83
83
  export declare enum RelayerTransactionState {
84
84
  STATE_NEW = "STATE_NEW",
85
85
  STATE_EXECUTED = "STATE_EXECUTED",
86
+ STATE_MINED = "STATE_MINED",
86
87
  STATE_INVALID = "STATE_INVALID",
87
88
  STATE_CONFIRMED = "STATE_CONFIRMED",
88
89
  STATE_FAILED = "STATE_FAILED"
package/dist/types.js CHANGED
@@ -23,6 +23,7 @@ var RelayerTransactionState;
23
23
  (function (RelayerTransactionState) {
24
24
  RelayerTransactionState["STATE_NEW"] = "STATE_NEW";
25
25
  RelayerTransactionState["STATE_EXECUTED"] = "STATE_EXECUTED";
26
+ RelayerTransactionState["STATE_MINED"] = "STATE_MINED";
26
27
  RelayerTransactionState["STATE_INVALID"] = "STATE_INVALID";
27
28
  RelayerTransactionState["STATE_CONFIRMED"] = "STATE_CONFIRMED";
28
29
  RelayerTransactionState["STATE_FAILED"] = "STATE_FAILED";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@polymarket/relayer-client",
3
3
  "description": "Client for Polymarket relayers",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [