@aws-amplify/analytics 7.0.41-unstable.e28d538.0 → 7.0.41

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 +1 @@
1
- {"version":3,"file":"groupBy.js","sources":["../../../src/utils/groupBy.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.groupBy = void 0;\nconst groupBy = (getGroupId, list) => {\n return list.reduce((result, current) => {\n const groupId = getGroupId(current);\n return { ...result, [groupId]: [...(result[groupId] ?? []), current] };\n }, {});\n};\nexports.groupBy = groupBy;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC;AACzB,MAAM,OAAO,GAAG,CAAC,UAAU,EAAE,IAAI,KAAK;AACtC,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,KAAK;AAC5C,QAAQ,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;AAC5C,QAAQ,OAAO,EAAE,GAAG,MAAM,EAAE,CAAC,OAAO,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;AAC/E,KAAK,EAAE,EAAE,CAAC,CAAC;AACX,CAAC,CAAC;AACF,OAAO,CAAC,OAAO,GAAG,OAAO;;"}
1
+ {"version":3,"file":"groupBy.js","sources":["../../../src/utils/groupBy.ts"],"sourcesContent":["\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.groupBy = void 0;\nconst groupBy = (getGroupId, list) => {\n return list.reduce((result, current) => {\n const groupId = getGroupId(current);\n return { ...result, [groupId]: [...(result[groupId] ?? []), current] };\n }, {});\n};\nexports.groupBy = groupBy;\n"],"names":[],"mappings":";;AACA;AACA;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC;AACzB,MAAM,OAAO,GAAG,CAAC,UAAU,EAAE,IAAI,KAAK;AACtC,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,KAAK;AAC5C,QAAQ,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;AAC5C,QAAQ,OAAO,EAAE,GAAG,MAAM,EAAE,CAAC,OAAO,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,CAAC;AAC/E,KAAK,EAAE,EAAE,CAAC,CAAC;AACX,CAAC,CAAC;AACF,OAAO,CAAC,OAAO,GAAG,OAAO;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"groupBy.mjs","sources":["../../../src/utils/groupBy.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport const groupBy = (getGroupId, list) => {\n return list.reduce((result, current) => {\n const groupId = getGroupId(current);\n return { ...result, [groupId]: [...(result[groupId] ?? []), current] };\n }, {});\n};\n"],"names":[],"mappings":"AAAA;AACA;AACY,MAAC,OAAO,GAAG,CAAC,UAAU,EAAE,IAAI,KAAK;AAC7C,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,KAAK;AAC5C,QAAQ,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;AAC5C,QAAQ,OAAO,EAAE,GAAG,MAAM,EAAE,CAAC,OAAO,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,OAAO,CAAC,EAAE,CAAC;AAC/E,KAAK,EAAE,EAAE,CAAC,CAAC;AACX;;;;"}
1
+ {"version":3,"file":"groupBy.mjs","sources":["../../../src/utils/groupBy.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport const groupBy = (getGroupId, list) => {\n return list.reduce((result, current) => {\n const groupId = getGroupId(current);\n return { ...result, [groupId]: [...(result[groupId] ?? []), current] };\n }, {});\n};\n"],"names":[],"mappings":"AAAA;AACA;AACY,MAAC,OAAO,GAAG,CAAC,UAAU,EAAE,IAAI,KAAK;AAC7C,IAAI,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,KAAK;AAC5C,QAAQ,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;AAC5C,QAAQ,OAAO,EAAE,GAAG,MAAM,EAAE,CAAC,OAAO,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,CAAC;AAC/E,KAAK,EAAE,EAAE,CAAC,CAAC;AACX;;;;"}
package/package.json CHANGED
@@ -1,112 +1,112 @@
1
1
  {
2
- "name": "@aws-amplify/analytics",
3
- "version": "7.0.41-unstable.e28d538.0+e28d538",
4
- "description": "Analytics category of aws-amplify",
5
- "main": "./dist/cjs/index.js",
6
- "module": "./dist/esm/index.mjs",
7
- "react-native": "./src/index.ts",
8
- "typings": "./dist/esm/index.d.ts",
9
- "sideEffects": false,
10
- "publishConfig": {
11
- "access": "public"
12
- },
13
- "scripts": {
14
- "test": "npm run lint && jest -w 1 --coverage --logHeapUsage",
15
- "build-with-test": "npm run clean && npm run test && npm run build",
16
- "build:umd": "webpack && webpack --config ./webpack.config.dev.js",
17
- "build:esm-cjs": "rollup --forceExit -c rollup.config.mjs",
18
- "build:watch": "npm run build:esm-cjs -- --watch",
19
- "build": "npm run clean && npm run build:esm-cjs && npm run build:umd",
20
- "clean": "npm run clean:size && rimraf dist lib lib-esm",
21
- "clean:size": "rimraf dual-publish-tmp tmp*",
22
- "format": "echo \"Not implemented\"",
23
- "lint": "eslint '**/*.{ts,tsx}' && npm run ts-coverage",
24
- "lint:fix": "eslint '**/*.{ts,tsx}' --fix",
25
- "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 71.4"
26
- },
27
- "typesVersions": {
28
- ">=4.2": {
29
- "pinpoint": [
30
- "./dist/esm/providers/pinpoint/index.d.ts"
31
- ],
32
- "kinesis": [
33
- "./dist/esm/providers/kinesis/index.d.ts"
34
- ],
35
- "kinesis-firehose": [
36
- "./dist/esm/providers/kinesis-firehose/index.d.ts"
37
- ],
38
- "personalize": [
39
- "./dist/esm/providers/personalize/index.d.ts"
40
- ]
41
- }
42
- },
43
- "exports": {
44
- ".": {
45
- "types": "./dist/esm/index.d.ts",
46
- "import": "./dist/esm/index.mjs",
47
- "require": "./dist/cjs/index.js",
48
- "react-native": "./src/index.ts"
49
- },
50
- "./pinpoint": {
51
- "types": "./dist/esm/providers/pinpoint/index.d.ts",
52
- "import": "./dist/esm/providers/pinpoint/index.mjs",
53
- "require": "./dist/cjs/providers/pinpoint/index.js",
54
- "react-native": "./src/providers/pinpoint/index.ts"
55
- },
56
- "./kinesis": {
57
- "types": "./dist/esm/providers/kinesis/index.d.ts",
58
- "import": "./dist/esm/providers/kinesis/index.mjs",
59
- "require": "./dist/cjs/providers/kinesis/index.js",
60
- "react-native": "./src/providers/kinesis/index.ts"
61
- },
62
- "./kinesis-firehose": {
63
- "types": "./dist/esm/providers/kinesis-firehose/index.d.ts",
64
- "import": "./dist/esm/providers/kinesis-firehose/index.mjs",
65
- "require": "./dist/cjs/providers/kinesis-firehose/index.js",
66
- "react-native": "./src/providers/kinesis-firehose/index.ts"
67
- },
68
- "./personalize": {
69
- "types": "./dist/esm/providers/personalize/index.d.ts",
70
- "import": "./dist/esm/providers/personalize/index.mjs",
71
- "require": "./dist/cjs/providers/personalize/index.js",
72
- "react-native": "./src/providers/personalize/index.ts"
73
- },
74
- "./package.json": "./package.json"
75
- },
76
- "repository": {
77
- "type": "git",
78
- "url": "https://github.com/aws-amplify/amplify-js.git"
79
- },
80
- "author": "Amazon Web Services",
81
- "license": "Apache-2.0",
82
- "bugs": {
83
- "url": "https://github.com/aws/aws-amplify/issues"
84
- },
85
- "homepage": "https://aws-amplify.github.io/",
86
- "files": [
87
- "dist/cjs",
88
- "dist/esm",
89
- "src",
90
- "pinpoint",
91
- "kinesis",
92
- "kinesis-firehose",
93
- "personalize"
94
- ],
95
- "dependencies": {
96
- "@aws-sdk/client-firehose": "3.398.0",
97
- "@aws-sdk/client-kinesis": "3.398.0",
98
- "@aws-sdk/client-personalize-events": "3.398.0",
99
- "@smithy/util-utf8": "2.0.0",
100
- "tslib": "^2.5.0"
101
- },
102
- "peerDependencies": {
103
- "@aws-amplify/core": "6.3.8-unstable.e28d538.0+e28d538"
104
- },
105
- "devDependencies": {
106
- "@aws-amplify/core": "6.3.8-unstable.e28d538.0+e28d538",
107
- "@aws-amplify/react-native": "1.1.5-unstable.e28d538.0+e28d538",
108
- "@aws-sdk/types": "3.398.0",
109
- "typescript": "5.0.2"
110
- },
111
- "gitHead": "e28d53819793b281493d79a2851740ddaf383d9f"
2
+ "name": "@aws-amplify/analytics",
3
+ "version": "7.0.41",
4
+ "description": "Analytics category of aws-amplify",
5
+ "main": "./dist/cjs/index.js",
6
+ "module": "./dist/esm/index.mjs",
7
+ "react-native": "./src/index.ts",
8
+ "typings": "./dist/esm/index.d.ts",
9
+ "sideEffects": false,
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "scripts": {
14
+ "test": "npm run lint && jest -w 1 --coverage --logHeapUsage",
15
+ "build-with-test": "npm run clean && npm run test && npm run build",
16
+ "build:umd": "webpack && webpack --config ./webpack.config.dev.js",
17
+ "build:esm-cjs": "rollup --forceExit -c rollup.config.mjs",
18
+ "build:watch": "npm run build:esm-cjs -- --watch",
19
+ "build": "npm run clean && npm run build:esm-cjs && npm run build:umd",
20
+ "clean": "npm run clean:size && rimraf dist lib lib-esm",
21
+ "clean:size": "rimraf dual-publish-tmp tmp*",
22
+ "format": "echo \"Not implemented\"",
23
+ "lint": "eslint '**/*.{ts,tsx}' && npm run ts-coverage",
24
+ "lint:fix": "eslint '**/*.{ts,tsx}' --fix",
25
+ "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 71.4"
26
+ },
27
+ "typesVersions": {
28
+ ">=4.2": {
29
+ "pinpoint": [
30
+ "./dist/esm/providers/pinpoint/index.d.ts"
31
+ ],
32
+ "kinesis": [
33
+ "./dist/esm/providers/kinesis/index.d.ts"
34
+ ],
35
+ "kinesis-firehose": [
36
+ "./dist/esm/providers/kinesis-firehose/index.d.ts"
37
+ ],
38
+ "personalize": [
39
+ "./dist/esm/providers/personalize/index.d.ts"
40
+ ]
41
+ }
42
+ },
43
+ "exports": {
44
+ ".": {
45
+ "types": "./dist/esm/index.d.ts",
46
+ "import": "./dist/esm/index.mjs",
47
+ "require": "./dist/cjs/index.js",
48
+ "react-native": "./src/index.ts"
49
+ },
50
+ "./pinpoint": {
51
+ "types": "./dist/esm/providers/pinpoint/index.d.ts",
52
+ "import": "./dist/esm/providers/pinpoint/index.mjs",
53
+ "require": "./dist/cjs/providers/pinpoint/index.js",
54
+ "react-native": "./src/providers/pinpoint/index.ts"
55
+ },
56
+ "./kinesis": {
57
+ "types": "./dist/esm/providers/kinesis/index.d.ts",
58
+ "import": "./dist/esm/providers/kinesis/index.mjs",
59
+ "require": "./dist/cjs/providers/kinesis/index.js",
60
+ "react-native": "./src/providers/kinesis/index.ts"
61
+ },
62
+ "./kinesis-firehose": {
63
+ "types": "./dist/esm/providers/kinesis-firehose/index.d.ts",
64
+ "import": "./dist/esm/providers/kinesis-firehose/index.mjs",
65
+ "require": "./dist/cjs/providers/kinesis-firehose/index.js",
66
+ "react-native": "./src/providers/kinesis-firehose/index.ts"
67
+ },
68
+ "./personalize": {
69
+ "types": "./dist/esm/providers/personalize/index.d.ts",
70
+ "import": "./dist/esm/providers/personalize/index.mjs",
71
+ "require": "./dist/cjs/providers/personalize/index.js",
72
+ "react-native": "./src/providers/personalize/index.ts"
73
+ },
74
+ "./package.json": "./package.json"
75
+ },
76
+ "repository": {
77
+ "type": "git",
78
+ "url": "https://github.com/aws-amplify/amplify-js.git"
79
+ },
80
+ "author": "Amazon Web Services",
81
+ "license": "Apache-2.0",
82
+ "bugs": {
83
+ "url": "https://github.com/aws/aws-amplify/issues"
84
+ },
85
+ "homepage": "https://aws-amplify.github.io/",
86
+ "files": [
87
+ "dist/cjs",
88
+ "dist/esm",
89
+ "src",
90
+ "pinpoint",
91
+ "kinesis",
92
+ "kinesis-firehose",
93
+ "personalize"
94
+ ],
95
+ "dependencies": {
96
+ "@aws-sdk/client-firehose": "3.621.0",
97
+ "@aws-sdk/client-kinesis": "3.621.0",
98
+ "@aws-sdk/client-personalize-events": "3.621.0",
99
+ "@smithy/util-utf8": "2.0.0",
100
+ "tslib": "^2.5.0"
101
+ },
102
+ "peerDependencies": {
103
+ "@aws-amplify/core": "^6.1.0"
104
+ },
105
+ "devDependencies": {
106
+ "@aws-amplify/core": "6.3.8",
107
+ "@aws-amplify/react-native": "1.1.4",
108
+ "@aws-sdk/types": "3.398.0",
109
+ "typescript": "5.0.2"
110
+ },
111
+ "gitHead": "3624556dd68af6b538430c5db76d883e656188dc"
112
112
  }