@exabugs/dynamodb-client 1.3.0 → 1.3.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/CHANGELOG.md CHANGED
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.3.1] - 2026-01-02
11
+
12
+ ### Fixed
13
+
14
+ - **$nearオペレータ**: GeoHashシャドウレコード検索の修正
15
+ - フィールド名を直接使用するように変更(`_geohash`サフィックスを削除)
16
+ - シャドウレコードの実際の形式に合わせて修正(例: `location#xn74rnmx#id#...`)
17
+ - これにより$nearオペレータが正しく結果を返すようになりました
18
+
10
19
  ## [1.3.0] - 2026-01-02
11
20
 
12
21
  ### Added
@@ -1,5 +1,5 @@
1
- // @exabugs/dynamodb-client v1.3.0
2
- // Built: 2026-01-02T08:24:53.062Z
1
+ // @exabugs/dynamodb-client v1.3.1
2
+ // Built: 2026-01-02T08:57:31.688Z
3
3
  "use strict";
4
4
  var __create = Object.create;
5
5
  var __defProp = Object.defineProperty;
@@ -30497,7 +30497,6 @@ async function executeNearQuery(resource, fieldName, nearQuery, limit, requestId
30497
30497
  nearQuery,
30498
30498
  limit
30499
30499
  });
30500
- const geohashFieldName = `${fieldName}_geohash`;
30501
30500
  const searchFunction = /* @__PURE__ */ __name(async (geohashPrefix) => {
30502
30501
  const dbClient2 = getDBClient();
30503
30502
  const tableName = getTableName();
@@ -30508,7 +30507,7 @@ async function executeNearQuery(resource, fieldName, nearQuery, limit, requestId
30508
30507
  KeyConditionExpression: "PK = :pk AND begins_with(SK, :skPrefix)",
30509
30508
  ExpressionAttributeValues: {
30510
30509
  ":pk": resource,
30511
- ":skPrefix": `${geohashFieldName}#${geohashPrefix}`
30510
+ ":skPrefix": `${fieldName}#${geohashPrefix}`
30512
30511
  },
30513
30512
  ConsistentRead: false
30514
30513
  // シャドウレコードは結果整合性で十分