ryuu-client 4.3.0 → 4.3.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,136 @@
1
+ ## [4.3.1-beta.0](https://github.com/DomoApps/domoapps-client/compare/v2.10.0...v4.3.1-beta.0) (2022-11-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **client:** handle revoked tokens gracefully ([f474cf6](https://github.com/DomoApps/domoapps-client/commit/f474cf6ae806542943dbcb5cdd501e7343f77d11))
7
+ * **client:** move clientId to be brought in as argumaent ([319c226](https://github.com/DomoApps/domoapps-client/commit/319c2261725d104c3803abc9d5d4373cd6b91a8a))
8
+ * **download:** fix download headers ([15324b2](https://github.com/DomoApps/domoapps-client/commit/15324b27b7e67e24e4f50e6edfe55c8e0dbca2f1))
9
+ * **error logging:** appropriate fail messaging ([05db368](https://github.com/DomoApps/domoapps-client/commit/05db368c93767875a17ef9f574a2c6e326555237))
10
+ * **error messaging:** no need to print out error message to process request level ([54b0516](https://github.com/DomoApps/domoapps-client/commit/54b051607b5bc8e6481084dcce15dd8f9e355341))
11
+ * **headers:** combine headers if ones exist alread ([317baba](https://github.com/DomoApps/domoapps-client/commit/317babaf0604d52ee47f1231f437aae807cc7013))
12
+ * **processRaw:** add a raw request process for proxy content ([49e8176](https://github.com/DomoApps/domoapps-client/commit/49e817687835ed98b4247693cdb9b09f9ebac362))
13
+ * **processRequest:** add option to not verify requests ([f7e1f54](https://github.com/DomoApps/domoapps-client/commit/f7e1f548548e9ab729cce250e38d7961bde5c41b))
14
+
15
+
16
+ ### Features
17
+
18
+ * Added build scripts ([c2378c8](https://github.com/DomoApps/domoapps-client/commit/c2378c8cf30485c50f9132bb96cf8374d244a9f4))
19
+ * **client:** clean and add getMostRecentLogin ([f726c6f](https://github.com/DomoApps/domoapps-client/commit/f726c6f278306cd88a86d2215bcbbdbb495b7dfd))
20
+
21
+
22
+
23
+ # [4.3.0-beta.1](https://github.com/DomoApps/domoapps-client/compare/v2.10.0...v4.3.0-beta.1) (2022-11-04)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * **client:** handle revoked tokens gracefully ([f474cf6](https://github.com/DomoApps/domoapps-client/commit/f474cf6ae806542943dbcb5cdd501e7343f77d11))
29
+ * **client:** move clientId to be brought in as argumaent ([319c226](https://github.com/DomoApps/domoapps-client/commit/319c2261725d104c3803abc9d5d4373cd6b91a8a))
30
+ * **download:** fix download headers ([15324b2](https://github.com/DomoApps/domoapps-client/commit/15324b27b7e67e24e4f50e6edfe55c8e0dbca2f1))
31
+ * **error logging:** appropriate fail messaging ([05db368](https://github.com/DomoApps/domoapps-client/commit/05db368c93767875a17ef9f574a2c6e326555237))
32
+ * **error messaging:** no need to print out error message to process request level ([54b0516](https://github.com/DomoApps/domoapps-client/commit/54b051607b5bc8e6481084dcce15dd8f9e355341))
33
+ * **headers:** combine headers if ones exist alread ([317baba](https://github.com/DomoApps/domoapps-client/commit/317babaf0604d52ee47f1231f437aae807cc7013))
34
+ * **processRaw:** add a raw request process for proxy content ([49e8176](https://github.com/DomoApps/domoapps-client/commit/49e817687835ed98b4247693cdb9b09f9ebac362))
35
+ * **processRequest:** add option to not verify requests ([f7e1f54](https://github.com/DomoApps/domoapps-client/commit/f7e1f548548e9ab729cce250e38d7961bde5c41b))
36
+
37
+
38
+ ### Features
39
+
40
+ * Added build scripts ([c2378c8](https://github.com/DomoApps/domoapps-client/commit/c2378c8cf30485c50f9132bb96cf8374d244a9f4))
41
+ * **client:** clean and add getMostRecentLogin ([f726c6f](https://github.com/DomoApps/domoapps-client/commit/f726c6f278306cd88a86d2215bcbbdbb495b7dfd))
42
+
43
+
44
+
45
+ # [2.10.0](https://github.com/DomoApps/domoapps-client/compare/v2.9.0...v2.10.0) (2017-01-24)
46
+
47
+
48
+
49
+ # [2.9.0](https://github.com/DomoApps/domoapps-client/compare/v2.8.4...v2.9.0) (2016-10-06)
50
+
51
+
52
+
53
+ ## [2.8.4](https://github.com/DomoApps/domoapps-client/compare/v2.8.2...v2.8.4) (2016-09-13)
54
+
55
+
56
+
57
+ ## [2.8.2](https://github.com/DomoApps/domoapps-client/compare/v2.8.1...v2.8.2) (2016-08-31)
58
+
59
+
60
+
61
+ ## [2.8.1](https://github.com/DomoApps/domoapps-client/compare/v2.8.0...v2.8.1) (2016-07-07)
62
+
63
+
64
+
65
+ # [2.8.0](https://github.com/DomoApps/domoapps-client/compare/v2.7.0...v2.8.0) (2016-06-15)
66
+
67
+
68
+
69
+ # [2.7.0](https://github.com/DomoApps/domoapps-client/compare/v2.6.1...v2.7.0) (2016-06-13)
70
+
71
+
72
+
73
+ ## [2.6.1](https://github.com/DomoApps/domoapps-client/compare/v2.6.0...v2.6.1) (2016-02-09)
74
+
75
+
76
+
77
+ # [2.6.0](https://github.com/DomoApps/domoapps-client/compare/v2.5.0...v2.6.0) (2016-02-09)
78
+
79
+
80
+
81
+ # [2.5.0](https://github.com/DomoApps/domoapps-client/compare/v2.4.0...v2.5.0) (2015-08-27)
82
+
83
+
84
+
85
+ # [2.4.0](https://github.com/DomoApps/domoapps-client/compare/v2.3.7...v2.4.0) (2015-08-19)
86
+
87
+
88
+
89
+ ## [2.3.7](https://github.com/DomoApps/domoapps-client/compare/v2.3.6...v2.3.7) (2015-07-27)
90
+
91
+
92
+
93
+ ## [2.3.6](https://github.com/DomoApps/domoapps-client/compare/v2.3.5...v2.3.6) (2015-07-23)
94
+
95
+
96
+
97
+ ## [2.3.5](https://github.com/DomoApps/domoapps-client/compare/v2.3.4...v2.3.5) (2015-07-21)
98
+
99
+
100
+
101
+ ## [2.3.4](https://github.com/DomoApps/domoapps-client/compare/v2.3.3...v2.3.4) (2015-07-09)
102
+
103
+
104
+
105
+ ## [2.3.3](https://github.com/DomoApps/domoapps-client/compare/v2.3.2...v2.3.3) (2015-07-09)
106
+
107
+
108
+
109
+ ## [2.3.2](https://github.com/DomoApps/domoapps-client/compare/v2.3.1...v2.3.2) (2015-07-09)
110
+
111
+
112
+
113
+ ## [2.3.1](https://github.com/DomoApps/domoapps-client/compare/v2.3.0...v2.3.1) (2015-07-08)
114
+
115
+
116
+
117
+ # [2.3.0](https://github.com/DomoApps/domoapps-client/compare/v2.2.0...v2.3.0) (2015-07-01)
118
+
119
+
120
+
121
+ # [2.2.0](https://github.com/DomoApps/domoapps-client/compare/v2.0.0...v2.2.0) (2015-07-01)
122
+
123
+
124
+
125
+ # [2.0.0](https://github.com/DomoApps/domoapps-client/compare/v1.5.0...v2.0.0) (2015-06-08)
126
+
127
+
128
+
129
+ # [1.5.0](https://github.com/DomoApps/domoapps-client/compare/v1.4.1...v1.5.0) (2015-06-01)
130
+
131
+
132
+
133
+ ## 1.4.1 (2015-05-06)
134
+
135
+
136
+
package/LICENSE ADDED
@@ -0,0 +1,14 @@
1
+ DOMO, INC.
2
+ SDK LICENSE AGREEMENT
3
+ This is the Domo Software Development Kit License Agreement
4
+ The Domo Software Development Kit (“SDK”) is licensed to you subject to the terms of this license agreement (“License”). This License forms a legally binding contract between you and Domo, Inc., a corporation with a principal place of business at 772 East Utah Valley Drive, American Fork, UT 84003 (“Domo”) in relation to your use of the SDK. In order to use the SDK, you must first agree to this License. You may not use the SDK if you do not accept this. By using this SDK, you agree to the terms of this License. If you are agreeing to be bound by this License on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License. If you do not have the requisite authority, you may not accept the License or use the SDK on behalf of your employer or other entity. The parties agree as follows:
5
+
6
+ 1. LICENSE TO SDK. Subject to the terms of this License, Domo grants you a limited, worldwide, royalty-free, non-assignable and non-exclusive license to use the SDK solely to develop applications to run on the Domo platform. Domo or third parties own all legal right, title and interest in and to the SDK, including any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Domo reserves all rights not expressly granted to you. You may not use the SDK for any purpose not expressly permitted by this License. Except to the extent expressly permitted by applicable third party licenses, you may not redistribute or reverse engineer the SDK or any part of the SDK. You will not distribute, participate in the creation of, or promote in any way a software development kit derived from the SDK. Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License. The form and nature of the SDK that Domo provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. Domo may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Domo's sole discretion, without prior notice to you.
7
+ 2. YOUR USE OF THE SDK. You will use the SDK and write applications only for purposes that are permitted by (a) this License and (b) applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Domo Account information, your application may only use that information to access the user's Domo Account when, and for the limited purposes for which, the user has given you permission to do so. You will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Domo or any mobile communications carrier. You are solely responsible for (and Domo has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through the Domo platform, and for the consequences of your actions (including any loss or damage which Domo may suffer) by doing so. You are solely responsible for (and Domo has no responsibility to you or to any third party for) any breach of your obligations under this License, any applicable third party contract or terms of service, or any applicable law or regulation, and for the consequences (including any loss or damage which Domo or any third party may suffer) of any such breach.
8
+ 3. USING APIs. If you use any API to retrieve data from Domo, you acknowledge that the data may be protected by intellectual property rights which are owned by Domo or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional terms of service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant terms of service. If you or your application use any API to retrieve a user's data from Domo, you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
9
+ 4. TERM AND TERMINATION. This License will continue to apply until terminated by either you or Domo as set out below. If you want to terminate this License, you may do so by ceasing your use of the SDK. Domo may at any time, terminate this License with you if: (a) you have breached any provision of this License; or (b) Domo is required to do so by law; or (c) the partner with whom Domo offered certain parts of the SDK (such as APIs) to you has terminated its relationship with Domo or ceased to offer certain parts of the SDK to you; or (d) Domo decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Domo is, in Domo's sole discretion, no longer commercially appropriate. When this License comes to an end, all of the legal rights, obligations and liabilities that you and Domo have benefited from, been subject to (or which have accrued over time while this License has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraphs 5, 6, 7, 8 and 9 shall continue to apply to such rights, obligations and liabilities indefinitely.
10
+ 5. WARRANTY DISCLAIMER. YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM DOMO. YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. DOMO FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
11
+ 6. LIMITATION OF LIABILITY. YOU EXPRESSLY UNDERSTAND YOU EXPRESSLY UNDERSTAND AND AGREE THAT DOMO, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS ARE NOT LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT DOMO OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
12
+ 7. INDEMNIFICATION. To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Domo, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with this License.
13
+ 8. RESERVATION OF RIGHTS. Nothing in this License gives you a right to use any of Domo's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. Domo may make changes to the License as it distributes new versions of the SDK. When these changes are made, Domo will make a new version of the License available on the website where the SDK is made available.
14
+ 9. MISCELLANEOUS. This License constitutes the whole legal agreement between you and Domo and governs your use of the SDK (excluding any services which Domo may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Domo in relation to the SDK. If Domo does not exercise or enforce any legal right or remedy which is contained in this License (or which Domo has the benefit of under any applicable law), this will not be taken to be a formal waiver of Domo's rights and those rights or remedies will still be available to Domo. If any court of law, having the jurisdiction to decide on this matter, rules that any provision of this License is invalid, then that provision will be removed from this License without affecting the rest of this License. The remaining provisions of this License will continue to be valid and enforceable. THE SDK MAY BE SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. The rights granted in this License may not be assigned or transferred by you without Domo’s prior written approval. This License, and your relationship with Domo under this License, shall be governed by the laws of the State of Utah without regard to its conflict of laws provisions. You and Domo agree to submit to the exclusive jurisdiction of the courts located within Salt Lake County, Utah to resolve any legal matter arising from this License. Notwithstanding this, Domo may apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
package/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # Ryuu Client
2
+
3
+ The client (endpoint) repository used by Ryuu/Domo App Platform
4
+
5
+ See the [developer docs](https://developer.domo.com) for instructions on how to install and use this library (almost solely as a dependancy of Ryuu/Ryuu-Proxy), as well as more information about the complete Domo App Platform.
6
+
7
+ ## Releasing this Library
8
+
9
+ When running the `version` command you can increment the numbers as follows:
10
+
11
+ - `npm version major` - x.0.0
12
+ - `npm version minor` - 4.x.0
13
+ - `npm version patch` - 4.0.x
14
+ - `npm version prerelease --preid beta` - 4.0.x-beta.0
15
+ - `npm version prerelease` - 4.0.0-beta.(x)
16
+ - `npm version premajor --preid beta` - x.0.0-beta.0
17
+
18
+ ## Making Changes
19
+
20
+ Recommended Workflow:
21
+
22
+ 1. Create new branch (named "DOMO-XXXXXX")
23
+ 2. Make Changes
24
+ 3. Commit Changes
25
+ 4. Bump version in `package.json`
26
+ 5. `npm version prerelease --preid beta`
27
+
28
+ ### Release commands (alpha/beta commands also available)
29
+
30
+ ```bash
31
+ npm run release
32
+ ```
33
+
34
+ [npm package](https://www.npmjs.com/package/ryuu-client)
@@ -1,6 +1,6 @@
1
- import { AxiosRequestConfig, AxiosResponse } from "axios";
2
- import HttpsProxyAgent = require("https-proxy-agent");
3
- import { manifest, DesignAggregate, LoginData } from "../models";
1
+ import { AxiosRequestConfig, AxiosResponse } from 'axios';
2
+ import HttpsProxyAgent = require('https-proxy-agent');
3
+ import { manifest, DesignAggregate, LoginData } from './models';
4
4
  export = Domo;
5
5
  declare class Domo {
6
6
  private instance;
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
14
14
  function verb(n) { return function (v) { return step([n, v]); }; }
15
15
  function step(op) {
16
16
  if (f) throw new TypeError("Generator is already executing.");
17
- while (_) try {
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
18
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
19
  if (y = 0, t) op = [op[0] & 2, t.value];
20
20
  switch (op[0]) {
@@ -52,44 +52,43 @@ var HttpsProxyAgent = require("https-proxy-agent");
52
52
  var qs_1 = __importDefault(require("qs"));
53
53
  var POLL_INTERVAL = 1000;
54
54
  var POLL_TIMEOUT = 30000;
55
- process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
56
55
  var Domo = /** @class */ (function () {
57
56
  function Domo(instanceParam, refreshTokenParam, clientIdParam, proxyParams, devTokenParam) {
58
57
  this.removeOwners = function (designId, owners) {
59
58
  var options = {
60
59
  url: this.server +
61
- "/domoapps/designs/" +
60
+ '/domoapps/designs/' +
62
61
  designId +
63
- "/permissions/ADMINISTRATION?users=" +
62
+ '/permissions/ADMINISTRATION?users=' +
64
63
  owners,
65
- method: "DELETE",
64
+ method: 'DELETE',
66
65
  headers: {
67
- Accept: "application/json",
66
+ Accept: 'application/json',
68
67
  },
69
68
  };
70
69
  return this.processRequest(options);
71
70
  };
72
71
  this.instance = instanceParam;
73
- this.server = "https://" + instanceParam;
72
+ this.server = 'https://' + instanceParam;
74
73
  this.refreshToken = refreshTokenParam;
75
74
  this.clientId = clientIdParam;
76
75
  if (proxyParams &&
77
76
  proxyParams.host != undefined &&
78
77
  proxyParams.port != undefined) {
79
- this.test = "http://" + proxyParams.host + ":" + proxyParams.port;
78
+ this.test = 'http://' + proxyParams.host + ':' + proxyParams.port;
80
79
  //@ts-ignore
81
80
  if (proxyParams.username && proxyParams.password) {
82
81
  //@ts-ignore
83
82
  this.test =
84
- "http://" +
83
+ 'http://' +
85
84
  //@ts-ignore
86
85
  proxyParams.username +
87
- ":" +
86
+ ':' +
88
87
  //@ts-ignore
89
88
  proxyParams.password +
90
- "@" +
89
+ '@' +
91
90
  proxyParams.host +
92
- ":" +
91
+ ':' +
93
92
  proxyParams.port;
94
93
  //@ts-ignore
95
94
  this.agent = new HttpsProxyAgent(this.test);
@@ -115,46 +114,46 @@ var Domo = /** @class */ (function () {
115
114
  };
116
115
  Domo.prototype.createDesign = function (manifest) {
117
116
  var options = {
118
- url: this.server + "/domoapps/designs?path=manifest.json",
119
- method: "POST",
117
+ url: this.server + '/domoapps/designs?path=manifest.json',
118
+ method: 'POST',
120
119
  data: manifest,
121
120
  };
122
121
  return this.processRequest(options);
123
122
  };
124
123
  Domo.prototype.getDesign = function (id) {
125
124
  var options = {
126
- url: this.server + "/domoapps/designs/" + id,
127
- method: "GET",
125
+ url: this.server + '/domoapps/designs/' + id,
126
+ method: 'GET',
128
127
  headers: {
129
- Accept: "application/json",
128
+ Accept: 'application/json',
130
129
  },
131
130
  };
132
131
  return this.processRequest(options);
133
132
  };
134
133
  Domo.prototype.getDesigns = function () {
135
134
  var options = {
136
- url: this.server + "/domoapps/designs/",
137
- method: "GET",
135
+ url: this.server + '/domoapps/designs/',
136
+ method: 'GET',
138
137
  headers: {
139
- Accept: "application/json",
138
+ Accept: 'application/json',
140
139
  },
141
140
  };
142
141
  return this.processRequest(options);
143
142
  };
144
143
  Domo.prototype.getSimpleDesigns = function () {
145
144
  var options = {
146
- url: this.server + "/domoapps/designs/simple",
147
- method: "GET",
145
+ url: this.server + '/domoapps/designs/simple',
146
+ method: 'GET',
148
147
  headers: {
149
- Accept: "application/json",
148
+ Accept: 'application/json',
150
149
  },
151
150
  };
152
151
  return this.processRequest(options);
153
152
  };
154
153
  Domo.prototype.createContext = function (designId, mapping) {
155
154
  var options = {
156
- url: this.server + "/domoapps/apps/v2/contexts",
157
- method: "POST",
155
+ url: this.server + '/domoapps/apps/v2/contexts',
156
+ method: 'POST',
158
157
  data: { designId: designId, mapping: mapping },
159
158
  };
160
159
  return this.processRequest(options)
@@ -162,7 +161,7 @@ var Domo = /** @class */ (function () {
162
161
  return res[0];
163
162
  })
164
163
  .catch(function (err) {
165
- console.log("Error: ", JSON.stringify(err));
164
+ console.log('Error: ', JSON.stringify(err));
166
165
  return;
167
166
  });
168
167
  };
@@ -174,10 +173,9 @@ var Domo = /** @class */ (function () {
174
173
  Domo.prototype.checkSession = function () {
175
174
  var options = {
176
175
  url: 'https://' + this.getInstance() + '/auth/validate',
177
- method: 'GET'
176
+ method: 'GET',
178
177
  };
179
- return this.processRequest(options)
180
- .then(function (res) {
178
+ return this.processRequest(options).then(function (res) {
181
179
  if (res.isValid)
182
180
  Promise.resolve(true);
183
181
  else
@@ -190,7 +188,7 @@ var Domo = /** @class */ (function () {
190
188
  return __generator(this, function (_b) {
191
189
  switch (_b.label) {
192
190
  case 0:
193
- if (!manifest["proxyId"]) return [3 /*break*/, 1];
191
+ if (!manifest['proxyId']) return [3 /*break*/, 1];
194
192
  _a = manifest.proxyId;
195
193
  return [3 /*break*/, 3];
196
194
  case 1: return [4 /*yield*/, this.createApp(manifest.id).then(function (test) {
@@ -203,18 +201,18 @@ var Domo = /** @class */ (function () {
203
201
  case 3:
204
202
  uuid = _a;
205
203
  options = {
206
- url: this.server + "/api/content/v1/mobile/environment",
204
+ url: this.server + '/api/content/v1/mobile/environment',
207
205
  };
208
206
  return [2 /*return*/, this.processRequest(options)
209
207
  .then(function (res) {
210
208
  var data = res;
211
209
  //@ts-ignore
212
- data.url = "https://" + uuid + "." + data.domoappsDomain;
210
+ data.url = "https://".concat(uuid, ".").concat(data.domoappsDomain);
213
211
  return data;
214
212
  })
215
213
  .catch(function () {
216
214
  // This catch is for running on rigs in which the domoappsDomain wouldn't be accessible/correct
217
- var data = { url: "https://" + uuid + ".domoapps." + this.getEnv() };
215
+ var data = { url: "https://".concat(uuid, ".domoapps.").concat(this.getEnv()) };
218
216
  return data;
219
217
  })];
220
218
  }
@@ -222,16 +220,16 @@ var Domo = /** @class */ (function () {
222
220
  });
223
221
  };
224
222
  Domo.prototype.download = function (designId, versionParam) {
225
- var version = versionParam || "latest";
223
+ var version = versionParam || 'latest';
226
224
  var options = {
227
225
  url: this.server +
228
- "/domoapps/designs/" +
226
+ '/domoapps/designs/' +
229
227
  designId +
230
- "/versions/" +
228
+ '/versions/' +
231
229
  version +
232
- "/assets",
233
- method: "GET",
234
- responseType: "stream",
230
+ '/assets',
231
+ method: 'GET',
232
+ responseType: 'stream',
235
233
  headers: null,
236
234
  };
237
235
  return getAuthHeader(this.clientId, this.refreshToken, this.server, this.devToken, this.agent).then(function (headers) {
@@ -242,20 +240,20 @@ var Domo = /** @class */ (function () {
242
240
  };
243
241
  Domo.prototype.deleteDesign = function (id, force) {
244
242
  var options = {
245
- url: this.server + "/domoapps/designs/" + id + "?force=" + force,
246
- method: "DELETE",
243
+ url: this.server + '/domoapps/designs/' + id + '?force=' + force,
244
+ method: 'DELETE',
247
245
  headers: {
248
- Accept: "application/json",
246
+ Accept: 'application/json',
249
247
  },
250
248
  };
251
249
  return this.processRequest(options);
252
250
  };
253
251
  Domo.prototype.unDeleteDesign = function (id) {
254
252
  var options = {
255
- url: this.server + "/domoapps/designs/" + id + "/undelete",
256
- method: "PUT",
253
+ url: this.server + '/domoapps/designs/' + id + '/undelete',
254
+ method: 'PUT',
257
255
  headers: {
258
- Accept: "application/json",
256
+ Accept: 'application/json',
259
257
  },
260
258
  };
261
259
  return this.processRequest(options);
@@ -263,14 +261,14 @@ var Domo = /** @class */ (function () {
263
261
  Domo.prototype.addOwners = function (designId, owners) {
264
262
  var options = {
265
263
  url: this.server +
266
- "/domoapps/designs/" +
264
+ '/domoapps/designs/' +
267
265
  designId +
268
- "/permissions/ADMINISTRATION",
269
- method: "POST",
266
+ '/permissions/ADMINISTRATION',
267
+ method: 'POST',
270
268
  data: [owners],
271
269
  headers: {
272
- Accept: "application/json",
273
- "Content-Type": "application/json",
270
+ Accept: 'application/json',
271
+ 'Content-Type': 'application/json',
274
272
  },
275
273
  };
276
274
  return this.processRequest(options);
@@ -278,28 +276,28 @@ var Domo = /** @class */ (function () {
278
276
  Domo.prototype.getOwners = function (designId) {
279
277
  var options = {
280
278
  url: this.server +
281
- "/domoapps/designs/" +
279
+ '/domoapps/designs/' +
282
280
  designId +
283
- "/permissions/ADMINISTRATION",
284
- method: "GET",
281
+ '/permissions/ADMINISTRATION',
282
+ method: 'GET',
285
283
  headers: {
286
- Accept: "application/json",
284
+ Accept: 'application/json',
287
285
  },
288
286
  };
289
287
  return this.processRequest(options);
290
288
  };
291
289
  Domo.prototype.uploadAsset = function (designId, version, file, contents) {
292
- if (file.indexOf(" ") !== -1) {
290
+ if (file.indexOf(' ') !== -1) {
293
291
  return new Promise(function (resolve, reject) {
294
- reject("Spaces in file names not allowed. Please rename " + file);
292
+ reject('Spaces in file names not allowed. Please rename ' + file);
295
293
  });
296
294
  }
297
295
  var form = new FormData();
298
296
  contents = contents || fs.createReadStream(file);
299
- form.append("file", contents);
297
+ form.append('file', contents);
300
298
  var options = {
301
- url: this.server + "/domoapps/designs/" + designId + "/versions/" + version + "/assets?path=" + file,
302
- method: "POST",
299
+ url: "".concat(this.server, "/domoapps/designs/").concat(designId, "/versions/").concat(version, "/assets?path=").concat(file),
300
+ method: 'POST',
303
301
  data: form,
304
302
  headers: form.getHeaders(),
305
303
  maxBodyLength: Infinity,
@@ -313,7 +311,7 @@ var Domo = /** @class */ (function () {
313
311
  // TODO: add unit test for this
314
312
  Domo.prototype.uploadAllAssets = function (manifest) {
315
313
  var _this = this;
316
- var ignore = ["**/*/node_modules/**/*", "node_modules/**/*"];
314
+ var ignore = ['**/*/node_modules/**/*', 'node_modules/**/*'];
317
315
  var userIgnore = manifest.ignore;
318
316
  if (userIgnore) {
319
317
  if (userIgnore instanceof Array) {
@@ -323,12 +321,12 @@ var Domo = /** @class */ (function () {
323
321
  return Promise.reject('The manifest.json "ignore" property must be an Array');
324
322
  }
325
323
  }
326
- var manifestUpload = _this.uploadAsset(manifest.id, manifest.version, "manifest.json", JSON.stringify(manifest));
324
+ var manifestUpload = _this.uploadAsset(manifest.id, manifest.version, 'manifest.json', JSON.stringify(manifest));
327
325
  return manifestUpload.then(function () {
328
326
  var rest = glob
329
- .sync("**/*", { ignore: ignore })
327
+ .sync('**/*', { ignore: ignore })
330
328
  .filter(function (file) {
331
- return !fs.lstatSync(file).isDirectory() && file !== "manifest.json";
329
+ return !fs.lstatSync(file).isDirectory() && file !== 'manifest.json';
332
330
  })
333
331
  .map(function (file) {
334
332
  //CATCH THE ERROR HERE
@@ -341,15 +339,15 @@ var Domo = /** @class */ (function () {
341
339
  Domo.prototype.getAsset = function (designId, version, file) {
342
340
  var options = {
343
341
  url: this.server +
344
- "/domoapps/designs/" +
342
+ '/domoapps/designs/' +
345
343
  designId +
346
- "/versions/" +
344
+ '/versions/' +
347
345
  version +
348
- "/assets/" +
346
+ '/assets/' +
349
347
  file,
350
- method: "GET",
348
+ method: 'GET',
351
349
  headers: {
352
- Accept: "application/json",
350
+ Accept: 'application/json',
353
351
  },
354
352
  };
355
353
  return this.processRequest(options);
@@ -380,12 +378,12 @@ var Domo = /** @class */ (function () {
380
378
  };
381
379
  Domo.prototype.getNewAuthorization = function () {
382
380
  var _self = this;
383
- var scope = "domoapps content domo";
381
+ var scope = 'domoapps content domo';
384
382
  //@ts-ignore
385
383
  return getAuthToken(this.server, this.clientId, scope, this.agent).then(function (resp) {
386
384
  getAuthorizationPrompt(resp);
387
- return poll(getRefreshToken, POLL_TIMEOUT, POLL_INTERVAL, _self.clientId, resp["device_code"], _self.server, _self.agent).then(function (data) {
388
- _self.refreshToken = data["refresh_token"];
385
+ return poll(getRefreshToken, POLL_TIMEOUT, POLL_INTERVAL, _self.clientId, resp['device_code'], _self.server, _self.agent).then(function (data) {
386
+ _self.refreshToken = data['refresh_token'];
389
387
  return _self.getLoginUser();
390
388
  });
391
389
  });
@@ -393,8 +391,8 @@ var Domo = /** @class */ (function () {
393
391
  // createApp currently is only used to provide proxyIds when one isn't already in the manifest
394
392
  Domo.prototype.createApp = function (designId, domoappId) {
395
393
  var options = {
396
- url: this.server + "/api/apps/v1/instances",
397
- method: "POST",
394
+ url: this.server + '/api/apps/v1/instances',
395
+ method: 'POST',
398
396
  data: {
399
397
  designId: designId,
400
398
  id: domoappId ? domoappId : null,
@@ -414,14 +412,14 @@ var Domo = /** @class */ (function () {
414
412
  }
415
413
  var options = {
416
414
  url: this.server +
417
- "/domoapps/apps?pageId=" +
415
+ '/domoapps/apps?pageId=' +
418
416
  pageId +
419
- "&cardTitle=" +
417
+ '&cardTitle=' +
420
418
  cardTitle,
421
- method: "POST",
419
+ method: 'POST',
422
420
  data: qs_1.default.stringify(data),
423
421
  headers: {
424
- "Content-Type": "application/json",
422
+ 'Content-Type': 'application/json',
425
423
  },
426
424
  };
427
425
  return this.processRequest(options);
@@ -431,8 +429,8 @@ var Domo = /** @class */ (function () {
431
429
  */
432
430
  Domo.prototype.getVersions = function (designId) {
433
431
  var options = {
434
- url: this.server + "/domoapps/designs/" + designId + "/versions",
435
- method: "GET",
432
+ url: this.server + '/domoapps/designs/' + designId + '/versions',
433
+ method: 'GET',
436
434
  };
437
435
  return this.processRequest(options);
438
436
  };
@@ -442,18 +440,18 @@ var Domo = /** @class */ (function () {
442
440
  */
443
441
  Domo.prototype.release = function (designId, version) {
444
442
  var options = {
445
- url: this.server + "/domoapps/designs/" + designId + "/release",
446
- method: "POST",
443
+ url: this.server + '/domoapps/designs/' + designId + '/release',
444
+ method: 'POST',
447
445
  };
448
446
  if (version) {
449
- options.url += "?version=" + version;
447
+ options.url += '?version=' + version;
450
448
  }
451
449
  return this.processRequest(options);
452
450
  };
453
451
  Domo.prototype.getUserInfo = function () {
454
452
  var options = {
455
- url: this.server + "/api/content/v2/users/me",
456
- method: "GET",
453
+ url: this.server + '/api/content/v2/users/me',
454
+ method: 'GET',
457
455
  };
458
456
  return this.processRequest(options);
459
457
  };
@@ -510,14 +508,14 @@ var Domo = /** @class */ (function () {
510
508
  * get user's home domo directory
511
509
  */
512
510
  Domo.getHomeDir = function () {
513
- return (process.env[process.platform == "win32" ? "USERPROFILE" : "HOME"] +
514
- "/.config/configstore");
511
+ return (process.env[process.platform == 'win32' ? 'USERPROFILE' : 'HOME'] +
512
+ '/.config/configstore');
515
513
  };
516
514
  /**
517
515
  * get user's most recent login instance
518
516
  */
519
517
  Domo.getMostRecentLogin = function () {
520
- var logins = glob.sync(Domo.getHomeDir() + "/*.json");
518
+ var logins = glob.sync(Domo.getHomeDir() + '/*.json');
521
519
  if (logins.length === 0)
522
520
  return {};
523
521
  var recent = logins.reduce(function (prev, next) {
@@ -530,8 +528,8 @@ var Domo = /** @class */ (function () {
530
528
  * @deprecated: use createApp
531
529
  */
532
530
  Domo.createUUID = function () {
533
- return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) {
534
- var r = (Math.random() * 16) | 0, v = c == "x" ? r : (r & 0x3) | 0x8;
531
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
532
+ var r = (Math.random() * 16) | 0, v = c == 'x' ? r : (r & 0x3) | 0x8;
535
533
  return v.toString(16);
536
534
  });
537
535
  };
@@ -540,14 +538,14 @@ var Domo = /** @class */ (function () {
540
538
  /****************************OAuth Requests****************************/
541
539
  function getAuthorizationPrompt(token) {
542
540
  var url = getAuthURL(token);
543
- console.log("Please authorize this login in the browser window, if not opened automatically, please visit " +
541
+ console.log('Please authorize this login in the browser window, if not opened automatically, please visit ' +
544
542
  url);
545
543
  open(url);
546
544
  }
547
545
  function getAuthToken(server, clientId, scope, agent) {
548
546
  var options = {
549
- url: server + "/api/oauth2/device_authorization",
550
- method: "POST",
547
+ url: server + '/api/oauth2/device_authorization',
548
+ method: 'POST',
551
549
  data: qs_1.default.stringify({
552
550
  client_id: clientId,
553
551
  scope: scope,
@@ -558,16 +556,16 @@ function getAuthToken(server, clientId, scope, agent) {
558
556
  return (0, axios_1.default)(options).then(verifyResponse).catch(handleError);
559
557
  }
560
558
  function getAuthURL(token) {
561
- var url = token["verification_uri"] + "?user_code=" + token["user_code"];
559
+ var url = token['verification_uri'] + '?user_code=' + token['user_code'];
562
560
  return url;
563
561
  }
564
562
  function getRefreshToken(clientId, deviceToken, server, agent) {
565
563
  var options = {
566
- url: server + "/api/oauth2/token",
567
- method: "POST",
564
+ url: server + '/api/oauth2/token',
565
+ method: 'POST',
568
566
  data: qs_1.default.stringify({
569
567
  client_id: clientId,
570
- grant_type: "device_code",
568
+ grant_type: 'device_code',
571
569
  device_code: deviceToken,
572
570
  }),
573
571
  };
@@ -577,15 +575,15 @@ function getRefreshToken(clientId, deviceToken, server, agent) {
577
575
  }
578
576
  function getAccessToken(clientId, refreshToken, server, agent) {
579
577
  var options = {
580
- url: server + "/api/oauth2/token",
581
- method: "POST",
578
+ url: server + '/api/oauth2/token',
579
+ method: 'POST',
582
580
  data: qs_1.default.stringify({
583
581
  client_id: clientId,
584
- grant_type: "refresh_token",
582
+ grant_type: 'refresh_token',
585
583
  refresh_token: refreshToken,
586
584
  }),
587
585
  headers: {
588
- "content-type": "application/x-www-form-urlencoded;charset=utf-8",
586
+ 'content-type': 'application/x-www-form-urlencoded;charset=utf-8',
589
587
  },
590
588
  };
591
589
  if (agent)
@@ -594,10 +592,10 @@ function getAccessToken(clientId, refreshToken, server, agent) {
594
592
  }
595
593
  function getSID(server, accessToken, agent) {
596
594
  var options = {
597
- url: server + "/api/oauth2/sid",
598
- method: "GET",
595
+ url: server + '/api/oauth2/sid',
596
+ method: 'GET',
599
597
  headers: {
600
- Authorization: "Bearer " + accessToken,
598
+ Authorization: "Bearer ".concat(accessToken),
601
599
  },
602
600
  };
603
601
  options.httpsAgent = agent;
@@ -608,7 +606,7 @@ function poll(fn, timeout, interval, clientId, token, server, agent) {
608
606
  interval = interval || 100;
609
607
  var checkCondition = function (resolve, reject) {
610
608
  var p = fn(clientId, token, server, agent);
611
- console.log("Waiting for browser authentication...");
609
+ console.log('Waiting for browser authentication...');
612
610
  p.then(function (resp) {
613
611
  resolve(resp);
614
612
  }, function () {
@@ -616,7 +614,7 @@ function poll(fn, timeout, interval, clientId, token, server, agent) {
616
614
  setTimeout(checkCondition, interval, resolve, reject);
617
615
  }
618
616
  else {
619
- reject(new Error("Timed out for authorization verification"));
617
+ reject(new Error('Timed out for authorization verification'));
620
618
  }
621
619
  });
622
620
  };
@@ -629,7 +627,7 @@ function getAuthHeader(clientId, refreshToken, server, devToken, agent) {
629
627
  return (getAccessToken(clientId, refreshToken, server, agent)
630
628
  //@ts-ignore
631
629
  .then(function (resp) {
632
- return getSIDHeader(server, resp["access_token"], agent);
630
+ return getSIDHeader(server, resp['access_token'], agent);
633
631
  })
634
632
  //@ts-ignore
635
633
  .catch(function (err) {
@@ -640,18 +638,18 @@ function getSIDHeader(server, accessToken, agent) {
640
638
  return (getSID(server, accessToken, agent)
641
639
  //@ts-ignore
642
640
  .then(function (resp) {
643
- var headers = { "X-Domo-Authentication": resp.sid };
641
+ var headers = { 'X-Domo-Authentication': resp.sid };
644
642
  return headers;
645
643
  }));
646
644
  }
647
645
  function getDevTokenHeader(token) {
648
- return Promise.resolve({ "X-Domo-Developer-Token": token });
646
+ return Promise.resolve({ 'X-Domo-Developer-Token': token });
649
647
  }
650
648
  function setToken(token) {
651
649
  //THIS MIGHT BE BROKEN
652
650
  var data = JSON.parse(token);
653
- if (data["refresh_token"])
654
- return data["refresh_token"];
651
+ if (data['refresh_token'])
652
+ return data['refresh_token'];
655
653
  }
656
654
  function verifyResponse(response) {
657
655
  var body = response.data;
@@ -690,22 +688,22 @@ function handleError(response) {
690
688
  return Promise.reject(handledError);
691
689
  }
692
690
  function giveFailureMessage(code, url) {
693
- var message = "";
691
+ var message = '';
694
692
  if (code != 0) {
695
693
  switch (code) {
696
694
  case 302: {
697
695
  message =
698
- "The url " +
696
+ 'The url ' +
699
697
  url +
700
- " is not currently in use. There possibly might be a typo, or it was moved.";
698
+ ' is not currently in use. There possibly might be a typo, or it was moved.';
701
699
  break;
702
700
  }
703
701
  case 403: {
704
- message = "Authentication failed, please try logging in again.";
702
+ message = 'Authentication failed, please try logging in again.';
705
703
  break;
706
704
  }
707
705
  case 401: {
708
- message = "Authentication failed, please try logging in again.";
706
+ message = 'Authentication failed, please try logging in again.';
709
707
  break;
710
708
  }
711
709
  case 502: {
@@ -1 +1 @@
1
- {"version":3,"file":"domoapps-client.js","sourceRoot":"","sources":["../../lib/domoapps-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,qGAAqG;AACrG,gDAA6E;AAC7E,6BAAgC;AAChC,2BAA8B;AAC9B,oCAAuC;AACvC,2BAA8B;AAC9B,mDAAsD;AAWtD,0CAAoB;AAEpB,IAAM,aAAa,GAAG,IAAI,CAAC;AAC3B,IAAM,YAAY,GAAG,KAAK,CAAC;AAG3B,OAAO,CAAC,GAAG,CAAC,4BAA4B,GAAG,GAAG,CAAC;AAE/C;IAQE,cACE,aAAqB,EACrB,iBAAyB,EACzB,aAAqB,EACrB,WAAoD,EACpD,aAAuB;QA0MzB,iBAAY,GAAG,UAAU,QAAgB,EAAE,MAAgB;YACzD,IAAM,OAAO,GAAuB;gBAClC,GAAG,EACD,IAAI,CAAC,MAAM;oBACX,oBAAoB;oBACpB,QAAQ;oBACR,oCAAoC;oBACpC,MAAM;gBACR,MAAM,EAAE,QAAQ;gBAChB,OAAO,EAAE;oBACP,MAAM,EAAE,kBAAkB;iBAC3B;aACF,CAAC;YACF,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC,CAAC;QAtNA,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC;QAC9B,IAAI,CAAC,MAAM,GAAG,UAAU,GAAG,aAAa,CAAC;QACzC,IAAI,CAAC,YAAY,GAAG,iBAAiB,CAAC;QACtC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC;QAC9B,IACE,WAAW;YACX,WAAW,CAAC,IAAI,IAAI,SAAS;YAC7B,WAAW,CAAC,IAAI,IAAI,SAAS,EAC7B;YACA,IAAI,CAAC,IAAI,GAAG,SAAS,G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,4 +1,4 @@
1
- export { DomoResponse, DomoRequestError, DevToken, DomoSIDHeader } from './interfaces/domo-response';
1
+ export { DomoResponse, DomoRequestError, DevToken, DomoSIDHeader, } from './interfaces/domo-response';
2
2
  export { LoginData } from './interfaces/login-data';
3
3
  export { manifest, DataPoint } from './interfaces/manifest';
4
- export { DesignAggregate } from './interfaces/domoappstypes';
4
+ export { DesignAggregate, DesignVersion } from './interfaces/domoappstypes';
File without changes
File without changes
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { ClientRequest } from "http";
3
4
  import { Url } from "url";
4
5
  export interface DomoResponse extends Response {
@@ -10,9 +10,9 @@ export declare enum Permission {
10
10
  READ = "READ",
11
11
  WRITE = "WRITE"
12
12
  }
13
- export declare type SortDirection = 'asc' | 'desc';
14
- export declare type DesignRequestOptions = 'versions' | 'owners' | 'apps' | 'cards' | 'none';
15
- export declare type AssetSection = 'appstore' | 'domoapps';
13
+ export type SortDirection = 'asc' | 'desc';
14
+ export type DesignRequestOptions = 'versions' | 'owners' | 'apps' | 'cards' | 'none';
15
+ export type AssetSection = 'appstore' | 'domoapps';
16
16
  export interface RouteParams {
17
17
  designId?: string;
18
18
  cardId?: string;
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,17 +1,22 @@
1
1
  {
2
2
  "name": "ryuu-client",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "Node client for ryuu services",
5
5
  "author": "Domo",
6
6
  "main": "lib/domoapps-client.js",
7
7
  "types": "lib/domoapps-client.d.ts",
8
+ "files": [
9
+ "lib/**/*",
10
+ "license.doc"
11
+ ],
8
12
  "scripts": {
9
13
  "test": "echo \"Error: no test specified\" && exit 1",
10
14
  "copy": "cp \"package.json\" \"./dist/\"",
11
- "build": "tsc && npm run copy",
12
- "releaseAlpha": "npm run build && cd dist && npm publish --tag alpha && cd ..",
13
- "releaseBeta": "npm run build && cd dist && npm publish --tag beta && cd ..",
14
- "release": "npm run build && cd dist && npm publish && cd .."
15
+ "build": "tsc",
16
+ "releaseAlpha": "npm run build && npm publish --tag alpha",
17
+ "releaseBeta": "npm run build && npm publish --tag beta",
18
+ "release": "npm run build && npm publish",
19
+ "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md"
15
20
  },
16
21
  "dependencies": {
17
22
  "axios": "^0.21.4",
@@ -19,15 +24,17 @@
19
24
  "form-data": "^4.0.0",
20
25
  "fs-extra": "^10.0.0",
21
26
  "glob": "^7.2.0",
22
- "https-proxy-agent": "^5.0.0",
23
- "open": "^8.3.0",
24
- "qs": "^6.10.1"
27
+ "https-proxy-agent": "^5.0.1",
28
+ "open": "^8.4.0",
29
+ "qs": "^6.11.0"
25
30
  },
26
31
  "devDependencies": {
27
- "@types/bluebird": "^3.5.36",
32
+ "@types/bluebird": "^3.5.38",
28
33
  "@types/fs-extra": "^9.0.13",
29
34
  "@types/glob": "^7.1.4",
30
35
  "@types/node": "^14.14.35",
31
- "@types/qs": "^6.9.7"
36
+ "@types/qs": "^6.9.7",
37
+ "prettier": "^2.8.1",
38
+ "typescript": "^4.9.4"
32
39
  }
33
40
  }