@cjavdev/believe 0.12.0 → 0.13.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 +8 -0
- package/package.json +1 -1
- package/resources/client/ws.d.mts +19 -0
- package/resources/client/ws.d.mts.map +1 -1
- package/resources/client/ws.d.ts +19 -0
- package/resources/client/ws.d.ts.map +1 -1
- package/resources/client/ws.js +23 -0
- package/resources/client/ws.js.map +1 -1
- package/resources/client/ws.mjs +23 -0
- package/resources/client/ws.mjs.map +1 -1
- package/src/resources/client/ws.ts +27 -1
- package/src/version.ts +1 -1
- package/version.d.mts +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,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.0 (2026-02-21)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.12.0...v0.13.0](https://github.com/cjavdev/believe-typescript/compare/v0.12.0...v0.13.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([25f52f6](https://github.com/cjavdev/believe-typescript/commit/25f52f65834f4ceccc49b4218834b20ed6416c98))
|
|
10
|
+
|
|
3
11
|
## 0.12.0 (2026-02-21)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.11.0...v0.12.0](https://github.com/cjavdev/believe-typescript/compare/v0.11.0...v0.12.0)
|
package/package.json
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
2
4
|
export declare class Ws extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Simple WebSocket test endpoint for connectivity testing.
|
|
7
|
+
*
|
|
8
|
+
* Connect to test WebSocket functionality. The server will:
|
|
9
|
+
*
|
|
10
|
+
* 1. Send a welcome message on connection
|
|
11
|
+
* 2. Echo back any message you send
|
|
12
|
+
*
|
|
13
|
+
* ## Example
|
|
14
|
+
*
|
|
15
|
+
* ```javascript
|
|
16
|
+
* const ws = new WebSocket("ws://localhost:8000/ws/test");
|
|
17
|
+
* ws.onmessage = (event) => console.log(event.data);
|
|
18
|
+
* ws.send("Hello!"); // Server responds with echo
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
test(options?: RequestOptions): APIPromise<void>;
|
|
3
22
|
}
|
|
4
23
|
//# sourceMappingURL=ws.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ws.d.mts","sourceRoot":"","sources":["../../src/resources/client/ws.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"ws.d.mts","sourceRoot":"","sources":["../../src/resources/client/ws.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMjD"}
|
package/resources/client/ws.d.ts
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
2
4
|
export declare class Ws extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Simple WebSocket test endpoint for connectivity testing.
|
|
7
|
+
*
|
|
8
|
+
* Connect to test WebSocket functionality. The server will:
|
|
9
|
+
*
|
|
10
|
+
* 1. Send a welcome message on connection
|
|
11
|
+
* 2. Echo back any message you send
|
|
12
|
+
*
|
|
13
|
+
* ## Example
|
|
14
|
+
*
|
|
15
|
+
* ```javascript
|
|
16
|
+
* const ws = new WebSocket("ws://localhost:8000/ws/test");
|
|
17
|
+
* ws.onmessage = (event) => console.log(event.data);
|
|
18
|
+
* ws.send("Hello!"); // Server responds with echo
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
test(options?: RequestOptions): APIPromise<void>;
|
|
3
22
|
}
|
|
4
23
|
//# sourceMappingURL=ws.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ws.d.ts","sourceRoot":"","sources":["../../src/resources/client/ws.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"ws.d.ts","sourceRoot":"","sources":["../../src/resources/client/ws.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMjD"}
|
package/resources/client/ws.js
CHANGED
|
@@ -3,7 +3,30 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Ws = void 0;
|
|
5
5
|
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../internal/headers.js");
|
|
6
7
|
class Ws extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Simple WebSocket test endpoint for connectivity testing.
|
|
10
|
+
*
|
|
11
|
+
* Connect to test WebSocket functionality. The server will:
|
|
12
|
+
*
|
|
13
|
+
* 1. Send a welcome message on connection
|
|
14
|
+
* 2. Echo back any message you send
|
|
15
|
+
*
|
|
16
|
+
* ## Example
|
|
17
|
+
*
|
|
18
|
+
* ```javascript
|
|
19
|
+
* const ws = new WebSocket("ws://localhost:8000/ws/test");
|
|
20
|
+
* ws.onmessage = (event) => console.log(event.data);
|
|
21
|
+
* ws.send("Hello!"); // Server responds with echo
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
test(options) {
|
|
25
|
+
return this._client.get('/ws/test', {
|
|
26
|
+
...options,
|
|
27
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
28
|
+
});
|
|
29
|
+
}
|
|
7
30
|
}
|
|
8
31
|
exports.Ws = Ws;
|
|
9
32
|
//# sourceMappingURL=ws.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ws.js","sourceRoot":"","sources":["../../src/resources/client/ws.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,MAAa,EAAG,SAAQ,sBAAW;
|
|
1
|
+
{"version":3,"file":"ws.js","sourceRoot":"","sources":["../../src/resources/client/ws.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,uDAAsD;AAGtD,MAAa,EAAG,SAAQ,sBAAW;IACjC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE;YAClC,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAvBD,gBAuBC"}
|
package/resources/client/ws.mjs
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../internal/headers.mjs";
|
|
3
4
|
export class Ws extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Simple WebSocket test endpoint for connectivity testing.
|
|
7
|
+
*
|
|
8
|
+
* Connect to test WebSocket functionality. The server will:
|
|
9
|
+
*
|
|
10
|
+
* 1. Send a welcome message on connection
|
|
11
|
+
* 2. Echo back any message you send
|
|
12
|
+
*
|
|
13
|
+
* ## Example
|
|
14
|
+
*
|
|
15
|
+
* ```javascript
|
|
16
|
+
* const ws = new WebSocket("ws://localhost:8000/ws/test");
|
|
17
|
+
* ws.onmessage = (event) => console.log(event.data);
|
|
18
|
+
* ws.send("Hello!"); // Server responds with echo
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
test(options) {
|
|
22
|
+
return this._client.get('/ws/test', {
|
|
23
|
+
...options,
|
|
24
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
25
|
+
});
|
|
26
|
+
}
|
|
4
27
|
}
|
|
5
28
|
//# sourceMappingURL=ws.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ws.mjs","sourceRoot":"","sources":["../../src/resources/client/ws.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"ws.mjs","sourceRoot":"","sources":["../../src/resources/client/ws.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;;OAeG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE;YAClC,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
4
7
|
|
|
5
|
-
export class Ws extends APIResource {
|
|
8
|
+
export class Ws extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Simple WebSocket test endpoint for connectivity testing.
|
|
11
|
+
*
|
|
12
|
+
* Connect to test WebSocket functionality. The server will:
|
|
13
|
+
*
|
|
14
|
+
* 1. Send a welcome message on connection
|
|
15
|
+
* 2. Echo back any message you send
|
|
16
|
+
*
|
|
17
|
+
* ## Example
|
|
18
|
+
*
|
|
19
|
+
* ```javascript
|
|
20
|
+
* const ws = new WebSocket("ws://localhost:8000/ws/test");
|
|
21
|
+
* ws.onmessage = (event) => console.log(event.data);
|
|
22
|
+
* ws.send("Hello!"); // Server responds with echo
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
test(options?: RequestOptions): APIPromise<void> {
|
|
26
|
+
return this._client.get('/ws/test', {
|
|
27
|
+
...options,
|
|
28
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.13.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.13.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.13.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.13.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|