@constructor-io/constructorio-node 4.3.1 → 4.4.0
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 +2 -2
- package/src/constructorio.js +1 -1
- package/src/.DS_Store +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructor-io/constructorio-node",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "Constructor.io Node.js client",
|
|
5
5
|
"main": "src/constructorio.js",
|
|
6
6
|
"types": "src/types/constructorio.d.ts",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"form-data": "^4.0.0",
|
|
60
60
|
"node-abort-controller": "^3.0.0",
|
|
61
|
-
"node-fetch": "^
|
|
61
|
+
"node-fetch": "^3.3.0",
|
|
62
62
|
"qs": "6.9.7"
|
|
63
63
|
},
|
|
64
64
|
"tsd": {
|
package/src/constructorio.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable camelcase, no-unneeded-ternary, max-len */
|
|
2
|
-
const nodeFetch =
|
|
2
|
+
const nodeFetch = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args));
|
|
3
3
|
|
|
4
4
|
// Modules
|
|
5
5
|
const Search = require('./modules/search');
|
package/src/.DS_Store
DELETED
|
Binary file
|