Skip to content

Commit

Permalink
Merge pull request #309 from gnosisguild/sdk-export-types
Browse files Browse the repository at this point in the history
sdk: export types
  • Loading branch information
jfschwarz authored Jan 2, 2025
2 parents e13dfbe + 216e5a4 commit f9dd69a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zodiac-roles-sdk",
"version": "2.18.0",
"version": "2.19.0",
"license": "LGPL-3.0+",
"main": "build/cjs/sdk/src/index.js",
"module": "build/esm/sdk/src/index.js",
Expand All @@ -17,6 +17,10 @@
"./annotations": {
"require": "./build/cjs/sdk/src/entrypoints/annotations.js",
"import": "./build/esm/sdk/src/entrypoints/annotations.js"
},
"./typechain": {
"require": "./build/cjs/sdk/src/entrypoints/typechain.js",
"import": "./build/esm/sdk/src/entrypoints/typechain.js"
}
},
"typesVersions": {
Expand All @@ -29,6 +33,9 @@
],
"annotations": [
"./build/cjs/sdk/src/entrypoints/annotations.d.ts"
],
"typechain": [
"./build/cjs/sdk/src/entrypoints/typechain.d.ts"
]
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/src/entrypoints/typechain.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "../../../evm/typechain-types"
7 changes: 7 additions & 0 deletions packages/sdk/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
export {
Permission,
PermissionCoerced,
PermissionSet,
} from "./permissions/types"
export { Scoping } from "./permissions/authoring/conditions/types"

export interface Allowance {
key: `0x${string}`
period: number
Expand Down

0 comments on commit f9dd69a

Please sign in to comment.