@kokimoki/app 1.11.0 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kokimoki-client.d.ts +1 -2
- package/dist/kokimoki.min.d.ts +1 -2
- package/dist/kokimoki.min.js +1 -1
- package/dist/kokimoki.min.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -3
|
@@ -5,7 +5,6 @@ import type { Paginated } from "./types/common";
|
|
|
5
5
|
import { KokimokiStore } from "./kokimoki-store";
|
|
6
6
|
import { KokimokiAwareness } from "./kokimoki-awareness";
|
|
7
7
|
import { KokimokiLocalStore } from "./kokimoki-local-store";
|
|
8
|
-
import { ZodType } from "zod";
|
|
9
8
|
declare const KokimokiClient_base: new () => TypedEmitter<KokimokiClientEvents>;
|
|
10
9
|
export declare class KokimokiClient<ClientContextT = any> extends KokimokiClient_base {
|
|
11
10
|
readonly host: string;
|
|
@@ -77,7 +76,7 @@ export declare class KokimokiClient<ClientContextT = any> extends KokimokiClient
|
|
|
77
76
|
[K in keyof T]: KokimokiStore<T[K]>;
|
|
78
77
|
}, handler: (proxies: T) => ReturnT | Promise<ReturnT>): Promise<ReturnT>;
|
|
79
78
|
close(): Promise<void>;
|
|
80
|
-
getRoomHash<T
|
|
79
|
+
getRoomHash<T>(store: KokimokiStore<T>): number;
|
|
81
80
|
/** Initializers */
|
|
82
81
|
store<T>(name: string, defaultState: T, autoJoin?: boolean): KokimokiStore<T>;
|
|
83
82
|
localStore<T>(name: string, defaultState: T): KokimokiLocalStore<T>;
|
package/dist/kokimoki.min.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import TypedEmitter from 'typed-emitter';
|
|
2
2
|
import * as Y from 'yjs';
|
|
3
|
-
import { ZodType } from 'zod';
|
|
4
3
|
|
|
5
4
|
interface Paginated<T> {
|
|
6
5
|
items: T[];
|
|
@@ -148,7 +147,7 @@ declare class KokimokiClient<ClientContextT = any> extends KokimokiClient_base {
|
|
|
148
147
|
[K in keyof T]: KokimokiStore<T[K]>;
|
|
149
148
|
}, handler: (proxies: T) => ReturnT | Promise<ReturnT>): Promise<ReturnT>;
|
|
150
149
|
close(): Promise<void>;
|
|
151
|
-
getRoomHash<T
|
|
150
|
+
getRoomHash<T>(store: KokimokiStore<T>): number;
|
|
152
151
|
/** Initializers */
|
|
153
152
|
store<T>(name: string, defaultState: T, autoJoin?: boolean): KokimokiStore<T>;
|
|
154
153
|
localStore<T>(name: string, defaultState: T): KokimokiLocalStore<T>;
|
package/dist/kokimoki.min.js
CHANGED
|
@@ -486,7 +486,7 @@ function eventTargetAgnosticAddListener(emitter, name, listener, flags) {
|
|
|
486
486
|
var eventsExports = events.exports;
|
|
487
487
|
var EventEmitter$1 = /*@__PURE__*/getDefaultExportFromCjs(eventsExports);
|
|
488
488
|
|
|
489
|
-
const KOKIMOKI_APP_VERSION = "1.11.
|
|
489
|
+
const KOKIMOKI_APP_VERSION = "1.11.1";
|
|
490
490
|
|
|
491
491
|
/**
|
|
492
492
|
* Utility module to work with key-value stores.
|