@live-change/framework
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -1,2 +0,2 @@ | ||
const crypto = require("crypto") | ||
const { uidGenerator, randomString } = require('@live-change/uid') | ||
@@ -73,2 +73,5 @@ const ReactiveDao = require("@live-change/dao") | ||
this.databaseName = config?.db?.name || 'test' | ||
this.instanceId = randomString(4) | ||
this.uidGenerator = uidGenerator(this.instanceId) | ||
} | ||
@@ -152,3 +155,3 @@ | ||
generateUid() { | ||
return crypto.randomBytes(16).toString("hex") | ||
return this.uidGenerator() | ||
} | ||
@@ -155,0 +158,0 @@ |
{ | ||
"name": "@live-change/framework", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Live Change Framework - ultimate solution for real time mobile/web apps", | ||
@@ -29,2 +29,3 @@ "main": "index.js", | ||
"@live-change/db-store-lmdb": "^0.1.21", | ||
"@live-change/uid": "^0.1.2", | ||
"cookie": "^0.4.1", | ||
@@ -31,0 +32,0 @@ "encoding-down": "^7.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157145
4268
21