defi-kit 1.15.2 → 2.0.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/arb1.d.mts CHANGED
@@ -1,14 +1,14 @@
1
- import { T as Target, A as Annotation, C as ContractInput } from './schema-UegJFDLi.mjs';
2
- export { c as allow, d as schema } from './schema-UegJFDLi.mjs';
1
+ import { T as Target, A as Annotation, C as ContractInput } from './schema-CKYlQ7oR.mjs';
2
+ export { a as allow, b as schema } from './schema-CKYlQ7oR.mjs';
3
3
  import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
4
4
  import 'zod';
5
5
 
6
6
  declare const apply: (roleKey: `0x${string}`, permissions: (zodiac_roles_sdk__.Permission | zodiac_roles_sdk__.PermissionSet | Promise<zodiac_roles_sdk__.PermissionSet>)[], options: {
7
7
  address: `0x${string}`;
8
- mode: "replace" | "remove" | "extend";
9
- log?: boolean | ((message: string) => void) | undefined;
10
- currentTargets?: Target[] | undefined;
11
- currentAnnotations?: Annotation[] | undefined;
8
+ mode: "replace" | "extend" | "remove";
9
+ log?: boolean | ((message: string) => void);
10
+ currentTargets?: Target[];
11
+ currentAnnotations?: Annotation[];
12
12
  }) => Promise<{
13
13
  to: `0x${string}`;
14
14
  data: `0x${string}`;
@@ -19,9 +19,9 @@ declare const exportToSafeTransactionBuilder: (transactions: {
19
19
  data: `0x${string}`;
20
20
  value: "0";
21
21
  }[], meta?: {
22
- name?: string | undefined;
23
- description?: string | undefined;
24
- } | undefined) => {
22
+ name?: string;
23
+ description?: string;
24
+ }) => {
25
25
  readonly version: "1.0";
26
26
  readonly chainId: string;
27
27
  readonly createdAt: number;
package/dist/arb1.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- import { T as Target, A as Annotation, C as ContractInput } from './schema-UegJFDLi.js';
2
- export { c as allow, d as schema } from './schema-UegJFDLi.js';
1
+ import { T as Target, A as Annotation, C as ContractInput } from './schema-CKYlQ7oR.js';
2
+ export { a as allow, b as schema } from './schema-CKYlQ7oR.js';
3
3
  import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
4
4
  import 'zod';
5
5
 
6
6
  declare const apply: (roleKey: `0x${string}`, permissions: (zodiac_roles_sdk__.Permission | zodiac_roles_sdk__.PermissionSet | Promise<zodiac_roles_sdk__.PermissionSet>)[], options: {
7
7
  address: `0x${string}`;
8
- mode: "replace" | "remove" | "extend";
9
- log?: boolean | ((message: string) => void) | undefined;
10
- currentTargets?: Target[] | undefined;
11
- currentAnnotations?: Annotation[] | undefined;
8
+ mode: "replace" | "extend" | "remove";
9
+ log?: boolean | ((message: string) => void);
10
+ currentTargets?: Target[];
11
+ currentAnnotations?: Annotation[];
12
12
  }) => Promise<{
13
13
  to: `0x${string}`;
14
14
  data: `0x${string}`;
@@ -19,9 +19,9 @@ declare const exportToSafeTransactionBuilder: (transactions: {
19
19
  data: `0x${string}`;
20
20
  value: "0";
21
21
  }[], meta?: {
22
- name?: string | undefined;
23
- description?: string | undefined;
24
- } | undefined) => {
22
+ name?: string;
23
+ description?: string;
24
+ }) => {
25
25
  readonly version: "1.0";
26
26
  readonly chainId: string;
27
27
  readonly createdAt: number;