@otim/utils 0.0.4 → 0.0.5

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.
@@ -114,6 +114,7 @@ export declare const paymentRequestBuildResponseSchema: z.ZodObject<{
114
114
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
115
115
  maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
116
116
  action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
117
+ actionName: z.ZodOptional<z.ZodString>;
117
118
  arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
118
119
  }, z.core.$strip>>;
119
120
  instructions: z.ZodArray<z.ZodObject<{
@@ -122,12 +123,14 @@ export declare const paymentRequestBuildResponseSchema: z.ZodObject<{
122
123
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
123
124
  maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
124
125
  action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
126
+ actionName: z.ZodOptional<z.ZodString>;
125
127
  arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
126
128
  }, z.core.$strip>>;
127
129
  }, z.core.$strip>;
128
130
  export type PaymentRequestBuildResponse = z.infer<typeof paymentRequestBuildResponseSchema>;
129
131
  export declare const newInstructionRequestSchema: z.ZodObject<{
130
132
  nickname: z.ZodOptional<z.ZodString>;
133
+ actionName: z.ZodOptional<z.ZodString>;
131
134
  address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
132
135
  chainId: z.ZodNumber;
133
136
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
@@ -145,6 +148,7 @@ export declare const paymentRequestNewRequestSchema: z.ZodObject<{
145
148
  signedAuthorization: z.ZodString;
146
149
  completionInstructions: z.ZodArray<z.ZodObject<{
147
150
  nickname: z.ZodOptional<z.ZodString>;
151
+ actionName: z.ZodOptional<z.ZodString>;
148
152
  address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
149
153
  chainId: z.ZodNumber;
150
154
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
@@ -159,6 +163,7 @@ export declare const paymentRequestNewRequestSchema: z.ZodObject<{
159
163
  }, z.core.$strip>>;
160
164
  instructions: z.ZodArray<z.ZodObject<{
161
165
  nickname: z.ZodOptional<z.ZodString>;
166
+ actionName: z.ZodOptional<z.ZodString>;
162
167
  address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
163
168
  chainId: z.ZodNumber;
164
169
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
@@ -219,6 +224,7 @@ export declare const buildSettlementResponseSchema: z.ZodObject<{
219
224
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
220
225
  maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
221
226
  action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
227
+ actionName: z.ZodOptional<z.ZodString>;
222
228
  arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
223
229
  }, z.core.$strip>>;
224
230
  instructions: z.ZodArray<z.ZodObject<{
@@ -227,6 +233,7 @@ export declare const buildSettlementResponseSchema: z.ZodObject<{
227
233
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
228
234
  maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
229
235
  action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
236
+ actionName: z.ZodOptional<z.ZodString>;
230
237
  arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
231
238
  }, z.core.$strip>>;
232
239
  }, z.core.$strip>;
@@ -114,6 +114,7 @@ export declare const paymentRequestBuildResponseSchema: z.ZodObject<{
114
114
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
115
115
  maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
116
116
  action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
117
+ actionName: z.ZodOptional<z.ZodString>;
117
118
  arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
118
119
  }, z.core.$strip>>;
119
120
  instructions: z.ZodArray<z.ZodObject<{
@@ -122,12 +123,14 @@ export declare const paymentRequestBuildResponseSchema: z.ZodObject<{
122
123
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
123
124
  maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
124
125
  action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
126
+ actionName: z.ZodOptional<z.ZodString>;
125
127
  arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
126
128
  }, z.core.$strip>>;
127
129
  }, z.core.$strip>;
128
130
  export type PaymentRequestBuildResponse = z.infer<typeof paymentRequestBuildResponseSchema>;
129
131
  export declare const newInstructionRequestSchema: z.ZodObject<{
130
132
  nickname: z.ZodOptional<z.ZodString>;
133
+ actionName: z.ZodOptional<z.ZodString>;
131
134
  address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
132
135
  chainId: z.ZodNumber;
133
136
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
@@ -145,6 +148,7 @@ export declare const paymentRequestNewRequestSchema: z.ZodObject<{
145
148
  signedAuthorization: z.ZodString;
146
149
  completionInstructions: z.ZodArray<z.ZodObject<{
147
150
  nickname: z.ZodOptional<z.ZodString>;
151
+ actionName: z.ZodOptional<z.ZodString>;
148
152
  address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
149
153
  chainId: z.ZodNumber;
150
154
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
@@ -159,6 +163,7 @@ export declare const paymentRequestNewRequestSchema: z.ZodObject<{
159
163
  }, z.core.$strip>>;
160
164
  instructions: z.ZodArray<z.ZodObject<{
161
165
  nickname: z.ZodOptional<z.ZodString>;
166
+ actionName: z.ZodOptional<z.ZodString>;
162
167
  address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
163
168
  chainId: z.ZodNumber;
164
169
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
@@ -219,6 +224,7 @@ export declare const buildSettlementResponseSchema: z.ZodObject<{
219
224
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
220
225
  maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
221
226
  action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
227
+ actionName: z.ZodOptional<z.ZodString>;
222
228
  arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
223
229
  }, z.core.$strip>>;
224
230
  instructions: z.ZodArray<z.ZodObject<{
@@ -227,6 +233,7 @@ export declare const buildSettlementResponseSchema: z.ZodObject<{
227
233
  salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
228
234
  maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
229
235
  action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
236
+ actionName: z.ZodOptional<z.ZodString>;
230
237
  arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
231
238
  }, z.core.$strip>>;
232
239
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"payments.d.ts","sourceRoot":"","sources":["../../../src/api/schemas/payments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,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.4",
3
+ "version": "0.0.5",
4
4
  "description": "Shared utilities for Otim apps and packages",
5
5
  "keywords": [
6
6
  "otim",
@@ -207,8 +207,8 @@
207
207
  "wagmi": "^2.19.5",
208
208
  "ws": "^8.18.3",
209
209
  "@otim/eslint-config": "0.0.1",
210
- "@otim/typescript-config": "0.0.1",
211
- "@otim/builder": "0.0.0"
210
+ "@otim/builder": "0.0.0",
211
+ "@otim/typescript-config": "0.0.1"
212
212
  },
213
213
  "engines": {
214
214
  "node": ">=18.0.0"