Skip to content

Commit

Permalink
Handle verify API
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie committed Jan 16, 2024
1 parent 79a8ee2 commit 4d2c913
Show file tree
Hide file tree
Showing 6 changed files with 176 additions and 78 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
versioning-strategy: increase
commit-message:
prefix: "feat"
prefix-development: "dev"
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 18.17.1
nodejs 20.11.0
222 changes: 147 additions & 75 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/base/BaseSomleng.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ import { ClientOpts as IClientOpts } from "twilio";

export interface ClientOpts extends IClientOpts {
apiBaseUrl?: string;
verifyBaseUrl?: string;
}
1 change: 1 addition & 0 deletions src/rest/Somleng.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class Somleng extends Twilio {
this.accountSid = username;
this.password = password;
this.api.baseUrl = opts?.apiBaseUrl || "https://api.somleng.org";
this.verify.baseUrl = opts?.verifyBaseUrl || "https://verify.somleng.org";
}
}

Expand Down
Loading

0 comments on commit 4d2c913

Please sign in to comment.