@palantir/pack.state.core 0.3.1 → 0.4.0
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/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-transpileBrowser.log +1 -1
- package/.turbo/turbo-transpileCjs.log +1 -1
- package/.turbo/turbo-transpileEsm.log +1 -1
- package/.turbo/turbo-transpileTypes.log +1 -1
- package/.turbo/turbo-typecheck.log +1 -1
- package/CHANGELOG.md +11 -0
- package/build/browser/index.js +5 -5
- package/build/browser/index.js.map +1 -1
- package/build/cjs/index.cjs +5 -5
- package/build/cjs/index.cjs.map +1 -1
- package/build/cjs/index.d.cts +4 -4
- package/build/esm/index.js +5 -5
- package/build/esm/index.js.map +1 -1
- package/build/types/service/BaseYjsDocumentService.d.ts +2 -2
- package/build/types/service/BaseYjsDocumentService.d.ts.map +1 -1
- package/build/types/service/InMemoryDocumentService.d.ts.map +1 -1
- package/build/types/types/DocumentRefImpl.d.ts.map +1 -1
- package/build/types/types/DocumentService.d.ts +2 -2
- package/build/types/types/DocumentService.d.ts.map +1 -1
- package/build/types/types/StateModule.d.ts +3 -3
- package/build/types/types/StateModule.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/service/BaseYjsDocumentService.ts +2 -0
- package/src/service/InMemoryDocumentService.ts +2 -0
- package/src/types/DocumentRefImpl.ts +3 -1
- package/src/types/DocumentService.ts +2 -0
- package/src/types/StateModule.ts +4 -1
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @palantir/pack.state.core@0.
|
|
2
|
+
> @palantir/pack.state.core@0.4.0 transpileBrowser /home/runner/work/pack/pack/packages/state/core
|
|
3
3
|
> monorepo-transpile -f esm -m bundle -t browser
|
|
4
4
|
|
|
5
5
|
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @palantir/pack.state.core@0.
|
|
2
|
+
> @palantir/pack.state.core@0.4.0 transpileCjs /home/runner/work/pack/pack/packages/state/core
|
|
3
3
|
> monorepo-transpile -f cjs -m bundle -t node
|
|
4
4
|
|
|
5
5
|
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @palantir/pack.state.core@0.
|
|
2
|
+
> @palantir/pack.state.core@0.4.0 transpileEsm /home/runner/work/pack/pack/packages/state/core
|
|
3
3
|
> monorepo-transpile -f esm -m bundle -t node
|
|
4
4
|
|
|
5
5
|
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @palantir/pack.state.core
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bb1ba4e: update ephemeral events and custom presence event types and search request query
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [bb1ba4e]
|
|
12
|
+
- @palantir/pack.document-schema.model-types@0.4.0
|
|
13
|
+
|
|
3
14
|
## 0.3.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/build/browser/index.js
CHANGED
|
@@ -64,8 +64,8 @@ var StateModuleImpl = class {
|
|
|
64
64
|
onStateChange(docRef, cb) {
|
|
65
65
|
return this.documentService.onStateChange(docRef, cb);
|
|
66
66
|
}
|
|
67
|
-
updateCustomPresence(docRef, model, eventData) {
|
|
68
|
-
this.documentService.updateCustomPresence(docRef, model, eventData);
|
|
67
|
+
updateCustomPresence(docRef, model, eventData, options) {
|
|
68
|
+
this.documentService.updateCustomPresence(docRef, model, eventData, options);
|
|
69
69
|
}
|
|
70
70
|
async getRecordSnapshot(recordRef) {
|
|
71
71
|
return this.documentService.getRecordSnapshot(recordRef);
|
|
@@ -196,8 +196,8 @@ var DocumentRefImpl = class {
|
|
|
196
196
|
onStateChange(callback) {
|
|
197
197
|
return this.#stateModule.onStateChange(this, callback);
|
|
198
198
|
}
|
|
199
|
-
updateCustomPresence(model, eventData) {
|
|
200
|
-
this.#stateModule.updateCustomPresence(this, model, eventData);
|
|
199
|
+
updateCustomPresence(model, eventData, options) {
|
|
200
|
+
this.#stateModule.updateCustomPresence(this, model, eventData, options);
|
|
201
201
|
}
|
|
202
202
|
withTransaction(fn, description) {
|
|
203
203
|
this.#stateModule.withTransaction(this, fn, description);
|
|
@@ -1327,7 +1327,7 @@ var InMemoryDocumentService = class extends BaseYjsDocumentService {
|
|
|
1327
1327
|
return () => {
|
|
1328
1328
|
};
|
|
1329
1329
|
}
|
|
1330
|
-
updateCustomPresence(_docRef, _model, _eventData) {
|
|
1330
|
+
updateCustomPresence(_docRef, _model, _eventData, _options) {
|
|
1331
1331
|
}
|
|
1332
1332
|
};
|
|
1333
1333
|
function generateDocumentId() {
|