@degenerate/generic 0.1.10 → 0.1.12

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.
Files changed (60) hide show
  1. package/dist/authorization/jwt/sign/create-authorization-issuer.d.ts +2 -2
  2. package/dist/authorization/jwt/sign/create-authorization-issuer.d.ts.map +1 -1
  3. package/dist/authorization/jwt/sign/create-authorization-subject.d.ts +2 -2
  4. package/dist/authorization/jwt/sign/create-authorization-subject.d.ts.map +1 -1
  5. package/dist/authorization/jwt/sign/create-jwt-options.d.ts +2 -2
  6. package/dist/authorization/jwt/sign/create-jwt-options.d.ts.map +1 -1
  7. package/dist/authorization/safe/authorization/authorized-authorities.d.ts +5 -5
  8. package/dist/authorization/safe/authorization/authorized-authorities.d.ts.map +1 -1
  9. package/dist/authorization/safe/request/determine-issuer-from-request.d.ts +2 -2
  10. package/dist/authorization/safe/request/determine-issuer-from-request.d.ts.map +1 -1
  11. package/dist/authorization/safe/request/issuer/determine-issuer-from-bearer-token.d.ts +2 -2
  12. package/dist/authorization/safe/request/issuer/determine-issuer-from-bearer-token.d.ts.map +1 -1
  13. package/dist/authorization/safe/validation/jwt/payload/verify-authorization-issuer.d.ts +2 -2
  14. package/dist/authorization/safe/validation/jwt/payload/verify-authorization-issuer.d.ts.map +1 -1
  15. package/dist/authorization/safe/validation/jwt/payload/verify-authorization-subject.d.ts +2 -2
  16. package/dist/authorization/safe/validation/jwt/payload/verify-authorization-subject.d.ts.map +1 -1
  17. package/dist/models/authorization/authorization-models.d.ts +3 -3
  18. package/dist/models/authorization/authorization-models.d.ts.map +1 -1
  19. package/dist/models/authorization/authorization-models.js +3 -1
  20. package/dist/models/crypto/crypto-models.d.ts +10 -2
  21. package/dist/models/crypto/crypto-models.d.ts.map +1 -1
  22. package/dist/models/crypto/crypto-models.js +6 -0
  23. package/dist/models/data/data-models.d.ts +18 -5
  24. package/dist/models/data/data-models.d.ts.map +1 -1
  25. package/dist/models/data/data-models.js +24 -1
  26. package/dist/models/dynamic-execution/dynamic-execution-models.d.ts +13 -3
  27. package/dist/models/dynamic-execution/dynamic-execution-models.d.ts.map +1 -1
  28. package/dist/models/dynamic-execution/dynamic-execution-models.js +10 -0
  29. package/dist/models/events/share-event-models.d.ts +145 -24
  30. package/dist/models/events/share-event-models.d.ts.map +1 -1
  31. package/dist/models/events/share-event-models.js +53 -2
  32. package/dist/models/functions/share-data-function-models.d.ts +251 -32
  33. package/dist/models/functions/share-data-function-models.d.ts.map +1 -1
  34. package/dist/models/functions/share-data-function-models.js +100 -3
  35. package/dist/models/generic/request-response-models.d.ts +11 -3
  36. package/dist/models/generic/request-response-models.d.ts.map +1 -1
  37. package/dist/models/generic/request-response-models.js +9 -0
  38. package/dist/models/index.d.ts +2 -0
  39. package/dist/models/index.d.ts.map +1 -1
  40. package/dist/models/index.js +6 -0
  41. package/dist/models/rules/share-rule-models.d.ts +1355 -130
  42. package/dist/models/rules/share-rule-models.d.ts.map +1 -1
  43. package/dist/models/rules/share-rule-models.js +342 -38
  44. package/dist/models/safe/safe-transaction-models.d.ts +31 -40
  45. package/dist/models/safe/safe-transaction-models.d.ts.map +1 -1
  46. package/dist/models/safe/safe-transaction-models.js +49 -3
  47. package/dist/models/safe/transactions/authorities-transactions-models.d.ts +518 -0
  48. package/dist/models/safe/transactions/authorities-transactions-models.d.ts.map +1 -0
  49. package/dist/models/safe/transactions/authorities-transactions-models.js +97 -0
  50. package/dist/models/safe/transactions/rules-transactions-models.d.ts +628 -0
  51. package/dist/models/safe/transactions/rules-transactions-models.d.ts.map +1 -0
  52. package/dist/models/safe/transactions/rules-transactions-models.js +73 -0
  53. package/dist/models/share-data/share-data.d.ts +143 -18
  54. package/dist/models/share-data/share-data.d.ts.map +1 -1
  55. package/dist/models/share-data/share-data.js +61 -1
  56. package/dist/transactions/authority/create-safe-transaction-authority-data.d.ts +4 -3
  57. package/dist/transactions/authority/create-safe-transaction-authority-data.d.ts.map +1 -1
  58. package/dist/transactions/authority/create-safe-transaction-authority.d.ts +2 -1
  59. package/dist/transactions/authority/create-safe-transaction-authority.d.ts.map +1 -1
  60. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
+ import z from 'zod';
1
2
  /**
2
3
  * This contains the data for the share data object
3
4
  */
@@ -8,49 +9,173 @@ export declare enum ShareDataTypes {
8
9
  TRANSACTION_HISTORY = "TRANSACTION_HISTORY",
9
10
  DATA = "DATA"
10
11
  }
11
- export interface IShareData {
12
- [key: string]: any;
13
- }
12
+ export declare const ShareDataTypesSchema: z.ZodEnum<["AUTHORIZATION", "RULE", "FUNCTION", "TRANSACTION_HISTORY", "DATA"]>;
13
+ /**
14
+ * This contains the interface for a data in a share data object
15
+ */
16
+ export declare const IShareDataSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
17
+ export type IShareData = z.infer<typeof IShareDataSchema>;
14
18
  /**
15
19
  * This contains the interface for a share function record in the share data object
16
20
  */
17
- export interface IShareFunctionRecord {
21
+ export declare const IShareFunctionRecordSchema: z.ZodObject<{
22
+ id: z.ZodString;
23
+ groupingId: z.ZodString;
24
+ groupingName: z.ZodString;
25
+ name: z.ZodString;
26
+ description: z.ZodString;
27
+ hash: z.ZodString;
28
+ stringifiedFunction: z.ZodString;
29
+ }, "strip", z.ZodTypeAny, {
30
+ stringifiedFunction: string;
18
31
  id: string;
32
+ name: string;
33
+ description: string;
19
34
  groupingId: string;
20
35
  groupingName: string;
36
+ hash: string;
37
+ }, {
38
+ stringifiedFunction: string;
39
+ id: string;
21
40
  name: string;
22
41
  description: string;
42
+ groupingId: string;
43
+ groupingName: string;
23
44
  hash: string;
24
- stringifiedFunction: string;
25
- }
45
+ }>;
46
+ export type IShareFunctionRecord = z.infer<typeof IShareFunctionRecordSchema>;
26
47
  /**
27
48
  * This contains the interface for a share function in the share data object
28
49
  */
50
+ export declare const IShareFunctionSchema: z.ZodObject<{
51
+ input: z.ZodAny;
52
+ func: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>;
53
+ output: z.ZodAny;
54
+ }, "strip", z.ZodTypeAny, {
55
+ func: (...args: unknown[]) => unknown;
56
+ output?: any;
57
+ input?: any;
58
+ }, {
59
+ func: (...args: unknown[]) => unknown;
60
+ output?: any;
61
+ input?: any;
62
+ }>;
29
63
  export interface IShareFunction<TInput, TFunction extends (...args: any[]) => any, TOutput> {
30
64
  input: TInput;
31
65
  func: TFunction;
32
66
  output: TOutput;
33
67
  }
68
+ /**
69
+ * This contains the interface for the rule failures in the share data object
70
+ */
71
+ export declare const IShareDataRuleFailuresSchema: z.ZodObject<{
72
+ ruleId: z.ZodString;
73
+ }, "strip", z.ZodTypeAny, {
74
+ ruleId: string;
75
+ }, {
76
+ ruleId: string;
77
+ }>;
78
+ export type IShareDataRuleFailures = z.infer<typeof IShareDataRuleFailuresSchema>;
34
79
  /**
35
80
  * This contains the interface for the share transaction history in the share data object
36
81
  */
37
- export interface IShareTransactionBase {
82
+ export declare const IShareDataTransactionBaseSchema: z.ZodObject<{
83
+ ruleOutcome: z.ZodBoolean;
84
+ ruleFailures: z.ZodArray<z.ZodObject<{
85
+ ruleId: z.ZodString;
86
+ }, "strip", z.ZodTypeAny, {
87
+ ruleId: string;
88
+ }, {
89
+ ruleId: string;
90
+ }>, "many">;
91
+ transactionFunction: z.ZodObject<{
92
+ input: z.ZodAny;
93
+ func: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>;
94
+ output: z.ZodAny;
95
+ }, "strip", z.ZodTypeAny, {
96
+ func: (...args: unknown[]) => unknown;
97
+ output?: any;
98
+ input?: any;
99
+ }, {
100
+ func: (...args: unknown[]) => unknown;
101
+ output?: any;
102
+ input?: any;
103
+ }>;
104
+ }, "strip", z.ZodTypeAny, {
38
105
  ruleOutcome: boolean;
39
- ruleFailures: IRuleFailures[];
40
- transactionFunction: IShareFunction<any, (...args: any[]) => any, any>;
41
- }
106
+ ruleFailures: {
107
+ ruleId: string;
108
+ }[];
109
+ transactionFunction: {
110
+ func: (...args: unknown[]) => unknown;
111
+ output?: any;
112
+ input?: any;
113
+ };
114
+ }, {
115
+ ruleOutcome: boolean;
116
+ ruleFailures: {
117
+ ruleId: string;
118
+ }[];
119
+ transactionFunction: {
120
+ func: (...args: unknown[]) => unknown;
121
+ output?: any;
122
+ input?: any;
123
+ };
124
+ }>;
125
+ export type IShareDataTransactionBase = z.infer<typeof IShareDataTransactionBaseSchema>;
42
126
  /**
43
127
  * This contains the interface for the share transaction history in the share data object
44
128
  * This is done for storage
45
129
  */
46
- export interface IShareTransactionHistory extends IShareTransactionBase {
130
+ export declare const IShareDataTransactionHistorySchema: z.ZodObject<z.objectUtil.extendShape<{
131
+ ruleOutcome: z.ZodBoolean;
132
+ ruleFailures: z.ZodArray<z.ZodObject<{
133
+ ruleId: z.ZodString;
134
+ }, "strip", z.ZodTypeAny, {
135
+ ruleId: string;
136
+ }, {
137
+ ruleId: string;
138
+ }>, "many">;
139
+ transactionFunction: z.ZodObject<{
140
+ input: z.ZodAny;
141
+ func: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>;
142
+ output: z.ZodAny;
143
+ }, "strip", z.ZodTypeAny, {
144
+ func: (...args: unknown[]) => unknown;
145
+ output?: any;
146
+ input?: any;
147
+ }, {
148
+ func: (...args: unknown[]) => unknown;
149
+ output?: any;
150
+ input?: any;
151
+ }>;
152
+ }, {
153
+ transactionId: z.ZodString;
154
+ transactionTime: z.ZodNumber;
155
+ }>, "strip", z.ZodTypeAny, {
156
+ ruleOutcome: boolean;
157
+ ruleFailures: {
158
+ ruleId: string;
159
+ }[];
160
+ transactionFunction: {
161
+ func: (...args: unknown[]) => unknown;
162
+ output?: any;
163
+ input?: any;
164
+ };
47
165
  transactionId: string;
48
166
  transactionTime: number;
49
- }
50
- /**
51
- * This contains the interface for the rule success in the share data object
52
- */
53
- export interface IRuleFailures {
54
- ruleId: string;
55
- }
167
+ }, {
168
+ ruleOutcome: boolean;
169
+ ruleFailures: {
170
+ ruleId: string;
171
+ }[];
172
+ transactionFunction: {
173
+ func: (...args: unknown[]) => unknown;
174
+ output?: any;
175
+ input?: any;
176
+ };
177
+ transactionId: string;
178
+ transactionTime: number;
179
+ }>;
180
+ export type IShareDataTransactionHistory = z.infer<typeof IShareDataTransactionHistorySchema>;
56
181
  //# sourceMappingURL=share-data.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"share-data.d.ts","sourceRoot":"","sources":["../../../src/models/share-data/share-data.ts"],"names":[],"mappings":"AAKA;;GAEG;AAEH,oBAAY,cAAc;IACtB,aAAa,kBAAkB;IAC/B,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,mBAAmB,wBAAwB;IAC3C,IAAI,SAAS;CAChB;AAGD,MAAM,WAAW,UAAU;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,cAAc,CAAC,MAAM,EAAE,SAAS,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,OAAO;IACtF,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,aAAa,EAAE,CAAC;IAC9B,mBAAmB,EAAE,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,GAAG,CAAC,CAAC;CAC1E;AAED;;;GAGG;AACH,MAAM,WAAW,wBAAyB,SAAQ,qBAAqB;IACnE,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"share-data.d.ts","sourceRoot":"","sources":["../../../src/models/share-data/share-data.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB;;GAEG;AACH,oBAAY,cAAc;IACtB,aAAa,kBAAkB;IAC/B,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,mBAAmB,wBAAwB;IAC3C,IAAI,SAAS;CAChB;AAED,eAAO,MAAM,oBAAoB,iFAM/B,CAAC;AAMH;;GAEG;AACH,eAAO,MAAM,gBAAgB,oCAAoB,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;EAQrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAGH,MAAM,WAAW,cAAc,CAAC,MAAM,EAAE,SAAS,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAAE,OAAO;IACtF,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;CACnB;AAGD;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;EAEvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;;GAGG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7C,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC"}
@@ -1,6 +1,11 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShareDataTypes = void 0;
6
+ exports.IShareDataTransactionHistorySchema = exports.IShareDataTransactionBaseSchema = exports.IShareDataRuleFailuresSchema = exports.IShareFunctionSchema = exports.IShareFunctionRecordSchema = exports.IShareDataSchema = exports.ShareDataTypesSchema = exports.ShareDataTypes = void 0;
7
+ const zod_1 = __importDefault(require("zod"));
8
+ //#region Enums
4
9
  /**
5
10
  * This contains the data for the share data object
6
11
  */
@@ -12,6 +17,61 @@ var ShareDataTypes;
12
17
  ShareDataTypes["TRANSACTION_HISTORY"] = "TRANSACTION_HISTORY";
13
18
  ShareDataTypes["DATA"] = "DATA";
14
19
  })(ShareDataTypes || (exports.ShareDataTypes = ShareDataTypes = {}));
20
+ exports.ShareDataTypesSchema = zod_1.default.enum([
21
+ 'AUTHORIZATION',
22
+ 'RULE',
23
+ 'FUNCTION',
24
+ 'TRANSACTION_HISTORY',
25
+ 'DATA',
26
+ ]);
27
+ //#endregion Enums
28
+ //#region Share Data shapes
29
+ /**
30
+ * This contains the interface for a data in a share data object
31
+ */
32
+ exports.IShareDataSchema = zod_1.default.record(zod_1.default.any());
33
+ /**
34
+ * This contains the interface for a share function record in the share data object
35
+ */
36
+ exports.IShareFunctionRecordSchema = zod_1.default.object({
37
+ id: zod_1.default.string(), // the id of the function
38
+ groupingId: zod_1.default.string(), // the grouping id of the function
39
+ groupingName: zod_1.default.string(), // the grouping name of the function
40
+ name: zod_1.default.string(), // the name of the function
41
+ description: zod_1.default.string(), // the description of the function
42
+ hash: zod_1.default.string(), // the hash of the function
43
+ stringifiedFunction: zod_1.default.string(), // the stringified function
44
+ });
45
+ /**
46
+ * This contains the interface for a share function in the share data object
47
+ */
48
+ exports.IShareFunctionSchema = zod_1.default.object({
49
+ input: zod_1.default.any(), // The input parameter type
50
+ func: zod_1.default.function(), // The function type
51
+ output: zod_1.default.any(), // The output parameter type
52
+ });
53
+ /**
54
+ * This contains the interface for the rule failures in the share data object
55
+ */
56
+ exports.IShareDataRuleFailuresSchema = zod_1.default.object({
57
+ ruleId: zod_1.default.string(), // the rule id
58
+ });
59
+ /**
60
+ * This contains the interface for the share transaction history in the share data object
61
+ */
62
+ exports.IShareDataTransactionBaseSchema = zod_1.default.object({
63
+ ruleOutcome: zod_1.default.boolean(), // the outcome of the rules
64
+ ruleFailures: zod_1.default.array(exports.IShareDataRuleFailuresSchema), // the failures of the rules
65
+ transactionFunction: exports.IShareFunctionSchema, // the transaction function
66
+ });
67
+ /**
68
+ * This contains the interface for the share transaction history in the share data object
69
+ * This is done for storage
70
+ */
71
+ exports.IShareDataTransactionHistorySchema = exports.IShareDataTransactionBaseSchema.extend({
72
+ transactionId: zod_1.default.string(), // the transaction id
73
+ transactionTime: zod_1.default.number(), // the transaction time
74
+ });
15
75
  // export interface IShareData {
16
76
  // rules: IShareRule[]; // the rules for the share data
17
77
  // functions: IShareFunction[]; // the functions for the share data
@@ -1,5 +1,6 @@
1
- import { AuthorityValidationType, IAuthorizationIssuer } from '../../models/authorization/authorization-models';
2
- import { ISAFETransactionAuthorityData, SAFETransactionType } from '../../models/safe/safe-transaction-models';
1
+ import { AuthorityValidationType, AuthorizationIssuer } from '../../models/authorization/authorization-models';
2
+ import { SAFETransactionType } from '../../models/safe/safe-transaction-models';
3
+ import { ISAFETransactionAuthorityData } from '../../models/safe/transactions/authorities-transactions-models';
3
4
  /**
4
5
  * This function creates the SAFE transaction authority data object
5
6
  *
@@ -9,6 +10,6 @@ import { ISAFETransactionAuthorityData, SAFETransactionType } from '../../models
9
10
  * @param authorityOver what the public key will have authority over.
10
11
  * @returns
11
12
  */
12
- declare const createSafeTransactionAuthorityData: (authorizationIssuer: IAuthorizationIssuer, authorizationPublicKey: string, authorityValidationType: AuthorityValidationType, authorityOver: SAFETransactionType[]) => ISAFETransactionAuthorityData;
13
+ declare const createSafeTransactionAuthorityData: (authorizationIssuer: AuthorizationIssuer, authorizationPublicKey: string, authorityValidationType: AuthorityValidationType, authorityOver: SAFETransactionType[]) => ISAFETransactionAuthorityData;
13
14
  export { createSafeTransactionAuthorityData };
14
15
  //# sourceMappingURL=create-safe-transaction-authority-data.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-safe-transaction-authority-data.d.ts","sourceRoot":"","sources":["../../../src/transactions/authority/create-safe-transaction-authority-data.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,uBAAuB,EACvB,oBAAoB,EACvB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACH,6BAA6B,EAC7B,mBAAmB,EAEtB,MAAM,2CAA2C,CAAC;AAEnD;;;;;;;;GAQG;AACH,QAAA,MAAM,kCAAkC,wBACf,oBAAoB,0BACjB,MAAM,2BACL,uBAAuB,iBACjC,mBAAmB,EAAE,KACrC,6BAOF,CAAC;AAEF,OAAO,EAAE,kCAAkC,EAAE,CAAC"}
1
+ {"version":3,"file":"create-safe-transaction-authority-data.d.ts","sourceRoot":"","sources":["../../../src/transactions/authority/create-safe-transaction-authority-data.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,uBAAuB,EACvB,mBAAmB,EACtB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,6BAA6B,EAAE,MAAM,gEAAgE,CAAC;AAE/G;;;;;;;;GAQG;AACH,QAAA,MAAM,kCAAkC,wBACf,mBAAmB,0BAChB,MAAM,2BACL,uBAAuB,iBACjC,mBAAmB,EAAE,KACrC,6BAOF,CAAC;AAEF,OAAO,EAAE,kCAAkC,EAAE,CAAC"}
@@ -1,4 +1,5 @@
1
- import { ISAFETransactionAuthority, ISAFETransactionAuthorityData, SAFETransactionActionType } from '../../models/safe/safe-transaction-models';
1
+ import { SAFETransactionActionType } from '../../models/safe/safe-transaction-models';
2
+ import { ISAFETransactionAuthorityData, ISAFETransactionAuthority } from '../../models/safe/transactions/authorities-transactions-models';
2
3
  /**
3
4
  * This function creates the SAFE transaction authority object transaction
4
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"create-safe-transaction-authority.d.ts","sourceRoot":"","sources":["../../../src/transactions/authority/create-safe-transaction-authority.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,yBAAyB,EACzB,6BAA6B,EAC7B,yBAAyB,EAE5B,MAAM,2CAA2C,CAAC;AAEnD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,8BAA8B,uBACZ,MAAM,sBACN,MAAM,qBACP,yBAAyB,QACtC,6BAA6B,2CAGpC,yBAYF,CAAC;AAEF,OAAO,EAAE,8BAA8B,EAAE,CAAC"}
1
+ {"version":3,"file":"create-safe-transaction-authority.d.ts","sourceRoot":"","sources":["../../../src/transactions/authority/create-safe-transaction-authority.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,yBAAyB,EAE5B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACH,6BAA6B,EAC7B,yBAAyB,EAC5B,MAAM,gEAAgE,CAAC;AAExE;;;;;;;;;;GAUG;AACH,QAAA,MAAM,8BAA8B,uBACZ,MAAM,sBACN,MAAM,qBACP,yBAAyB,QACtC,6BAA6B,2CAGpC,yBAYF,CAAC;AAEF,OAAO,EAAE,8BAA8B,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@degenerate/generic",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "This contains the generic information needed for the ShareData Adaptive Framework Ecosystem (SAFE) network",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -53,5 +53,5 @@
53
53
  "firebase-functions": "^6.1.0",
54
54
  "jsonwebtoken": "^9.0.2"
55
55
  },
56
- "gitHead": "2c7096896ce9690807a9b492c6fbd20dbed47b0b"
56
+ "gitHead": "4e03fc84a8e12c1afb93df57e8da0bb02f932792"
57
57
  }