@moonbase.sh/licensing 3.2.0 → 3.2.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/dist/index.cjs +4 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -68,6 +68,9 @@ var import_node_process3 = __toESM(require("process"), 1);
|
|
|
68
68
|
// src/client.ts
|
|
69
69
|
var import_cross_fetch = __toESM(require("cross-fetch"), 1);
|
|
70
70
|
|
|
71
|
+
// package.json
|
|
72
|
+
var version = "3.2.1";
|
|
73
|
+
|
|
71
74
|
// src/errors.ts
|
|
72
75
|
var ErrorType = /* @__PURE__ */ ((ErrorType2) => {
|
|
73
76
|
ErrorType2["None"] = "None";
|
|
@@ -160,7 +163,7 @@ var defaultFetchOptions = {
|
|
|
160
163
|
headers: {
|
|
161
164
|
"Accept": "application/json",
|
|
162
165
|
"Content-Type": "application/json",
|
|
163
|
-
"x-mb-client":
|
|
166
|
+
"x-mb-client": `@moonbase.sh/licensing/${version}`
|
|
164
167
|
}
|
|
165
168
|
};
|
|
166
169
|
var LicenseClient = class {
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,9 @@ import process3 from "process";
|
|
|
5
5
|
// src/client.ts
|
|
6
6
|
import fetch from "cross-fetch";
|
|
7
7
|
|
|
8
|
+
// package.json
|
|
9
|
+
var version = "3.2.1";
|
|
10
|
+
|
|
8
11
|
// src/errors.ts
|
|
9
12
|
var ErrorType = /* @__PURE__ */ ((ErrorType2) => {
|
|
10
13
|
ErrorType2["None"] = "None";
|
|
@@ -97,7 +100,7 @@ var defaultFetchOptions = {
|
|
|
97
100
|
headers: {
|
|
98
101
|
"Accept": "application/json",
|
|
99
102
|
"Content-Type": "application/json",
|
|
100
|
-
"x-mb-client":
|
|
103
|
+
"x-mb-client": `@moonbase.sh/licensing/${version}`
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
106
|
var LicenseClient = class {
|
package/package.json
CHANGED