@adobe/react-native-aepmessaging 1.0.0-beta.2 → 1.0.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.
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /*
3
+ Copyright 2022 Adobe. All rights reserved.
4
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License. You may obtain a copy
6
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
7
+
8
+ Unless required by applicable law or agreed to in writing, software distributed under
9
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10
+ OF ANY KIND, either express or implied. See the License for the specific language
11
+ governing permissions and limitations under the License.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ const react_native_1 = require("react-native");
15
+ const RCTAEPMessaging = react_native_1.NativeModules.AEPMessaging;
16
+ class Message {
17
+ constructor(id, autoTrack) {
18
+ this.id = id;
19
+ this.autoTrack = autoTrack;
20
+ }
21
+ /**
22
+ * Update the value of property "autoTrack"
23
+ * This function works only for the Message objects that were saved by calling "Messaging.saveMessage"
24
+ * @param {boolean} autoTrack: New value of property autoTrack.
25
+ */
26
+ setAutoTrack(autoTrack) {
27
+ this.autoTrack = autoTrack;
28
+ RCTAEPMessaging.setAutoTrack(this.id, autoTrack);
29
+ }
30
+ ;
31
+ /**
32
+ * Signals to the UIServices that the message should be shown.
33
+ * If autoTrack is true, calling this method will result in an "inapp.display" Edge Event being dispatched.
34
+ */
35
+ show() {
36
+ RCTAEPMessaging.show(this.id);
37
+ }
38
+ ;
39
+ /**
40
+ * Signals to the UIServices that the message should be dismissed.
41
+ * If `autoTrack` is true, calling this method will result in an "inapp.dismiss" Edge Event being dispatched.
42
+ * @param {boolean?} suppressAutoTrack: if set to true, the inapp.dismiss Edge Event will not be sent regardless
43
+ * of the autoTrack setting.
44
+ */
45
+ dismiss(suppressAutoTrack) {
46
+ RCTAEPMessaging.dismiss(this.id, suppressAutoTrack ? true : false);
47
+ }
48
+ ;
49
+ /**
50
+ * Generates an Edge Event for the provided interaction and eventType.
51
+ * @param {string?} interaction: a custom String value to be recorded in the interaction
52
+ * @param {MessagingEdgeEventType} eventType: the MessagingEdgeEventType to be used for the ensuing Edge Event
53
+ */
54
+ track(interaction, eventType) {
55
+ RCTAEPMessaging.track(this.id, interaction, eventType);
56
+ }
57
+ ;
58
+ /**
59
+ * Adds a handler for Javascript messages sent from the message's webview.
60
+ * The parameter passed to `handler` will contain the body of the message passed from the webview's Javascript.
61
+ * @param {string} name: the name of the message that should be handled by `handler`
62
+ * @return {Promise<any?>}: the Promise to be resolved with the body of the message passed by the Javascript message in the WebView
63
+ */
64
+ handleJavascriptMessage(name) {
65
+ return Promise.resolve(RCTAEPMessaging.handleJavascriptMessage(this.id, name));
66
+ }
67
+ ;
68
+ /**
69
+ * Clears the reference to the Message object.
70
+ * This function must be called if Message was saved by calling "Messaging.saveMessage" but no longer needed.
71
+ * Failure to call this function leads to memory leaks.
72
+ */
73
+ clear() {
74
+ RCTAEPMessaging.clear(this.id);
75
+ }
76
+ ;
77
+ }
78
+ ;
79
+ exports.default = Message;
80
+ //# sourceMappingURL=Message.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Message.js","sourceRoot":"","sources":["../../ts/models/Message.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;EAUE;;AAEF,+CAA6C;AAC7C,MAAM,eAAe,GAAG,4BAAa,CAAC,YAAY,CAAC;AAEnD,MAAM,OAAO;IAIT,YAAY,EAAU,EAAE,SAAkB;QACtC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAED;;;;OAIG;IACH,YAAY,CAAC,SAAkB;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IACrD,CAAC;IAAA,CAAC;IAEF;;;MAGE;IACF,IAAI;QACA,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAClC,CAAC;IAAA,CAAC;IAEF;;;;;MAKE;IACF,OAAO,CAAC,iBAA2B;QAC/B,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IACvE,CAAC;IAAA,CAAC;IAEF;;;;OAIG;IACH,KAAK,CAAC,WAAmB,EAAE,SAAiB;QACxC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IAC3D,CAAC;IAAA,CAAC;IAEF;;;;;MAKE;IACF,uBAAuB,CAAC,IAAY;QAChC,OAAO,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,uBAAuB,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;IACnF,CAAC;IAAA,CAAC;IAEF;;;;OAIG;IACH,KAAK;QACD,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACnC,CAAC;IAAA,CAAC;CACL;AAAA,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -0,0 +1,25 @@
1
+ import Message from "./Message";
2
+ export type MessagingDelegate = {
3
+ /**
4
+ * Invoked when the any message is displayed
5
+ * @param {Message} message: Message that is being displayed.
6
+ */
7
+ onShow(message: Message): void;
8
+ /**
9
+ * Invoked when any message is dismissed
10
+ * @param {Message} message: Message that is being dismissed
11
+ */
12
+ onDismiss(message: Message): void;
13
+ /**
14
+ * Used to find whether messages should be shown or not
15
+ * @param {Message} message: Message that is about to get displayed
16
+ * @returns {boolean}: true if the message should be shown else false
17
+ */
18
+ shouldShowMessage(message: Message): boolean;
19
+ /**
20
+ * Called when message loads a URL
21
+ * @param {string} url: the URL being loaded by the message
22
+ * @param {Message} message: the Message loading a URL
23
+ */
24
+ urlLoaded(url: string, message: Message): void;
25
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /*
3
+ Copyright 2022 Adobe. All rights reserved.
4
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License. You may obtain a copy
6
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
7
+
8
+ Unless required by applicable law or agreed to in writing, software distributed under
9
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10
+ OF ANY KIND, either express or implied. See the License for the specific language
11
+ governing permissions and limitations under the License.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ //# sourceMappingURL=MessagingDelegate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessagingDelegate.js","sourceRoot":"","sources":["../../ts/models/MessagingDelegate.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;EAUE"}
@@ -0,0 +1,9 @@
1
+ declare enum MessagingEdgeEventType {
2
+ IN_APP_DISMISS = 0,
3
+ IN_APP_INTERACT = 1,
4
+ IN_APP_TRIGGER = 2,
5
+ IN_APP_DISPLAY = 3,
6
+ PUSH_APPLICATION_OPENED = 4,
7
+ PUSH_CUSTOM_ACTION = 5
8
+ }
9
+ export default MessagingEdgeEventType;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ /*
3
+ Copyright 2022 Adobe. All rights reserved.
4
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License. You may obtain a copy
6
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
7
+
8
+ Unless required by applicable law or agreed to in writing, software distributed under
9
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
10
+ OF ANY KIND, either express or implied. See the License for the specific language
11
+ governing permissions and limitations under the License.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ var MessagingEdgeEventType;
15
+ (function (MessagingEdgeEventType) {
16
+ MessagingEdgeEventType[MessagingEdgeEventType["IN_APP_DISMISS"] = 0] = "IN_APP_DISMISS";
17
+ MessagingEdgeEventType[MessagingEdgeEventType["IN_APP_INTERACT"] = 1] = "IN_APP_INTERACT";
18
+ MessagingEdgeEventType[MessagingEdgeEventType["IN_APP_TRIGGER"] = 2] = "IN_APP_TRIGGER";
19
+ MessagingEdgeEventType[MessagingEdgeEventType["IN_APP_DISPLAY"] = 3] = "IN_APP_DISPLAY";
20
+ MessagingEdgeEventType[MessagingEdgeEventType["PUSH_APPLICATION_OPENED"] = 4] = "PUSH_APPLICATION_OPENED";
21
+ MessagingEdgeEventType[MessagingEdgeEventType["PUSH_CUSTOM_ACTION"] = 5] = "PUSH_CUSTOM_ACTION";
22
+ })(MessagingEdgeEventType || (MessagingEdgeEventType = {}));
23
+ ;
24
+ exports.default = MessagingEdgeEventType;
25
+ //# sourceMappingURL=MessagingEdgeEventType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MessagingEdgeEventType.js","sourceRoot":"","sources":["../../ts/models/MessagingEdgeEventType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;EAUE;;AAEF,IAAK,sBAOJ;AAPD,WAAK,sBAAsB;IACvB,uFAAkB,CAAA;IAClB,yFAAmB,CAAA;IACnB,uFAAkB,CAAA;IAClB,uFAAkB,CAAA;IAClB,yGAA2B,CAAA;IAC3B,+FAAsB,CAAA;AAC1B,CAAC,EAPI,sBAAsB,KAAtB,sBAAsB,QAO1B;AAAA,CAAC;AAEF,kBAAe,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@adobe/react-native-aepmessaging",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0",
4
4
  "description": "Adobe Experience Platform support for React Native apps.",
5
- "homepage": "https://aep-sdks.gitbook.io/docs/",
5
+ "homepage": "https://developer.adobe.com/client-sdks/documentation/",
6
6
  "license": "Apache-2.0",
7
7
  "main": "./ts/index.ts",
8
8
  "scripts": {
@@ -27,13 +27,13 @@
27
27
  "name": "Adobe Experience Platform SDK Team"
28
28
  },
29
29
  "peerDependencies": {
30
- "@adobe/react-native-aepcore": "^1.0.0-beta",
31
- "@adobe/react-native-aepedge": "^1.0.0-beta",
32
- "@adobe/react-native-aepedgeidentity": "^1.0.0-beta",
30
+ "@adobe/react-native-aepcore": "^2.0.0",
31
+ "@adobe/react-native-aepedge": "^2.0.0",
32
+ "@adobe/react-native-aepedgeidentity": "^2.0.0",
33
33
  "react-native": ">=0.60.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "a7d0febed8bcb7c58025bff4daa6a974953f3de4"
38
+ "gitHead": "6a766c2b35eda5ce16d7e0cb9deb698da5d89379"
39
39
  }
package/ts/Messaging.ts CHANGED
@@ -10,22 +10,90 @@ OF ANY KIND, either express or implied. See the License for the specific languag
10
10
  governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import { NativeModules } from 'react-native';
13
+ import { NativeModules, NativeEventEmitter, NativeModule } from 'react-native';
14
+ import Message from './models/Message';
15
+ import { MessagingDelegate } from "./models/MessagingDelegate";
14
16
 
15
- interface IMessaging {
17
+ export interface IMessaging {
16
18
  extensionVersion: () => Promise<string>;
19
+ refreshInAppMessages: () => void;
20
+ setMessagingDelegate: (delegate?: MessagingDelegate) => void;
21
+ shouldShowMessage: (shouldShowMessage: boolean, shouldSaveMessage: boolean) => void;
22
+ saveMessage: (message: Message) => void;
17
23
  }
18
24
 
19
- const RCTAEPMessaging: IMessaging = NativeModules.AEPMessaging;
25
+ const RCTAEPMessaging: NativeModule & IMessaging = NativeModules.AEPMessaging;
20
26
 
21
- const Messaging: IMessaging = {
27
+ declare var messagingDelegate: MessagingDelegate
28
+ declare var savedMessageId: string;
29
+
30
+ var messagingDelegate: MessagingDelegate;
31
+ var savedMessageId: string = null;
32
+
33
+ const Messaging = {
22
34
  /**
23
35
  * Returns the version of the AEPMessaging extension
24
- * @param {string} Promise a promise that resolves with the extension version
36
+ * @returns {string} Promise a promise that resolves with the extension version
25
37
  */
26
- extensionVersion(): Promise<string> {
38
+ extensionVersion(): Promise<string> {
27
39
  return Promise.resolve(RCTAEPMessaging.extensionVersion());
28
- }
40
+ },
41
+
42
+ /**
43
+ * Initiates a network call to retrieve remote In-App Message definitions.
44
+ */
45
+ refreshInAppMessages() {
46
+ RCTAEPMessaging.refreshInAppMessages();
47
+ },
48
+
49
+ /**
50
+ * Function to set the UI Message delegate to listen the Message lifecycle events.
51
+ */
52
+ setMessagingDelegate(delegate: MessagingDelegate) {
53
+ messagingDelegate = delegate;
54
+ RCTAEPMessaging.setMessagingDelegate();
55
+ const eventEmitter = new NativeEventEmitter(RCTAEPMessaging);
56
+ eventEmitter.addListener('onShow', (event) => {
57
+ if(messagingDelegate){
58
+ const message = new Message(event.id, event.autoTrack === "true" ? true: false);
59
+ messagingDelegate.onShow(message);
60
+ }
61
+ });
62
+
63
+ eventEmitter.addListener('onDismiss', (event) => {
64
+ if(messagingDelegate){
65
+ const message = new Message(event.id, event.autoTrack === "true" ? true: false);
66
+ messagingDelegate.onDismiss(message);
67
+ }
68
+ });
69
+
70
+ eventEmitter.addListener('shouldShowMessage', (event) => {
71
+ if (messagingDelegate){
72
+ const message = new Message(event.id, event.autoTrack === "true" ? true: false);
73
+ const shouldShowMessage: boolean = messagingDelegate.shouldShowMessage(message);
74
+ RCTAEPMessaging.shouldShowMessage(shouldShowMessage, savedMessageId ? true : false);
75
+ savedMessageId = null;
76
+ }
77
+ });
78
+
79
+ eventEmitter.addListener('urlLoaded', (event) => {
80
+ if(messagingDelegate){
81
+ const url = event.url;
82
+ const message = new Message(event.id, event.autoTrack === "true" ? true: false);
83
+ messagingDelegate.urlLoaded(url, message);
84
+ }
85
+ });
86
+ },
87
+
88
+ /**
89
+ * Cache the Message object in-memory to use later.
90
+ * If there is a requirement to call the Message functions like show, dismiss etc. The Message object should be saved first before calling it's functions.
91
+ * If the Message is saved using this API then it is responsibility of App to free it after using.
92
+ * To remove the Message from memory call clearMessage function of Message. Failure to call clearMessage will cause the Memory leak of Message object.
93
+ */
94
+ saveMessage(message: Message) {
95
+ savedMessageId = message.id;
96
+ },
29
97
  };
30
98
 
31
99
  export default Messaging;
package/ts/index.ts CHANGED
@@ -11,5 +11,8 @@ governing permissions and limitations under the License.
11
11
  */
12
12
 
13
13
  import Messaging from './Messaging';
14
+ import Message from './models/Message';
15
+ import { MessagingDelegate } from './models/MessagingDelegate';
16
+ import MessagingEdgeEventType from './models/MessagingEdgeEventType';
14
17
 
15
- export { Messaging };
18
+ export { Messaging, Message, MessagingDelegate, MessagingEdgeEventType };
@@ -0,0 +1,82 @@
1
+ /*
2
+ Copyright 2022 Adobe. All rights reserved.
3
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License. You may obtain a copy
5
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ Unless required by applicable law or agreed to in writing, software distributed under
8
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ OF ANY KIND, either express or implied. See the License for the specific language
10
+ governing permissions and limitations under the License.
11
+ */
12
+
13
+ import { NativeModules } from 'react-native';
14
+ const RCTAEPMessaging = NativeModules.AEPMessaging;
15
+
16
+ class Message {
17
+ id: string;
18
+ autoTrack: boolean;
19
+
20
+ constructor(id: string, autoTrack: boolean) {
21
+ this.id = id;
22
+ this.autoTrack = autoTrack;
23
+ }
24
+
25
+ /**
26
+ * Update the value of property "autoTrack"
27
+ * This function works only for the Message objects that were saved by calling "Messaging.saveMessage"
28
+ * @param {boolean} autoTrack: New value of property autoTrack.
29
+ */
30
+ setAutoTrack(autoTrack: boolean) {
31
+ this.autoTrack = autoTrack;
32
+ RCTAEPMessaging.setAutoTrack(this.id, autoTrack);
33
+ };
34
+
35
+ /**
36
+ * Signals to the UIServices that the message should be shown.
37
+ * If autoTrack is true, calling this method will result in an "inapp.display" Edge Event being dispatched.
38
+ */
39
+ show() {
40
+ RCTAEPMessaging.show(this.id);
41
+ };
42
+
43
+ /**
44
+ * Signals to the UIServices that the message should be dismissed.
45
+ * If `autoTrack` is true, calling this method will result in an "inapp.dismiss" Edge Event being dispatched.
46
+ * @param {boolean?} suppressAutoTrack: if set to true, the inapp.dismiss Edge Event will not be sent regardless
47
+ * of the autoTrack setting.
48
+ */
49
+ dismiss(suppressAutoTrack?: boolean) {
50
+ RCTAEPMessaging.dismiss(this.id, suppressAutoTrack ? true : false);
51
+ };
52
+
53
+ /**
54
+ * Generates an Edge Event for the provided interaction and eventType.
55
+ * @param {string?} interaction: a custom String value to be recorded in the interaction
56
+ * @param {MessagingEdgeEventType} eventType: the MessagingEdgeEventType to be used for the ensuing Edge Event
57
+ */
58
+ track(interaction: string, eventType: number) {
59
+ RCTAEPMessaging.track(this.id, interaction, eventType);
60
+ };
61
+
62
+ /**
63
+ * Adds a handler for Javascript messages sent from the message's webview.
64
+ * The parameter passed to `handler` will contain the body of the message passed from the webview's Javascript.
65
+ * @param {string} name: the name of the message that should be handled by `handler`
66
+ * @return {Promise<any?>}: the Promise to be resolved with the body of the message passed by the Javascript message in the WebView
67
+ */
68
+ handleJavascriptMessage(name: string) : Promise<any> {
69
+ return Promise.resolve(RCTAEPMessaging.handleJavascriptMessage(this.id, name));
70
+ };
71
+
72
+ /**
73
+ * Clears the reference to the Message object.
74
+ * This function must be called if Message was saved by calling "Messaging.saveMessage" but no longer needed.
75
+ * Failure to call this function leads to memory leaks.
76
+ */
77
+ clear() {
78
+ RCTAEPMessaging.clear(this.id);
79
+ };
80
+ };
81
+
82
+ export default Message;
@@ -0,0 +1,41 @@
1
+ /*
2
+ Copyright 2022 Adobe. All rights reserved.
3
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License. You may obtain a copy
5
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ Unless required by applicable law or agreed to in writing, software distributed under
8
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ OF ANY KIND, either express or implied. See the License for the specific language
10
+ governing permissions and limitations under the License.
11
+ */
12
+
13
+ import Message from "./Message";
14
+
15
+ export type MessagingDelegate = {
16
+ /**
17
+ * Invoked when the any message is displayed
18
+ * @param {Message} message: Message that is being displayed.
19
+ */
20
+ onShow(message: Message): void;
21
+
22
+ /**
23
+ * Invoked when any message is dismissed
24
+ * @param {Message} message: Message that is being dismissed
25
+ */
26
+ onDismiss(message: Message): void;
27
+
28
+ /**
29
+ * Used to find whether messages should be shown or not
30
+ * @param {Message} message: Message that is about to get displayed
31
+ * @returns {boolean}: true if the message should be shown else false
32
+ */
33
+ shouldShowMessage(message: Message): boolean;
34
+
35
+ /**
36
+ * Called when message loads a URL
37
+ * @param {string} url: the URL being loaded by the message
38
+ * @param {Message} message: the Message loading a URL
39
+ */
40
+ urlLoaded(url: string, message: Message): void;
41
+ };
@@ -0,0 +1,22 @@
1
+ /*
2
+ Copyright 2022 Adobe. All rights reserved.
3
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License. You may obtain a copy
5
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ Unless required by applicable law or agreed to in writing, software distributed under
8
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ OF ANY KIND, either express or implied. See the License for the specific language
10
+ governing permissions and limitations under the License.
11
+ */
12
+
13
+ enum MessagingEdgeEventType {
14
+ IN_APP_DISMISS = 0,
15
+ IN_APP_INTERACT = 1,
16
+ IN_APP_TRIGGER = 2,
17
+ IN_APP_DISPLAY = 3,
18
+ PUSH_APPLICATION_OPENED = 4,
19
+ PUSH_CUSTOM_ACTION = 5
20
+ };
21
+
22
+ export default MessagingEdgeEventType;
package/tsconfig.json CHANGED
@@ -3,7 +3,8 @@
3
3
  "compilerOptions": {
4
4
  "noEmit": false,
5
5
  "rootDir": "./ts",
6
- "outDir": "./js"
6
+ "outDir": "./js",
7
+ "noImplicitAny": false
7
8
  },
8
9
  "exclude": ["__tests__", "js"]
9
10
  }