fix: update all branding from lumbridgecorp to karti-ai
This commit is contained in:
+12
-12
@@ -18,7 +18,7 @@ Complete reference for the Enhanced Mattermost Extension API.
|
||||
Edit an existing message posted by the bot.
|
||||
|
||||
```typescript
|
||||
import { editMessage } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { editMessage } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
const result = await editMessage({
|
||||
cfg: OpenClawConfig,
|
||||
@@ -81,7 +81,7 @@ if (result.ok) {
|
||||
Delete a message posted by the bot.
|
||||
|
||||
```typescript
|
||||
import { deleteMessage } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { deleteMessage } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
const result = await deleteMessage({
|
||||
cfg: OpenClawConfig,
|
||||
@@ -135,7 +135,7 @@ if (result.ok) {
|
||||
Download a file from Mattermost with security validations.
|
||||
|
||||
```typescript
|
||||
import { downloadFile } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { downloadFile } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
const result = await downloadFile({
|
||||
cfg: OpenClawConfig,
|
||||
@@ -229,7 +229,7 @@ if (result.ok) {
|
||||
Send a message to a Mattermost channel.
|
||||
|
||||
```typescript
|
||||
import { sendMessage } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { sendMessage } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
await sendMessage({
|
||||
cfg: OpenClawConfig,
|
||||
@@ -272,7 +272,7 @@ await sendMessage({
|
||||
Add an emoji reaction to a message.
|
||||
|
||||
```typescript
|
||||
import { addReaction } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { addReaction } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
await addReaction({
|
||||
cfg: OpenClawConfig,
|
||||
@@ -299,7 +299,7 @@ await addReaction({
|
||||
Upload a file to Mattermost.
|
||||
|
||||
```typescript
|
||||
import { uploadFile } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { uploadFile } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
const fileInfo = await uploadFile({
|
||||
cfg: OpenClawConfig,
|
||||
@@ -605,7 +605,7 @@ class MattermostError extends Error {
|
||||
### Using Error Boundaries
|
||||
|
||||
```typescript
|
||||
import { globalErrorBoundary, MattermostError } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { globalErrorBoundary, MattermostError } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
// Register error handler
|
||||
const unsubscribe = globalErrorBoundary.onError((error) => {
|
||||
@@ -632,7 +632,7 @@ disunsubscribe();
|
||||
### Retry Configuration
|
||||
|
||||
```typescript
|
||||
import { withRetry } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { withRetry } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
const result = await withRetry(
|
||||
'my-operation',
|
||||
@@ -661,7 +661,7 @@ const result = await withRetry(
|
||||
Run a comprehensive security audit on your configuration:
|
||||
|
||||
```typescript
|
||||
import { collectMattermostSecurityAuditFindings } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { collectMattermostSecurityAuditFindings } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
const findings = await collectMattermostSecurityAuditFindings({
|
||||
cfg: OpenClawConfig,
|
||||
@@ -711,7 +711,7 @@ type SecurityAuditFinding = {
|
||||
import {
|
||||
collectMattermostSecurityAuditFindings,
|
||||
collectAllMattermostSecurityAuditFindings
|
||||
} from '@lumbridgecorp/openclaw-mattermost';
|
||||
} from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
// Audit single account
|
||||
const findings = await collectMattermostSecurityAuditFindings({
|
||||
@@ -747,7 +747,7 @@ for (const finding of critical) {
|
||||
Create a low-level Mattermost API client:
|
||||
|
||||
```typescript
|
||||
import { createMattermostClient } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { createMattermostClient } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
const client = createMattermostClient({
|
||||
baseUrl: string;
|
||||
@@ -860,5 +860,5 @@ import {
|
||||
// Retry types
|
||||
RetryConfig,
|
||||
RetryAttemptInfo
|
||||
} from '@lumbridgecorp/openclaw-mattermost';
|
||||
} from '@karti-ai/openclaw-mattermost';
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user