@coopenomics/extension-kit 2026.9.14 → 2026.9.16-1
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/dist/sync/index.cjs +2 -2
- package/dist/sync/index.mjs +2 -2
- package/package.json +4 -4
package/dist/sync/index.cjs
CHANGED
|
@@ -871,7 +871,7 @@ exports.BaseBlockchainRepository = class BaseBlockchainRepository {
|
|
|
871
871
|
* Найти сущность по кастомному ключу синхронизации
|
|
872
872
|
*/
|
|
873
873
|
async findBySyncKey(syncKey, syncValue) {
|
|
874
|
-
const whereCondition = { [syncKey]: syncValue.toLowerCase() };
|
|
874
|
+
const whereCondition = { [syncKey]: String(syncValue).toLowerCase() };
|
|
875
875
|
const entity = await this.repository.findOne({
|
|
876
876
|
where: whereCondition
|
|
877
877
|
});
|
|
@@ -907,7 +907,7 @@ exports.BaseBlockchainRepository = class BaseBlockchainRepository {
|
|
|
907
907
|
present,
|
|
908
908
|
_created_at: now,
|
|
909
909
|
_updated_at: now,
|
|
910
|
-
[syncKey]: syncValue.toLowerCase()
|
|
910
|
+
[syncKey]: String(syncValue).toLowerCase()
|
|
911
911
|
// ключ синхронизации
|
|
912
912
|
};
|
|
913
913
|
const newEntity = this.createDomainEntity(minimalDatabaseData, blockchainData);
|
package/dist/sync/index.mjs
CHANGED
|
@@ -869,7 +869,7 @@ let BaseBlockchainRepository = class {
|
|
|
869
869
|
* Найти сущность по кастомному ключу синхронизации
|
|
870
870
|
*/
|
|
871
871
|
async findBySyncKey(syncKey, syncValue) {
|
|
872
|
-
const whereCondition = { [syncKey]: syncValue.toLowerCase() };
|
|
872
|
+
const whereCondition = { [syncKey]: String(syncValue).toLowerCase() };
|
|
873
873
|
const entity = await this.repository.findOne({
|
|
874
874
|
where: whereCondition
|
|
875
875
|
});
|
|
@@ -905,7 +905,7 @@ let BaseBlockchainRepository = class {
|
|
|
905
905
|
present,
|
|
906
906
|
_created_at: now,
|
|
907
907
|
_updated_at: now,
|
|
908
|
-
[syncKey]: syncValue.toLowerCase()
|
|
908
|
+
[syncKey]: String(syncValue).toLowerCase()
|
|
909
909
|
// ключ синхронизации
|
|
910
910
|
};
|
|
911
911
|
const newEntity = this.createDomainEntity(minimalDatabaseData, blockchainData);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coopenomics/extension-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2026.9.
|
|
4
|
+
"version": "2026.9.16-1",
|
|
5
5
|
"description": "Служебный каркас расширения цифрового кооператива: базовый модуль, сущности и репозитории расширения, авторизация, каркас блокчейн-синхронизации, контракт миграций схемы, контракт реестра",
|
|
6
6
|
"author": "Alex Ant <dacom.dark.sun@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"typecheck": "tsc --noEmit"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@coopenomics/sdk": "2026.9.
|
|
41
|
+
"@coopenomics/sdk": "2026.9.16-1",
|
|
42
42
|
"@nestjs/common": "^10.0.0",
|
|
43
43
|
"@nestjs/core": "^10.0.0",
|
|
44
44
|
"@nestjs/graphql": "^12.2.1",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@wharfkit/session": "^1.4.0",
|
|
69
69
|
"class-transformer": "^0.5.1",
|
|
70
70
|
"class-validator": "^0.14.1",
|
|
71
|
-
"cooptypes": "2026.9.
|
|
71
|
+
"cooptypes": "2026.9.16-1",
|
|
72
72
|
"graphql": "^16.9.0",
|
|
73
73
|
"graphql-type-json": "^0.3.2",
|
|
74
74
|
"moment": "^2.30.1",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"unbuild": "^2.0.0",
|
|
81
81
|
"zod": "^3.0.0"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "ae6ac2b74cd63dce6e77ec5763defd5fc24d7af3"
|
|
84
84
|
}
|