You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Requirements
2
2
3
-
This project (along with the sample app) both require a minimum Node version of 16.3.0 or greater. [Download NodeJS here.](https://nodejs.org/en/) Alternatively, you can use a tool such as [nvm](https://github.com/nvm-sh/nvm) to install another version of node and switch to that.
3
+
This project (along with the sample app) both require a minimum Node version of 18.12.0 or greater. [Download NodeJS here.](https://nodejs.org/en/) Alternatively, you can use a tool such as [nvm](https://github.com/nvm-sh/nvm) to install another version of node and switch to that.
4
4
5
5
This project also uses [yarn package manager.](https://yarnpkg.com/getting-started/install) You'll need to install that as well to run the commands within this project.
Important: This SDK requires Node.js as defined in `package.json`.
89
+
90
+
Please ensure your development environment meets the minimum required Node.js version. Depending on your current setup, you may already be using a compatible version. If not, you will need to upgrade Node.js to proceed with installation and use of the SDK.
91
+
92
+
You can check your current Node version by running:
93
+
94
+
```bash
95
+
node -v
96
+
```
97
+
98
+
If an upgrade is needed, we recommend using nvm or your preferred version manager for easy installation.
99
+
87
100
# Functions
88
101
89
102
Iterable's Web SDK exposes the following functions, which you can use in your
@@ -94,6 +107,7 @@ Iterable's API, see the [API Overview](https://support.iterable.com/hc/articles/
|[`baseIterableRequest`](#baseiterablerequest)| Executes a custom API request to Iterable, using an extended request configuration for validation and optional features. Valid for web API keys and their supported endpoints only. [Learn more](https://support.iterable.com/hc/articles/360043464871-API-Keys#client-side-keys)|
97
111
|[`filterHiddenInAppMessages`](#filterhiddeninappmessages)| From an array of passed-in in-app messages, filters out messages that have already been read, messages that should not be displayed, and messages that only contain JSON data. |
98
112
|[`filterOnlyReadAndNeverTriggerMessages`](#filteronlyreadandnevertriggermessages)| From an array of passed-in in-app messages, filters out messages that have already been read and messages that should not be displayed. |
99
113
|[`getInAppMessages`](#getInAppMessages)| Fetches in-app messages by calling [`GET /api/inApp/getMessages`](https://support.iterable.com/hc/articles/204780579#get-api-inapp-getmessages). |
@@ -127,6 +141,37 @@ Notes:
127
141
automatically track `inAppClick` events or handle custom CTAs. This will impact
128
142
analytics for all Safari and mobile iOS users.
129
143
144
+
## `baseIterableRequest`
145
+
146
+
Executes a custom API request to Iterable, using an extended request configuration for validation and optional features. Valid for web API keys and their supported endpoints only. [Learn more](https://support.iterable.com/hc/articles/360043464871-API-Keys#client-side-keys)
0 commit comments