@live-change/access-control-service 0.9.74 → 0.9.76
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/indexes.js +3 -3
- package/package.json +3 -3
package/indexes.js
CHANGED
|
@@ -108,7 +108,7 @@ if(config.indexed) {
|
|
|
108
108
|
async reindex() {
|
|
109
109
|
let position = ''
|
|
110
110
|
while(true) {
|
|
111
|
-
const bucket = await this.table.
|
|
111
|
+
const bucket = await this.table.rangeGet({
|
|
112
112
|
gt: position,
|
|
113
113
|
limit: reindexerBucket
|
|
114
114
|
})
|
|
@@ -156,7 +156,7 @@ if(config.indexed) {
|
|
|
156
156
|
if(oldParentProperty && !parentProperty) removeParentProperty(oldParentProperty)
|
|
157
157
|
if(parentProperty) addParentProperty(parentProperty)
|
|
158
158
|
})
|
|
159
|
-
const initialParentsState = await accessParentTable.
|
|
159
|
+
const initialParentsState = await accessParentTable.rangeGet({})
|
|
160
160
|
const propertiesByChildType = new Map()
|
|
161
161
|
for(const parentProperty of initialParentsState) {
|
|
162
162
|
const properties = propertiesByChildType.get(parentProperty.childType) || []
|
|
@@ -284,7 +284,7 @@ if(config.indexed) {
|
|
|
284
284
|
async function iterate(source, prefix, cb) {
|
|
285
285
|
let position = prefix + ':'
|
|
286
286
|
while(true) {
|
|
287
|
-
const bucket = await source.
|
|
287
|
+
const bucket = await source.rangeGet({
|
|
288
288
|
gt: position,
|
|
289
289
|
lte: prefix + '_\xFF\xFF\xFF\xFF',
|
|
290
290
|
limit: bucketSize
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/access-control-service",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.76",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"url": "https://www.viamage.com/"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/framework": "^0.9.
|
|
24
|
+
"@live-change/framework": "^0.9.76"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "7b28068b9dca33af82e94db52b8a778c289edfbc",
|
|
27
27
|
"type": "module"
|
|
28
28
|
}
|