@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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @palantir/pack.state.core@0.3.1 lint /home/runner/work/pack/pack/packages/state/core
2
+ > @palantir/pack.state.core@0.4.0 lint /home/runner/work/pack/pack/packages/state/core
3
3
  > eslint ./src && dprint check --config $(find-up dprint.json) --allow-no-files
4
4
 
@@ -1,5 +1,5 @@
1
1
 
2
- > @palantir/pack.state.core@0.3.1 transpileBrowser /home/runner/work/pack/pack/packages/state/core
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.3.1 transpileCjs /home/runner/work/pack/pack/packages/state/core
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.3.1 transpileEsm /home/runner/work/pack/pack/packages/state/core
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`
@@ -1,5 +1,5 @@
1
1
 
2
- > @palantir/pack.state.core@0.3.1 transpileTypes /home/runner/work/pack/pack/packages/state/core
2
+ > @palantir/pack.state.core@0.4.0 transpileTypes /home/runner/work/pack/pack/packages/state/core
3
3
  > monorepo-transpile -f esm -m types -t node
4
4
 
5
5
  👍
@@ -1,4 +1,4 @@
1
1
 
2
- > @palantir/pack.state.core@0.3.1 typecheck /home/runner/work/pack/pack/packages/state/core
2
+ > @palantir/pack.state.core@0.4.0 typecheck /home/runner/work/pack/pack/packages/state/core
3
3
  > tsc --noEmit --emitDeclarationOnly false
4
4
 
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
@@ -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() {