@bubltec/mycota-dynamo 0.6.0 → 1.0.0

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.
@@ -1,4 +1,4 @@
1
- declare const DYNAMO_KEYS: readonly ["PK", "SK", "GSI1PK", "GSI1SK", "GSI2PK", "GSI2SK"];
1
+ declare const DYNAMO_KEYS: readonly ['PK', 'SK', 'GSI1PK', 'GSI1SK', 'GSI2PK', 'GSI2SK'];
2
2
  /** Strips DynamoDB's own key/index attributes before returning an item over the public API. */
3
3
  export declare function stripDynamoKeys<T extends Record<string, unknown>>(item: T): Omit<T, (typeof DYNAMO_KEYS)[number]>;
4
4
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"dynamo.utils.d.ts","sourceRoot":"","sources":["../src/dynamo.utils.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW,+DAAgE,CAAC;AAElF,+FAA+F;AAC/F,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/D,IAAI,EAAE,CAAC,GACN,IAAI,CAAC,CAAC,EAAE,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC,CAIvC"}
1
+ {"version":3,"file":"dynamo.utils.d.ts","sourceRoot":"","sources":["../src/dynamo.utils.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW,YAAI,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAC;AAElF,+FAA+F;AAC/F,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/D,IAAI,EAAE,CAAC,GACN,IAAI,CAAC,CAAC,EAAE,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC,CAIvC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bubltec/mycota-dynamo",
3
- "version": "0.6.0",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,24 +17,27 @@
17
17
  }
18
18
  },
19
19
  "dependencies": {
20
- "@aws-sdk/client-dynamodb": "^3.716.0",
21
- "@aws-sdk/lib-dynamodb": "^3.716.0",
22
- "@nestjs/common": "^10.4.0"
20
+ "@aws-sdk/client-dynamodb": "3.1136.0",
21
+ "@aws-sdk/lib-dynamodb": "3.1136.0"
23
22
  },
24
23
  "devDependencies": {
25
- "@types/node": "^22.10.0",
26
- "typescript": "^5.8.0",
27
- "vitest": "^2.1.0"
24
+ "@nestjs/common": "12.0.3",
25
+ "@types/node": "26.6.2",
26
+ "typescript": "7.0.2",
27
+ "vitest": "5.0.1"
28
28
  },
29
29
  "repository": {
30
30
  "type": "git",
31
31
  "url": "https://github.com/bubltec/mycota",
32
32
  "directory": "packages/dynamo"
33
33
  },
34
+ "peerDependencies": {
35
+ "@nestjs/common": "^12.0.0"
36
+ },
34
37
  "scripts": {
35
38
  "build": "tsc -b",
36
39
  "typecheck": "tsc -b --noEmit",
37
40
  "lint": "oxlint -c ../../.oxlintrc.json src",
38
- "test": "vitest run"
41
+ "test": "vitest run --exclude '**/dist/**'"
39
42
  }
40
43
  }