@aws-blocks/bb-distributed-table 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -287,6 +287,3 @@ Mock data persists to disk at `.bb-data/{fullId}/` across dev server restarts. W
287
287
 
288
288
 
289
289
 
290
- ## See Also
291
-
292
- - [DESIGN.md](./DESIGN.md) — Infrastructure details, mock parity gaps, and design decisions
package/dist/index.cdk.js CHANGED
@@ -125,13 +125,13 @@ function getOrCreateGsiProvider(stack) {
125
125
  const __dirname = dirname(fileURLToPath(import.meta.url));
126
126
  const tableArns = [];
127
127
  const sandboxTableArns = [];
128
- const gsiManagerLambda = new LambdaFunction(stack, 'KitGsiManager', {
128
+ const gsiManagerLambda = new LambdaFunction(stack, 'BlocksGsiManager', {
129
129
  runtime: DEFAULT_NODE_RUNTIME,
130
130
  handler: 'index.handler',
131
131
  code: Code.fromAsset(join(__dirname, 'gsi-manager-lambda')),
132
132
  timeout: Duration.minutes(15),
133
133
  });
134
- const gsiIsCompleteLambda = new LambdaFunction(stack, 'KitGsiIsComplete', {
134
+ const gsiIsCompleteLambda = new LambdaFunction(stack, 'BlocksGsiIsComplete', {
135
135
  runtime: DEFAULT_NODE_RUNTIME,
136
136
  handler: 'index.isCompleteHandler',
137
137
  code: Code.fromAsset(join(__dirname, 'gsi-manager-lambda')),
@@ -148,7 +148,7 @@ function getOrCreateGsiProvider(stack) {
148
148
  }));
149
149
  // Sandbox permissions — only added if any table requests sandbox mode
150
150
  let sandboxPolicyAdded = false;
151
- const provider = new Provider(stack, 'KitGsiProvider', {
151
+ const provider = new Provider(stack, 'BlocksGsiProvider', {
152
152
  onEventHandler: gsiManagerLambda,
153
153
  isCompleteHandler: gsiIsCompleteLambda,
154
154
  queryInterval: Duration.seconds(10),
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export declare const BB_NAME = "DistributedTable";
2
- export declare const BB_VERSION = "0.1.0";
2
+ export declare const BB_VERSION = "0.1.2";
3
3
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // Auto-generated by scripts/generate-version.mjs — do not edit manually
2
2
  export const BB_NAME = 'DistributedTable';
3
- export const BB_VERSION = '0.1.0';
3
+ export const BB_VERSION = '0.1.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-blocks/bb-distributed-table",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "author": "Amazon Web Services",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -27,11 +27,11 @@
27
27
  "prebuild": "node ../../scripts/generate-version.mjs DistributedTable",
28
28
  "build": "tsc --build && npm run build:lambda",
29
29
  "build:lambda": "esbuild src/gsi-manager-lambda.ts --bundle --platform=node --target=node24 --outfile=dist/gsi-manager-lambda/index.js --format=cjs --external:@aws-sdk/*",
30
- "test": "node --test dist/index.test.js dist/parity.test.js dist/index.cdk.test.js"
30
+ "test": "node --test --test-concurrency=1 dist/index.test.js dist/parity.test.js dist/index.cdk.test.js"
31
31
  },
32
32
  "dependencies": {
33
- "@aws-blocks/core": "^0.1.0",
34
- "@aws-blocks/bb-logger": "^0.1.0",
33
+ "@aws-blocks/core": "^0.1.2",
34
+ "@aws-blocks/bb-logger": "^0.1.1",
35
35
  "@aws-sdk/client-dynamodb": "^3.0.0",
36
36
  "@aws-sdk/lib-dynamodb": "^3.0.0",
37
37
  "@standard-schema/spec": "^1.0.0"
package/src/index.cdk.ts CHANGED
@@ -158,14 +158,14 @@ function getOrCreateGsiProvider(stack: cdk.Stack): SharedGsiProvider {
158
158
  const tableArns: string[] = [];
159
159
  const sandboxTableArns: string[] = [];
160
160
 
161
- const gsiManagerLambda = new LambdaFunction(stack, 'KitGsiManager', {
161
+ const gsiManagerLambda = new LambdaFunction(stack, 'BlocksGsiManager', {
162
162
  runtime: DEFAULT_NODE_RUNTIME,
163
163
  handler: 'index.handler',
164
164
  code: Code.fromAsset(join(__dirname, 'gsi-manager-lambda')),
165
165
  timeout: Duration.minutes(15),
166
166
  });
167
167
 
168
- const gsiIsCompleteLambda = new LambdaFunction(stack, 'KitGsiIsComplete', {
168
+ const gsiIsCompleteLambda = new LambdaFunction(stack, 'BlocksGsiIsComplete', {
169
169
  runtime: DEFAULT_NODE_RUNTIME,
170
170
  handler: 'index.isCompleteHandler',
171
171
  code: Code.fromAsset(join(__dirname, 'gsi-manager-lambda')),
@@ -186,7 +186,7 @@ function getOrCreateGsiProvider(stack: cdk.Stack): SharedGsiProvider {
186
186
  // Sandbox permissions — only added if any table requests sandbox mode
187
187
  let sandboxPolicyAdded = false;
188
188
 
189
- const provider = new Provider(stack, 'KitGsiProvider', {
189
+ const provider = new Provider(stack, 'BlocksGsiProvider', {
190
190
  onEventHandler: gsiManagerLambda,
191
191
  isCompleteHandler: gsiIsCompleteLambda,
192
192
  queryInterval: Duration.seconds(10),
package/src/version.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  // Auto-generated by scripts/generate-version.mjs — do not edit manually
2
2
  export const BB_NAME = 'DistributedTable';
3
- export const BB_VERSION = '0.1.0';
3
+ export const BB_VERSION = '0.1.2';