@cowprotocol/sdk-weiroll 0.1.0-monorepo.1 → 0.1.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.js CHANGED
@@ -618,8 +618,7 @@ var WEIROLL_ABI = [
618
618
  function getWeirollCalldata(planner) {
619
619
  const planResult = planner.plan();
620
620
  const { commands, state } = planResult;
621
- const adapter = (0, import_sdk_common2.getGlobalAdapter)();
622
- return adapter.utils.encodeFunction(WEIROLL_ABI, "execute", [commands, state]);
621
+ return (0, import_sdk_common2.getGlobalAdapter)().utils.encodeFunction(WEIROLL_ABI, "execute", [commands, state]);
623
622
  }
624
623
  function createWeirollDelegateCall(addToPlanner) {
625
624
  const planner = new Planner();
package/dist/index.mjs CHANGED
@@ -587,8 +587,7 @@ var WEIROLL_ABI = [
587
587
  function getWeirollCalldata(planner) {
588
588
  const planResult = planner.plan();
589
589
  const { commands, state } = planResult;
590
- const adapter = getGlobalAdapter2();
591
- return adapter.utils.encodeFunction(WEIROLL_ABI, "execute", [commands, state]);
590
+ return getGlobalAdapter2().utils.encodeFunction(WEIROLL_ABI, "execute", [commands, state]);
592
591
  }
593
592
  function createWeirollDelegateCall(addToPlanner) {
594
593
  const planner = new Planner();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowprotocol/sdk-weiroll",
3
- "version": "0.1.0-monorepo.1",
3
+ "version": "0.1.0",
4
4
  "description": "CowProtocol Weiroll package",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -13,22 +13,11 @@
13
13
  "publishConfig": {
14
14
  "access": "public"
15
15
  },
16
- "scripts": {
17
- "build": "tsup src/index.ts --format esm,cjs --dts",
18
- "lint": "eslint src/**/*.ts --quiet",
19
- "test": "jest",
20
- "typecheck": "tsc --noEmit",
21
- "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
22
- },
23
16
  "dependencies": {
24
- "@cowprotocol/sdk-common": "workspace:*",
25
- "@cowprotocol/sdk-config": "workspace:*"
17
+ "@cowprotocol/sdk-common": "0.1.0",
18
+ "@cowprotocol/sdk-config": "0.1.0"
26
19
  },
27
20
  "devDependencies": {
28
- "@cow-sdk/typescript-config": "workspace:*",
29
- "@cowprotocol/sdk-ethers-v5-adapter": "workspace:*",
30
- "@cowprotocol/sdk-ethers-v6-adapter": "workspace:*",
31
- "@cowprotocol/sdk-viem-adapter": "workspace:*",
32
21
  "@types/jest": "^29.4.0",
33
22
  "@types/node": "^20.17.31",
34
23
  "@types/semver-sort": "^0.0.1",
@@ -41,6 +30,17 @@
41
30
  "ts-jest": "^29.0.0",
42
31
  "tsup": "^7.2.0",
43
32
  "tsx": "^4.19.4",
44
- "typescript": "^5.2.2"
33
+ "typescript": "^5.2.2",
34
+ "@cow-sdk/typescript-config": "0.0.0-beta.0",
35
+ "@cowprotocol/sdk-ethers-v5-adapter": "0.1.0",
36
+ "@cowprotocol/sdk-ethers-v6-adapter": "0.1.0",
37
+ "@cowprotocol/sdk-viem-adapter": "0.1.0"
38
+ },
39
+ "scripts": {
40
+ "build": "tsup src/index.ts --format esm,cjs --dts",
41
+ "lint": "eslint src/**/*.ts --quiet",
42
+ "test": "jest",
43
+ "typecheck": "tsc --noEmit",
44
+ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
45
45
  }
46
- }
46
+ }