@iiasa/ixmp4-ts 0.1.2 → 0.1.3
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/cjs/backend.js +2 -3
- package/dist/esm/backend.js +2 -3
- package/package.json +2 -2
package/dist/cjs/backend.js
CHANGED
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.Backend = void 0;
|
|
16
16
|
const axios_1 = __importDefault(require("axios"));
|
|
17
|
-
const
|
|
17
|
+
const query_string_1 = __importDefault(require("query-string"));
|
|
18
18
|
const run_1 = require("./data/run");
|
|
19
19
|
const datapoint_1 = require("./data/iamc/datapoint");
|
|
20
20
|
const model_1 = require("./data/model");
|
|
@@ -49,8 +49,7 @@ class Backend {
|
|
|
49
49
|
timeout: 0,
|
|
50
50
|
withCredentials: !anonymous,
|
|
51
51
|
paramsSerializer: (q) => {
|
|
52
|
-
return
|
|
53
|
-
format: 'RFC1738',
|
|
52
|
+
return query_string_1.default.stringify(q, {
|
|
54
53
|
arrayFormat: 'comma',
|
|
55
54
|
encode: false,
|
|
56
55
|
});
|
package/dist/esm/backend.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
|
-
import
|
|
2
|
+
import queryString from 'query-string';
|
|
3
3
|
import { RunRepository } from './data/run';
|
|
4
4
|
import { DataPointRepository } from './data/iamc/datapoint';
|
|
5
5
|
import { ModelRepository } from './data/model';
|
|
@@ -42,8 +42,7 @@ class Backend {
|
|
|
42
42
|
timeout: 0,
|
|
43
43
|
withCredentials: !anonymous,
|
|
44
44
|
paramsSerializer: (q) => {
|
|
45
|
-
return
|
|
46
|
-
format: 'RFC1738',
|
|
45
|
+
return queryString.stringify(q, {
|
|
47
46
|
arrayFormat: 'comma',
|
|
48
47
|
encode: false,
|
|
49
48
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iiasa/ixmp4-ts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "typescript client for ixmp4, a data warehouse for scenario analysis",
|
|
6
6
|
"repository": {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"dependencies": {
|
|
99
99
|
"axios": "^1.6.2",
|
|
100
100
|
"danfojs": "file:deps/danfojs/src/danfojs-browser",
|
|
101
|
-
"
|
|
101
|
+
"query-string": "^8.2.0"
|
|
102
102
|
},
|
|
103
103
|
"bundleDependencies": [
|
|
104
104
|
"danfojs"
|