@aws-sdk/client-personalize-events 3.583.0 → 3.588.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.
package/dist-cjs/index.js CHANGED
@@ -532,7 +532,7 @@ var se_ActionInteraction = /* @__PURE__ */ __name((input, context) => {
532
532
  properties: import_smithy_client.LazyJsonString.fromObject,
533
533
  recommendationId: [],
534
534
  sessionId: [],
535
- timestamp: (_) => Math.round(_.getTime() / 1e3),
535
+ timestamp: (_) => _.getTime() / 1e3,
536
536
  userId: []
537
537
  });
538
538
  }, "se_ActionInteraction");
@@ -556,7 +556,7 @@ var se_Event = /* @__PURE__ */ __name((input, context) => {
556
556
  metricAttribution: import_smithy_client._json,
557
557
  properties: import_smithy_client.LazyJsonString.fromObject,
558
558
  recommendationId: [],
559
- sentAt: (_) => Math.round(_.getTime() / 1e3)
559
+ sentAt: (_) => _.getTime() / 1e3
560
560
  });
561
561
  }, "se_Event");
562
562
  var se_EventList = /* @__PURE__ */ __name((input, context) => {
@@ -205,7 +205,7 @@ const se_ActionInteraction = (input, context) => {
205
205
  properties: __LazyJsonString.fromObject,
206
206
  recommendationId: [],
207
207
  sessionId: [],
208
- timestamp: (_) => Math.round(_.getTime() / 1000),
208
+ timestamp: (_) => _.getTime() / 1000,
209
209
  userId: [],
210
210
  });
211
211
  };
@@ -233,7 +233,7 @@ const se_Event = (input, context) => {
233
233
  metricAttribution: _json,
234
234
  properties: __LazyJsonString.fromObject,
235
235
  recommendationId: [],
236
- sentAt: (_) => Math.round(_.getTime() / 1000),
236
+ sentAt: (_) => _.getTime() / 1000,
237
237
  });
238
238
  };
239
239
  const se_EventList = (input, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-personalize-events",
3
3
  "description": "AWS SDK for JavaScript Personalize Events Client for Node.js, Browser and React Native",
4
- "version": "3.583.0",
4
+ "version": "3.588.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-personalize-events",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.583.0",
24
- "@aws-sdk/client-sts": "3.583.0",
25
- "@aws-sdk/core": "3.582.0",
26
- "@aws-sdk/credential-provider-node": "3.583.0",
23
+ "@aws-sdk/client-sso-oidc": "3.588.0",
24
+ "@aws-sdk/client-sts": "3.588.0",
25
+ "@aws-sdk/core": "3.588.0",
26
+ "@aws-sdk/credential-provider-node": "3.588.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.583.0",
31
- "@aws-sdk/region-config-resolver": "3.577.0",
30
+ "@aws-sdk/middleware-user-agent": "3.587.0",
31
+ "@aws-sdk/region-config-resolver": "3.587.0",
32
32
  "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.583.0",
33
+ "@aws-sdk/util-endpoints": "3.587.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.577.0",
35
- "@aws-sdk/util-user-agent-node": "3.577.0",
36
- "@smithy/config-resolver": "^3.0.0",
37
- "@smithy/core": "^2.0.1",
35
+ "@aws-sdk/util-user-agent-node": "3.587.0",
36
+ "@smithy/config-resolver": "^3.0.1",
37
+ "@smithy/core": "^2.1.1",
38
38
  "@smithy/fetch-http-handler": "^3.0.1",
39
39
  "@smithy/hash-node": "^3.0.0",
40
40
  "@smithy/invalid-dependency": "^3.0.0",
41
41
  "@smithy/middleware-content-length": "^3.0.0",
42
- "@smithy/middleware-endpoint": "^3.0.0",
43
- "@smithy/middleware-retry": "^3.0.1",
42
+ "@smithy/middleware-endpoint": "^3.0.1",
43
+ "@smithy/middleware-retry": "^3.0.3",
44
44
  "@smithy/middleware-serde": "^3.0.0",
45
45
  "@smithy/middleware-stack": "^3.0.0",
46
- "@smithy/node-config-provider": "^3.0.0",
46
+ "@smithy/node-config-provider": "^3.1.0",
47
47
  "@smithy/node-http-handler": "^3.0.0",
48
48
  "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.0.1",
49
+ "@smithy/smithy-client": "^3.1.1",
50
50
  "@smithy/types": "^3.0.0",
51
51
  "@smithy/url-parser": "^3.0.0",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.1",
56
- "@smithy/util-defaults-mode-node": "^3.0.1",
57
- "@smithy/util-endpoints": "^2.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.3",
56
+ "@smithy/util-defaults-mode-node": "^3.0.3",
57
+ "@smithy/util-endpoints": "^2.0.1",
58
58
  "@smithy/util-middleware": "^3.0.0",
59
59
  "@smithy/util-retry": "^3.0.0",
60
60
  "@smithy/util-utf8": "^3.0.0",