@devotel/devhub
Advanced tools
+1
-1
| { | ||
| "name": "@devotel/devhub", | ||
| "version": "0.0.1", | ||
| "version": "0.0.2", | ||
| "description": "Node.js SDK for DevHub Communication API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+9
-9
@@ -8,3 +8,3 @@ # DevHub Node.js SDK | ||
| ```bash | ||
| npm install @devoteldevhub/devhub | ||
| npm install @devotel/devhub | ||
| ``` | ||
@@ -15,6 +15,6 @@ | ||
| ```javascript | ||
| import DevHubSDK from '@devoteldevhub/devhub'; | ||
| import DevHubSDK from "@devotel/devhub"; | ||
| const devhub = new DevHubSDK({ | ||
| apiKey: 'your-api-key' | ||
| apiKey: "your-api-key", | ||
| }); | ||
@@ -142,3 +142,3 @@ | ||
| to: "+1234567890", | ||
| content: { text: "Hello from RCS!" } | ||
| content: { text: "Hello from RCS!" }, | ||
| }); | ||
@@ -149,3 +149,3 @@ | ||
| name: "greeting", | ||
| content: "Hello {{name}}!" | ||
| content: "Hello {{name}}!", | ||
| }); | ||
@@ -163,3 +163,3 @@ ``` | ||
| name: "VIP Customers", | ||
| description: "High value customers" | ||
| description: "High value customers", | ||
| }); | ||
@@ -169,3 +169,3 @@ | ||
| await devhub.contactGroups.updateContactGroup("group-id", { | ||
| name: "Premium Customers" | ||
| name: "Premium Customers", | ||
| }); | ||
@@ -182,4 +182,4 @@ ``` | ||
| to: "+1234567890", | ||
| message: "Hello!" | ||
| } | ||
| message: "Hello!", | ||
| }, | ||
| }); | ||
@@ -186,0 +186,0 @@ ``` |
45741
-0.01%