@metagptx/web-sdk 0.0.6 → 0.0.7
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -278,7 +278,7 @@ const response = await client.apiCall.invoke({
|
|
|
278
278
|
const response = await client.apiCall.invoke({
|
|
279
279
|
url: '/api/v1/custom/action',
|
|
280
280
|
method: 'POST',
|
|
281
|
-
data: {
|
|
281
|
+
data: { key1: 'value1', key2: 'value2' },
|
|
282
282
|
options: {
|
|
283
283
|
headers: { 'X-Custom-Header': 'value' },
|
|
284
284
|
},
|
|
@@ -289,8 +289,8 @@ const response = await client.apiCall.invoke({
|
|
|
289
289
|
url: '/api/v1/custom/action',
|
|
290
290
|
method: 'POST',
|
|
291
291
|
data: [
|
|
292
|
-
{
|
|
293
|
-
{
|
|
292
|
+
{ key1: 'value1', key2: 'value2' },
|
|
293
|
+
{ key1: 'value3', key2: 'value4' }
|
|
294
294
|
],
|
|
295
295
|
options: {
|
|
296
296
|
headers: { 'X-Custom-Header': 'value' },
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metagptx/web-sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.7",
|
|
5
5
|
"packageManager": "pnpm@10.15.0+sha512.486ebc259d3e999a4e8691ce03b5cac4a71cbeca39372a9b762cb500cfdf0873e2cb16abe3d951b1ee2cf012503f027b98b6584e4df22524e0c7450d9ec7aa7b",
|
|
6
6
|
"description": "TypeScript SDK for interacting with FuncSea API",
|
|
7
7
|
"author": "MetaGPTX",
|