@proton/wrap-constants 0.2.88 → 0.2.91
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.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/src/parsers/dex.ts +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -6998,7 +6998,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
6998
6998
|
actor: string;
|
|
6999
6999
|
permission: string;
|
|
7000
7000
|
}>, "many">;
|
|
7001
|
-
data: z.ZodAny
|
|
7001
|
+
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
7002
7002
|
}, "strip", z.ZodTypeAny, {
|
|
7003
7003
|
account: string;
|
|
7004
7004
|
name: string;
|
|
@@ -7006,7 +7006,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7006
7006
|
actor: string;
|
|
7007
7007
|
permission: string;
|
|
7008
7008
|
}[];
|
|
7009
|
-
data
|
|
7009
|
+
data: Record<string, any>;
|
|
7010
7010
|
}, {
|
|
7011
7011
|
account: string;
|
|
7012
7012
|
name: string;
|
|
@@ -7014,7 +7014,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7014
7014
|
actor: string;
|
|
7015
7015
|
permission: string;
|
|
7016
7016
|
}[];
|
|
7017
|
-
data
|
|
7017
|
+
data: Record<string, any>;
|
|
7018
7018
|
}>, "many">;
|
|
7019
7019
|
}, "strip", z.ZodTypeAny, {
|
|
7020
7020
|
actions: {
|
|
@@ -7024,7 +7024,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7024
7024
|
actor: string;
|
|
7025
7025
|
permission: string;
|
|
7026
7026
|
}[];
|
|
7027
|
-
data
|
|
7027
|
+
data: Record<string, any>;
|
|
7028
7028
|
}[];
|
|
7029
7029
|
}, {
|
|
7030
7030
|
actions: {
|
|
@@ -7034,7 +7034,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7034
7034
|
actor: string;
|
|
7035
7035
|
permission: string;
|
|
7036
7036
|
}[];
|
|
7037
|
-
data
|
|
7037
|
+
data: Record<string, any>;
|
|
7038
7038
|
}[];
|
|
7039
7039
|
}>;
|
|
7040
7040
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7046,7 +7046,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7046
7046
|
actor: string;
|
|
7047
7047
|
permission: string;
|
|
7048
7048
|
}[];
|
|
7049
|
-
data
|
|
7049
|
+
data: Record<string, any>;
|
|
7050
7050
|
}[];
|
|
7051
7051
|
};
|
|
7052
7052
|
}, {
|
|
@@ -7058,7 +7058,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7058
7058
|
actor: string;
|
|
7059
7059
|
permission: string;
|
|
7060
7060
|
}[];
|
|
7061
|
-
data
|
|
7061
|
+
data: Record<string, any>;
|
|
7062
7062
|
}[];
|
|
7063
7063
|
};
|
|
7064
7064
|
}>;
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.2.
|
|
8
|
+
"version": "0.2.91",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"typings": "dist/index.d.ts",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"resolutions": {
|
|
41
41
|
"typescript": "4.5"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "fc1e77c013cd68373eaebf326950d600e2a7b806"
|
|
44
44
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -147,11 +147,12 @@ export const serializeOrderParser = z.object({
|
|
|
147
147
|
permission: z.string(),
|
|
148
148
|
})
|
|
149
149
|
),
|
|
150
|
-
data: z.any(),
|
|
150
|
+
data: z.record(z.any()),
|
|
151
151
|
})
|
|
152
152
|
),
|
|
153
153
|
}),
|
|
154
154
|
});
|
|
155
|
+
|
|
155
156
|
export type SerializeOrderParser = z.infer<typeof serializeOrderParser>;
|
|
156
157
|
|
|
157
158
|
export const serializeOrderResponseParser = z.object({
|