@valtown/sdk 0.25.1 → 0.26.0
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/CHANGELOG.md +13 -0
- package/index.d.mts +5 -5
- package/index.d.ts +5 -5
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +5 -5
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.26.0 (2025-01-29)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.25.1...v0.26.0](https://github.com/val-town/sdk/compare/v0.25.1...v0.26.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([#485](https://github.com/val-town/sdk/issues/485)) ([af92356](https://github.com/val-town/sdk/commit/af923567bfe247428c48d04f9f7c8b307a68f5eb))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **internal:** codegen related update ([#483](https://github.com/val-town/sdk/issues/483)) ([7855de2](https://github.com/val-town/sdk/commit/7855de213cded386c6453fe4ac78b1d303e94c62))
|
|
15
|
+
|
|
3
16
|
## 0.25.1 (2025-01-15)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v0.25.0...v0.25.1](https://github.com/val-town/sdk/compare/v0.25.0...v0.25.1)
|
package/index.d.mts
CHANGED
|
@@ -31,14 +31,14 @@ export interface ClientOptions {
|
|
|
31
31
|
* Note that request timeouts are retried by default, so in a worst-case scenario you may wait
|
|
32
32
|
* much longer than this timeout before the promise succeeds or fails.
|
|
33
33
|
*/
|
|
34
|
-
timeout?: number;
|
|
34
|
+
timeout?: number | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* An HTTP agent used to manage HTTP(S) connections.
|
|
37
37
|
*
|
|
38
38
|
* If not provided, an agent will be constructed by default in the Node.js environment,
|
|
39
39
|
* otherwise no agent is used.
|
|
40
40
|
*/
|
|
41
|
-
httpAgent?: Agent;
|
|
41
|
+
httpAgent?: Agent | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* Specify a custom `fetch` function implementation.
|
|
44
44
|
*
|
|
@@ -52,21 +52,21 @@ export interface ClientOptions {
|
|
|
52
52
|
*
|
|
53
53
|
* @default 2
|
|
54
54
|
*/
|
|
55
|
-
maxRetries?: number;
|
|
55
|
+
maxRetries?: number | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* Default headers to include with every request to the API.
|
|
58
58
|
*
|
|
59
59
|
* These can be removed in individual requests by explicitly setting the
|
|
60
60
|
* header to `undefined` or `null` in request options.
|
|
61
61
|
*/
|
|
62
|
-
defaultHeaders?: Core.Headers;
|
|
62
|
+
defaultHeaders?: Core.Headers | undefined;
|
|
63
63
|
/**
|
|
64
64
|
* Default query parameters to include with every request to the API.
|
|
65
65
|
*
|
|
66
66
|
* These can be removed in individual requests by explicitly setting the
|
|
67
67
|
* param to `undefined` in request options.
|
|
68
68
|
*/
|
|
69
|
-
defaultQuery?: Core.DefaultQuery;
|
|
69
|
+
defaultQuery?: Core.DefaultQuery | undefined;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* API Client for interfacing with the Val Town API.
|
package/index.d.ts
CHANGED
|
@@ -31,14 +31,14 @@ export interface ClientOptions {
|
|
|
31
31
|
* Note that request timeouts are retried by default, so in a worst-case scenario you may wait
|
|
32
32
|
* much longer than this timeout before the promise succeeds or fails.
|
|
33
33
|
*/
|
|
34
|
-
timeout?: number;
|
|
34
|
+
timeout?: number | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* An HTTP agent used to manage HTTP(S) connections.
|
|
37
37
|
*
|
|
38
38
|
* If not provided, an agent will be constructed by default in the Node.js environment,
|
|
39
39
|
* otherwise no agent is used.
|
|
40
40
|
*/
|
|
41
|
-
httpAgent?: Agent;
|
|
41
|
+
httpAgent?: Agent | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* Specify a custom `fetch` function implementation.
|
|
44
44
|
*
|
|
@@ -52,21 +52,21 @@ export interface ClientOptions {
|
|
|
52
52
|
*
|
|
53
53
|
* @default 2
|
|
54
54
|
*/
|
|
55
|
-
maxRetries?: number;
|
|
55
|
+
maxRetries?: number | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* Default headers to include with every request to the API.
|
|
58
58
|
*
|
|
59
59
|
* These can be removed in individual requests by explicitly setting the
|
|
60
60
|
* header to `undefined` or `null` in request options.
|
|
61
61
|
*/
|
|
62
|
-
defaultHeaders?: Core.Headers;
|
|
62
|
+
defaultHeaders?: Core.Headers | undefined;
|
|
63
63
|
/**
|
|
64
64
|
* Default query parameters to include with every request to the API.
|
|
65
65
|
*
|
|
66
66
|
* These can be removed in individual requests by explicitly setting the
|
|
67
67
|
* param to `undefined` in request options.
|
|
68
68
|
*/
|
|
69
|
-
defaultQuery?: Core.DefaultQuery;
|
|
69
|
+
defaultQuery?: Core.DefaultQuery | undefined;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* API Client for interfacing with the Val Town API.
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,SAAS,CAAC;AAClC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC/E,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,GAAG,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,e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,GAAG,GAAG,CAAC,eAAe,CAAC;IAClD,MAAM,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;IACtC,MAAM,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;CAC7B;AAED,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EACL,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,SAAS,CAAC;AAEjB,eAAe,OAAO,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -42,7 +42,7 @@ export interface ClientOptions {
|
|
|
42
42
|
* Note that request timeouts are retried by default, so in a worst-case scenario you may wait
|
|
43
43
|
* much longer than this timeout before the promise succeeds or fails.
|
|
44
44
|
*/
|
|
45
|
-
timeout?: number;
|
|
45
|
+
timeout?: number | undefined;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* An HTTP agent used to manage HTTP(S) connections.
|
|
@@ -50,7 +50,7 @@ export interface ClientOptions {
|
|
|
50
50
|
* If not provided, an agent will be constructed by default in the Node.js environment,
|
|
51
51
|
* otherwise no agent is used.
|
|
52
52
|
*/
|
|
53
|
-
httpAgent?: Agent;
|
|
53
|
+
httpAgent?: Agent | undefined;
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* Specify a custom `fetch` function implementation.
|
|
@@ -66,7 +66,7 @@ export interface ClientOptions {
|
|
|
66
66
|
*
|
|
67
67
|
* @default 2
|
|
68
68
|
*/
|
|
69
|
-
maxRetries?: number;
|
|
69
|
+
maxRetries?: number | undefined;
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* Default headers to include with every request to the API.
|
|
@@ -74,7 +74,7 @@ export interface ClientOptions {
|
|
|
74
74
|
* These can be removed in individual requests by explicitly setting the
|
|
75
75
|
* header to `undefined` or `null` in request options.
|
|
76
76
|
*/
|
|
77
|
-
defaultHeaders?: Core.Headers;
|
|
77
|
+
defaultHeaders?: Core.Headers | undefined;
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
80
|
* Default query parameters to include with every request to the API.
|
|
@@ -82,7 +82,7 @@ export interface ClientOptions {
|
|
|
82
82
|
* These can be removed in individual requests by explicitly setting the
|
|
83
83
|
* param to `undefined` in request options.
|
|
84
84
|
*/
|
|
85
|
-
defaultQuery?: Core.DefaultQuery;
|
|
85
|
+
defaultQuery?: Core.DefaultQuery | undefined;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
/**
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.26.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.26.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.26.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|