@pittica/google-business-intelligence-csv 1.4.1 → 1.4.2

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/dist/index.js CHANGED
@@ -22,8 +22,8 @@ const {
22
22
  file
23
23
  } = require("./scripts/file");
24
24
  const {
25
- process
26
- } = require("./scripts/process");
25
+ csv
26
+ } = require("./scripts/csv");
27
27
  const {
28
28
  bootstrap
29
29
  } = require("./scripts/bootstrap");
@@ -50,7 +50,7 @@ exports.scripts = {
50
50
  bulk,
51
51
  day,
52
52
  file,
53
- process,
53
+ csv,
54
54
  bootstrap,
55
55
  upload,
56
56
  clean,
@@ -12,9 +12,16 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
 
15
+ const {
16
+ file
17
+ } = require("./file");
18
+ const {
19
+ bulk
20
+ } = require("./bulk");
21
+
15
22
  /**
16
23
  * Processes all CSV files in upload bucket bucket or the given file.
17
24
  *
18
25
  * @param {string} filename Element name.
19
26
  */
20
- exports.process = async filename => filename ? await file(filename) : await bulk();
27
+ exports.csv = async filename => filename ? await file(filename) : await bulk();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pittica/google-business-intelligence-csv",
3
3
  "private": false,
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "description": "CSV importer for business intelligence for Google Cloud.",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {