@catalyst-cloud/sdk 0.14.1 → 0.14.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/README.md +6 -4
- package/dist/node.js +2 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# @catalyst-cloud/sdk
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Build apps that read and update your Catalyst Cloud data.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
Get live updates for your Linear tickets and GitHub pull requests.
|
|
6
|
+
|
|
7
|
+
Install: `npm install @catalyst-cloud/sdk`
|
|
8
|
+
|
|
9
|
+
[SDK documentation](https://github.com/coalesce-labs/catalyst-cloud-sdk#readme)
|
|
8
10
|
|
|
9
11
|
```ts
|
|
10
12
|
import { createTenantClient } from "@catalyst-cloud/sdk";
|
package/dist/node.js
CHANGED
|
@@ -7305,7 +7305,8 @@ function searchIndexesOver(db, tables) {
|
|
|
7305
7305
|
);
|
|
7306
7306
|
const pairs = JSON.parse(String(row?.["j"] ?? "[]"));
|
|
7307
7307
|
return pairs.filter(([, ddl]) => {
|
|
7308
|
-
const
|
|
7308
|
+
const m = /content\s*=\s*(?:'([^']*)'|"([^"]*)"|([A-Za-z_]\w*))/i.exec(ddl);
|
|
7309
|
+
const content = m?.[1] ?? m?.[2] ?? m?.[3];
|
|
7309
7310
|
return content !== void 0 && tables.has(content);
|
|
7310
7311
|
}).map(([name]) => name);
|
|
7311
7312
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@catalyst-cloud/sdk",
|
|
3
|
-
"version": "0.14.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.14.2",
|
|
4
|
+
"description": "Read and update your Catalyst Cloud data, and receive live changes in your apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Coalesce Labs",
|
|
7
7
|
"homepage": "https://github.com/coalesce-labs/catalyst-cloud-sdk#readme",
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
],
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@catalyst-cloud/read-model": "^0.13.0",
|
|
102
|
-
"@catalyst-cloud/replicate": "0.13.
|
|
103
|
-
"@catalyst-cloud/schema": "0.13.
|
|
102
|
+
"@catalyst-cloud/replicate": "0.13.2",
|
|
103
|
+
"@catalyst-cloud/schema": "0.13.2",
|
|
104
104
|
"@opentelemetry/api": "^1.9.0",
|
|
105
105
|
"@opentelemetry/context-async-hooks": "^2.8.0",
|
|
106
106
|
"@opentelemetry/resources": "^2.8.0",
|
|
@@ -118,8 +118,8 @@
|
|
|
118
118
|
"@sqlite.org/sqlite-wasm": "*",
|
|
119
119
|
"better-sqlite3": "*",
|
|
120
120
|
"@catalyst-cloud/read-model": "^0.13.0",
|
|
121
|
-
"@catalyst-cloud/replicate": "0.13.
|
|
122
|
-
"@catalyst-cloud/schema": "0.13.
|
|
121
|
+
"@catalyst-cloud/replicate": "0.13.2",
|
|
122
|
+
"@catalyst-cloud/schema": "0.13.2"
|
|
123
123
|
},
|
|
124
124
|
"peerDependenciesMeta": {
|
|
125
125
|
"@opentelemetry/api": {
|