@instantdb/admin
Advanced tools
Comparing version 0.10.5 to 0.10.6
@@ -73,3 +73,3 @@ import { tx, TransactionChunk } from "@instantdb/core"; | ||
} | { | ||
guest: true; | ||
guest: boolean; | ||
}; | ||
@@ -200,3 +200,3 @@ declare const id: any; | ||
} | ||
export { init, id, tx, Config, }; | ||
export { init, id, tx, Config, ImpersonationOpts, TransactionChunk, }; | ||
/** | ||
@@ -203,0 +203,0 @@ * @deprecated since 0.7.0, use db.auth instead. |
@@ -73,3 +73,3 @@ import { tx, TransactionChunk } from "@instantdb/core"; | ||
} | { | ||
guest: true; | ||
guest: boolean; | ||
}; | ||
@@ -200,3 +200,3 @@ declare const id: any; | ||
} | ||
export { init, id, tx, Config, }; | ||
export { init, id, tx, Config, ImpersonationOpts, TransactionChunk, }; | ||
/** | ||
@@ -203,0 +203,0 @@ * @deprecated since 0.7.0, use db.auth instead. |
{ | ||
"name": "@instantdb/admin", | ||
"version": "0.10.5", | ||
"version": "0.10.6", | ||
"description": "Admin SDK for Instant DB", | ||
@@ -27,5 +27,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@instantdb/core": "0.10.5", | ||
"@instantdb/core": "0.10.6", | ||
"uuid": "^9.0.1" | ||
} | ||
} |
@@ -35,4 +35,4 @@ import { tx, TransactionChunk, getOps } from "@instantdb/core"; | ||
[K in keyof Q]: IsEmptyObject<Q[K]> extends true | ||
? ResponseObject<K, Schema>[] | ||
: (ResponseOf<Q[K], Schema> & ResponseObject<K, Schema>)[]; | ||
? ResponseObject<K, Schema>[] | ||
: (ResponseOf<Q[K], Schema> & ResponseObject<K, Schema>)[]; | ||
}; | ||
@@ -86,3 +86,3 @@ | ||
| { token: AuthToken } | ||
| { guest: true }; | ||
| { guest: boolean }; | ||
@@ -330,2 +330,4 @@ const id = uuid.v4; | ||
Config, | ||
ImpersonationOpts, | ||
TransactionChunk, | ||
}; | ||
@@ -350,3 +352,3 @@ | ||
"Uh oh! Looks like `init` hasn't run yet. Make sure `init` runs " + | ||
"before your first `query` or `transact`.", | ||
"before your first `query` or `transact`.", | ||
); | ||
@@ -353,0 +355,0 @@ return _GLOBAL_CONFIG; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
69443
1598
+ Added@instantdb/core@0.10.6(transitive)
- Removed@instantdb/core@0.10.5(transitive)
Updated@instantdb/core@0.10.6