@powerhousedao/reactor-local 1.10.2 → 1.10.3

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 CHANGED
@@ -1,11 +1,19 @@
1
- ## 1.10.2 (2024-12-11)
1
+ ## 1.10.3 (2024-12-12)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **document-model:** export generateId method ([71d945b2](https://github.com/powerhouse-inc/powerhouse/commit/71d945b2))
2
6
 
3
7
  ### 🧱 Updated Dependencies
4
8
 
5
- - Updated document-model-libs to 1.121.2
6
- - Updated document-drive to 1.10.1
7
- - Updated document-model to 2.12.0
8
- - Updated @powerhousedao/reactor-api to 1.10.2
9
+ - Updated document-model-libs to 1.122.0
10
+ - Updated document-drive to 1.11.0
11
+ - Updated document-model to 2.13.0
12
+ - Updated @powerhousedao/reactor-api to 1.10.3
13
+
14
+ ### ❤️ Thank You
15
+
16
+ - acaldas @acaldas
9
17
 
10
18
  ## 1.1.0 (2024-10-29)
11
19
 
@@ -4,7 +4,7 @@ import { isFileNode, utils as utils$1, actions, documentModel } from 'document-m
4
4
  import { utils } from 'document-model/document';
5
5
  import { ClientError, gql, GraphQLClient } from 'graphql-request';
6
6
  import { createNanoEvents } from 'nanoevents';
7
- import { v4 } from 'uuid';
7
+ import { generateId } from 'document-model/utils';
8
8
  import { pascalCase } from 'change-case';
9
9
  import { GraphQLError, buildSchema, GraphQLObjectType, GraphQLNonNull, GraphQLUnionType, GraphQLList, GraphQLScalarType } from 'graphql';
10
10
  import stringify from 'json-stringify-deterministic';
@@ -253,7 +253,7 @@ function mergeOperations(currentOperations, newOperations) {
253
253
  }, currentOperations);
254
254
  }
255
255
  function generateUUID() {
256
- return v4();
256
+ return generateId();
257
257
  }
258
258
  function isBefore(dateA, dateB) {
259
259
  return new Date(dateA) < new Date(dateB);
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #! /usr/bin/env node
2
- import { startServer } from './chunk-73W7YM3M.js';
2
+ import { startServer } from './chunk-AIMZBVFH.js';
3
3
  import { Command } from 'commander';
4
4
 
5
5
  var reactorLocalAction = (options) => {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { startServer } from './chunk-73W7YM3M.js';
2
- export { DefaultStartServerOptions, startServer } from './chunk-73W7YM3M.js';
1
+ import { startServer } from './chunk-AIMZBVFH.js';
2
+ export { DefaultStartServerOptions, startServer } from './chunk-AIMZBVFH.js';
3
3
 
4
4
  // src/index.ts
5
5
  startServer({ dev: true }).catch((error) => {
package/dist/server.js CHANGED
@@ -1 +1 @@
1
- export { DefaultStartServerOptions, startServer } from './chunk-73W7YM3M.js';
1
+ export { DefaultStartServerOptions, startServer } from './chunk-AIMZBVFH.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/reactor-local",
3
3
  "type": "module",
4
- "version": "1.10.2",
4
+ "version": "1.10.3",
5
5
  "main": "dist/server.js",
6
6
  "bin": {
7
7
  "reactor-local": "dist/cli.js"
@@ -27,10 +27,10 @@
27
27
  "nanoevents": "^9.0.0",
28
28
  "sanitize-filename": "^1.6.3",
29
29
  "uuid": "^11.0.2",
30
- "@powerhousedao/reactor-api": "1.10.2",
31
- "document-model": "2.12.0",
30
+ "@powerhousedao/reactor-api": "1.10.3",
32
31
  "@powerhousedao/scalars": "1.13.0",
33
- "document-model-libs": "1.121.2"
32
+ "document-model": "2.13.0",
33
+ "document-model-libs": "1.122.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@powerhousedao/analytics-engine-graphql": "^0.2.0",
@@ -40,7 +40,7 @@
40
40
  "@types/ms": "^0.7.34",
41
41
  "@types/node": "^22.7.5",
42
42
  "tsup": "^8.3.5",
43
- "document-drive": "1.10.1"
43
+ "document-drive": "1.11.0"
44
44
  },
45
45
  "scripts": {
46
46
  "start": "vite-node src/index.ts",