Skip to content

Commit d0e94f4

Browse files
committed
Merge branch 'main' into feat/executionModeAsEnum
2 parents 7384a0e + b43253c commit d0e94f4

134 files changed

Lines changed: 2769 additions & 5510 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
# those changes on build, release and publishing outcomes.
1111

1212
/packages/delegation-abis @MetaMask/delegation
13+
/packages/delegation-core @MetaMask/delegation
1314
/packages/delegation-deployments @MetaMask/delegation
1415
/packages/delegation-toolkit @MetaMask/delegation

.github/workflows/end-to-end-tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ on:
1313
NPM_CLIENT:
1414
type: string
1515
default: 'yarn'
16+
RUN_FULL_TESTS:
17+
type: boolean
18+
default: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') }}
19+
workflow_dispatch:
20+
inputs:
21+
RUN_FULL_TESTS:
22+
type: boolean
23+
default: true
1624

1725
jobs:
1826
pipeline:
@@ -53,7 +61,7 @@ jobs:
5361

5462
- name: Run end-to-end tests
5563
run: |
56-
if [[ "$GITHUB_REF" == "refs/heads/main" ]] || [[ "$GITHUB_REF" =~ ^refs/heads/release/ ]]; then
64+
if [[ "${{ inputs.RUN_FULL_TESTS }}" == "true" ]]; then
5765
yarn e2etest:full
5866
else
5967
yarn e2etest:smoketest

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
[Unreleased]: https://github.com/metamask/delegation-toolkit/
10+
## [7.0.0]
11+
12+
[Unreleased]: https://github.com/MetaMask/delegation-toolkit/compare/delegator-sdk-monorepo@7.0.0...HEAD
13+
[7.0.0]: https://github.com/MetaMask/delegation-toolkit/releases/tag/delegator-sdk-monorepo@7.0.0

package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "delegator-sdk-monorepo",
3-
"version": "6.0.0",
3+
"version": "7.0.0",
44
"license": "(MIT-0 OR Apache-2.0)",
55
"private": true,
66
"repository": {
@@ -32,14 +32,6 @@
3232
"@metamask/eslint-config": "^12.0.0",
3333
"@metamask/eslint-config-nodejs": "^12.0.0",
3434
"@metamask/eslint-config-typescript": "^12.0.0",
35-
"@nomicfoundation/hardhat-ignition": "^0.15.1",
36-
"@nomicfoundation/hardhat-ignition-viem": "^0.15.0",
37-
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
38-
"@nomicfoundation/hardhat-toolbox-viem": "^3.0.0",
39-
"@nomicfoundation/hardhat-verify": "^2.0.0",
40-
"@nomicfoundation/hardhat-viem": "^2.0.0",
41-
"@nomicfoundation/ignition-core": "^0.15.1",
42-
"@nomiclabs/hardhat-ethers": "^2.2.3",
4335
"@types/keccak": "^3.0.4",
4436
"@typescript-eslint/eslint-plugin": "^5.42.1",
4537
"@typescript-eslint/parser": "^5.42.1",

packages/delegation-abis/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
"devDependencies": {
5656
"@metamask/auto-changelog": "^3.4.4",
57-
"tsup": "^7.2.0",
57+
"tsup": "^8.5.0",
5858
"typescript": "5.0.4"
5959
}
6060
}

packages/delegation-core/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
[Unreleased]: https://github.com/metamask/delegation-toolkit/
10+
## [0.1.0]
11+
12+
### Changed
13+
14+
- Add @metamask/delegation-core package, providing utility types, delegation hashing, and terms encoding for a limited set of caveat enforcers.
15+
16+
[Unreleased]: https://github.com/metamask/delegation-toolkit/compare/@metamask/delegation-core@0.1.0...HEAD
17+
[0.1.0]: https://github.com/metamask/delegation-toolkit/releases/tag/@metamask/delegation-core@0.1.0

0 commit comments

Comments
 (0)