Skip to content

Commit 678d44e

Browse files
Merge pull request #3 from zoho/beta
2.0.0
2 parents cbb24b3 + b2be5e0 commit 678d44e

File tree

1,506 files changed

+149119
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,506 files changed

+149119
-7
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ License
2525

2626
## Latest Version
2727

28+
- [2.0.0](/versions/2.0.0/README.md)
29+
30+
- Handled the sdk_tokens and resources file path issue in InitializeBuilder.
31+
2832
- [1.0.0](/versions/1.0.0/README.md)
2933

3034
- Added the new key (api_domain) in FileStore and DBStore.
@@ -49,7 +53,7 @@ For older versions, please [refer](https://github.com/zoho/zohocrm-typescript-sd
4953
## Including the SDK in your project
5054
You can include the SDK to your project using:
5155

52-
For including the latest [version](https://github.com/zoho/zohocrm-typescript-sdk-5.0/releases/tag/1.0.0) using npm
56+
For including the latest [version](https://github.com/zoho/zohocrm-typescript-sdk-5.0/releases/tag/2.0.0) using npm
5357

5458
- Install **Node** from [nodejs.org](https://nodejs.org/en/download/) (if not installed).
5559

@@ -106,4 +110,4 @@ For including the latest [version](https://github.com/zoho/zohocrm-typescript-sd
106110
```sh
107111
npm i @types/tunnel
108112
```
109-
For more details, kindly refer [here](/versions/1.0.0/README.md).
113+
For more details, kindly refer [here](/versions/2.0.0/README.md).

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zohocrm/typescript-sdk-5.0",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "TypeScript SDK for Zoho CRM",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -24,7 +24,7 @@
2424
"license": "Apache-2.0",
2525
"dependencies": {
2626
"@types/mysql": "^2.15.16",
27-
"@types/tunnel": "0.0.1",
27+
"@types/tunnel": "^0.0.1",
2828
"form-data": "^3.0.0",
2929
"moment-timezone": "0.5.43",
3030
"got": "^11.8.1",

routes/initialize_builder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ export class InitializeBuilder {
7272
await Utility.assertNotNull(this._token, this.errorMessage, Constants.TOKEN_ERROR_MESSAGE);
7373

7474
if (this._store == null) {
75-
this._store = new FileStore(path.join(__dirname, "../../../../", Constants.TOKEN_FILE));
75+
this._store = new FileStore(path.join(__dirname, "../../../../../", Constants.TOKEN_FILE));
7676
}
7777

7878
if (this._sdkConfig == null) {
7979
this._sdkConfig = new SDKConfigBuilder().build();
8080
}
8181

8282
if (this._resourcePath == null) {
83-
this._resourcePath = path.join(__dirname, "../../../../", '');
83+
this._resourcePath = path.join(__dirname, "../../../../../", '');
8484
}
8585

8686
if (this._logger == null) {

utils/util/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export class Constants {
8989

9090
public static ZOHO_SDK = "X-ZOHO-SDK";
9191

92-
public static SDK_VERSION = "1.0.0";
92+
public static SDK_VERSION = "2.0.0";
9393

9494
public static MYSQL_HOST = "localhost";
9595

0 commit comments

Comments
 (0)