@live-change/access-control-service 0.9.73 → 0.9.75

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.
Files changed (2) hide show
  1. package/indexes.js +3 -3
  2. 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.get({
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.get({})
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.get({
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.73",
3
+ "version": "0.9.75",
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.73"
24
+ "@live-change/framework": "^0.9.75"
25
25
  },
26
- "gitHead": "8968fc9d26b0256665e41b6064c71fb4ee728763",
26
+ "gitHead": "07528a11201aa968ce48bf48bd2eea5e030842f6",
27
27
  "type": "module"
28
28
  }