Upgrade Node.js SDK
Catalyst constantly endeavours to provide you with the latest, most relevant, and secure SDK packages to ensure you code your applications with as much ease as possible.
This means that from time to time, Catalyst will upgrade its SDK packages to provide you with the best coding support. We strongly urge you to keep track of the latest developments in Catalyst SDKs from our Release Notes section and upgrade your SDK packages to the latest versions. We will also be posting our bug fixes, should any arise, in our Release Notes.
Steps to Upgrade Your SDK
There are two methods you can use to upgrade your Node.js SDK:
- Using the npm update command.
- Using the npm install command.
Using npm update Command
-
Launch your terminal and navigate to the Node.js function’s source directory. For example, consider you have an application named “Pets Conglomerate” in the directory /Users/user/apps/petsConglomerate. In this application, you have a function named “dogs_spotted”. You need to navigate to the function’s source directory, which would appear like this: /Users/user/apps/petsConglomerate/functions/dogs_spotted
-
Execute the following command
This will perform the required update, and the latest version of zcatalyst-sdk-node can be used.
Using npm install command
-
Launch your terminal and navigate to the Node.js function’s source directory. For example, consider you have an application named “Pets Conglomerate” in the directory /Users/user/apps/petsConglomerate. In this application, you have a function named “dogs_spotted”. You need to navigate to the function’s source directory, which would appear like this: /Users/user/apps/petsConglomerate/functions/dogs_spotted
-
Execute the following command
Note:
-
The @latest tag is optional. However, we do recommend that you include it while performing the install.
-
You need to apply the same steps for every Node.js function present in your project.
Install a Specific Package
To install a specific SDK version’s package:
- Launch your terminal and navigate to the Node.js functions source directory.
- Execute the following command with your required SDK version
Last Updated 2024-07-15 12:38:15 +0530 +0530
Yes
No
Send your feedback to us