@things-factory/integration-base 4.3.677 → 4.3.682

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.
@@ -123,7 +123,7 @@ async function createPayloadLog(name, endpoint, request, response, context, type
123
123
  try {
124
124
  const { domain, user } = context === null || context === void 0 ? void 0 : context.state;
125
125
  await (0, typeorm_1.getRepository)(payload_log_1.PayloadLog).insert({
126
- id: id == null ? (0, uuid_1.v7)() : id,
126
+ id: id == null ? (0, uuid_1.v4)() : id,
127
127
  name,
128
128
  domain,
129
129
  endpoint,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/integration-base",
3
- "version": "4.3.677",
3
+ "version": "4.3.682",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -42,5 +42,5 @@
42
42
  "uuid": "11.0.0",
43
43
  "vm2": "^3.9.2"
44
44
  },
45
- "gitHead": "40d5f1f02846df24414d16d4971acea9cc4574b8"
45
+ "gitHead": "b2ad61e11288f94f4fc73b4f74c049e70a77079a"
46
46
  }
@@ -6,7 +6,7 @@ import { logger } from '@things-factory/env'
6
6
  import { Domain } from '@things-factory/shell'
7
7
  import { User } from '@things-factory/auth-base'
8
8
  import { Bizplace } from '@things-factory/biz-base'
9
- import { v7 as uuidv7 } from 'uuid'
9
+ import { v4 as uuidv4 } from 'uuid'
10
10
 
11
11
  @Resolver(PayloadLog)
12
12
  export class PayloadLogMutation {
@@ -64,7 +64,7 @@ export class PayloadLogMutation {
64
64
  const result = await payloadLogRepo.save({
65
65
  ...newRecord,
66
66
  domain,
67
- creator: user,
67
+ creator: user
68
68
  })
69
69
 
70
70
  results.push({ ...result, cuFlag: '+' })
@@ -127,7 +127,7 @@ export async function createPayloadLog(
127
127
  const { domain, user }: { domain: Domain; user: User } = context?.state
128
128
 
129
129
  await getRepository(PayloadLog).insert({
130
- id: id == null ? uuidv7() : id,
130
+ id: id == null ? uuidv4() : id,
131
131
  name,
132
132
  domain,
133
133
  endpoint,