@wats/persistence 0.3.27 → 0.3.29

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # @wats/persistence
2
2
 
3
+ > Experimental. Breaking changes are expected within `0.x`, including renames, shape changes, and schema migrations. Pin the version. See [api-stability](https://wats.sh/docs/meta/api-stability).
4
+
3
5
  Experimental WATS persistence contracts and adapters.
4
6
 
5
7
  Install:
package/dist/index.d.ts CHANGED
@@ -134,3 +134,5 @@ export { createSqlitePersistence } from "./sqlite";
134
134
  export type { SqlitePersistenceOptions } from "./sqlite";
135
135
  export { runOutboxWorkerOnce } from "./outbox";
136
136
  export type { OutboxWorkerOptions, OutboxWorkerReport } from "./outbox";
137
+ export { createPostgresPersistence, createPostgresPersistenceWithClient, REDACTED_POSTGRES_LOCATION } from "./postgres";
138
+ export type { PostgresPersistenceOptions, PostgresClientLike, PostgresQueryResult } from "./postgres";
package/dist/index.js CHANGED
@@ -11,3 +11,8 @@ export class PersistenceError extends Error {
11
11
  }
12
12
  export { createSqlitePersistence } from "./sqlite";
13
13
  export { runOutboxWorkerOnce } from "./outbox";
14
+ export {
15
+ createPostgresPersistence,
16
+ createPostgresPersistenceWithClient,
17
+ REDACTED_POSTGRES_LOCATION
18
+ } from "./postgres";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wats/persistence",
3
- "version": "0.3.27",
3
+ "version": "0.3.29",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -28,6 +28,15 @@
28
28
  "publishConfig": {
29
29
  "access": "public"
30
30
  },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/Switchbord/wats.git",
34
+ "directory": "packages/persistence"
35
+ },
36
+ "homepage": "https://wats.sh",
37
+ "bugs": {
38
+ "url": "https://github.com/Switchbord/wats/issues"
39
+ },
31
40
  "keywords": [
32
41
  "whatsapp",
33
42
  "whatsapp-cloud-api",