replicache
Advanced tools
Comparing version 15.1.0 to 15.2.0
import { LogContext } from '@rocicorp/logger'; | ||
import { av as Hash, d as MaybePromise, aw as Store, ax as Chunk, ay as ChunkHasher, az as Read, aA as Write, ad as ClientID, aB as QueryInternal, aC as SubscriptionsManager, M as MutatorDefs, a as MakeMutators, P as Puller, b as Pusher, c as RequestOptions, U as UpdateNeededReason, R as ReplicacheOptions, aD as PokeInternal, aE as BeginPullResult, f as ReadTransaction, g as SubscribeOptions, W as WatchNoIndexCallback, h as WatchOptions, i as WatchCallbackForOptions, C as Cookie, j as PendingMutation } from './chunk-Ck3gxzjD.js'; | ||
import { av as Hash, d as MaybePromise, aw as Store, ax as Chunk, ay as ChunkHasher, az as Read, aA as Write, aB as Refs, ad as ClientID, aC as QueryInternal, aD as SubscriptionsManager, M as MutatorDefs, a as MakeMutators, P as Puller, b as Pusher, c as RequestOptions, U as UpdateNeededReason, R as ReplicacheOptions, aE as PokeInternal, aF as BeginPullResult, f as ReadTransaction, g as SubscribeOptions, W as WatchNoIndexCallback, h as WatchOptions, i as WatchCallbackForOptions, C as Cookie, j as PendingMutation } from './chunk-B9_WTtGx.js'; | ||
import { Infer, Type } from '@badrap/valita'; | ||
@@ -172,3 +172,3 @@ | ||
constructor(heads: Map<string, Hash>, memOnlyChunks: Map<Hash, Chunk>, sourceChunksCache: ChunksCache, sourceStore: Store, refCounts: Map<Hash, number>, refs: Map<Hash, readonly Hash[]>, release: () => void, chunkHasher: ChunkHasher, assertValidHash: (hash: Hash) => void); | ||
createChunk: <V>(data: V, refs: readonly Hash[]) => Chunk<V>; | ||
createChunk: <V>(data: V, refs: Refs) => Chunk<V>; | ||
putChunk<V>(c: Chunk<V>, size?: number): Promise<void>; | ||
@@ -175,0 +175,0 @@ setHead(name: string, hash: Hash): Promise<void>; |
@@ -1,2 +0,2 @@ | ||
import{i as a}from"./chunk-TCED5C5T.js";export{a as ReplicacheImpl}; | ||
import{i as a}from"./chunk-BDR3KBXG.js";export{a as ReplicacheImpl}; | ||
//# sourceMappingURL=impl.js.map |
import { LogLevel, LogSink } from '@rocicorp/logger'; | ||
export { LogLevel, LogSink, consoleLogSink } from '@rocicorp/logger'; | ||
import { I as IterableUnion, P as Puller, S as StoreProvider, M as MutatorDefs, R as ReplicacheOptions, a as MakeMutators, b as Pusher, c as RequestOptions, U as UpdateNeededReason, d as MaybePromise, e as Poke, f as ReadTransaction, g as SubscribeOptions, W as WatchNoIndexCallback, h as WatchOptions, i as WatchCallbackForOptions, j as PendingMutation } from './chunk-Ck3gxzjD.js'; | ||
export { $ as AsyncIterableIteratorToArray, ac as ClientGroupID, ad as ClientID, t as ClientStateNotFoundResponse, C as Cookie, am as CreateIndexDefinition, w as CreateKVStore, an as DeepReadonly, ao as DeepReadonlyObject, x as DropKVStore, D as ExperimentalDiff, n as ExperimentalDiffOperation, o as ExperimentalDiffOperationAdd, p as ExperimentalDiffOperationChange, q as ExperimentalDiffOperationDel, r as ExperimentalIndexDiff, N as ExperimentalNoIndexDiff, a9 as ExperimentalWatchIndexCallback, aa as ExperimentalWatchIndexOptions, ab as ExperimentalWatchNoIndexOptions, a0 as GetIndexScanIterator, a1 as GetScanIterator, H as HTTPRequestInfo, u as IndexDefinition, v as IndexDefinitions, s as IndexKey, J as JSONObject, k as JSONValue, y as KVRead, z as KVStore, A as KVWrite, a4 as KeyTypeForScanOptions, at as MakeMutator, ah as MutationV0, ai as MutationV1, au as MutatorReturn, B as PatchOperation, ae as PullRequest, af as PullRequestV0, ag as PullRequestV1, E as PullResponse, F as PullResponseOKV0, G as PullResponseOKV1, K as PullResponseV0, L as PullResponseV1, O as PullerResult, Q as PullerResultV0, T as PullerResultV1, X as PushError, aj as PushRequest, ak as PushRequestV0, al as PushRequestV1, Y as PushResponse, Z as PusherResult, l as ReadonlyJSONObject, m as ReadonlyJSONValue, a5 as ScanIndexOptions, a6 as ScanNoIndexOptions, a7 as ScanOptionIndexedStartKey, a8 as ScanOptions, a2 as ScanResult, ap as TransactionEnvironment, aq as TransactionLocation, ar as TransactionReason, V as VersionNotSupportedResponse, as as WriteTransaction, a3 as isScanIndexOptions, _ as makeScanResult } from './chunk-Ck3gxzjD.js'; | ||
import { I as IterableUnion, P as Puller, S as StoreProvider, M as MutatorDefs, R as ReplicacheOptions, a as MakeMutators, b as Pusher, c as RequestOptions, U as UpdateNeededReason, d as MaybePromise, e as Poke, f as ReadTransaction, g as SubscribeOptions, W as WatchNoIndexCallback, h as WatchOptions, i as WatchCallbackForOptions, j as PendingMutation } from './chunk-B9_WTtGx.js'; | ||
export { $ as AsyncIterableIteratorToArray, ac as ClientGroupID, ad as ClientID, t as ClientStateNotFoundResponse, C as Cookie, am as CreateIndexDefinition, w as CreateKVStore, an as DeepReadonly, ao as DeepReadonlyObject, x as DropKVStore, D as ExperimentalDiff, n as ExperimentalDiffOperation, o as ExperimentalDiffOperationAdd, p as ExperimentalDiffOperationChange, q as ExperimentalDiffOperationDel, r as ExperimentalIndexDiff, N as ExperimentalNoIndexDiff, a9 as ExperimentalWatchIndexCallback, aa as ExperimentalWatchIndexOptions, ab as ExperimentalWatchNoIndexOptions, a0 as GetIndexScanIterator, a1 as GetScanIterator, H as HTTPRequestInfo, u as IndexDefinition, v as IndexDefinitions, s as IndexKey, J as JSONObject, k as JSONValue, y as KVRead, z as KVStore, A as KVWrite, a4 as KeyTypeForScanOptions, at as MakeMutator, ah as MutationV0, ai as MutationV1, au as MutatorReturn, B as PatchOperation, ae as PullRequest, af as PullRequestV0, ag as PullRequestV1, E as PullResponse, F as PullResponseOKV0, G as PullResponseOKV1, K as PullResponseV0, L as PullResponseV1, O as PullerResult, Q as PullerResultV0, T as PullerResultV1, X as PushError, aj as PushRequest, ak as PushRequestV0, al as PushRequestV1, Y as PushResponse, Z as PusherResult, l as ReadonlyJSONObject, m as ReadonlyJSONValue, a5 as ScanIndexOptions, a6 as ScanNoIndexOptions, a7 as ScanOptionIndexedStartKey, a8 as ScanOptions, a2 as ScanResult, ap as TransactionEnvironment, aq as TransactionLocation, ar as TransactionReason, V as VersionNotSupportedResponse, as as WriteTransaction, a3 as isScanIndexOptions, _ as makeScanResult } from './chunk-B9_WTtGx.js'; | ||
@@ -280,3 +280,3 @@ // TODO when our license is finalized add a link to it. | ||
/** | ||
* Push pushes pending changes to the {@link pushURLXXX}. | ||
* Push pushes pending changes to the {@link pushURL}. | ||
* | ||
@@ -283,0 +283,0 @@ * You do not usually need to manually call push. If {@link pushDelay} is |
@@ -1,2 +0,2 @@ | ||
import{a as l,b as f,c as x,d as c,e as u,f as y,g as d,h as m,j as I,k as b,l as R,m as O,n as D}from"./chunk-TCED5C5T.js";import{consoleLogSink as k}from"@rocicorp/logger";async function*h(r,s){for await(let n of r)s(n)&&(yield n)}function i(r){return r[Symbol.asyncIterator]?.()||r[Symbol.iterator]()}async function*S(r,s,n){let o=i(r),a=i(s);try{let t=await o.next(),e=await a.next();for(;;){if(t.done){if(e.done)return;yield e.value,e=await a.next();continue}if(e.done){yield t.value,t=await o.next();continue}let p=n(t.value,e.value);p===0?(yield e.value,t=await o.next(),e=await a.next()):p<0?(yield t.value,t=await o.next()):(yield e.value,e=await a.next())}}finally{o.return&&await o.return(),a.return&&await a.return()}}export{x as IDBNotFoundError,d as PullError,b as Replicache,l as TEST_LICENSE_KEY,u as TransactionClosedError,k as consoleLogSink,D as deleteAllReplicacheData,O as dropAllDatabases,R as dropDatabase,h as filterAsyncIterable,f as getDefaultPuller,c as isScanIndexOptions,I as makeIDBName,y as makeScanResult,S as mergeAsyncIterables,m as version}; | ||
import{a as l,b as f,c as x,d as c,e as u,f as y,g as d,h as m,j as I,k as b,l as R,m as O,n as D}from"./chunk-BDR3KBXG.js";import{consoleLogSink as k}from"@rocicorp/logger";async function*h(r,s){for await(let n of r)s(n)&&(yield n)}function i(r){return r[Symbol.asyncIterator]?.()||r[Symbol.iterator]()}async function*S(r,s,n){let o=i(r),a=i(s);try{let t=await o.next(),e=await a.next();for(;;){if(t.done){if(e.done)return;yield e.value,e=await a.next();continue}if(e.done){yield t.value,t=await o.next();continue}let p=n(t.value,e.value);p===0?(yield e.value,t=await o.next(),e=await a.next()):p<0?(yield t.value,t=await o.next()):(yield e.value,e=await a.next())}}finally{o.return&&await o.return(),a.return&&await a.return()}}export{x as IDBNotFoundError,d as PullError,b as Replicache,l as TEST_LICENSE_KEY,u as TransactionClosedError,k as consoleLogSink,D as deleteAllReplicacheData,O as dropAllDatabases,R as dropDatabase,h as filterAsyncIterable,f as getDefaultPuller,c as isScanIndexOptions,I as makeIDBName,y as makeScanResult,S as mergeAsyncIterables,m as version}; | ||
//# sourceMappingURL=replicache.js.map |
{ | ||
"name": "replicache", | ||
"description": "Realtime sync for any backend stack", | ||
"version": "15.1.0", | ||
"version": "15.2.0", | ||
"repository": "github:rocicorp/replicache", | ||
@@ -6,0 +6,0 @@ "license": "https://roci.dev/terms.html", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
365472
3320