@palantir/pack.state.core 0.2.0 → 0.2.2
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 +14 -0
- package/build/browser/index.js +3 -1
- package/build/browser/index.js.map +1 -1
- package/build/cjs/index.cjs +3 -1
- package/build/cjs/index.cjs.map +1 -1
- package/build/esm/index.js +3 -1
- package/build/esm/index.js.map +1 -1
- package/build/types/types/RecordRefImpl.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/types/RecordRefImpl.ts +2 -0
package/.turbo/turbo-lint.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @palantir/pack.state.core
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0954a30]
|
|
8
|
+
- @palantir/pack.document-schema.model-types@0.2.2
|
|
9
|
+
|
|
10
|
+
## 0.2.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [c2012a1]
|
|
15
|
+
- @palantir/pack.document-schema.model-types@0.2.1
|
|
16
|
+
|
|
3
17
|
## 0.2.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/build/browser/index.js
CHANGED
|
@@ -303,12 +303,14 @@ var INVALID_RECORD_REF = Object.freeze({
|
|
|
303
303
|
id: INVALID_RECORD_ID,
|
|
304
304
|
model: {},
|
|
305
305
|
[RecordRefBrand]: RecordRefBrand,
|
|
306
|
+
delete: () => Promise.reject(new Error("Invalid record reference")),
|
|
306
307
|
getSnapshot: () => Promise.reject(new Error("Invalid record reference")),
|
|
307
308
|
set: () => Promise.reject(new Error("Invalid record reference")),
|
|
308
309
|
onChange: () => () => {
|
|
309
310
|
},
|
|
310
311
|
onDeleted: () => () => {
|
|
311
|
-
}
|
|
312
|
+
},
|
|
313
|
+
update: () => Promise.reject(new Error("Invalid record reference"))
|
|
312
314
|
});
|
|
313
315
|
var createRecordRef = (documentService, docRef, id, model) => {
|
|
314
316
|
return new RecordRefImpl(documentService, docRef, id, model);
|