@aws-amplify/analytics 5.2.16-next.32 → 5.2.16-next.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.
- package/lib/Analytics.d.ts +87 -0
- package/lib/Analytics.js +2 -12
- package/lib/Analytics.js.map +1 -1
- package/lib/Providers/AWSKinesisFirehoseProvider.d.ts +12 -0
- package/lib/Providers/AWSKinesisFirehoseProvider.js +2 -12
- package/lib/Providers/AWSKinesisFirehoseProvider.js.map +1 -1
- package/lib/Providers/AWSKinesisProvider.d.ts +43 -0
- package/lib/Providers/AWSKinesisProvider.js +2 -12
- package/lib/Providers/AWSKinesisProvider.js.map +1 -1
- package/lib/Providers/AWSPinpointProvider.d.ts +70 -0
- package/lib/Providers/AWSPinpointProvider.js +4 -14
- package/lib/Providers/AWSPinpointProvider.js.map +1 -1
- package/lib/Providers/AmazonPersonalizeHelper/DataType.d.ts +40 -0
- package/lib/Providers/AmazonPersonalizeHelper/MediaAutoTrack.d.ts +20 -0
- package/lib/Providers/AmazonPersonalizeHelper/MediaAutoTrack.js.map +1 -1
- package/lib/Providers/AmazonPersonalizeHelper/SessionInfoManager.d.ts +17 -0
- package/lib/Providers/AmazonPersonalizeHelper/SessionInfoManager.js +2 -2
- package/lib/Providers/AmazonPersonalizeHelper/SessionInfoManager.js.map +1 -1
- package/lib/Providers/AmazonPersonalizeHelper/index.d.ts +3 -0
- package/lib/Providers/AmazonPersonalizeHelper/index.js +4 -3
- package/lib/Providers/AmazonPersonalizeHelper/index.js.map +1 -1
- package/lib/Providers/AmazonPersonalizeProvider.d.ts +76 -0
- package/lib/Providers/AmazonPersonalizeProvider.js +2 -12
- package/lib/Providers/AmazonPersonalizeProvider.js.map +1 -1
- package/lib/Providers/EventBuffer.d.ts +30 -0
- package/lib/Providers/index.d.ts +4 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +7 -14
- package/lib/index.js.map +1 -1
- package/lib/setupTests.d.ts +1 -0
- package/lib/trackers/EventTracker.d.ts +9 -0
- package/lib/trackers/EventTracker.js +2 -12
- package/lib/trackers/EventTracker.js.map +1 -1
- package/lib/trackers/PageViewTracker.d.ts +12 -0
- package/lib/trackers/PageViewTracker.js +2 -12
- package/lib/trackers/PageViewTracker.js.map +1 -1
- package/lib/trackers/SessionTracker-rn.d.ts +12 -0
- package/lib/trackers/SessionTracker-rn.js +2 -12
- package/lib/trackers/SessionTracker-rn.js.map +1 -1
- package/lib/trackers/SessionTracker.d.ts +14 -0
- package/lib/trackers/SessionTracker.js +2 -12
- package/lib/trackers/SessionTracker.js.map +1 -1
- package/lib/trackers/index.d.ts +3 -0
- package/lib/trackers/reactnative.d.ts +8 -0
- package/lib/types/Analytics.d.ts +66 -0
- package/lib/types/Provider.d.ts +10 -0
- package/lib/types/Provider.js +2 -12
- package/lib/types/Provider.js.map +1 -1
- package/lib/types/Providers/AWSKinesisProvider.d.ts +5 -0
- package/lib/types/Providers/AWSPinpointProvider.d.ts +50 -0
- package/lib/types/Providers/AmazonPersonalizeProvider.d.ts +7 -0
- package/lib/types/Providers/index.d.ts +1 -0
- package/lib/types/index.d.ts +3 -0
- package/lib/types/index.js +2 -12
- package/lib/types/index.js.map +1 -1
- package/lib/utils/AppUtils.d.ts +2 -0
- package/lib/utils/AppUtils.native.d.ts +2 -0
- package/lib/utils/MethodEmbed.d.ts +11 -0
- package/lib/utils/MethodEmbed.js +2 -12
- package/lib/utils/MethodEmbed.js.map +1 -1
- package/lib/vendor/dom-utils/closest.d.ts +12 -0
- package/lib/vendor/dom-utils/delegate.d.ts +18 -0
- package/lib/vendor/dom-utils/dispatch.d.ts +17 -0
- package/lib/vendor/dom-utils/get-attributes.d.ts +11 -0
- package/lib/vendor/dom-utils/index.d.ts +7 -0
- package/lib/vendor/dom-utils/matches.d.ts +11 -0
- package/lib/vendor/dom-utils/parents.d.ts +10 -0
- package/lib/vendor/dom-utils/parse-url.d.ts +9 -0
- package/lib-esm/Analytics.js +2 -12
- package/lib-esm/Analytics.js.map +1 -1
- package/lib-esm/Providers/AWSKinesisFirehoseProvider.js +2 -12
- package/lib-esm/Providers/AWSKinesisFirehoseProvider.js.map +1 -1
- package/lib-esm/Providers/AWSKinesisProvider.js +2 -12
- package/lib-esm/Providers/AWSKinesisProvider.js.map +1 -1
- package/lib-esm/Providers/AWSPinpointProvider.js +3 -13
- package/lib-esm/Providers/AWSPinpointProvider.js.map +1 -1
- package/lib-esm/Providers/AmazonPersonalizeHelper/MediaAutoTrack.js.map +1 -1
- package/lib-esm/Providers/AmazonPersonalizeHelper/SessionInfoManager.js +1 -1
- package/lib-esm/Providers/AmazonPersonalizeHelper/SessionInfoManager.js.map +1 -1
- package/lib-esm/Providers/AmazonPersonalizeHelper/index.d.ts +3 -3
- package/lib-esm/Providers/AmazonPersonalizeHelper/index.js +2 -2
- package/lib-esm/Providers/AmazonPersonalizeHelper/index.js.map +1 -1
- package/lib-esm/Providers/AmazonPersonalizeProvider.js +2 -12
- package/lib-esm/Providers/AmazonPersonalizeProvider.js.map +1 -1
- package/lib-esm/index.d.ts +1 -1
- package/lib-esm/index.js +3 -13
- package/lib-esm/index.js.map +1 -1
- package/lib-esm/trackers/EventTracker.js +2 -12
- package/lib-esm/trackers/EventTracker.js.map +1 -1
- package/lib-esm/trackers/PageViewTracker.js +2 -12
- package/lib-esm/trackers/PageViewTracker.js.map +1 -1
- package/lib-esm/trackers/SessionTracker-rn.js +2 -12
- package/lib-esm/trackers/SessionTracker-rn.js.map +1 -1
- package/lib-esm/trackers/SessionTracker.js +2 -12
- package/lib-esm/trackers/SessionTracker.js.map +1 -1
- package/lib-esm/types/Provider.js +2 -12
- package/lib-esm/types/Provider.js.map +1 -1
- package/lib-esm/types/index.js +2 -12
- package/lib-esm/types/index.js.map +1 -1
- package/lib-esm/utils/MethodEmbed.js +2 -12
- package/lib-esm/utils/MethodEmbed.js.map +1 -1
- package/package.json +6 -5
- package/src/Analytics.ts +2 -12
- package/src/Providers/AWSKinesisFirehoseProvider.ts +2 -12
- package/src/Providers/AWSKinesisProvider.ts +2 -12
- package/src/Providers/AWSPinpointProvider.ts +3 -13
- package/src/Providers/AmazonPersonalizeHelper/DataType.ts +2 -12
- package/src/Providers/AmazonPersonalizeHelper/MediaAutoTrack.ts +2 -12
- package/src/Providers/AmazonPersonalizeHelper/SessionInfoManager.ts +3 -14
- package/src/Providers/AmazonPersonalizeHelper/index.ts +11 -15
- package/src/Providers/AmazonPersonalizeProvider.ts +2 -12
- package/src/index.ts +8 -13
- package/src/trackers/EventTracker.ts +2 -12
- package/src/trackers/PageViewTracker.ts +2 -12
- package/src/trackers/SessionTracker-rn.ts +2 -12
- package/src/trackers/SessionTracker.ts +2 -12
- package/src/types/Analytics.ts +2 -12
- package/src/types/Provider.ts +2 -12
- package/src/types/index.ts +2 -12
- package/src/utils/MethodEmbed.ts +2 -12
package/lib-esm/index.js
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
export { Analytics } from './Analytics';
|
|
14
|
-
export
|
|
4
|
+
export { AWSPinpointProvider, AWSKinesisProvider, AWSKinesisFirehoseProvider, AmazonPersonalizeProvider, } from './Providers';
|
|
15
5
|
//# sourceMappingURL=index.js.map
|
package/lib-esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EACN,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,yBAAyB,GACzB,MAAM,aAAa,CAAC"}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
import { __awaiter, __generator } from "tslib";
|
|
14
4
|
import { delegate } from '../vendor/dom-utils';
|
|
15
5
|
import { ConsoleLogger as Logger, browserOrNode } from '@aws-amplify/core';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventTracker.js","sourceRoot":"","sources":["../../src/trackers/EventTracker.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"EventTracker.js","sourceRoot":"","sources":["../../src/trackers/EventTracker.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C,OAAO,EAAE,aAAa,IAAI,MAAM,EAAE,aAAa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|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
import { __awaiter, __generator } from "tslib";
|
|
14
4
|
import { MethodEmbed } from '../utils/MethodEmbed';
|
|
15
5
|
import { ConsoleLogger as Logger, browserOrNode } from '@aws-amplify/core';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageViewTracker.js","sourceRoot":"","sources":["../../src/trackers/PageViewTracker.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"PageViewTracker.js","sourceRoot":"","sources":["../../src/trackers/PageViewTracker.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAGtC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,aAAa,IAAI,MAAM,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE3E,IAAM,MAAM,GAAG,IAAI,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAC7C,IAAM,YAAY,GAAG,+BAA+B,CAAC;AAErD,IAAM,MAAM,GAAG;IACd,IAAI,CAAC,aAAa,EAAE,CAAC,SAAS;QAAE,OAAO,EAAE,CAAC;;QACrC,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;AAC/D,CAAC,CAAC;AAEF,IAAM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AO,EAAE,cAAc,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YAC1D,MAAM,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YACrD,IAAI,CAAC,UAAU,EAAE,CAAC;YAClB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;SACxB;aAAM;YACN,WAAW,CAAC,MAAM,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;YACzC,WAAW,CAAC,MAAM,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;YAC5C,MAAM,CAAC,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YACxD,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;SACzB;IACF,CAAC;IACF,sBAAC;AAAD,CAAC,AAvID,IAuIC"}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
import { __awaiter, __generator } from "tslib";
|
|
14
4
|
// the session tracker for react native
|
|
15
5
|
import { ConsoleLogger as Logger } from '@aws-amplify/core';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionTracker-rn.js","sourceRoot":"","sources":["../../src/trackers/SessionTracker-rn.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file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EAAE,KAAK,CAAC,CAAC;YAC/D,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;SACzB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC;IACrB,CAAC;IACF,qBAAC;AAAD,CAAC,AAnHD,IAmHC"}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
import { __awaiter, __generator } from "tslib";
|
|
14
4
|
// the session tracker for web
|
|
15
5
|
import { ConsoleLogger as Logger, browserOrNode, } from '@aws-amplify/core';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionTracker.js","sourceRoot":"","sources":["../../src/trackers/SessionTracker.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"SessionTracker.js","sourceRoot":"","sources":["../../src/trackers/SessionTracker.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,8BAA8B;AAE9B,OAAO,EACN,aAAa,IAAI,MAAM,EAGvB,aAAa,GACb,MAAM,mBAAmB,CAAC;AAG3B,IAAM,MAAM,GAAG,IAAI,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAE5C,IAAM,WAAW,GAAqB;IACrC,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,aAAa;CACvB,CAAC;AAEF,IAAI,g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,CAAC;wBACvD,CAAC,CAAC,CAAC;;;;;KACH;IAED,kCAAS,GAAT,UAAU,IAAuB;QAChC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE;YACtB,OAAO,IAAI,CAAC,OAAO,CAAC;SACpB;QAED,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QAClC,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YAC7C,+CAA+C;YAC/C,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACzB,mBAAmB;YACnB,QAAQ,CAAC,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,EAAE,IAAI,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;YAC1E,MAAM,CAAC,gBAAgB,CAAC,cAAc,EAAE,IAAI,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;YACxE,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;SACxB;aAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,WAAW,EAAE;YACpD,QAAQ,CAAC,mBAAmB,CAC3B,IAAI,CAAC,iBAAiB,EACtB,IAAI,CAAC,UAAU,EACf,KAAK,CACL,CAAC;YACF,MAAM,CAAC,mBAAmB,CACzB,cAAc,EACd,IAAI,CAAC,kBAAkB,EACvB,KAAK,CACL,CAAC;YACF,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;SACzB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC;IACrB,CAAC;IACF,qBAAC;AAAD,CAAC,AA5JD,IA4JC"}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
//# sourceMappingURL=Provider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../src/types/Provider.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../src/types/Provider.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC"}
|
package/lib-esm/types/index.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC"}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
import { __read, __spread } from "tslib";
|
|
14
4
|
var lists = [];
|
|
15
5
|
var MethodEmbed = /** @class */ (function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MethodEmbed.js","sourceRoot":"","sources":["../../src/utils/MethodEmbed.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"MethodEmbed.js","sourceRoot":"","sources":["../../src/utils/MethodEmbed.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,IAAM,KAAK,GAAkB,EAAE,CAAC;AAEhC;IAcC,qBAAY,OAAO,EAAE,UAAU;QAC9B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAE7B,IAAI,CAAC,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC1D,CAAC;IAbM,eAAG,GAAV,UAAW,OAAO,EAAE,UAAU,EAAE,cAAc;QAC7C,WAAW,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACtD,CAAC;IAEM,kBAAM,GAAb,UAAc,OAAO,EAAE,UAAU;QAChC,WAAW,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,MAAM,EAAE,CAAC;IAC3C,CAAC;IASM,yBAAG,GAAV,UAAW,cAAc;QAAzB,iBAIC;QAHA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG;YAAC,cAAO;iBAAP,UAAO,EAAP,qBAAO,EAAP,IAAO;gBAAP,yBAAO;;YACvC,OAAO,cAAc,CAAC,KAAI,CAAC,eAAe,OAApB,KAAI,WAAoB,IAAI,GAAE,CAAC;QACtD,CAAC,CAAC;IACH,CAAC;IAEM,4BAAM,GAAb;QACC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;IACtD,CAAC;IACF,kBAAC;AAAD,CAAC,AA9BD,IA8BC;;AAED,SAAS,WAAW,CAAC,OAAO,EAAE,UAAU;IACvC,IAAI,QAAQ,GAAG,KAAK,CAAC,MAAM,CAC1B,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,OAAO,KAAK,OAAO,IAAI,CAAC,CAAC,UAAU,KAAK,UAAU,EAApD,CAAoD,CACzD,CAAC,CAAC,CAAC,CAAC;IAEL,IAAI,CAAC,QAAQ,EAAE;QACd,QAAQ,GAAG,IAAI,WAAW,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;QAChD,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACrB;IAED,OAAO,QAAQ,CAAC;AACjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/analytics",
|
|
3
|
-
"version": "5.2.16-next.
|
|
3
|
+
"version": "5.2.16-next.41+f6ee89f54",
|
|
4
4
|
"description": "Analytics category of aws-amplify",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib-esm/index.js",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"build": "npm run clean && npm run build:esm && npm run build:cjs",
|
|
27
27
|
"clean": "rimraf lib-esm lib dist",
|
|
28
28
|
"format": "echo \"Not implemented\"",
|
|
29
|
-
"lint": "tslint 'src/**/*.ts'"
|
|
29
|
+
"lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
|
|
30
|
+
"ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 69.26"
|
|
30
31
|
},
|
|
31
32
|
"react-native": {
|
|
32
33
|
"./lib/index": "./lib-esm/index.js",
|
|
@@ -48,8 +49,8 @@
|
|
|
48
49
|
"src"
|
|
49
50
|
],
|
|
50
51
|
"dependencies": {
|
|
51
|
-
"@aws-amplify/cache": "4.0.51-next.
|
|
52
|
-
"@aws-amplify/core": "4.6.2-next.
|
|
52
|
+
"@aws-amplify/cache": "4.0.51-next.41+f6ee89f54",
|
|
53
|
+
"@aws-amplify/core": "4.6.2-next.41+f6ee89f54",
|
|
53
54
|
"@aws-sdk/client-firehose": "3.6.1",
|
|
54
55
|
"@aws-sdk/client-kinesis": "3.6.1",
|
|
55
56
|
"@aws-sdk/client-personalize-events": "3.6.1",
|
|
@@ -107,5 +108,5 @@
|
|
|
107
108
|
"<rootDir>/src/setupTests.ts"
|
|
108
109
|
]
|
|
109
110
|
},
|
|
110
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "f6ee89f54b4176f680529bfdb7205b3a29cf3be2"
|
|
111
112
|
}
|
package/src/Analytics.ts
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
|
|
14
4
|
import {
|
|
15
5
|
Amplify,
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
|
|
14
4
|
import { ConsoleLogger as Logger } from '@aws-amplify/core';
|
|
15
5
|
import { AWSKinesisProvider } from './AWSKinesisProvider';
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
|
|
14
4
|
import {
|
|
15
5
|
ConsoleLogger as Logger,
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
|
|
14
4
|
import {
|
|
15
5
|
ConsoleLogger as Logger,
|
|
@@ -28,7 +18,7 @@ import {
|
|
|
28
18
|
PutEventsCommandInput,
|
|
29
19
|
UpdateEndpointCommand,
|
|
30
20
|
} from '@aws-sdk/client-pinpoint';
|
|
31
|
-
import {
|
|
21
|
+
import { Cache } from '@aws-amplify/cache';
|
|
32
22
|
|
|
33
23
|
import {
|
|
34
24
|
AnalyticsProvider,
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
import { ICredentials } from '@aws-amplify/core';
|
|
14
4
|
|
|
15
5
|
interface BasePayload {
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
import { RequestParams } from './DataType';
|
|
14
4
|
|
|
15
5
|
enum HTML5_MEDIA_EVENT {
|
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
import { SessionInfo } from './DataType';
|
|
14
4
|
import isEmpty from 'lodash/isEmpty';
|
|
15
5
|
import isEqual from 'lodash/isEqual';
|
|
16
6
|
import { v1 as uuid } from 'uuid';
|
|
17
7
|
import { ConsoleLogger as Logger, browserOrNode } from '@aws-amplify/core';
|
|
18
|
-
|
|
19
|
-
import { BrowserStorageCache as Cache } from '@aws-amplify/cache';
|
|
8
|
+
import { Cache } from '@aws-amplify/cache';
|
|
20
9
|
|
|
21
10
|
const PERSONALIZE_CACHE = '_awsct';
|
|
22
11
|
const PERSONALIZE_CACHE_USERID = '_awsct_uid';
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*/
|
|
13
|
-
export * from './DataType';
|
|
14
|
-
export * from './SessionInfoManager';
|
|
15
|
-
export * from './MediaAutoTrack';
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
export {
|
|
4
|
+
EventData,
|
|
5
|
+
RecordEventListPayload,
|
|
6
|
+
RecordEventPayload,
|
|
7
|
+
RequestParams,
|
|
8
|
+
SessionInfo,
|
|
9
|
+
} from './DataType';
|
|
10
|
+
export { SessionInfoManager } from './SessionInfoManager';
|
|
11
|
+
export { MediaAutoTrack } from './MediaAutoTrack';
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
|
|
14
4
|
import {
|
|
15
5
|
ConsoleLogger as Logger,
|
package/src/index.ts
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
|
|
14
4
|
export { Analytics } from './Analytics';
|
|
15
5
|
export { AnalyticsProvider } from './types';
|
|
16
|
-
export
|
|
6
|
+
export {
|
|
7
|
+
AWSPinpointProvider,
|
|
8
|
+
AWSKinesisProvider,
|
|
9
|
+
AWSKinesisFirehoseProvider,
|
|
10
|
+
AmazonPersonalizeProvider,
|
|
11
|
+
} from './Providers';
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
|
|
14
4
|
import { delegate } from '../vendor/dom-utils';
|
|
15
5
|
import { EventTrackOpts } from '../types';
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
|
|
14
4
|
import { pageViewTrackOpts } from '../types';
|
|
15
5
|
import { MethodEmbed } from '../utils/MethodEmbed';
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
|
|
14
4
|
// the session tracker for react native
|
|
15
5
|
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
|
|
14
4
|
// the session tracker for web
|
|
15
5
|
|
package/src/types/Analytics.ts
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
|
|
5
|
-
* the License. A copy of the License is located at
|
|
6
|
-
*
|
|
7
|
-
* http://aws.amazon.com/apache2.0/
|
|
8
|
-
*
|
|
9
|
-
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
11
|
-
* and limitations under the License.
|
|
12
|
-
*/
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
13
3
|
import { ICredentials } from '@aws-amplify/core';
|
|
14
4
|
/**
|
|
15
5
|
* Analytics instance options
|