Skip to content

Commit

Permalink
Solving reference error.
Browse files Browse the repository at this point in the history
Referring to dexie-cloud-common a better way for pnpm: with workspace:^
  • Loading branch information
David Fahlander committed Aug 26, 2024
1 parent 2852116 commit a0299bb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addons/dexie-cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"typescript": "^5.3.3"
},
"dependencies": {
"dexie-cloud-common": "^1.0.31",
"dexie-cloud-common": "workspace:^",
"rxjs": "^7.x"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion addons/dexie-cloud/src/WSObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { BehaviorSubject, Observable, Subscriber, Subscription } from 'rxjs';
import { TokenExpiredError } from './authentication/TokenExpiredError';
import { DXCWebSocketStatus } from './DXCWebSocketStatus';
import { TSON } from './TSON';
import { YClientMessage, YServerMessage } from 'dexie-cloud-common/src/YMessage';
import type { YClientMessage, YServerMessage } from 'dexie-cloud-common';
import { DexieCloudDB } from './db/DexieCloudDB';
import { createYClientUpdateObservable } from './yjs/createYClientUpdateObservable';
import { applyYServerMessages } from './yjs/applyYMessages';
Expand Down
1 change: 1 addition & 0 deletions libs/dexie-cloud-common/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ export * from "./entities/DBRealmMember.js";
export * from "./entities/DBRealmRole.js";
export * from "./entities/DBSyncedObject.js";
export * from "./getDbNameFromDbUrl.js";
export * from "./YMessage.js";
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a0299bb

Please sign in to comment.