@oxyhq/contracts 0.7.0 → 0.9.0
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/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/deviceBoot.js +148 -0
- package/dist/cjs/deviceSession.js +25 -0
- package/dist/cjs/fedcmToken.js +7 -0
- package/dist/cjs/identity.js +16 -1
- package/dist/cjs/index.js +22 -2
- package/dist/cjs/recommendations.js +44 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/deviceBoot.js +145 -0
- package/dist/esm/deviceSession.js +22 -0
- package/dist/esm/fedcmToken.js +7 -0
- package/dist/esm/identity.js +16 -1
- package/dist/esm/index.js +5 -1
- package/dist/esm/recommendations.js +43 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/deviceBoot.d.ts +199 -0
- package/dist/types/deviceSession.d.ts +165 -0
- package/dist/types/fedcmToken.d.ts +21 -0
- package/dist/types/identity.d.ts +62 -7
- package/dist/types/index.d.ts +7 -3
- package/dist/types/recommendations.d.ts +97 -0
- package/dist/types/sessionStatus.d.ts +6 -6
- package/package.json +1 -1
|
@@ -64,8 +64,8 @@ export declare const publicApplicationSchema: z.ZodObject<{
|
|
|
64
64
|
scopes: z.ZodArray<z.ZodString, "many">;
|
|
65
65
|
developerName: z.ZodOptional<z.ZodString>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
type: "first_party" | "third_party" | "internal" | "system";
|
|
68
67
|
id: string;
|
|
68
|
+
type: "first_party" | "third_party" | "internal" | "system";
|
|
69
69
|
name: string;
|
|
70
70
|
isOfficial: boolean;
|
|
71
71
|
isInternal: boolean;
|
|
@@ -75,8 +75,8 @@ export declare const publicApplicationSchema: z.ZodObject<{
|
|
|
75
75
|
websiteUrl?: string | undefined;
|
|
76
76
|
developerName?: string | undefined;
|
|
77
77
|
}, {
|
|
78
|
-
type: "first_party" | "third_party" | "internal" | "system";
|
|
79
78
|
id: string;
|
|
79
|
+
type: "first_party" | "third_party" | "internal" | "system";
|
|
80
80
|
name: string;
|
|
81
81
|
isOfficial: boolean;
|
|
82
82
|
isInternal: boolean;
|
|
@@ -122,8 +122,8 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
122
122
|
scopes: z.ZodArray<z.ZodString, "many">;
|
|
123
123
|
developerName: z.ZodOptional<z.ZodString>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
type: "first_party" | "third_party" | "internal" | "system";
|
|
126
125
|
id: string;
|
|
126
|
+
type: "first_party" | "third_party" | "internal" | "system";
|
|
127
127
|
name: string;
|
|
128
128
|
isOfficial: boolean;
|
|
129
129
|
isInternal: boolean;
|
|
@@ -133,8 +133,8 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
133
133
|
websiteUrl?: string | undefined;
|
|
134
134
|
developerName?: string | undefined;
|
|
135
135
|
}, {
|
|
136
|
-
type: "first_party" | "third_party" | "internal" | "system";
|
|
137
136
|
id: string;
|
|
137
|
+
type: "first_party" | "third_party" | "internal" | "system";
|
|
138
138
|
name: string;
|
|
139
139
|
isOfficial: boolean;
|
|
140
140
|
isInternal: boolean;
|
|
@@ -157,8 +157,8 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
157
157
|
authorized?: boolean | undefined;
|
|
158
158
|
sessionToken?: string | undefined;
|
|
159
159
|
application?: {
|
|
160
|
-
type: "first_party" | "third_party" | "internal" | "system";
|
|
161
160
|
id: string;
|
|
161
|
+
type: "first_party" | "third_party" | "internal" | "system";
|
|
162
162
|
name: string;
|
|
163
163
|
isOfficial: boolean;
|
|
164
164
|
isInternal: boolean;
|
|
@@ -177,8 +177,8 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
177
177
|
authorized?: boolean | undefined;
|
|
178
178
|
sessionToken?: string | undefined;
|
|
179
179
|
application?: {
|
|
180
|
-
type: "first_party" | "third_party" | "internal" | "system";
|
|
181
180
|
id: string;
|
|
181
|
+
type: "first_party" | "third_party" | "internal" | "system";
|
|
182
182
|
name: string;
|
|
183
183
|
isOfficial: boolean;
|
|
184
184
|
isInternal: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxyhq/contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "OxyHQ API contracts — single source of truth for request/response Zod schemas and inferred types, shared by the backend and the client SDKs",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|