@powerhousedao/reactor-api 1.20.1 → 1.20.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/CHANGELOG.md +10 -5
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/subgraphs/drive/index.ts +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
## 1.20.
|
|
1
|
+
## 1.20.2 (2025-02-10)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **design-system:** add danger zone settings page ([572345bc](https://github.com/powerhouse-inc/powerhouse/commit/572345bc))
|
|
2
6
|
|
|
3
7
|
### 🩹 Fixes
|
|
4
8
|
|
|
5
|
-
- **reactor-api:**
|
|
9
|
+
- **reactor-api:** sanitize document model name before using it as __typename ([adcca457](https://github.com/powerhouse-inc/powerhouse/commit/adcca457))
|
|
6
10
|
|
|
7
11
|
### 🧱 Updated Dependencies
|
|
8
12
|
|
|
9
|
-
- Updated document-model-libs to 1.131.
|
|
10
|
-
- Updated document-drive to 1.17.
|
|
13
|
+
- Updated document-model-libs to 1.131.2
|
|
14
|
+
- Updated document-drive to 1.17.2
|
|
11
15
|
|
|
12
16
|
### ❤️ Thank You
|
|
13
17
|
|
|
14
|
-
-
|
|
18
|
+
- ryanwolhuter @ryanwolhuter
|
|
19
|
+
- Wouter Kampmann
|
|
15
20
|
|
|
16
21
|
## 1.2.0 (2024-10-29)
|
|
17
22
|
|
package/dist/index.js
CHANGED
|
@@ -26108,6 +26108,9 @@ var DriveSubgraph = class extends Subgraph {
|
|
|
26108
26108
|
);
|
|
26109
26109
|
const globalState = document.state.global;
|
|
26110
26110
|
if (!globalState) throw new Error("Document not found");
|
|
26111
|
+
const typeName = pascalCase(
|
|
26112
|
+
(dm?.documentModel.name || "").replaceAll("/", " ")
|
|
26113
|
+
);
|
|
26111
26114
|
const response = {
|
|
26112
26115
|
...document,
|
|
26113
26116
|
id,
|
|
@@ -26118,7 +26121,7 @@ var DriveSubgraph = class extends Subgraph {
|
|
|
26118
26121
|
inputText: typeof op.input === "string" ? op.input : JSON.stringify(op.input)
|
|
26119
26122
|
})),
|
|
26120
26123
|
initialState: document.initialState.state.global,
|
|
26121
|
-
__typename:
|
|
26124
|
+
__typename: typeName
|
|
26122
26125
|
};
|
|
26123
26126
|
return response;
|
|
26124
26127
|
},
|