@openid4vc/openid4vp 0.3.0-alpha-20250322160039 → 0.3.0-alpha-20250322161816

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/index.d.mts CHANGED
@@ -15825,15 +15825,15 @@ declare const zTransactionEntry: z.ZodObject<{
15825
15825
  type: z.ZodString;
15826
15826
  credential_ids: z.ZodArray<z.ZodString, "atleastone">;
15827
15827
  transaction_data_hashes_alg: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15828
- }, "strip", z.ZodTypeAny, {
15829
- type: string;
15830
- credential_ids: [string, ...string[]];
15831
- transaction_data_hashes_alg?: string[] | undefined;
15832
- }, {
15833
- type: string;
15834
- credential_ids: [string, ...string[]];
15835
- transaction_data_hashes_alg?: string[] | undefined;
15836
- }>;
15828
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
15829
+ type: z.ZodString;
15830
+ credential_ids: z.ZodArray<z.ZodString, "atleastone">;
15831
+ transaction_data_hashes_alg: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15832
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
15833
+ type: z.ZodString;
15834
+ credential_ids: z.ZodArray<z.ZodString, "atleastone">;
15835
+ transaction_data_hashes_alg: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15836
+ }, z.ZodTypeAny, "passthrough">>;
15837
15837
  type TransactionDataEntry = z.infer<typeof zTransactionEntry>;
15838
15838
 
15839
15839
  interface ParseTransactionDataOptions {
package/dist/index.d.ts CHANGED
@@ -15825,15 +15825,15 @@ declare const zTransactionEntry: z.ZodObject<{
15825
15825
  type: z.ZodString;
15826
15826
  credential_ids: z.ZodArray<z.ZodString, "atleastone">;
15827
15827
  transaction_data_hashes_alg: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15828
- }, "strip", z.ZodTypeAny, {
15829
- type: string;
15830
- credential_ids: [string, ...string[]];
15831
- transaction_data_hashes_alg?: string[] | undefined;
15832
- }, {
15833
- type: string;
15834
- credential_ids: [string, ...string[]];
15835
- transaction_data_hashes_alg?: string[] | undefined;
15836
- }>;
15828
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
15829
+ type: z.ZodString;
15830
+ credential_ids: z.ZodArray<z.ZodString, "atleastone">;
15831
+ transaction_data_hashes_alg: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15832
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
15833
+ type: z.ZodString;
15834
+ credential_ids: z.ZodArray<z.ZodString, "atleastone">;
15835
+ transaction_data_hashes_alg: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15836
+ }, z.ZodTypeAny, "passthrough">>;
15837
15837
  type TransactionDataEntry = z.infer<typeof zTransactionEntry>;
15838
15838
 
15839
15839
  interface ParseTransactionDataOptions {
package/dist/index.js CHANGED
@@ -1135,7 +1135,7 @@ var zTransactionEntry = import_zod12.z.object({
1135
1135
  type: import_zod12.z.string(),
1136
1136
  credential_ids: import_zod12.z.array(import_zod12.z.string()).nonempty(),
1137
1137
  transaction_data_hashes_alg: import_zod12.z.array(import_zod12.z.string()).optional()
1138
- });
1138
+ }).passthrough();
1139
1139
  var zTransactionData = import_zod12.z.array(zTransactionEntry);
1140
1140
 
1141
1141
  // src/transaction-data/parse-transaction-data.ts