@stackone/olap 2.3.0 → 3.0.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/README.md +8 -0
- package/dist/index.cjs +31 -21
- package/dist/index.d.cts +13 -3
- package/dist/index.d.mts +13 -3
- package/dist/index.mjs +38 -28
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -86,6 +86,14 @@ the other way round. 1.x only ever reaches S3, so it cannot read what 2.x stores
|
|
|
86
86
|
reaching a caller are `StorageError`s from `@stackone/storage`, with the SDK's error on `cause`,
|
|
87
87
|
rather than raw AWS SDK errors.
|
|
88
88
|
|
|
89
|
+
### Upgrading from 2.x
|
|
90
|
+
|
|
91
|
+
The advanced sink's `piiRedaction` is now an `AdvancedPiiScrubber`
|
|
92
|
+
(`{ warmupTier2(): Promise<void>; scrubObject<T>(value: T): Promise<T> }`), not `@stackone/redaction`'s
|
|
93
|
+
`PiiRedaction`: olap no longer imports PII detection, the host supplies the scrubber (ENG-3378). StackOne's is
|
|
94
|
+
`createAdvancedLogsScrubber()` from the private `@stackonehq/pii-redaction`. Its errors are logged by
|
|
95
|
+
name only, since a scrub error can quote the body.
|
|
96
|
+
|
|
89
97
|
## Platform logs
|
|
90
98
|
|
|
91
99
|
Platform logs are the audit trail of operations on StackOne itself — creating an account, deleting
|