@instantdb/react
Advanced tools
Comparing version 0.12.29 to 0.12.30
@@ -1,2 +0,2 @@ | ||
import { id, tx, lookup, i, type QueryResponse, type InstantQuery, type InstantQueryResult, type InstantObject, type User, type AuthState, type Query, type Config } from "@instantdb/core"; | ||
import { id, tx, lookup, i, type QueryResponse, type InstantQuery, type InstantQueryResult, type InstantSchema, type InstantObject, type User, type AuthState, type Query, type Config } from "@instantdb/core"; | ||
import { InstantReact } from "./InstantReact"; | ||
@@ -6,3 +6,3 @@ import { InstantReactWeb } from "./InstantReactWeb"; | ||
import { Cursors } from "./Cursors"; | ||
export { id, tx, lookup, init, init_experimental, InstantReactWeb, Cursors, i, InstantReact, Config, Query, QueryResponse, InstantObject, User, AuthState, InstantQuery, InstantQueryResult, }; | ||
export { id, tx, lookup, init, init_experimental, InstantReactWeb, Cursors, i, InstantReact, type Config, type Query, type QueryResponse, type InstantObject, type User, type AuthState, type InstantQuery, type InstantQueryResult, type InstantSchema, }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -98,3 +98,4 @@ import { InstantClient, Auth, Storage, i, type AuthState, type Config, type Query, type Exactly, type TransactionChunk, type LifecycleSubscriptionState, type PresenceOpts, type PresenceResponse, type RoomSchemaShape, type InstaQLQueryParams, type ConfigWithSchema, type IDatabase } from "@instantdb/core"; | ||
} | ||
export declare abstract class InstantReact<Schema extends i.InstantGraph<any, any> | {} = {}, RoomSchema extends RoomSchemaShape = {}, WithCardinalityInference extends boolean = false> implements IDatabase { | ||
export declare abstract class InstantReact<Schema extends i.InstantGraph<any, any> | {} = {}, RoomSchema extends RoomSchemaShape = {}, WithCardinalityInference extends boolean = false> implements IDatabase<Schema, RoomSchema, WithCardinalityInference> { | ||
withCardinalityInference?: WithCardinalityInference; | ||
tx: import("@instantdb/core").TxChunk<Schema extends i.InstantGraph<any, any, {}> ? Schema : i.InstantGraph<any, any, {}>>; | ||
@@ -101,0 +102,0 @@ auth: Auth; |
@@ -1,2 +0,2 @@ | ||
import { id, tx, lookup, i, type QueryResponse, type InstantQuery, type InstantQueryResult, type InstantObject, type User, type AuthState, type Query, type Config } from "@instantdb/core"; | ||
import { id, tx, lookup, i, type QueryResponse, type InstantQuery, type InstantQueryResult, type InstantSchema, type InstantObject, type User, type AuthState, type Query, type Config } from "@instantdb/core"; | ||
import { InstantReact } from "./InstantReact"; | ||
@@ -6,3 +6,3 @@ import { InstantReactWeb } from "./InstantReactWeb"; | ||
import { Cursors } from "./Cursors"; | ||
export { id, tx, lookup, init, init_experimental, InstantReactWeb, Cursors, i, InstantReact, Config, Query, QueryResponse, InstantObject, User, AuthState, InstantQuery, InstantQueryResult, }; | ||
export { id, tx, lookup, init, init_experimental, InstantReactWeb, Cursors, i, InstantReact, type Config, type Query, type QueryResponse, type InstantObject, type User, type AuthState, type InstantQuery, type InstantQueryResult, type InstantSchema, }; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -98,3 +98,4 @@ import { InstantClient, Auth, Storage, i, type AuthState, type Config, type Query, type Exactly, type TransactionChunk, type LifecycleSubscriptionState, type PresenceOpts, type PresenceResponse, type RoomSchemaShape, type InstaQLQueryParams, type ConfigWithSchema, type IDatabase } from "@instantdb/core"; | ||
} | ||
export declare abstract class InstantReact<Schema extends i.InstantGraph<any, any> | {} = {}, RoomSchema extends RoomSchemaShape = {}, WithCardinalityInference extends boolean = false> implements IDatabase { | ||
export declare abstract class InstantReact<Schema extends i.InstantGraph<any, any> | {} = {}, RoomSchema extends RoomSchemaShape = {}, WithCardinalityInference extends boolean = false> implements IDatabase<Schema, RoomSchema, WithCardinalityInference> { | ||
withCardinalityInference?: WithCardinalityInference; | ||
tx: import("@instantdb/core").TxChunk<Schema extends i.InstantGraph<any, any, {}> ? Schema : i.InstantGraph<any, any, {}>>; | ||
@@ -101,0 +102,0 @@ auth: Auth; |
{ | ||
"name": "@instantdb/react", | ||
"version": "v0.12.29", | ||
"version": "v0.12.30", | ||
"description": "Instant DB for React", | ||
@@ -34,4 +34,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@instantdb/core": "v0.12.29" | ||
"@instantdb/core": "v0.12.30" | ||
} | ||
} |
@@ -11,2 +11,3 @@ import { | ||
type InstantQueryResult, | ||
type InstantSchema, | ||
type InstantObject, | ||
@@ -38,10 +39,11 @@ type User, | ||
// types | ||
Config, | ||
Query, | ||
QueryResponse, | ||
InstantObject, | ||
User, | ||
AuthState, | ||
InstantQuery, | ||
InstantQueryResult, | ||
type Config, | ||
type Query, | ||
type QueryResponse, | ||
type InstantObject, | ||
type User, | ||
type AuthState, | ||
type InstantQuery, | ||
type InstantQueryResult, | ||
type InstantSchema, | ||
}; |
@@ -298,4 +298,5 @@ import { | ||
WithCardinalityInference extends boolean = false, | ||
> implements IDatabase | ||
> implements IDatabase<Schema, RoomSchema, WithCardinalityInference> | ||
{ | ||
public withCardinalityInference?: WithCardinalityInference; | ||
public tx = | ||
@@ -302,0 +303,0 @@ txInit< |
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
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
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
421326
7499
9
31
2
189
1596
Updated@instantdb/core@v0.12.30