@instantdb/core
Advanced tools
Comparing version 0.12.17 to 0.12.18
import Reactor from "./Reactor"; | ||
import { tx, lookup, TransactionChunk, EmptyChunk, getOps } from "./instatx"; | ||
import { tx, lookup, getOps, type TransactionChunk, type EmptyChunk } from "./instatx"; | ||
import weakHash from "./utils/weakHash"; | ||
@@ -7,5 +7,5 @@ import id from "./utils/uuid"; | ||
import WindowNetworkListener from "./WindowNetworkListener"; | ||
import { Query, QueryResponse, PageInfoResponse, Exactly, InstantObject } from "./queryTypes"; | ||
import { AuthState, User, AuthResult } from "./clientTypes"; | ||
import { PresenceOpts, PresenceResponse, PresenceSlice, RoomSchemaShape } from "./presence"; | ||
import type { Query, QueryResponse, PageInfoResponse, Exactly, InstantObject } from "./queryTypes"; | ||
import type { AuthState, User, AuthResult } from "./clientTypes"; | ||
import type { PresenceOpts, PresenceResponse, PresenceSlice, RoomSchemaShape } from "./presence"; | ||
import * as i from "./schema"; | ||
@@ -12,0 +12,0 @@ export type Config = { |
import Reactor from "./Reactor"; | ||
import { tx, lookup, TransactionChunk, EmptyChunk, getOps } from "./instatx"; | ||
import { tx, lookup, getOps, type TransactionChunk, type EmptyChunk } from "./instatx"; | ||
import weakHash from "./utils/weakHash"; | ||
@@ -7,5 +7,5 @@ import id from "./utils/uuid"; | ||
import WindowNetworkListener from "./WindowNetworkListener"; | ||
import { Query, QueryResponse, PageInfoResponse, Exactly, InstantObject } from "./queryTypes"; | ||
import { AuthState, User, AuthResult } from "./clientTypes"; | ||
import { PresenceOpts, PresenceResponse, PresenceSlice, RoomSchemaShape } from "./presence"; | ||
import type { Query, QueryResponse, PageInfoResponse, Exactly, InstantObject } from "./queryTypes"; | ||
import type { AuthState, User, AuthResult } from "./clientTypes"; | ||
import type { PresenceOpts, PresenceResponse, PresenceSlice, RoomSchemaShape } from "./presence"; | ||
import * as i from "./schema"; | ||
@@ -12,0 +12,0 @@ export type Config = { |
import Reactor from "./Reactor"; | ||
import { tx, lookup, getOps } from "./instatx"; | ||
import { tx, lookup, getOps, } from "./instatx"; | ||
import weakHash from "./utils/weakHash"; | ||
@@ -4,0 +4,0 @@ import id from "./utils/uuid"; |
{ | ||
"name": "@instantdb/core", | ||
"version": "v0.12.17", | ||
"version": "v0.12.18", | ||
"description": "Instant's core local abstraction", | ||
@@ -8,7 +8,7 @@ "main": "dist/index.js", | ||
"types": "dist/module/index.d.ts", | ||
"unpkg": "dist/index.js", | ||
"unpkg": "standalone/index.umd.js", | ||
"scripts": { | ||
"test": "vitest", | ||
"test:ci": "vitest run", | ||
"build": "rm -rf dist; npm run build:main && npm run build:module", | ||
"build": "rm -rf dist; npm run build:main && npm run build:module && npm run build:standalone", | ||
"dev:main": "tsc -p tsconfig.json -w --skipLibCheck", | ||
@@ -19,2 +19,3 @@ "dev:module": "tsc -p tsconfig.module.json -w --skipLibCheck", | ||
"build:module": "tsc -p tsconfig.module.json", | ||
"build:standalone": "vite build", | ||
"publish-package": "npm publish --access public" | ||
@@ -33,2 +34,3 @@ }, | ||
"typescript": "^5.5.4", | ||
"vite": "^5.2.0", | ||
"vitest": "^1.6.0" | ||
@@ -35,0 +37,0 @@ }, |
import Reactor from "./Reactor"; | ||
import { tx, lookup, TransactionChunk, EmptyChunk, getOps } from "./instatx"; | ||
import { | ||
tx, | ||
lookup, | ||
getOps, | ||
type TransactionChunk, | ||
type EmptyChunk, | ||
} from "./instatx"; | ||
import weakHash from "./utils/weakHash"; | ||
@@ -7,3 +13,3 @@ import id from "./utils/uuid"; | ||
import WindowNetworkListener from "./WindowNetworkListener"; | ||
import { | ||
import type { | ||
Query, | ||
@@ -15,4 +21,4 @@ QueryResponse, | ||
} from "./queryTypes"; | ||
import { AuthState, User, AuthResult } from "./clientTypes"; | ||
import { | ||
import type { AuthState, User, AuthResult } from "./clientTypes"; | ||
import type { | ||
PresenceOpts, | ||
@@ -19,0 +25,0 @@ PresenceResponse, |
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
1880801
272
38611
12
9