@jive-sh/server-client 0.13.0 → 0.15.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/_generated/api.d.ts +23 -2
- package/_generated/dataModel.d.ts +23 -2
- package/index.js +1 -1
- package/package.json +1 -1
package/_generated/api.d.ts
CHANGED
|
@@ -218,13 +218,22 @@ export declare const api: {
|
|
|
218
218
|
null | {
|
|
219
219
|
callers: Array<{ programs: Array<string> }>;
|
|
220
220
|
ipAddress?: string;
|
|
221
|
+
location?: {
|
|
222
|
+
city?: string;
|
|
223
|
+
countryCode?: string;
|
|
224
|
+
latitude: number;
|
|
225
|
+
longitude: number;
|
|
226
|
+
region?: string;
|
|
227
|
+
};
|
|
221
228
|
machine?: {
|
|
229
|
+
keyName?: string;
|
|
222
230
|
keyStorage: string;
|
|
223
231
|
name: string;
|
|
224
232
|
osName: string;
|
|
225
233
|
trusted: boolean;
|
|
226
234
|
};
|
|
227
235
|
status: "pending" | "approved";
|
|
236
|
+
unidentifiedMachine?: { previousSignInAt?: number };
|
|
228
237
|
}
|
|
229
238
|
>;
|
|
230
239
|
open: FunctionReference<
|
|
@@ -286,7 +295,7 @@ export declare const internal: {
|
|
|
286
295
|
"query",
|
|
287
296
|
"internal",
|
|
288
297
|
{ accountId: Id<"accounts">; requestId: Id<"signInRequests"> },
|
|
289
|
-
{ body: string; expoPushTokens: Array<string
|
|
298
|
+
{ body: string; expoPushTokens: Array<string>; title: string }
|
|
290
299
|
>;
|
|
291
300
|
};
|
|
292
301
|
auth: {
|
|
@@ -552,7 +561,19 @@ export declare const internal: {
|
|
|
552
561
|
callers?: Array<{ programs: Array<string> }>;
|
|
553
562
|
claimSecretHash: string;
|
|
554
563
|
ipAddress?: string;
|
|
555
|
-
|
|
564
|
+
location?: {
|
|
565
|
+
city?: string;
|
|
566
|
+
countryCode?: string;
|
|
567
|
+
latitude: number;
|
|
568
|
+
longitude: number;
|
|
569
|
+
region?: string;
|
|
570
|
+
};
|
|
571
|
+
machine?: {
|
|
572
|
+
keyName?: string;
|
|
573
|
+
keyStorage: string;
|
|
574
|
+
osName: string;
|
|
575
|
+
publicKey: string;
|
|
576
|
+
};
|
|
556
577
|
previousSessionTokenHash?: string;
|
|
557
578
|
},
|
|
558
579
|
{ approvalDevices: number; expiresAt: number; requestId: string }
|
|
@@ -275,7 +275,20 @@ export type DataModel = {
|
|
|
275
275
|
expiresAt: number;
|
|
276
276
|
forAccountId?: Id<"accounts">;
|
|
277
277
|
ipAddress?: string;
|
|
278
|
-
|
|
278
|
+
location?: {
|
|
279
|
+
city?: string;
|
|
280
|
+
countryCode?: string;
|
|
281
|
+
latitude: number;
|
|
282
|
+
longitude: number;
|
|
283
|
+
region?: string;
|
|
284
|
+
};
|
|
285
|
+
machine?: {
|
|
286
|
+
keyName?: string;
|
|
287
|
+
keyStorage: string;
|
|
288
|
+
osName: string;
|
|
289
|
+
publicKey: string;
|
|
290
|
+
};
|
|
291
|
+
previousSignInAt?: number;
|
|
279
292
|
_id: Id<"signInRequests">;
|
|
280
293
|
_creationTime: number;
|
|
281
294
|
};
|
|
@@ -289,10 +302,18 @@ export type DataModel = {
|
|
|
289
302
|
| "expiresAt"
|
|
290
303
|
| "forAccountId"
|
|
291
304
|
| "ipAddress"
|
|
305
|
+
| "location"
|
|
306
|
+
| "location.city"
|
|
307
|
+
| "location.countryCode"
|
|
308
|
+
| "location.latitude"
|
|
309
|
+
| "location.longitude"
|
|
310
|
+
| "location.region"
|
|
292
311
|
| "machine"
|
|
312
|
+
| "machine.keyName"
|
|
293
313
|
| "machine.keyStorage"
|
|
294
314
|
| "machine.osName"
|
|
295
|
-
| "machine.publicKey"
|
|
315
|
+
| "machine.publicKey"
|
|
316
|
+
| "previousSignInAt";
|
|
296
317
|
indexes: {
|
|
297
318
|
by_id: ["_id"];
|
|
298
319
|
by_creation_time: ["_creationTime"];
|
package/index.js
CHANGED
|
@@ -4,4 +4,4 @@ export const convexUrl = "https://api.jive.sh";
|
|
|
4
4
|
/** Where this environment's HTTP actions are served. */
|
|
5
5
|
export const convexSiteUrl = "https://adventurous-viper-740.convex.site";
|
|
6
6
|
/** Which deploy these functions came from. */
|
|
7
|
-
export const deployment = {"environment":"latest","sourceCommitSha":"
|
|
7
|
+
export const deployment = {"environment":"latest","sourceCommitSha":"35cb5db3f585b8462a2a783aa0115f0998cd19c9","version":"0.15.0"};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jive-sh/server-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Jive's central server: the Convex backend that holds accounts, passkeys and sessions, organizations, code repositories, connections and packages; people sign in with jive.sh passkeys, programs through sign-in requests, and pipelines provision packages with their GitHub Actions ID token.",
|
|
6
6
|
"type": "module",
|