@karmaniverous/entity-manager 0.0.8 → 0.0.9

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/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -81,7 +81,7 @@ export const config = {
81
81
 
82
82
  // users GSI RANGE key.
83
83
  userSK: ({ merchantId, timestamp, transactionId }) =>
84
- `timestamp#${timestamp}|merchantId#${merchantId}|transactionId#${transactionId}`,
84
+ sn2u`timestamp#${timestamp}|merchantId#${merchantId}|transactionId#${transactionId}`,
85
85
  },
86
86
 
87
87
  // The sharding configuration for this entity.
@@ -134,7 +134,7 @@ const entityManager = new EntityManager({ config, logger });
134
134
  const transaction = {
135
135
  methodId: 'methodIdValue',
136
136
  merchantId: 'merchantIdValue',
137
- timestamp: now + 1000,
137
+ timestamp: 1676869312851,
138
138
  transactionId: 'transactionIdValue',
139
139
  userId: 'userIdValue',
140
140
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karmaniverous/entity-manager",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },