@proton/wrap-constants 0.2.53 → 0.2.54
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/parsers/dex.d.ts +2 -2
- package/dist/wrap-constants.cjs.development.js +2 -2
- package/dist/wrap-constants.cjs.development.js.map +1 -1
- package/dist/wrap-constants.cjs.production.min.js +1 -1
- package/dist/wrap-constants.cjs.production.min.js.map +1 -1
- package/dist/wrap-constants.esm.js +2 -2
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/parsers/dex.ts +2 -2
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.54",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"typings": "dist/index.d.ts",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"resolutions": {
|
|
45
45
|
"typescript": "4.5"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "34749a9b04275a1d2056323aeb540356acdc80f9"
|
|
48
48
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -236,10 +236,10 @@ export const refferalParser = z.object({
|
|
|
236
236
|
})
|
|
237
237
|
export type Referral = z.infer<typeof refferalParser>
|
|
238
238
|
|
|
239
|
-
export const
|
|
239
|
+
export const getReferralsParser = z.object({
|
|
240
240
|
referrer: z.string()
|
|
241
241
|
})
|
|
242
|
-
export type GetReferrals = z.infer<typeof
|
|
242
|
+
export type GetReferrals = z.infer<typeof getReferralsParser>
|
|
243
243
|
|
|
244
244
|
export const getReferralsResponseParser = z.object({
|
|
245
245
|
sync: z.number(),
|