agentref 1.0.0 → 1.0.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.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +7 -3
package/dist/index.cjs
CHANGED
|
@@ -93,7 +93,7 @@ var SAFE_METHODS = /* @__PURE__ */ new Set(["GET", "HEAD"]);
|
|
|
93
93
|
var DEFAULT_BASE_URL = "https://www.agentref.dev/api/v1";
|
|
94
94
|
var DEFAULT_TIMEOUT = 3e4;
|
|
95
95
|
var DEFAULT_MAX_RETRIES = 2;
|
|
96
|
-
var VERSION = true ? "1.0.
|
|
96
|
+
var VERSION = true ? "1.0.2" : "0.0.0";
|
|
97
97
|
var HttpClient = class {
|
|
98
98
|
constructor(config = {}) {
|
|
99
99
|
if (typeof window !== "undefined" && !config.dangerouslyAllowBrowser) {
|
package/dist/index.mjs
CHANGED
|
@@ -59,7 +59,7 @@ var SAFE_METHODS = /* @__PURE__ */ new Set(["GET", "HEAD"]);
|
|
|
59
59
|
var DEFAULT_BASE_URL = "https://www.agentref.dev/api/v1";
|
|
60
60
|
var DEFAULT_TIMEOUT = 3e4;
|
|
61
61
|
var DEFAULT_MAX_RETRIES = 2;
|
|
62
|
-
var VERSION = true ? "1.0.
|
|
62
|
+
var VERSION = true ? "1.0.2" : "0.0.0";
|
|
63
63
|
var HttpClient = class {
|
|
64
64
|
constructor(config = {}) {
|
|
65
65
|
if (typeof window !== "undefined" && !config.dangerouslyAllowBrowser) {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentref",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Official TypeScript/JavaScript SDK for the AgentRef Affiliate API",
|
|
5
5
|
"author": "AgentRef <hi@agentref.dev>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/
|
|
9
|
+
"url": "https://github.com/LukasvanUden/agentref-node"
|
|
10
10
|
},
|
|
11
11
|
"main": "./dist/index.cjs",
|
|
12
12
|
"module": "./dist/index.mjs",
|
|
@@ -18,7 +18,11 @@
|
|
|
18
18
|
"require": "./dist/index.cjs"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
-
"files": [
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"README.md",
|
|
24
|
+
"CHANGELOG.md"
|
|
25
|
+
],
|
|
22
26
|
"scripts": {
|
|
23
27
|
"build": "tsup",
|
|
24
28
|
"dev": "tsup --watch",
|