@ddysiodev/js-sdk 0.1.0 → 0.1.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/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -80,7 +80,7 @@ const request = await ddys.requests.create({
|
|
|
80
80
|
console.log(request.url);
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
Public display features do not require an API key. For write endpoints, configure the key on your server or Worker.
|
|
84
84
|
|
|
85
85
|
## Custom API Base URL
|
|
86
86
|
|
package/README.zh-CN.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const DEFAULT_BASE_URL = 'https://ddys.io/api/v1';
|
|
2
2
|
const DEFAULT_TIMEOUT_MS = 15000;
|
|
3
|
-
const DEFAULT_USER_AGENT = '@ddysiodev/js-sdk/0.1.
|
|
3
|
+
const DEFAULT_USER_AGENT = '@ddysiodev/js-sdk/0.1.1';
|
|
4
4
|
|
|
5
5
|
class DdysApiError extends Error {
|
|
6
6
|
constructor(message, options = {}) {
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const DEFAULT_BASE_URL = 'https://ddys.io/api/v1';
|
|
2
2
|
const DEFAULT_TIMEOUT_MS = 15000;
|
|
3
|
-
const DEFAULT_USER_AGENT = '@ddysiodev/js-sdk/0.1.
|
|
3
|
+
const DEFAULT_USER_AGENT = '@ddysiodev/js-sdk/0.1.1';
|
|
4
4
|
|
|
5
5
|
class DdysApiError extends Error {
|
|
6
6
|
constructor(message, options = {}) {
|