@instantdb/react
Advanced tools
Comparing version 0.5.12 to 0.5.13
@@ -1,2 +0,2 @@ | ||
import { instatx, getLocalId as getLocalIdCore, Config, transact as transactCore } from "@instantdb/core"; | ||
import { getLocalId as getLocalIdCore, Config, transact as transactCore } from "@instantdb/core"; | ||
export declare function init(config: Config): any; | ||
@@ -50,3 +50,3 @@ type QueryState<T> = { | ||
export declare const id: (<T extends ArrayLike<number>>(options: import("uuid").V4Options, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string); | ||
export declare const tx: instatx.EmptyChunk; | ||
export declare const tx: import("@instantdb/core/dist/module/instatx").EmptyChunk; | ||
export declare const transact: typeof transactCore; | ||
@@ -53,0 +53,0 @@ export declare const getLocalId: typeof getLocalIdCore; |
@@ -47,6 +47,6 @@ "use strict"; | ||
exports.auth = core_1.auth; | ||
exports.id = core_1.uuid; | ||
exports.tx = core_1.instatx.tx; | ||
exports.id = core_1.id; | ||
exports.tx = core_1.tx; | ||
exports.transact = core_1.transact; | ||
exports.getLocalId = core_1.getLocalId; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { instatx, getLocalId as getLocalIdCore, Config, transact as transactCore } from "@instantdb/core"; | ||
import { getLocalId as getLocalIdCore, Config, transact as transactCore } from "@instantdb/core"; | ||
export declare function init(config: Config): any; | ||
@@ -50,3 +50,3 @@ type QueryState<T> = { | ||
export declare const id: (<T extends ArrayLike<number>>(options: import("uuid").V4Options, buffer: T, offset?: number) => T) & ((options?: import("uuid").V4Options) => string); | ||
export declare const tx: instatx.EmptyChunk; | ||
export declare const tx: import("@instantdb/core/dist/module/instatx").EmptyChunk; | ||
export declare const transact: typeof transactCore; | ||
@@ -53,0 +53,0 @@ export declare const getLocalId: typeof getLocalIdCore; |
@@ -1,2 +0,2 @@ | ||
import { getDB, weakHash, instatx, uuid, init as initCore, getLocalId as getLocalIdCore, transact as transactCore, coerceQuery, auth as authCore } from "@instantdb/core"; | ||
import { getDB, weakHash, tx as txCore, id as idCore, init as initCore, getLocalId as getLocalIdCore, transact as transactCore, coerceQuery, auth as authCore } from "@instantdb/core"; | ||
import { useEffect, useState } from "react"; | ||
@@ -41,6 +41,6 @@ export function init(config) { | ||
export const auth = authCore; | ||
export const id = uuid; | ||
export const tx = instatx.tx; | ||
export const id = idCore; | ||
export const tx = txCore; | ||
export const transact = transactCore; | ||
export const getLocalId = getLocalIdCore; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@instantdb/react", | ||
"version": "0.5.12", | ||
"version": "0.5.13", | ||
"description": "Instant DB for React", | ||
@@ -23,2 +23,3 @@ "main": "dist/index.js", | ||
"@babel/preset-env": "^7.16.11", | ||
"@types/react": ">=16", | ||
"npm-run-all": "^4.1.5", | ||
@@ -32,4 +33,4 @@ "typescript": "^4.6.4", | ||
"dependencies": { | ||
"@instantdb/core": "0.5.12" | ||
"@instantdb/core": "0.5.13" | ||
} | ||
} |
import { | ||
getDB, | ||
weakHash, | ||
instatx, | ||
uuid, | ||
tx as txCore, | ||
id as idCore, | ||
init as initCore, | ||
@@ -71,5 +71,5 @@ getLocalId as getLocalIdCore, | ||
export const auth = authCore; | ||
export const id = uuid; | ||
export const tx = instatx.tx; | ||
export const id = idCore; | ||
export const tx = txCore; | ||
export const transact = transactCore; | ||
export const getLocalId = getLocalIdCore; |
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
15264
6
+ Added@instantdb/core@0.5.13(transitive)
- Removed@instantdb/core@0.5.12(transitive)
Updated@instantdb/core@0.5.13