fix: add publish.sh, change default baseUrl to mesa.armco.dev
All checks were successful
armco-org/mesa-client-sdk/pipeline/head This commit looks good
All checks were successful
armco-org/mesa-client-sdk/pipeline/head This commit looks good
This commit is contained in:
@@ -36,7 +36,7 @@ await mesa.send({
|
||||
```typescript
|
||||
const mesa = new MesaClient({
|
||||
apiKey: 'your-api-key', // Required
|
||||
baseUrl: 'https://custom.api.url', // Optional (default: https://api.armco.dev)
|
||||
baseUrl: 'https://custom.api.url', // Optional (default: https://mesa.armco.dev)
|
||||
timeout: 30000, // Optional (default: 30000ms)
|
||||
retries: 3, // Optional (default: 3)
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@armco/mesa-sdk",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "Official Node.js SDK for Sandesh/Mesa Email Platform",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
||||
@@ -8,7 +8,7 @@ import type {
|
||||
WebhookPayload,
|
||||
} from './types';
|
||||
|
||||
const DEFAULT_BASE_URL = 'https://api.armco.dev';
|
||||
const DEFAULT_BASE_URL = 'https://mesa.armco.dev';
|
||||
const DEFAULT_TIMEOUT = 30000;
|
||||
const DEFAULT_RETRIES = 3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user