@cowprotocol/sdk-cow-shed 0.1.0-monorepo.2 → 0.2.0-beta.0

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/index.d.mts CHANGED
@@ -65,7 +65,7 @@ declare class CowShedHooks {
65
65
  message: {
66
66
  calls: ICoWShedCall[];
67
67
  nonce: string;
68
- deadline: bigint;
68
+ deadline: string;
69
69
  };
70
70
  };
71
71
  getDomain(proxy: string): TypedDataDomain;
@@ -97,7 +97,7 @@ interface SignAndEncodeTxArgs {
97
97
  /**
98
98
  * Deadline to use for the transaction. If not provided, the maximum uint256 will be used.
99
99
  */
100
- deadline: bigint;
100
+ deadline?: bigint;
101
101
  /**
102
102
  * If value is provided, gas won't be estimated and will use the value
103
103
  */
package/dist/index.d.ts CHANGED
@@ -65,7 +65,7 @@ declare class CowShedHooks {
65
65
  message: {
66
66
  calls: ICoWShedCall[];
67
67
  nonce: string;
68
- deadline: bigint;
68
+ deadline: string;
69
69
  };
70
70
  };
71
71
  getDomain(proxy: string): TypedDataDomain;
@@ -97,7 +97,7 @@ interface SignAndEncodeTxArgs {
97
97
  /**
98
98
  * Deadline to use for the transaction. If not provided, the maximum uint256 will be used.
99
99
  */
100
- deadline: bigint;
100
+ deadline?: bigint;
101
101
  /**
102
102
  * If value is provided, gas won't be estimated and will use the value
103
103
  */
package/dist/index.js CHANGED
@@ -247,7 +247,7 @@ var CowShedHooks = class {
247
247
  const message = {
248
248
  calls,
249
249
  nonce,
250
- deadline
250
+ deadline: deadline.toString()
251
251
  };
252
252
  return { domain: this.getDomain(proxy), types: COW_SHED_712_TYPES, message };
253
253
  }
package/dist/index.mjs CHANGED
@@ -216,7 +216,7 @@ var CowShedHooks = class {
216
216
  const message = {
217
217
  calls,
218
218
  nonce,
219
- deadline
219
+ deadline: deadline.toString()
220
220
  };
221
221
  return { domain: this.getDomain(proxy), types: COW_SHED_712_TYPES, message };
222
222
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowprotocol/sdk-cow-shed",
3
- "version": "0.1.0-monorepo.2",
3
+ "version": "0.2.0-beta.0",
4
4
  "description": "CowProtocol Cow Shed package",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -19,9 +19,8 @@
19
19
  "test": "jest",
20
20
  "test:coverage": "jest --coverage --json --outputFile=jest.results.json && npx coveralls < ./coverage/lcov.info",
21
21
  "test:coverage:html": "jest --silent=false --coverage --coverageReporters html",
22
- "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
23
22
  "typecheck": "tsc --noEmit",
24
- "publish": "npm publish --access public",
23
+ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
25
24
  "prepublishOnly": "npm run build"
26
25
  },
27
26
  "dependencies": {