@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.
- package/README.md +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:
|
|
137
|
+
timestamp: 1676869312851,
|
|
138
138
|
transactionId: 'transactionIdValue',
|
|
139
139
|
userId: 'userIdValue',
|
|
140
140
|
};
|