dymo-api 1.0.93 → 1.0.95
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/dymo-api.cjs
CHANGED
|
@@ -33,9 +33,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
const config_1 = __importStar(require("./config/index.cjs"));
|
|
36
37
|
const PublicAPI = __importStar(require("./branches/public.cjs"));
|
|
37
38
|
const PrivateAPI = __importStar(require("./branches/private.cjs"));
|
|
38
|
-
const config_1 = __importStar(require("./config/index.cjs"));
|
|
39
39
|
const customError = (code, message) => {
|
|
40
40
|
return Object.assign(new Error(), { code, message: `[${config_1.default.lib.name}] ${message}` });
|
|
41
41
|
};
|
package/dist/esm/config/index.js
CHANGED
package/dist/esm/dymo-api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import config, { setBaseUrl } from "./config/index.js";
|
|
1
2
|
import * as PublicAPI from "./branches/public.js";
|
|
2
3
|
import * as PrivateAPI from "./branches/private.js";
|
|
3
|
-
import config, { setBaseUrl } from "./config/index.js";
|
|
4
4
|
const customError = (code, message) => {
|
|
5
5
|
return Object.assign(new Error(), { code, message: `[${config.lib.name}] ${message}` });
|
|
6
6
|
};
|
package/package.json
CHANGED
package/dist/cjs/client.cjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const axios_1 = __importDefault(require("axios"));
|
|
7
|
-
const dymoClient = axios_1.default.create({
|
|
8
|
-
baseURL: 'https://api.tpeoficial.com/v1',
|
|
9
|
-
headers: {
|
|
10
|
-
'User-Agent': 'DymoAPISDK',
|
|
11
|
-
'Content-Type': 'application/json'
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
exports.default = dymoClient;
|
package/dist/esm/client.js
DELETED
package/dist/types/client.d.ts
DELETED