@discomedia/utils 1.0.35 → 1.0.36
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-frontend.cjs +5 -5
- package/dist/index-frontend.cjs.map +1 -1
- package/dist/index-frontend.mjs +5 -5
- package/dist/index-frontend.mjs.map +1 -1
- package/dist/index.cjs +22 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +22 -5
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +3 -3
- package/dist/test.js +22 -5
- package/dist/test.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/market-time.d.ts +14 -0
- package/dist/types/market-time.d.ts.map +1 -1
- package/dist/types-frontend/index.d.ts +1 -0
- package/dist/types-frontend/index.d.ts.map +1 -1
- package/dist/types-frontend/market-time.d.ts +14 -0
- package/dist/types-frontend/market-time.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index-frontend.mjs
CHANGED
|
@@ -267,7 +267,7 @@ const safeJSON = (text) => {
|
|
|
267
267
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
268
268
|
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
269
269
|
|
|
270
|
-
const VERSION = '5.
|
|
270
|
+
const VERSION = '5.23.1'; // x-release-please-version
|
|
271
271
|
|
|
272
272
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
273
273
|
const isRunningInBrowser = () => {
|
|
@@ -4774,23 +4774,23 @@ class Conversations extends APIResource {
|
|
|
4774
4774
|
/**
|
|
4775
4775
|
* Create a conversation.
|
|
4776
4776
|
*/
|
|
4777
|
-
create(body, options) {
|
|
4777
|
+
create(body = {}, options) {
|
|
4778
4778
|
return this._client.post('/conversations', { body, ...options });
|
|
4779
4779
|
}
|
|
4780
4780
|
/**
|
|
4781
|
-
* Get a conversation
|
|
4781
|
+
* Get a conversation
|
|
4782
4782
|
*/
|
|
4783
4783
|
retrieve(conversationID, options) {
|
|
4784
4784
|
return this._client.get(path `/conversations/${conversationID}`, options);
|
|
4785
4785
|
}
|
|
4786
4786
|
/**
|
|
4787
|
-
* Update a conversation
|
|
4787
|
+
* Update a conversation
|
|
4788
4788
|
*/
|
|
4789
4789
|
update(conversationID, body, options) {
|
|
4790
4790
|
return this._client.post(path `/conversations/${conversationID}`, { body, ...options });
|
|
4791
4791
|
}
|
|
4792
4792
|
/**
|
|
4793
|
-
* Delete a conversation
|
|
4793
|
+
* Delete a conversation. Items in the conversation will not be deleted.
|
|
4794
4794
|
*/
|
|
4795
4795
|
delete(conversationID, options) {
|
|
4796
4796
|
return this._client.delete(path `/conversations/${conversationID}`, options);
|