Skip to content

Commit

Permalink
Merge pull request #42 from ebebbington/release
Browse files Browse the repository at this point in the history
bump versions
  • Loading branch information
ebebbington committed Jan 4, 2021
2 parents d2363cf + ff50a73 commit 5a4db15
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ DAMI would return it like:
## QuickStart

```typescript
import { DAMI, Action, Event } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import { DAMI, Action, Event } from "https://deno.land/x/dami@v4.1.0/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.1.0/mod.ts";

const myPbx = {
hostname: "127.0.0.1", // IP of your pbx, or container name if using docker, eg "asterisk_pbx"
Expand Down Expand Up @@ -129,8 +129,8 @@ await Dami.to("Originate", {
### Ping

```typescript
import { DAMI } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import { DAMI } from "https://deno.land/x/dami@v4.1.0/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.1.0/mod.ts";
const ami = {
hostname: "0.0.0.0",
port: 5038
Expand All @@ -148,8 +148,8 @@ assert(pong)
### Get Authentication Response

```typescript
import { DAMI, Action, Event } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import { DAMI, Action, Event } from "https://deno.land/x/dami@v4.1.0/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.1.0/mod.ts";

const ami = {
hostname: "0.0.0.0",
Expand Down Expand Up @@ -189,8 +189,8 @@ console.log(res)
The `Output` property is only present for `Command`s.

```typescript
import { DAMI, Action, Event } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import { DAMI, Action, Event } from "https://deno.land/x/dami@v4.1.0/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.1.0/mod.ts";

const ami = {
hostname: "0.0.0.0",
Expand All @@ -211,8 +211,8 @@ console.log(command[0]["Output"])
### Listen for Events

```typescript
import { DAMI, Action, Event } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import { DAMI, Action, Event } from "https://deno.land/x/dami@v4.1.0/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.1.0/mod.ts";

const ami = {
hostname: "0.0.0.0",
Expand All @@ -232,8 +232,8 @@ Dami.on("Hangup", (event: Event) => {
### Send An Action

```typescript
import { DAMI, Action, Event } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.0.1/mod.ts";
import { DAMI, Action, Event } from "https://deno.land/x/dami@v4.1.0/mod.ts";
import type { Event, Action } from "https://deno.land/x/dami@v4.1.0/mod.ts";

const ami = {
hostname: "0.0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion egg.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"./mod.ts",
"./deps.ts"
],
"version": "4.0.1",
"version": "4.1.0",
"entry": "./mod.ts",
"ignore": [
".git"
Expand Down

0 comments on commit 5a4db15

Please sign in to comment.