@pega/dx-component-builder-sdk 0.1.45 → 0.1.46

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/dx-component-builder-sdk",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -62,7 +62,7 @@ export const getComponentsFromServer = async data => {
62
62
  if (err) {
63
63
  reject(
64
64
  `\n${chalk.bold.red(
65
- 'Error occured in authentication. Please regenerate using authenticate'
65
+ 'Error occurred in authentication. Please regenerate using authenticate'
66
66
  )}`
67
67
  );
68
68
  }
@@ -88,7 +88,7 @@ export const getComponentsFromServer = async data => {
88
88
  const respData = JSON.parse(resp);
89
89
  if (status === 401) {
90
90
  throw new Error(
91
- 'Error occured in authentication. Please regenerate using authenticate'
91
+ 'Error occurred in authentication. Please regenerate using authenticate'
92
92
  );
93
93
  // console.log(accessTokenUri, refreshToken);
94
94
  /* TODO - Handle refresh_token */